diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2011-03-07 16:29:24 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2011-03-07 16:33:28 (GMT) |
commit | d9afcf0e84e438f89c1a8c5e26da51b06d8f61d0 (patch) | |
tree | c5f1bb28b0195b67a47ccf6ed8d007bc7af06435 /src/plugins/platforms/xcb/qdri2context.h | |
parent | cf264556fdea0d434e329e36c07a0ae6fa974f8b (diff) | |
download | Qt-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.h | 2 |
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; |