summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/directfb/qdirectfbwindow.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2012-05-29 19:14:43 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-30 19:29:35 +0200
commit44bc32d9c57244d50d6bdba649ad1a5f1b1b1130 (patch)
treed21649c988e6d9bfeef7dfe66a05d8a226ad7fc4 /src/plugins/platforms/directfb/qdirectfbwindow.h
parent735f7e6248fb7725ce952eede17117ca6dc3ee42 (diff)
directfb: Allocate a special surface for OpenGL
Allocate an RGB16 surface when we need to use OpenGL, set the custom DSCAPS_GL for this EGL mode. The broadcom hardware would allow us to use ABGR but we have some issues with the QSurfaceFormat to select the right kind of surface. Change-Id: I0fff7906154f3d7afb35b2b5d2bb91510cf3aa4d Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Diffstat (limited to 'src/plugins/platforms/directfb/qdirectfbwindow.h')
-rw-r--r--src/plugins/platforms/directfb/qdirectfbwindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/directfb/qdirectfbwindow.h b/src/plugins/platforms/directfb/qdirectfbwindow.h
index f02f937462..0c429c9021 100644
--- a/src/plugins/platforms/directfb/qdirectfbwindow.h
+++ b/src/plugins/platforms/directfb/qdirectfbwindow.h
@@ -73,7 +73,7 @@ public:
// helper to get access to DirectFB types
IDirectFBSurface *dfbSurface();
-private:
+protected:
QDirectFBPointer<IDirectFBSurface> m_dfbSurface;
QDirectFBPointer<IDirectFBWindow> m_dfbWindow;
QDirectFbInput *m_inputHandler;