diff options
author | Brian Paul <brianp@vmware.com> | 2009-12-30 14:47:06 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-12-31 08:49:26 -0700 |
commit | 0fbe828c1d2a7e7d9155a3ef64e91da4ec2b79ee (patch) | |
tree | 64d8cb19186ed30136426d78239b9d3dda6e289d /src/mesa/main/mtypes.h | |
parent | 534e0051854e2e455650435f85e6a73aba8f5d64 (diff) |
mesa: _mesa_Begin/EndConditionalRender() functions
For GL_NV_conditional_render and GL3.
The drawing functions don't check the query object yet.
No API dispatch yet.
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r-- | 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 849d1689c3..1a7f87897a 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -1899,6 +1899,10 @@ struct gl_query_state struct _mesa_HashTable *QueryObjects; struct gl_query_object *CurrentOcclusionObject; /* GL_ARB_occlusion_query */ struct gl_query_object *CurrentTimerObject; /* GL_EXT_timer_query */ + + /** GL_NV_conditional_render */ + struct gl_query_object *CondRenderQuery; + GLenum CondRenderMode; }; |