[Piglit] [PATCH 2/3] copyteximage: do not run test under GL 1.0

Erik Faye-Lund kusmabite at gmail.com
Tue Aug 25 07:20:24 PDT 2015


On Tue, Aug 25, 2015 at 3:44 PM, Ian Romanick <idr at freedesktop.org> wrote:
> On 08/24/2015 09:38 PM, Erik Faye-Lund wrote:
>> glCopyTexImage{1,2}D was introduced in OpenGL 1.1, so there's no
>> point in even running this test if we get an OpenGL 1.0 context.
>
> Heh... The Linux OpenGL ABI requires at least 1.2, and I believe Windows
> requires at least 1.1.  I think the lower layer uses 10 to indicate that
> the old context creation method should be used.  I think if 11 or 12 is
> specified and the implementation does not support GLX_ARB_create_context
> (or similar), the test will fail to run.
>
> That was the case at one time, anyway, and, IMO, that's a bug.  If the
> version is less than 32, it should be able to use glXCreateContext and
> check the version the old fashioned way after creation.

Thanks for the explanation. I don't care either way about this patch anyway ;)


More information about the Piglit mailing list