diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2011-11-18 10:24:32 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-20 14:17:41 +0100 |
commit | c274ea7cf5e11ade0a5812e3080baa671d012524 (patch) | |
tree | 86ebcf918989dc674b0e82700cf0c123ba44e49e /src/plugins/platforms/xcb/qxcbintegration.h | |
parent | 47d5d349d8f5bc590ca7cdf30bf13b69bddf3225 (diff) |
Introducing QPlatformSharedGraphicsCache
Interface to provide cross-process caching mechanisms in a platform
plugin. Can be used for shared glyph caches and icon caches etc.
Change-Id: If0d89a0a50bbd6eee05daf908448262ff270fc5b
Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbintegration.h')
-rw-r--r-- | src/plugins/platforms/xcb/qxcbintegration.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbintegration.h b/src/plugins/platforms/xcb/qxcbintegration.h index 2bb5f1e65e..fc769429cb 100644 --- a/src/plugins/platforms/xcb/qxcbintegration.h +++ b/src/plugins/platforms/xcb/qxcbintegration.h @@ -77,6 +77,10 @@ public: QPlatformAccessibility *accessibility() const; +#if defined(QT_USE_XCB_SHARED_GRAPHICS_CACHE) + QPlatformSharedGraphicsCache *createPlatformSharedGraphicsCache(const char *cacheId) const; +#endif + private: QList<QXcbConnection *> m_connections; @@ -87,6 +91,10 @@ private: QAbstractEventDispatcher *m_eventDispatcher; QScopedPointer<QPlatformAccessibility> m_accessibility; + +#if defined(QT_USE_XCB_SHARED_GRAPHICS_CACHE) + QScopedPointer<QPlatformSharedGraphicsCache> m_sharedGraphicsCache; +#endif }; QT_END_NAMESPACE |