I feel rather awkward asking, but: why implement this inside of Gallium, instead of as a standalone {egl,glX}SwapBuffers interceptor obtaining counter values via GL extensions, such as ARB_occlusion_query or AMD_performance_monitor? That way Intel (and Nouveau?) people could also benefit from it.
Best regards, Alexander _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev