diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-01-29 10:39:06 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2010-02-06 08:33:49 (GMT) |
commit | 086461ea7b6953211b340c783d266e4e0da5d7f5 (patch) | |
tree | ccc1898333255261542babdf7339e0f1f3ba2936 /doc/src/snippets/code/src_xmlpatterns_api_qxmlresultitems.cpp | |
parent | 6a231b241a628fcd9aef01a7e353ac55707b1aa0 (diff) | |
download | Qt-086461ea7b6953211b340c783d266e4e0da5d7f5.zip Qt-086461ea7b6953211b340c783d266e4e0da5d7f5.tar.gz Qt-086461ea7b6953211b340c783d266e4e0da5d7f5.tar.bz2 |
Fix GL texture leaks when pixmaps are deleted
This fixes quite a lot of issues:
* QtOpenGL only registered qpixmap destruction hooks on X11 and
those only cleanup the EGL/GLX surface, not the texture object.
* The QPixmap destruction hooks were only being called from the
QPixmap destructor. However, this means when a QPixmap is assigned
to another QPixmap, the hooks don't get called.
Task-number: QTBUG-7647
Reviewed-By: Samuel
Reviewed-By: Trond
(cherry picked from commit 9e95ce2a68ef167e17dccc5789cbf3bf74712280)
Diffstat (limited to 'doc/src/snippets/code/src_xmlpatterns_api_qxmlresultitems.cpp')
0 files changed, 0 insertions, 0 deletions