[Piglit] [PATCH] Add tests for the GL_AMD_performance_monitor extension.

Kenneth Graunke kenneth at whitecape.org
Mon Apr 1 15:32:20 PDT 2013


On 04/01/2013 03:15 PM, Ken Phillis Jr wrote:
> I have found that in some cases piglit-dispatch can fail. This means
> it's a good idea to check all cases. Anyways, Have you verified that the
> test works with OpenGL on windows?

No, I don't have a Windows development environment.  I try to avoid 
breaking Windows, but I can't reasonably test that.

> Anyways, in one case where the piglit dispatcher can fail where the Core
> Context fails to be created, and when trying to work with the similar
> compatibility context the system fails to load extensions. A good
> example of this is if you Prefer OpenGL 3.1 ( Core ) but it fails, and
> have the Compatibility context set to OpenGL 3.1.

My tests don't do anything special here.  They just get any old 
context---like virtually all Piglit tests---and check for an extension 
before calling any of the functions provided by it.  If that doesn't 
work, something is seriously broken.

I've gone ahead and pushed these patches since I don't think there's an 
issue here.


More information about the Piglit mailing list