diff options
author | Tapani Pälli <[email protected]> | 2017-12-12 14:46:13 +0200 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2017-12-15 08:42:48 +0200 |
commit | 33f73345da01a70aa0e5d61069508e169cb6a6ed (patch) | |
tree | eda993eebaeee58b75d6742a8c6b61945efc4351 /src/mesa/main/glheader.h | |
parent | 0a202dd5e82b6796e919b5f970f8f79622967174 (diff) |
mesa: GL_EXT_disjoint_timer_query extension API bits
Patch adds GL_GPU_DISJOINT_EXT and enables to use timer queries when
EXT_disjoint_timer_query is enabled.
v2: enable extension only when EXT_disjoint_timer_query set
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]> (v1)
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/glheader.h')
-rw-r--r-- | src/mesa/main/glheader.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h index 3f2a923782c..35a442a77be 100644 --- a/src/mesa/main/glheader.h +++ b/src/mesa/main/glheader.h @@ -144,6 +144,10 @@ typedef void *GLeglImageOES; #define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52 #endif +#ifndef GL_EXT_disjoint_timer_query +#define GL_GPU_DISJOINT_EXT 0x8FBB +#endif + /* Inexplicably, GL_HALF_FLOAT_OES has a different value than GL_HALF_FLOAT. */ #ifndef GL_HALF_FLOAT_OES |