Mesa (master): st/mesa: expose EXT_disjoint_timer_query

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Aug 24 04:38:05 UTC 2018


Module: Mesa
Branch: master
Commit: dae4cf397d8a5d0d060cece1feaf38dc3f623398
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dae4cf397d8a5d0d060cece1feaf38dc3f623398

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Sun Aug  5 21:41:11 2018 -0400

st/mesa: expose EXT_disjoint_timer_query

same cap as ARB_timer_query, no changes needed, tested by piglit

---

 docs/relnotes/18.3.0.html              | 1 +
 src/mesa/state_tracker/st_extensions.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/docs/relnotes/18.3.0.html b/docs/relnotes/18.3.0.html
index 62fd93a832..6aeb8051dc 100644
--- a/docs/relnotes/18.3.0.html
+++ b/docs/relnotes/18.3.0.html
@@ -55,6 +55,7 @@ Note: some of the new features are only available with certain drivers.
 <li>GL_AMD_gpu_shader_int64 on i965, nvc0, radeonsi.</li>
 <li>GL_AMD_multi_draw_indirect on all GL 4.x drivers.</li>
 <li>GL_AMD_query_buffer_object on i965, nvc0, r600, radeonsi.</li>
+<li>GL_EXT_disjoint_timer_query on radeonsi and most other Gallium drivers (ES extension)</li>
 <li>GL_EXT_vertex_attrib_64bit on i965, nvc0, radeonsi.</li>
 <li>GL_EXT_window_rectangles on radeonsi.</li>
 </ul>
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index 8efd281eaa..18997b1d1d 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -709,6 +709,7 @@ void st_init_extensions(struct pipe_screen *screen,
 
       { o(EXT_blend_equation_separate),      PIPE_CAP_BLEND_EQUATION_SEPARATE          },
       { o(EXT_depth_bounds_test),            PIPE_CAP_DEPTH_BOUNDS_TEST                },
+      { o(EXT_disjoint_timer_query),         PIPE_CAP_QUERY_TIMESTAMP                  },
       { o(EXT_draw_buffers2),                PIPE_CAP_INDEP_BLEND_ENABLE               },
       { o(EXT_memory_object),                PIPE_CAP_MEMOBJ                           },
       { o(EXT_memory_object_fd),             PIPE_CAP_MEMOBJ                           },




More information about the mesa-commit mailing list