Mesa (arb_fbo): mesa: added NumSamples, MaxSamples for ARB_fbo

Brian Paul brianp at kemper.freedesktop.org
Tue Jan 20 22:30:48 UTC 2009


Module: Mesa
Branch: arb_fbo
Commit: 19b056f80bb3334484c96356d6a83518f1274fdc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=19b056f80bb3334484c96356d6a83518f1274fdc

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan 20 15:17:57 2009 -0700

mesa: added NumSamples, MaxSamples for ARB_fbo

---

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

diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 0cd88e7..f1da638 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2270,6 +2270,7 @@ struct gl_renderbuffer
    GLubyte IndexBits;
    GLubyte DepthBits;
    GLubyte StencilBits;
+   GLubyte NumSamples;
 
    GLenum DataType;      /**< Type of values passed to the Get/Put functions */
    GLvoid *Data;        /**< This may not be used by some kinds of RBs */
@@ -2514,6 +2515,8 @@ struct gl_constants
    /* GL_ARB_vertex_shader */
    GLuint MaxVertexTextureImageUnits;
    GLuint MaxVarying;  /**< Number of float[4] vectors */
+   /* GL_ARB_framebuffer_object */
+   GLuint MaxSamples;
 };
 
 




More information about the mesa-commit mailing list