summaryrefslogtreecommitdiff
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-09-02 13:42:49 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-09-02 13:42:49 +0000
commit4fb995084e1b4b629667f09331adf060aa0fac4c (patch)
treeb8652385e0cc674b51aafa6191719536ea116757 /src/mesa/main/mtypes.h
parent8cdf3729468aefb7c67c8ecd32fd850adbf6d351 (diff)
Prototype implementation of new GL_EXT_timer_query extension (not finalized yet).
Extends the query mechanism to query elapsed time while rendering.
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r--src/mesa/main/mtypes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index a37ba7ce98..c02b64dd05 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1900,7 +1900,6 @@ struct gl_ati_fragment_shader_state
struct gl_query_object
{
- GLenum Target;
GLuint Id;
GLuint Result; /* the counter */
GLboolean Active; /* inside Begin/EndQuery */
@@ -1912,6 +1911,7 @@ 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 */
};
@@ -2367,6 +2367,7 @@ struct gl_extensions
GLboolean EXT_texture_filter_anisotropic;
GLboolean EXT_texture_lod_bias;
GLboolean EXT_texture_mirror_clamp;
+ GLboolean EXT_timer_query;
GLboolean EXT_vertex_array;
GLboolean EXT_vertex_array_set;
/* vendor extensions */