[Mesa-dev] [PATCH] Add EXT_timer_query to the mesa state tracker and softpipe

Brian Paul brianp at vmware.com
Mon May 24 14:08:41 PDT 2010


Mathias Fröhlich wrote:
> Hi,
> 
> On Monday 17 May 2010 21:02:00 Brian Paul wrote:
>> It would be nice to have a piglit test to exercise EXT_timer_query
>> too.  We should really have tests for all extensions.
> I am not completely sure if this is completely correct in the context of 
> piglit.
> But so far a simple test that just uses the timer query if it is announced.
> Tell me if we need something different/more?

I hacked on the code a bit:

1. remove dead/unused code
2. Test the 64-bit query functions
3. fix the GL_QUERY_COUNTER_BITS check
4. fix indentation

Updated version attached.  I'll commit in a day or so if there's no 
feedback.

-Brian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: timer_query.c
Type: text/x-csrc
Size: 4096 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100524/28536e69/attachment.c>


More information about the mesa-dev mailing list