aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_context.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-10-31 16:27:01 -0700
committerKenneth Graunke <[email protected]>2013-11-21 15:01:14 -0800
commit9f41585eb5a42a680cdd167181eebda26a2bff8b (patch)
treefa24972c67f575f6ef8f909a75ae595a344c188e /src/mesa/drivers/dri/i965/brw_context.h
parent91950d1aeae6f1c6b0d859e588e59ae52840d4d8 (diff)
i965: Expose pipeline statistics registers via performance monitors.
This is fairly simple: - At BeginPerfMonitor time, take an opening snapshot. - At EndPerfMonitor time, take a closing snapshot. - The first time the application asks for results, subtract the two and store that value. Then free the BO containing the snapshots. - On subsequent requests for the results, just return the saved value. - On reset, throw away the results. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
0 files changed, 0 insertions, 0 deletions