summaryrefslogtreecommitdiffstats
path: root/src/dbus
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-04-17 08:04:08 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2009-04-17 08:16:35 (GMT)
commitb3f0d6e31c6897b1701de28d51980a81fb3e778f (patch)
tree29b8095070bb4f1585bee5a3eed45776c033ce5e /src/dbus
parent537c26b2125994b42a5d00540ca4644582111573 (diff)
downloadQt-b3f0d6e31c6897b1701de28d51980a81fb3e778f.zip
Qt-b3f0d6e31c6897b1701de28d51980a81fb3e778f.tar.gz
Qt-b3f0d6e31c6897b1701de28d51980a81fb3e778f.tar.bz2
Correctly handle using GL pixmaps that still have an active engine.
In the case where a GL pixmap is used when there it still has an active engine we need to ensure that the pixmap has been flushed from the render FBO first. The newly added QGLPixmapData::copyBackFromRenderFbo() handles this. In addition, because several GL 2 paint engines can be active on the same context at the same time, we can't make any assumptions and need to call the newly added QGL2PaintEngineEx::ensureCreated() in the beginning of any state-dependent paint engine function. QGL2PaintEngineEx::ensureCreated() correctly transfers control to the current engine if a different engine is active. Running lance with -pixmap and -graphicssystem opengl works correctly with the GL pixmap backend now.
Diffstat (limited to 'src/dbus')
0 files changed, 0 insertions, 0 deletions