summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/directfb/qdirectfb_egl.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2012-03-16 22:50:30 +0100
committerQt by Nokia <qt-info@nokia.com>2012-04-13 08:33:37 +0200
commit01b54bcd84d9a2129f2db4fe03a5f331f9eec203 (patch)
tree47976e5066c03643ee36b4323c7a795fb4b48fd3 /src/plugins/platforms/directfb/qdirectfb_egl.h
parentd1329e43cbb243f3b28d172569befc0c28f49b8b (diff)
device: Introduce hooks for the directfb plugin and use them
The EGL integration is vendor specific, add platform hooks to the DirectFB plugin and implement them for the Broadcom 97425. The hook interface is internal and there are no ABI/API gurantees. Change-Id: I33359830c51f16895e771837fccb71e03c81cf18 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Diffstat (limited to 'src/plugins/platforms/directfb/qdirectfb_egl.h')
-rw-r--r--src/plugins/platforms/directfb/qdirectfb_egl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/directfb/qdirectfb_egl.h b/src/plugins/platforms/directfb/qdirectfb_egl.h
index 88f7e60e99..7781b17831 100644
--- a/src/plugins/platforms/directfb/qdirectfb_egl.h
+++ b/src/plugins/platforms/directfb/qdirectfb_egl.h
@@ -53,6 +53,8 @@ public:
QPlatformWindow *createPlatformWindow(QWindow *window) const;
QPlatformOpenGLContext *createPlatformOpenGLContext(QOpenGLContext *context) const;
+ bool hasCapability(QPlatformIntegration::Capability cap) const;
+
protected:
void initializeScreen();
};