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

« back to all changes in this revision

Viewing changes to OpenSceneGraph/include/osg/Geometry

  • 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:
294
294
        virtual void resizeGLObjectBuffers(unsigned int maxSize);
295
295
 
296
296
        /** If State is non-zero, this function releases OpenGL objects for
297
 
          * the specified graphics context. Otherwise, releases OpenGL objexts
 
297
          * the specified graphics context. Otherwise, releases OpenGL objects
298
298
          * for all graphics contexts. */
299
299
        virtual void releaseGLObjects(State* state=0) const;
300
300
 
345
345
 
346
346
 
347
347
        /** Return the estimated size of GLObjects (display lists/vertex buffer objects) that are associated with this drawable.
348
 
          * This size is used a hint for reuse of deleteed display lists/vertex buffer objects. */
 
348
          * This size is used a hint for reuse of deleted display lists/vertex buffer objects. */
349
349
        virtual unsigned int getGLObjectSizeHint() const;
350
350
        
351
351
        /** Draw Geometry directly ignoring an OpenGL display list which could be attached.
357
357
        /** Return true, osg::Geometry does support accept(Drawable::AttributeFunctor&). */
358
358
        virtual bool supports(const Drawable::AttributeFunctor&) const { return true; }
359
359
 
360
 
        /** Accept an Drawable::AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has. */
 
360
        /** Accept an Drawable::AttributeFunctor and call its methods to tell it about the internal attributes that this Drawable has. */
361
361
        virtual void accept(Drawable::AttributeFunctor& af);
362
362
 
363
363
        /** Return true, osg::Geometry does support accept(Drawable::ConstAttributeFunctor&). */
364
364
        virtual bool supports(const Drawable::ConstAttributeFunctor&) const { return true; }
365
365
 
366
 
        /** Accept a Drawable::ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has. */
 
366
        /** Accept a Drawable::ConstAttributeFunctor and call its methods to tell it about the internal attributes that this Drawable has. */
367
367
        virtual void accept(Drawable::ConstAttributeFunctor& af) const;
368
368
 
369
369
        /** Return true, osg::Geometry does support accept(PrimitiveFunctor&). */
370
370
        virtual bool supports(const PrimitiveFunctor&) const { return true; }
371
371
 
372
 
        /** Accept a PrimitiveFunctor and call its methods to tell it about the interal primitives that this Drawable has. */
 
372
        /** Accept a PrimitiveFunctor and call its methods to tell it about the internal primitives that this Drawable has. */
373
373
        virtual void accept(PrimitiveFunctor& pf) const;
374
374
 
375
375
        /** Return true, osg::Geometry does support accept(PrimitiveIndexFunctor&). */
376
376
        virtual bool supports(const PrimitiveIndexFunctor&) const { return true; }
377
377
 
378
 
        /** Accept a PrimitiveFunctor and call its methods to tell it about the interal primitives that this Drawable has. */
 
378
        /** Accept a PrimitiveFunctor and call its methods to tell it about the internal primitives that this Drawable has. */
379
379
        virtual void accept(PrimitiveIndexFunctor& pf) const;
380
380
 
381
381