[Piglit] [PATCH 01/12] glx_arb_create_context: Add common test infrastructure
Chad Versace
chad.versace at linux.intel.com
Tue Dec 20 11:45:40 PST 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/14/2011 10:47 AM, Ian Romanick wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
>
> Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
> ---
> tests/all.tests | 3 +
> tests/spec/CMakeLists.txt | 1 +
> .../spec/glx_arb_create_context/CMakeLists.gl.txt | 20 +++
> tests/spec/glx_arb_create_context/CMakeLists.txt | 1 +
> tests/spec/glx_arb_create_context/common.c | 163 ++++++++++++++++++++
> tests/spec/glx_arb_create_context/common.h | 41 +++++
> 6 files changed, 229 insertions(+), 0 deletions(-)
> create mode 100644 tests/spec/glx_arb_create_context/CMakeLists.gl.txt
> create mode 100644 tests/spec/glx_arb_create_context/CMakeLists.txt
> create mode 100644 tests/spec/glx_arb_create_context/common.c
> create mode 100644 tests/spec/glx_arb_create_context/common.h
> +void
> +GLX_ARB_create_context_teardown(void)
> +{
> + if (glxWin != None) {
> + glXDestroyWindow(dpy, glxWin);
> + glxWin = None;
> + }
> +
> + XFree(visinfo);
> + visinfo = NULL;
> +
> + XSetErrorHandler(old_handler);
> +}
Indentation problem above.
Other than the indentation,
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
- ----
Chad Versace
chad.versace at linux.intel.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJO8OXiAAoJEAIvNt057x8iW5oP/R8CsrJaUQtrmT9+3M6PlRlJ
BTVRJWER6v+It/lTzDJqt0NPbJDuI3JQ2RtpLbU+bBIorqwyoiw+vTJTQ1ugJmrw
ivX7KBGlAzxP7COTSnZJ93RJSBDXJ9JyUMsT5lfXVvj3bRP5QL67D9LO649z1CyD
Mtt6i5k2a7sSUFw/9NYSKAoqUUAfzCCegbrPjVkJWF/kkXa/IVspr3igkTIHO5Cr
HdmnBraqhF/TjAGAraJRvUiQSslz2bPB58S71koBM+npONDoEqdVzY69tRQ6uHBO
0RJNX40qJ88xqzxG+HivyDn7rwrJ6JWAqNa89evTq6NRBtDKKVeDiiBCK8WjB5gl
G6ksn7YQf0MR3RfZ73lG0nEuvNjvEjI4HDU/FBlxeIjjmInv/93TymR7oHAt0Vji
2S5ydnOfwM6+Q6e7dpzISLDpynvHHYNpzc+QE84BgRzt5v82gpPWceo2P4tkbSvR
VzW4u1CWAnzgA3UgZbhSCiJMCbfbkQIEjj0+2NhgCrZpG7u0E6+EN60txfGaf1Dd
cOcrk8itkiIdnb0rnt7nferXrRurC6VFLosF6iWwpW5PLLUMDauxR8r6DjUIj7ZA
dasBlmvRnHUwJeWdaQuUyPo7wy1kV2kenTvRcehva5mW4OfzOqrqFCbpbYqgUv9G
DHpQlM9Z6yzuTP9t8twE
=f5ka
-----END PGP SIGNATURE-----
More information about the Piglit
mailing list