diff options
author | Eric Anholt <eric@anholt.net> | 2013-11-11 09:59:25 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2013-11-14 11:18:15 -0800 |
commit | 04cf940e1b6406e3bda59b857fe410073332b032 (patch) | |
tree | f5cc9cb4f99609488df9a462b3c334779761ff53 /test/glx_common.h | |
parent | ed938dc4c592f0e3420a2b0ab6e3b5f9cec0c1f7 (diff) | |
download | libepoxy-04cf940e1b6406e3bda59b857fe410073332b032.tar.gz |
Add an initial testsuite for GLX API.
Diffstat (limited to 'test/glx_common.h')
-rw-r--r-- | test/glx_common.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/test/glx_common.h b/test/glx_common.h new file mode 100644 index 0000000..35882f5 --- /dev/null +++ b/test/glx_common.h @@ -0,0 +1,31 @@ +/* + * Copyright © 2013 Intel Corporation + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice (including the next + * paragraph) shall be included in all copies or substantial portions of the + * Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + * IN THE SOFTWARE. + */ + +#include "epoxy/glx.h" + +Display * +get_display_or_skip(void); + +GLXContext +make_glx_context_current_or_skip(Display *dpy); + |