summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl_p.h
diff options
context:
space:
mode:
authorTrond Kjernåsen <trond@trolltech.com>2010-03-11 14:52:37 (GMT)
committerTrond Kjernåsen <trond@trolltech.com>2010-03-11 14:53:26 (GMT)
commit82fa80a6b28ea5a4d3e245f531fea22a689c7ad3 (patch)
treebabf61d5c0bef983f4c5ad2a5dc1a4e66d8583f9 /src/opengl/qgl_p.h
parentc5cb91a714f3fa38aeab41c6e793a5a3d071dcef (diff)
downloadQt-82fa80a6b28ea5a4d3e245f531fea22a689c7ad3.zip
Qt-82fa80a6b28ea5a4d3e245f531fea22a689c7ad3.tar.gz
Qt-82fa80a6b28ea5a4d3e245f531fea22a689c7ad3.tar.bz2
Made QGLTextureCache::instance() threadsafe.
Reviewed-by: Tom Cooksey
Diffstat (limited to 'src/opengl/qgl_p.h')
-rw-r--r--src/opengl/qgl_p.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/opengl/qgl_p.h b/src/opengl/qgl_p.h
index ed34f79..5e524a7 100644
--- a/src/opengl/qgl_p.h
+++ b/src/opengl/qgl_p.h
@@ -532,7 +532,6 @@ public:
bool remove(QGLContext *ctx, GLuint textureId);
void removeContextTextures(QGLContext *ctx);
static QGLTextureCache *instance();
- static void deleteIfEmpty();
static void cleanupTexturesForCacheKey(qint64 cacheKey);
static void cleanupTexturesForPixampData(QPixmapData* pixmap);
static void cleanupBeforePixmapDestruction(QPixmapData* pixmap);