diff options
author | Trond Kjernåsen <trond@trolltech.com> | 2010-03-11 14:52:37 (GMT) |
---|---|---|
committer | Trond Kjernåsen <trond@trolltech.com> | 2010-03-11 14:53:26 (GMT) |
commit | 82fa80a6b28ea5a4d3e245f531fea22a689c7ad3 (patch) | |
tree | babf61d5c0bef983f4c5ad2a5dc1a4e66d8583f9 /src/opengl/qgl_p.h | |
parent | c5cb91a714f3fa38aeab41c6e793a5a3d071dcef (diff) | |
download | Qt-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.h | 1 |
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); |