diff options
author | Nicolai Hähnle <[email protected]> | 2015-11-12 11:53:22 +0100 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2015-11-20 17:27:09 +0100 |
commit | 0aea83dc4ad8826648be7b400553083e0aeac004 (patch) | |
tree | ff09722e9e74a586d20a68d7287549a41e5017ac /src/mesa/state_tracker/st_manager.c | |
parent | 4e1339691d3e04eb7e90d33ab5900ce1a40e628f (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