i965: Add some plumbing for gathering OA results.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 13 Nov 2013 23:13:59 +0000 (15:13 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Nov 2013 23:01:14 +0000 (15:01 -0800)
commitfedc14a050cac9cc4501a648b9c84c62fc6e1086
tree53d263c1ff399f58e7239ed30239862753b8e102
parentc289c70ce156e1248c53f018401a7670b9f513eb
i965: Add some plumbing for gathering OA results.

Currently, this only considers the monitor start and end snapshots.
This is woefully insufficient, but allows me to add a bunch of the
infrastructure now and flesh it out later.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_performance_monitor.c