From 3ed9f1f4b6f9e17943fe8f756e1ff9d6ba2b6479 Mon Sep 17 00:00:00 2001 From: Gunnar Sletta Date: Fri, 2 Aug 2013 15:18:32 +0200 Subject: Public API for creating atlas textures, when available. Atlas textures are currently only used when scenegraph is combined with the customcontext from the playground/scenegraph module. Change-Id: I42f62abdad42e97cc1dcdc05bfb16ecf2839dc0e Reviewed-by: Eskil Abrahamsen Blomfeldt --- src/quick/scenegraph/qsgcontext_p.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/quick/scenegraph/qsgcontext_p.h') diff --git a/src/quick/scenegraph/qsgcontext_p.h b/src/quick/scenegraph/qsgcontext_p.h index bbc42674c6..3d5fc00de3 100644 --- a/src/quick/scenegraph/qsgcontext_p.h +++ b/src/quick/scenegraph/qsgcontext_p.h @@ -103,7 +103,8 @@ public: virtual QSGGlyphNode *createNativeGlyphNode(); virtual QSGRenderer *createRenderer(); - virtual QSGTexture *createTexture(const QImage &image = QImage()) const; + virtual QSGTexture *createTexture(const QImage &image) const; + virtual QSGTexture *createTextureNoAtlas(const QImage &image) const; virtual QSize minimumFBOSize() const; virtual QSharedPointer depthStencilBufferForFbo(QOpenGLFramebufferObject *fbo); QSGDepthStencilBufferManager *depthStencilBufferManager(); -- cgit v1.2.3