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.
_______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
