diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2009-05-26 08:58:30 (GMT) |
---|---|---|
committer | Samuel Rødal <sroedal@trolltech.com> | 2009-05-27 10:43:18 (GMT) |
commit | 855022d6108f6b3c90832e742217c50550af717d (patch) | |
tree | 8cf799d7c939ee7cb9434cf1d3a100e898af6ce6 /src/opengl/qgl_x11.cpp | |
parent | 15c8f565973592c9929cdd6fc83d61641aa63afa (diff) | |
download | Qt-855022d6108f6b3c90832e742217c50550af717d.zip Qt-855022d6108f6b3c90832e742217c50550af717d.tar.gz Qt-855022d6108f6b3c90832e742217c50550af717d.tar.bz2 |
Avoided expensive image upload for GL pixmap backend for QPixmap::fill.
In the fill case we can simply set a flag saying the pixmap needs to be
filled, and then when painting on the pixmap we start by filling the
background using glClear via the existing
QGLDrawable::autoFillBackground interface.
Diffstat (limited to 'src/opengl/qgl_x11.cpp')
0 files changed, 0 insertions, 0 deletions