summaryrefslogtreecommitdiffstats
path: root/config.profiles/harmattan/patches/qgltexturecache.diff
diff options
context:
space:
mode:
authorEckhart Koppen <eckhart.koppen@nokia.com>2011-03-16 12:39:14 (GMT)
committerEckhart Koppen <eckhart.koppen@nokia.com>2011-03-16 12:39:14 (GMT)
commiteac5573dff483dfefb2deb028850c3ab6f01c555 (patch)
tree30cf1dfd18531a2608ddb23e50bc82e70c3c5665 /config.profiles/harmattan/patches/qgltexturecache.diff
parente8a56e6d49d93b552786ac2e56e82c3c178eb090 (diff)
downloadQt-eac5573dff483dfefb2deb028850c3ab6f01c555.zip
Qt-eac5573dff483dfefb2deb028850c3ab6f01c555.tar.gz
Qt-eac5573dff483dfefb2deb028850c3ab6f01c555.tar.bz2
Temporarily removed Harmattan specific patches
Patches are not applying properly yet, so no use to release them. Reviewed-by: TrustMe
Diffstat (limited to 'config.profiles/harmattan/patches/qgltexturecache.diff')
-rw-r--r--config.profiles/harmattan/patches/qgltexturecache.diff23
1 files changed, 0 insertions, 23 deletions
diff --git a/config.profiles/harmattan/patches/qgltexturecache.diff b/config.profiles/harmattan/patches/qgltexturecache.diff
deleted file mode 100644
index 0fa8ad2..0000000
--- a/config.profiles/harmattan/patches/qgltexturecache.diff
+++ /dev/null
@@ -1,23 +0,0 @@
-Index: qt-maemo-qtp/src/opengl/qgl.cpp
-===================================================================
---- qt-maemo-qtp.orig/src/opengl/qgl.cpp
-+++ qt-maemo-qtp/src/opengl/qgl.cpp
-@@ -1831,18 +1831,6 @@
- void QGLTextureCache::insert(QGLContext* ctx, qint64 key, QGLTexture* texture, int cost)
- {
- QWriteLocker locker(&m_lock);
-- if (m_cache.totalCost() + cost > m_cache.maxCost()) {
-- // the cache is full - make an attempt to remove something
-- const QList<QGLTextureCacheKey> keys = m_cache.keys();
-- int i = 0;
-- while (i < m_cache.count()
-- && (m_cache.totalCost() + cost > m_cache.maxCost())) {
-- QGLTexture *tex = m_cache.object(keys.at(i));
-- if (tex->context == ctx)
-- m_cache.remove(keys.at(i));
-- ++i;
-- }
-- }
- const QGLTextureCacheKey cacheKey = {key, QGLContextPrivate::contextGroup(ctx)};
- m_cache.insert(cacheKey, texture, cost);
- }