summaryrefslogtreecommitdiffstats
path: root/src/render/texture/texture_p.h
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2016-04-01 15:55:23 +0100
committerSean Harmer <sean.harmer@kdab.com>2016-04-10 15:03:38 +0000
commit11051c2316a6e2aa2f193d5793035a99821f77f0 (patch)
treed4bac31e0447d299c79b5027238dbc14089eb581 /src/render/texture/texture_p.h
parent20ed96d5d051f5ad8d50a6937a2c40e9323c0d70 (diff)
Texture handles creation
Added a TODO about rethinking the approach for setting up the relationship between Textures and TextureImages. Change-Id: I97f6d4ee5194e2b255c06a0f236f7fdbe265cc5b Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/texture/texture_p.h')
-rw-r--r--src/render/texture/texture_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/texture/texture_p.h b/src/render/texture/texture_p.h
index adf2cb587..d26ac060c 100644
--- a/src/render/texture/texture_p.h
+++ b/src/render/texture/texture_p.h
@@ -119,6 +119,8 @@ public:
inline bool dataUploadRequired() const { return m_dataUploadRequired; }
private:
+ void initializeFromPeer(const Qt3DCore::QNodeCreatedChangeBasePtr &change) Q_DECL_FINAL;
+
QOpenGLTexture *m_gl;
QOpenGLTexture *buildGLTexture();