Re: [Mesa-dev] [PATCH 0/6] Implement INTEL_performance_query

2014-03-12 Thread Petri Latvala
One concern I forgot to mention: Interoperability with AMD_performance_monitor. With this patch series as is, after glBeginPerfQueryINTEL, there will be a value you can pass to glEndPerfMonitorAMD that won't produce GL_INVALID_VALUE as it should. Making sure context's monitor objects are acce

[Mesa-dev] [PATCH 0/6] Implement INTEL_performance_query

2014-03-12 Thread Petri Latvala
This patch series implements the INTEL_performance_query extension. With driver code for AMD_performance_monitor already in place, implementing this extension was fairly straightforward. Planned future improvements: Proper semantic types for counters and data normalization (currently all counters