|
openscenegraph
|
Public Member Functions | |
| Extensions (unsigned int contextID) | |
| Extensions (const Extensions &rhs) | |
| void | lowestCommonDenominator (const Extensions &rhs) |
| void | setupGLExtensions (unsigned int contextID) |
| bool | isBufferObjectSupported () const |
| bool | isPBOSupported () const |
| bool | isUniformBufferObjectSupported () const |
| bool | isTBOSupported () const |
| void | glGenBuffers (GLsizei n, GLuint *buffers) const |
| void | glBindBuffer (GLenum target, GLuint buffer) const |
| void | glBufferData (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage) const |
| void | glBufferSubData (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data) const |
| void | glDeleteBuffers (GLsizei n, const GLuint *buffers) const |
| GLboolean | glIsBuffer (GLuint buffer) const |
| void | glGetBufferSubData (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data) const |
| GLvoid * | glMapBuffer (GLenum target, GLenum access) const |
| GLboolean | glUnmapBuffer (GLenum target) const |
| void | glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params) const |
| void | glGetBufferPointerv (GLenum target, GLenum pname, GLvoid **params) const |
| void | glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) |
| void | glBindBufferBase (GLenum target, GLuint index, GLuint buffer) |
| void | glTexBuffer (GLenum target, GLenum internalFormat, GLuint buffer) const |
Public Member Functions inherited from osg::Referenced | |
| Referenced () | |
| Referenced (bool threadSafeRefUnref) | |
| Referenced (const Referenced &) | |
| Referenced & | operator= (const Referenced &) |
| virtual void | setThreadSafeRefUnref (bool threadSafe) |
| bool | getThreadSafeRefUnref () const |
| OpenThreads::Mutex * | getRefMutex () const |
| int | ref () const |
| int | unref () const |
| int | unref_nodelete () const |
| int | referenceCount () const |
| ObserverSet * | getObserverSet () const |
| ObserverSet * | getOrCreateObserverSet () const |
| void | addObserver (Observer *observer) const |
| void | removeObserver (Observer *observer) const |
Protected Types | |
| typedef GLuint * | buffers |
| typedef GLuint | buffer |
| typedef GLsizeiptrARB | size |
| typedef GLsizeiptrARB const GLvoid * | data |
| typedef GLsizeiptrARB const GLvoid GLenum | usage |
| typedef GLintptrARB | offset |
| typedef GLintptrARB GLsizeiptrARB | size |
| typedef GLintptrARB GLsizeiptrARB const GLvoid * | data |
| typedef const GLuint * | buffers |
| typedef GLintptrARB | offset |
| typedef GLintptrARB GLsizeiptrARB | size |
| typedef GLintptrARB GLsizeiptrARB GLvoid * | data |
| typedef GLvoid *GL_APIENTRY * | MapBufferProc (GLenum target, GLenum access) |
| typedef GLenum | pname |
| typedef GLenum GLint * | params |
| typedef GLenum | pname |
| typedef GLenum GLvoid ** | params |
| typedef GLuint | index |
| typedef GLuint GLuint | buffer |
| typedef GLuint GLuint GLintptr | offset |
| typedef GLuint GLuint GLintptr GLsizeiptr | size |
| typedef GLuint | index |
| typedef GLuint GLuint | buffer |
| typedef GLenum | internalFormat |
| typedef GLenum GLuint | buffer |
Protected Member Functions | |
| typedef | void (GL_APIENTRY *GenBuffersProc)(GLsizei n |
| typedef | void (GL_APIENTRY *BindBufferProc)(GLenum target |
| typedef | void (GL_APIENTRY *BufferDataProc)(GLenum target |
| typedef | void (GL_APIENTRY *BufferSubDataProc)(GLenum target |
| typedef | void (GL_APIENTRY *DeleteBuffersProc)(GLsizei n |
| typedef | GLboolean (GL_APIENTRY *IsBufferProc)(GLuint buffer) |
| typedef | void (GL_APIENTRY *GetBufferSubDataProc)(GLenum target |
| typedef | GLboolean (GL_APIENTRY *UnmapBufferProc)(GLenum target) |
| typedef | void (GL_APIENTRY *GetBufferParameterivProc)(GLenum target |
| typedef | void (GL_APIENTRY *GetBufferPointervProc)(GLenum target |
| typedef | void (GL_APIENTRY *BindBufferRangeProc)(GLenum target |
| typedef | void (GL_APIENTRY *BindBufferBaseProc)(GLenum target |
| typedef | void (GL_APIENTRY *TexBufferProc)(GLenum target |
Protected Member Functions inherited from osg::Referenced | |
| virtual | ~Referenced () |
| void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
| void | deleteUsingDeleteHandler () const |
Protected Attributes | |
| GenBuffersProc | _glGenBuffers |
| BindBufferProc | _glBindBuffer |
| BufferDataProc | _glBufferData |
| BufferSubDataProc | _glBufferSubData |
| DeleteBuffersProc | _glDeleteBuffers |
| IsBufferProc | _glIsBuffer |
| GetBufferSubDataProc | _glGetBufferSubData |
| MapBufferProc | _glMapBuffer |
| UnmapBufferProc | _glUnmapBuffer |
| GetBufferParameterivProc | _glGetBufferParameteriv |
| GetBufferPointervProc | _glGetBufferPointerv |
| BindBufferRangeProc | _glBindBufferRange |
| BindBufferBaseProc | _glBindBufferBase |
| TexBufferProc | _glTexBuffer |
| bool | _isPBOSupported |
| bool | _isUniformBufferObjectSupported |
| bool | _isTBOSupported |
Protected Attributes inherited from osg::Referenced | |
| OpenThreads::AtomicPtr | _observerSet |
| OpenThreads::Atomic | _refCount |
Additional Inherited Members | |
Static Public Member Functions inherited from osg::Referenced | |
| static OpenThreads::Mutex * | getGlobalReferencedMutex () |
| static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
| static bool | getThreadSafeReferenceCounting () |
| static void | setDeleteHandler (DeleteHandler *handler) |
| static DeleteHandler * | getDeleteHandler () |
Extensions class which encapsulates the querying of extensions and associated function pointers, and provide convenience wrappers to check for the extensions or use the associated functions.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| osg::GLBufferObject::Extensions::Extensions | ( | unsigned int | contextID | ) |
| osg::GLBufferObject::Extensions::Extensions | ( | const Extensions & | rhs | ) |
| void osg::GLBufferObject::Extensions::glBindBuffer | ( | GLenum | target, |
| GLuint | buffer | ||
| ) | const |
Referenced by osg::GLBufferObject::bindBuffer().
| void osg::GLBufferObject::Extensions::glBindBufferBase | ( | GLenum | target, |
| GLuint | index, | ||
| GLuint | buffer | ||
| ) |
| void osg::GLBufferObject::Extensions::glBindBufferRange | ( | GLenum | target, |
| GLuint | index, | ||
| GLuint | buffer, | ||
| GLintptr | offset, | ||
| GLsizeiptr | size | ||
| ) |
|
protected |
|
protected |
| void osg::GLBufferObject::Extensions::glBufferData | ( | GLenum | target, |
| GLsizeiptrARB | size, | ||
| const GLvoid * | data, | ||
| GLenum | usage | ||
| ) | const |
| void osg::GLBufferObject::Extensions::glBufferSubData | ( | GLenum | target, |
| GLintptrARB | offset, | ||
| GLsizeiptrARB | size, | ||
| const GLvoid * | data | ||
| ) | const |
| void osg::GLBufferObject::Extensions::glDeleteBuffers | ( | GLsizei | n, |
| const GLuint * | buffers | ||
| ) | const |
| void osg::GLBufferObject::Extensions::glGenBuffers | ( | GLsizei | n, |
| GLuint * | buffers | ||
| ) | const |
| void osg::GLBufferObject::Extensions::glGetBufferParameteriv | ( | GLenum | target, |
| GLenum | pname, | ||
| GLint * | params | ||
| ) | const |
| void osg::GLBufferObject::Extensions::glGetBufferPointerv | ( | GLenum | target, |
| GLenum | pname, | ||
| GLvoid ** | params | ||
| ) | const |
| void osg::GLBufferObject::Extensions::glGetBufferSubData | ( | GLenum | target, |
| GLintptrARB | offset, | ||
| GLsizeiptrARB | size, | ||
| GLvoid * | data | ||
| ) | const |
| GLboolean osg::GLBufferObject::Extensions::glIsBuffer | ( | GLuint | buffer | ) | const |
| GLvoid* osg::GLBufferObject::Extensions::glMapBuffer | ( | GLenum | target, |
| GLenum | access | ||
| ) | const |
| void osg::GLBufferObject::Extensions::glTexBuffer | ( | GLenum | target, |
| GLenum | internalFormat, | ||
| GLuint | buffer | ||
| ) | const |
| GLboolean osg::GLBufferObject::Extensions::glUnmapBuffer | ( | GLenum | target | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
| void osg::GLBufferObject::Extensions::lowestCommonDenominator | ( | const Extensions & | rhs | ) |
| void osg::GLBufferObject::Extensions::setupGLExtensions | ( | unsigned int | contextID | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.6