diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-11-20 06:32:35 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-11-20 06:32:35 (GMT) |
commit | a8c8c2274d2d0a708786adbb357013955f99c0af (patch) | |
tree | baddaea690d7d9eb4f40e9d26ddf84c1dd68975f /src/opengl/qgl_p.h | |
parent | 55b1f191d2ab97b2c1029f12e2315412e74a1dc2 (diff) | |
download | Qt-a8c8c2274d2d0a708786adbb357013955f99c0af.zip Qt-a8c8c2274d2d0a708786adbb357013955f99c0af.tar.gz Qt-a8c8c2274d2d0a708786adbb357013955f99c0af.tar.bz2 |
Do not recreate the VGImage if the size is unchanged
When a pixmap's contents change in QVGPixmapData, only recreate
the VGImage in the GPU if the size is different than before.
This should help reduce GPU memory fragmentation.
Task-number: QT-2504
Reviewed-by: Sarah Smith
Diffstat (limited to 'src/opengl/qgl_p.h')
0 files changed, 0 insertions, 0 deletions