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
https://lists.freedesktop.org/mailman/listinfo/
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
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
2
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.
-
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 insertions(+)
create mode 100644