Mesa (master): mesa: new state for GL_ARB_copy_buffer

Brian Paul brianp at kemper.freedesktop.org
Wed Jun 3 03:35:48 UTC 2009


Module: Mesa
Branch: master
Commit: 96a30b06dbc60ff63392cf8ae9dcb3d245b41c27
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=96a30b06dbc60ff63392cf8ae9dcb3d245b41c27

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jun  2 20:31:41 2009 -0600

mesa: new state for GL_ARB_copy_buffer

---

 src/mesa/main/mtypes.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index e347112..26ec8d5 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2431,6 +2431,7 @@ struct gl_constants
 struct gl_extensions
 {
    GLboolean dummy;  /* don't remove this! */
+   GLboolean ARB_copy_buffer;
    GLboolean ARB_depth_texture;
    GLboolean ARB_draw_buffers;
    GLboolean ARB_fragment_program;
@@ -2956,6 +2957,9 @@ struct __GLcontextRec
    struct gl_shader_state Shader; /**< GLSL shader object state */
 
    struct gl_query_state Query;  /**< occlusion, timer queries */
+
+   struct gl_buffer_object *CopyReadBuffer; /**< GL_ARB_copy_buffer */
+   struct gl_buffer_object *CopyWriteBuffer; /**< GL_ARB_copy_buffer */
    /*@}*/
 
 #if FEATURE_EXT_framebuffer_object




More information about the mesa-commit mailing list