summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qdri2context.h
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2011-03-07 16:29:24 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2011-03-07 16:33:28 (GMT)
commitd9afcf0e84e438f89c1a8c5e26da51b06d8f61d0 (patch)
treec5f1bb28b0195b67a47ccf6ed8d007bc7af06435 /src/plugins/platforms/xcb/qdri2context.h
parentcf264556fdea0d434e329e36c07a0ae6fa974f8b (diff)
downloadQt-d9afcf0e84e438f89c1a8c5e26da51b06d8f61d0.zip
Qt-d9afcf0e84e438f89c1a8c5e26da51b06d8f61d0.tar.gz
Qt-d9afcf0e84e438f89c1a8c5e26da51b06d8f61d0.tar.bz2
Lighthouse: Adding Native interface to getting the native eglcontext
in xcbplugin. I also reoredered how eglInitialize was executed, (its not so lazy anymore)
Diffstat (limited to 'src/plugins/platforms/xcb/qdri2context.h')
-rw-r--r--src/plugins/platforms/xcb/qdri2context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qdri2context.h b/src/plugins/platforms/xcb/qdri2context.h
index 5646565..8e4ac89 100644
--- a/src/plugins/platforms/xcb/qdri2context.h
+++ b/src/plugins/platforms/xcb/qdri2context.h
@@ -24,6 +24,8 @@ public:
QPlatformWindowFormat platformWindowFormat() const;
+ void *eglContext() const;
+
protected:
xcb_dri2_dri2_buffer_t *backBuffer();
QScopedPointer<QDri2ContextPrivate> d_ptr;