Re: [Piglit] [PATCH 2/2] glean: remove pointless switch statements from fbo test

2017-08-17 Thread Eric Anholt
Brian Paul writes: > All switch cases did the same thing. Spotted by Eric Anholt. Reviewed-by: Eric Anholt signature.asc Description: PGP signature ___ Piglit mailing list Piglit@lists.freedesktop.org

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

Re: [Piglit] [PATCH] glx: Introduce a glx-swap-copy test

2017-08-17 Thread Brian Paul
On 08/17/2017 02:21 AM, Thomas Hellstrom wrote: Tests the GLX_SWAP_COPY_OML swapbuffer mode. Very similar to the glx-swap-exchange test. Signed-off-by: Thomas Hellstrom --- tests/glx/CMakeLists.gl.txt | 1 + tests/glx/glx-swap-copy.c | 143

[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.

[Piglit] [PATCH] glx: Introduce a glx-swap-copy test

2017-08-17 Thread Thomas Hellstrom
Tests the GLX_SWAP_COPY_OML swapbuffer mode. Very similar to the glx-swap-exchange test. Signed-off-by: Thomas Hellstrom --- tests/glx/CMakeLists.gl.txt | 1 + tests/glx/glx-swap-copy.c | 143 2 files changed, 144