aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickshapes/qquickshape_p_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quickshapes/qquickshape_p_p.h')
-rw-r--r--src/quickshapes/qquickshape_p_p.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/quickshapes/qquickshape_p_p.h b/src/quickshapes/qquickshape_p_p.h
index 7851137465..3a76f0996b 100644
--- a/src/quickshapes/qquickshape_p_p.h
+++ b/src/quickshapes/qquickshape_p_p.h
@@ -219,27 +219,6 @@ private:
QHash<QQuickShapeGradientCacheKey, QSGPlainTexture *> m_textures;
};
-#if QT_CONFIG(opengl)
-
-class QQuickShapeGradientOpenGLCache : public QOpenGLSharedResource
-{
-public:
- QQuickShapeGradientOpenGLCache(QOpenGLContext *context) : QOpenGLSharedResource(context->shareGroup()) { }
- ~QQuickShapeGradientOpenGLCache();
-
- void invalidateResource() override;
- void freeResource(QOpenGLContext *) override;
-
- QSGTexture *get(const QQuickShapeGradientCacheKey &grad);
-
- static QQuickShapeGradientOpenGLCache *currentCache();
-
-private:
- QHash<QQuickShapeGradientCacheKey, QSGPlainTexture *> m_cache;
-};
-
-#endif // QT_CONFIG(opengl)
-
QT_END_NAMESPACE
#endif