From 4cd1cfb9831d4d4081cbe80b0d72b340c8fd0c2c Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Fri, 4 Jul 2014 13:02:06 +0200 Subject: st/mesa: implement GL_AMD_performance_monitor This is based on the original patch of Christoph Bumiller. v2 (Samuel Pitoiset): - improve Gallium interface for this extension - rewrite some parts of the original code - fix compilation errors and piglit tests v3: - only enable this extension when the underlying driver expose GPU counters - get rid of the ring buffer of queries v4: - add a debug message when the maximum number of counters has been reached Signed-off-by: Samuel Pitoiset Reviewed-by: Martin Peres --- src/mesa/Makefile.sources | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/Makefile.sources') diff --git a/src/mesa/Makefile.sources b/src/mesa/Makefile.sources index 1293d41..83f500f 100644 --- a/src/mesa/Makefile.sources +++ b/src/mesa/Makefile.sources @@ -434,6 +434,8 @@ STATETRACKER_FILES = \ state_tracker/st_cb_flush.h \ state_tracker/st_cb_msaa.c \ state_tracker/st_cb_msaa.h \ + state_tracker/st_cb_perfmon.c \ + state_tracker/st_cb_perfmon.h \ state_tracker/st_cb_program.c \ state_tracker/st_cb_program.h \ state_tracker/st_cb_queryobj.c \ -- cgit v1.1