~ubuntu-branches/ubuntu/trusty/openscenegraph/trusty

« back to all changes in this revision

Viewing changes to OpenSceneGraph/include/osg/Texture3D

  • Committer: Bazaar Package Importer
  • Author(s): Cyril Brulebois
  • Date: 2008-07-29 04:34:38 UTC
  • mfrom: (1.1.6 upstream) (2.1.3 lenny)
  • Revision ID: james.westby@ubuntu.com-20080729043438-no1h9h0dpsrlzp1y
* Non-maintainer upload.
* No longer try to detect (using /proc/cpuinfo when available) how many
  CPUs are available, fixing the FTBFS (due to -j0) on various platforms
  (Closes: #477353). The right way to do it is to support parallel=n in
  DEB_BUILD_OPTIONS (see Debian Policy §4.9.1), and adequate support has
  been implemented.
* Add patch to fix FTBFS due to the build system now refusing to handle
  whitespaces (Policy CMP0004 say the logs), thanks to Andreas Putzo who
  provided it (Closes: #482239):
   - debian/patches/fix-cmp0004-build-failure.dpatch
* Remove myself from Uploaders, as requested a while ago, done by Luk in
  his 2.2.0-2.1 NMU, which was never acknowledged.

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
 
109
109
 
110
110
        /** Helper function. Sets the number of mipmap levels created for this
111
 
          * texture. Should only be called within an osg::Texuture::apply(), or
 
111
          * texture. Should only be called within an osg::Texture::apply(), or
112
112
          * during a custom OpenGL texture load. */
113
113
        void setNumMipmapLevels(unsigned int num) const { _numMipmapLevels=num; }
114
114
 
132
132
        
133
133
 
134
134
        /** Encapsulates queries of extension availability, obtains extension
135
 
          * function pointers, and provides convinience wrappers for
 
135
          * function pointers, and provides convenience wrappers for
136
136
          * calling extension functions. */        
137
137
        class OSG_EXPORT Extensions : public osg::Referenced
138
138
        {
192
192
        };
193
193
        
194
194
        /** Encapsulates queries of extension availability, obtains extension
195
 
          * function pointers, and provides convinience wrappers for
 
195
          * function pointers, and provides convenience wrappers for
196
196
          * calling extension functions. */        
197
197
        static Extensions* getExtensions(unsigned int contextID,bool createIfNotInitalized);
198
198
 
199
199
        /** Overrides Extensions objects across graphics contexts. Typically
200
200
          * used to ensure the same lowest common denominator of extensions
201
 
          * on sustems with different graphics pipes. */
 
201
          * on systems with different graphics pipes. */
202
202
        static void setExtensions(unsigned int contextID,Extensions* extensions);
203
203
 
204
204
    protected :