summaryrefslogtreecommitdiff
path: root/utests/utest_helper.hpp
diff options
context:
space:
mode:
authorChuanbo Weng <chuanbo.weng@intel.com>2017-02-10 15:47:18 +0800
committerYang Rong <rong.r.yang@intel.com>2017-02-10 18:18:06 +0800
commitf54b7a2112975404d6d45b8fbf32c4d025524c71 (patch)
tree847eca210cf35ba46ac43db77c455eee66f068ae /utests/utest_helper.hpp
parent1e6d0103aba114f5a424dcdb3143ac95919a4d70 (diff)
downloadbeignet-f54b7a2112975404d6d45b8fbf32c4d025524c71.tar.gz
Add example of using cl_khr_gl_sharing to do gl buffer sharing.
Signed-off-by: Chuanbo Weng <chuanbo.weng@intel.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>
Diffstat (limited to 'utests/utest_helper.hpp')
-rw-r--r--utests/utest_helper.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/utests/utest_helper.hpp b/utests/utest_helper.hpp
index 1bc810cf..e2a6a884 100644
--- a/utests/utest_helper.hpp
+++ b/utests/utest_helper.hpp
@@ -52,6 +52,8 @@
extern EGLDisplay eglDisplay;
extern EGLContext eglContext;
extern EGLSurface eglSurface;
+extern Display *xDisplay;
+extern Window xWindow;
#endif
union uint32_cast {