summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_manager.c
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2015-11-12 11:53:22 +0100
committerNicolai Hähnle <[email protected]>2015-11-20 17:27:09 +0100
commit0aea83dc4ad8826648be7b400553083e0aeac004 (patch)
treeff09722e9e74a586d20a68d7287549a41e5017ac /src/mesa/state_tracker/st_manager.c
parent4e1339691d3e04eb7e90d33ab5900ce1a40e628f (diff)
st/mesa: store mapping from perfmon counter to query type
Previously, when a performance monitor was initialized, an inner loop through all driver queries with string comparisons for each enabled performance monitor counter was used. This hurts when a driver exposes lots of queries. Reviewed-by: Samuel Pitoiset <[email protected]> Tested-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_manager.c')
0 files changed, 0 insertions, 0 deletions