mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 17:48:10 +02:00
glapi: add GL_EXT_disjoint_timer_query
Most entrypoints already available via other extensions like GL_EXT_occlusion_query_boolean, GL_EXT_timer_query. Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
80d96ca4c8
commit
0a202dd5e8
3 changed files with 23 additions and 2 deletions
|
|
@ -847,6 +847,22 @@
|
|||
<enum name="FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT" value="0x8A52"/>
|
||||
</category>
|
||||
|
||||
<!-- 150. GL_EXT_disjoint_timer_query -->
|
||||
<category name="GL_EXT_disjoint_timer_query" number="150">
|
||||
<enum name="QUERY_COUNTER_BITS_EXT" value="0x8864"/>
|
||||
<enum name="CURRENT_QUERY_EXT" value="0x8865"/>
|
||||
<enum name="QUERY_RESULT_EXT" value="0x8866"/>
|
||||
<enum name="QUERY_RESULT_AVAILABLE_EXT" value="0x8867"/>
|
||||
<enum name="TIME_ELAPSED_EXT" value="0x88BF"/>
|
||||
<enum name="TIMESTAMP_EXT" value="0x8E28"/>
|
||||
<enum name="GPU_DISJOINT_EXT" value="0x8FBB"/>
|
||||
|
||||
<function name="QueryCounterEXT" alias="QueryCounter" es2="2.0">
|
||||
<param name="id" type="GLuint"/>
|
||||
<param name="target" type="GLenum"/>
|
||||
</function>
|
||||
</category>
|
||||
|
||||
<!-- 151. GL_EXT_draw_buffers -->
|
||||
<category name="GL_EXT_draw_buffers" number="151">
|
||||
<function name="DrawBuffersEXT" alias="DrawBuffers" es2="2.0">
|
||||
|
|
|
|||
|
|
@ -12944,12 +12944,12 @@
|
|||
<enum name="TIME_ELAPSED_EXT" value="0x88BF"/>
|
||||
<type name="int64EXT" size="8"/>
|
||||
<type name="uint64EXT" unsigned="true" size="8"/>
|
||||
<function name="GetQueryObjecti64vEXT" alias="GetQueryObjecti64v">
|
||||
<function name="GetQueryObjecti64vEXT" alias="GetQueryObjecti64v" es2="2.0">
|
||||
<param name="id" type="GLuint"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="GLint64EXT *"/>
|
||||
</function>
|
||||
<function name="GetQueryObjectui64vEXT" alias="GetQueryObjectui64v">
|
||||
<function name="GetQueryObjectui64vEXT" alias="GetQueryObjectui64v" es2="2.0">
|
||||
<param name="id" type="GLuint"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="GLuint64EXT *"/>
|
||||
|
|
|
|||
|
|
@ -2441,6 +2441,11 @@ const struct function gles2_functions_possible[] = {
|
|||
{ "glGetQueryObjectivEXT", 20, -1 },
|
||||
{ "glGetQueryObjectuivEXT", 20, -1 },
|
||||
|
||||
/* GL_EXT_disjoint_timer_query */
|
||||
{ "glGetQueryObjecti64vEXT", 20, -1 },
|
||||
{ "glGetQueryObjectui64vEXT", 20, -1 },
|
||||
{ "glQueryCounterEXT", 20, -1 },
|
||||
|
||||
{ NULL, 0, -1 }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue