Functions |
| INLINE struct gl_buffer_object * | buffer_object_get_target (GLcontext *ctx, GLenum target, const char *str) |
| | Get the buffer object bound to the specified target in a GL context. More...
|
| gl_buffer_object * | buffer_object_subdata_range_good (GLcontext *ctx, GLenum target, GLintptrARB offset, GLsizeiptrARB size, const char *str) |
| | Tests the subdata range parameters and sets the GL error code for glBufferSubDataARB and glGetBufferSubDataARB. More...
|
| gl_buffer_object * | _mesa_new_buffer_object (GLcontext *ctx, GLuint name, GLenum target) |
| | Allocate and initialize a new buffer object. More...
|
| void | _mesa_delete_buffer_object (GLcontext *ctx, struct gl_buffer_object *bufObj) |
| | Delete a buffer object. More...
|
| void | _mesa_initialize_buffer_object (struct gl_buffer_object *obj, GLuint name, GLenum target) |
| | Initialize a buffer object to default values. More...
|
| void | _mesa_save_buffer_object (GLcontext *ctx, struct gl_buffer_object *obj) |
| | Add the given buffer object to the buffer object pool. More...
|
| void | _mesa_remove_buffer_object (GLcontext *ctx, struct gl_buffer_object *bufObj) |
| | Remove the given buffer object from the buffer object pool. More...
|
| void | _mesa_buffer_data (GLcontext *ctx, GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage, struct gl_buffer_object *bufObj) |
| | Allocate space for and store data in a buffer object. More...
|
| void | _mesa_buffer_subdata (GLcontext *ctx, GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data, struct gl_buffer_object *bufObj) |
| | Replace data in a subrange of buffer object. More...
|
| void | _mesa_buffer_get_subdata (GLcontext *ctx, GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data, struct gl_buffer_object *bufObj) |
| | Retrieve data from a subrange of buffer object. More...
|
| void * | _mesa_buffer_map (GLcontext *ctx, GLenum target, GLenum access, struct gl_buffer_object *bufObj) |
| | Maps the private data buffer into the processor's address space. More...
|
| void | _mesa_init_buffer_objects (GLcontext *ctx) |
| | Initialize the state associated with buffer objects. More...
|
| GLboolean | _mesa_validate_pbo_access (const struct gl_pixelstore_attrib *pack, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *ptr) |
| | When we're about to read pixel data out of a PBO (via glDrawPixels, glTexImage, etc) or write data into a PBO (via glReadPixels, glGetTexImage, etc) we call this function to check that we're not going to read out of bounds. More...
|
| void GLAPIENTRY | _mesa_BindBufferARB (GLenum target, GLuint buffer) |
| void GLAPIENTRY | _mesa_DeleteBuffersARB (GLsizei n, const GLuint *ids) |
| | Delete a set of buffer objects. More...
|
| void GLAPIENTRY | _mesa_GenBuffersARB (GLsizei n, GLuint *buffer) |
| | Generate a set of unique buffer object IDs and store them in buffer. More...
|
| GLboolean GLAPIENTRY | _mesa_IsBufferARB (GLuint id) |
| | Determine if ID is the name of a buffer object. More...
|
| void GLAPIENTRY | _mesa_BufferDataARB (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage) |
| void GLAPIENTRY | _mesa_BufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data) |
| void GLAPIENTRY | _mesa_GetBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data) |
| void *GLAPIENTRY | _mesa_MapBufferARB (GLenum target, GLenum access) |
| GLboolean GLAPIENTRY | _mesa_UnmapBufferARB (GLenum target) |
| void GLAPIENTRY | _mesa_GetBufferParameterivARB (GLenum target, GLenum pname, GLint *params) |
| void GLAPIENTRY | _mesa_GetBufferPointervARB (GLenum target, GLenum pname, GLvoid **params) |