Re: [Piglit] [PATCH] glx: Fix glx-swap-exchange v2

2017-08-17 Thread Brian Paul
On 08/17/2017 02:21 AM, Thomas Hellstrom wrote: Fix the following problems with this test: 1) The spec is not referring to glXChooseVisual attributes, only to glXChooseFBConfig attributes. So use glXChooseFBConfig. 2) Make sure we have an alpha channel. 3) Call piglit_dispatch_default_init bef

[Piglit] [PATCH] glx: Fix glx-swap-exchange v2

2017-08-17 Thread Thomas Hellstrom
Fix the following problems with this test: 1) The spec is not referring to glXChooseVisual attributes, only to glXChooseFBConfig attributes. So use glXChooseFBConfig. 2) Make sure we have an alpha channel. 3) Call piglit_dispatch_default_init before issuing GL commands. v2: - Test also alpha. -

Re: [Piglit] [PATCH] glx: Fix glx-swap-exchange

2017-08-15 Thread Brian Paul
On 08/07/2017 11:21 AM, Thomas Hellstrom wrote: Fix the following problems with this test: 1) The spec is not referring to glXChooseVisual attributes, only to glXChooseFBConfig attributes. So use glXChooseFBConfig. 2) Make sure we have an alpha channel. 3) Call piglit_dispatch_default_init bef

[Piglit] [PATCH] glx: Fix glx-swap-exchange

2017-08-07 Thread Thomas Hellstrom
Fix the following problems with this test: 1) The spec is not referring to glXChooseVisual attributes, only to glXChooseFBConfig attributes. So use glXChooseFBConfig. 2) Make sure we have an alpha channel. 3) Call piglit_dispatch_default_init before issuing GL commands. 4) Restrict the test to