summaryrefslogtreecommitdiffstats
path: root/src/render/texture/texture_p.h
diff options
context:
space:
mode:
authorWieland Hagen <wieland.hagen@kdab.com>2016-04-07 18:36:49 +0200
committerSean Harmer <sean.harmer@kdab.com>2016-04-07 20:33:29 +0000
commit2c7b9d90cc7fa1c471bd5a325d1b010314c498cf (patch)
tree588efbd5e484ac4ac8845d15822b5b3b80a45af9 /src/render/texture/texture_p.h
parent17946500aa9bc22becf3612aead65614fafd5819 (diff)
QAbstractTexture: Remove unique property
Instead, automatically reason about unique-ness of texture based on texture data. This should make exactly those textures unique, that don't have any image data associated with them. Task-number: QTBUG-51507 Change-Id: I172ac1d52a46ef8ccf3122d5a8acbdf54296da0f Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/texture/texture_p.h')
-rw-r--r--src/render/texture/texture_p.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/render/texture/texture_p.h b/src/render/texture/texture_p.h
index a2a7ed35d..adf2cb587 100644
--- a/src/render/texture/texture_p.h
+++ b/src/render/texture/texture_p.h
@@ -151,7 +151,6 @@ private:
bool m_isDirty;
bool m_filtersAndWrapUpdated;
bool m_dataUploadRequired;
- bool m_unique;
mutable QMutex m_lock;
TextureDNA m_textureDNA;