diff options
Diffstat (limited to 'src/imports/texture-sharing/sharedtextureprovider.h')
-rw-r--r-- | src/imports/texture-sharing/sharedtextureprovider.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/imports/texture-sharing/sharedtextureprovider.h b/src/imports/texture-sharing/sharedtextureprovider.h index d200315e0..7eaf9e0d5 100644 --- a/src/imports/texture-sharing/sharedtextureprovider.h +++ b/src/imports/texture-sharing/sharedtextureprovider.h @@ -93,27 +93,6 @@ private: bool m_sharingAvailable = false; }; -class SharedTexture : public QSGTexture -{ - Q_OBJECT -public: - SharedTexture(QtWaylandClient::QWaylandServerBuffer *buffer); - - int textureId() const; //###### override; - qint64 comparisonKey() const override; - QSize textureSize() const override; - bool hasAlphaChannel() const override; - bool hasMipmaps() const override; - - void bind(); //######## override; - -private: - void updateGLTexture() const; - QtWaylandClient::QWaylandServerBuffer *m_buffer = nullptr; - mutable QOpenGLTexture *m_tex = nullptr; -}; - - QT_END_NAMESPACE #endif // SHAREDTEXTUREPROVIDER_H |