diff options
author | Gunnar Sletta <gunnar.sletta@nokia.com> | 2012-01-09 08:43:34 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-13 09:27:22 +0100 |
commit | c3b4d679684434d318c75474f426d5c61a4b239c (patch) | |
tree | 4f512ff74a2ab1fa957db2a123c447156a83df69 /src/quick/scenegraph/qsgcontext_p.h | |
parent | c194b012182c3ae495bb7a740f02a5a9f5b3c3b3 (diff) |
Reintroduce plugin support for asynchronous hardware specific textures
Change-Id: Iad36542d2137e7a6470009c308ece3de389907c1
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/quick/scenegraph/qsgcontext_p.h')
-rw-r--r-- | src/quick/scenegraph/qsgcontext_p.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/quick/scenegraph/qsgcontext_p.h b/src/quick/scenegraph/qsgcontext_p.h index 0d69a4fb47..5e9aadec35 100644 --- a/src/quick/scenegraph/qsgcontext_p.h +++ b/src/quick/scenegraph/qsgcontext_p.h @@ -102,11 +102,6 @@ public: virtual QSGGlyphNode *createGlyphNode(); virtual QSGRenderer *createRenderer(); - virtual bool canDecodeImageToTexture() const; - virtual QSGTexture *decodeImageToTexture(QIODevice *dev, - QSize *size, - const QSize &requestSize); - virtual QSGTexture *createTexture(const QImage &image = QImage()) const; virtual QSize minimumFBOSize() const; @@ -127,6 +122,8 @@ public: virtual QAnimationDriver *createAnimationDriver(QObject *parent); + static QDeclarativeTextureFactory *createTextureFactoryFromImage(const QImage &image); + public slots: void textureFactoryDestroyed(QObject *o); |