diff options
author | Harald Fernengel <harald.fernengel@nokia.com> | 2010-12-07 14:19:37 (GMT) |
---|---|---|
committer | Harald Fernengel <harald.fernengel@nokia.com> | 2010-12-07 14:19:37 (GMT) |
commit | 82ae06cf32514ae60ce5b9c04a48a4619c2252e0 (patch) | |
tree | 3da263d6ff809c64bd272736536e439188e96592 /tools | |
parent | 71f8955e0a2744bccff94495c4db5e054db8ab95 (diff) | |
download | Qt-82ae06cf32514ae60ce5b9c04a48a4619c2252e0.zip Qt-82ae06cf32514ae60ce5b9c04a48a4619c2252e0.tar.gz Qt-82ae06cf32514ae60ce5b9c04a48a4619c2252e0.tar.bz2 |
Optimize behavior of QGLTextureCache
When we iterate over the cache to figure out which objects to remove,
we would change the internal order of the cache,
leading to a suboptimal caching behavior.
Instead, let QCache decide which objects to remove when the cache
overflows, based on its internal last-recently-used algorithm.
Reviewed-by: Samuel Rødal
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions