diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-08-15 18:40:58 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-08-15 18:44:54 +0200 |
commit | 2be575b4b1e6f6e11a8dbd0b1c05c003828d2598 (patch) | |
tree | 55d2bfaff9583b3e1e9f3291f4b91f34adae1d92 /src/plugins/scenegraph/openvg/qsgopenvglayer.h | |
parent | 4a5939d26d1e36efdb2b30cdee1f3672587c3fa5 (diff) | |
parent | 9e32b23a1514f367921b4a9ee25bc864a008463c (diff) |
Merge remote-tracking branch 'origin/wip/qt6' into wip/cmake
Change-Id: I6f2152aeecaeb8e63fdbc1cdf1444132a054b6f5
Diffstat (limited to 'src/plugins/scenegraph/openvg/qsgopenvglayer.h')
-rw-r--r-- | src/plugins/scenegraph/openvg/qsgopenvglayer.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/plugins/scenegraph/openvg/qsgopenvglayer.h b/src/plugins/scenegraph/openvg/qsgopenvglayer.h index 8deedc3347..f2763463cd 100644 --- a/src/plugins/scenegraph/openvg/qsgopenvglayer.h +++ b/src/plugins/scenegraph/openvg/qsgopenvglayer.h @@ -42,6 +42,7 @@ #include <private/qsgadaptationlayer_p.h> #include <private/qsgcontext_p.h> +#include <private/qsgtexture_p.h> #include "qopenvgcontext_p.h" #include "qopenvgoffscreensurface.h" @@ -50,9 +51,11 @@ QT_BEGIN_NAMESPACE class QSGOpenVGRenderer; class QSGOpenVGRenderContext; +class QSGOpenVGLayerPrivate; class QSGOpenVGLayer : public QSGLayer { + Q_DECLARE_PRIVATE(QSGOpenVGLayer) public: QSGOpenVGLayer(QSGRenderContext *renderContext); ~QSGOpenVGLayer(); @@ -109,6 +112,13 @@ private: QOpenVGOffscreenSurface *m_secondaryOffscreenSurface; }; +class QSGOpenVGLayerPrivate : public QSGTexturePrivate +{ + Q_DECLARE_PUBLIC(QSGOpenVGLayer) +public: + int comparisonKey() const override; +}; + QT_END_NAMESPACE #endif // QSGOPENVGLAYER_H |