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 |
![]() | |
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 void(GL_APIENTRY * | GenBuffersProc) (GLsizei n, GLuint *buffers) |
typedef void(GL_APIENTRY * | BindBufferProc) (GLenum target, GLuint buffer) |
typedef void(GL_APIENTRY * | BufferDataProc) (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage) |
typedef void(GL_APIENTRY * | BufferSubDataProc) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data) |
typedef void(GL_APIENTRY * | DeleteBuffersProc) (GLsizei n, const GLuint *buffers) |
typedef GLboolean(GL_APIENTRY * | IsBufferProc) (GLuint buffer) |
typedef void(GL_APIENTRY * | GetBufferSubDataProc) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data) |
typedef GLvoid *(GL_APIENTRY * | MapBufferProc) (GLenum target, GLenum access) |
typedef GLboolean(GL_APIENTRY * | UnmapBufferProc) (GLenum target) |
typedef void(GL_APIENTRY * | GetBufferParameterivProc) (GLenum target, GLenum pname, GLint *params) |
typedef void(GL_APIENTRY * | GetBufferPointervProc) (GLenum target, GLenum pname, GLvoid **params) |
typedef void(GL_APIENTRY * | BindBufferRangeProc) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) |
typedef void(GL_APIENTRY * | BindBufferBaseProc) (GLenum target, GLuint index, GLuint buffer) |
typedef GLenum | internalFormat |
typedef GLenum GLuint | buffer |
Protected Member Functions | |
typedef | void (GL_APIENTRY *TexBufferProc)(GLenum target |
![]() | |
virtual | ~Referenced () |
void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
void | deleteUsingDeleteHandler () const |
Additional Inherited Members | |
![]() | |
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 |
osg::GLBufferObject::Extensions::Extensions | ( | unsigned int | contextID | ) |
osg::GLBufferObject::Extensions::Extensions | ( | const Extensions & | rhs | ) |
void osg::GLBufferObject::Extensions::glBindBuffer | ( | GLenum | target, |
GLuint | buffer | ||
) | const |
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 | ||
) |
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 |