mesa: Separate INTEL_performance_query frontend
authorRobert Bragg <robert@sixbynine.org>
Wed, 29 Apr 2015 07:17:20 +0000 (08:17 +0100)
committerRobert Bragg <robert@sixbynine.org>
Wed, 22 Feb 2017 12:12:27 +0000 (12:12 +0000)
commitd83a33a9de94212b622053ab341655a3e92cc033
treee32059fc25dc1cfa545bdeb8436f32244d9d297e
parentccc8720cf7d3cb538bde1cd158755bde2e36eefd
mesa: Separate INTEL_performance_query frontend

To allow the backend interfaces for AMD_performance_monitor and
INTEL_performance_query to evolve independently based on the more
specific requirements of each extension this starts by separating
the frontends of these extensions.

Even though there wasn't much tying these frontends together, this
separation intentionally copies what few helpers/utilities that were
shared between the two extensions, avoiding any re-factoring specific to
INTEL_performance_query so that the evolution will be easier to follow
later.

Signed-off-by: Robert Bragg <robert@sixbynine.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mapi/glapi/gen/gl_genexec.py
src/mesa/Makefile.sources
src/mesa/main/context.c
src/mesa/main/mtypes.h
src/mesa/main/performance_monitor.c
src/mesa/main/performance_monitor.h
src/mesa/main/performance_query.c [new file with mode: 0644]
src/mesa/main/performance_query.h [new file with mode: 0644]