summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglframebufferobject.h
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2010-04-21 08:41:15 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2010-04-22 14:33:03 (GMT)
commit71d6e5a73b6e4434c47194d938a8b74c92170644 (patch)
tree40d48131a550c5dac3e0014aa57d656d33c10a7c /src/opengl/qglframebufferobject.h
parent4cb45486f952f5d9df7a2d954073bdbc5c5ee893 (diff)
downloadQt-71d6e5a73b6e4434c47194d938a8b74c92170644.zip
Qt-71d6e5a73b6e4434c47194d938a8b74c92170644.tar.gz
Qt-71d6e5a73b6e4434c47194d938a8b74c92170644.tar.bz2
QX11GL: Don't do glFinish in endPaint
It's better to defer the synchronisation to just before the point it is actually needed. When used as a window surface, this is in flush and scroll. If the QX11GLPixmapData is used as the defaut backend for QPixmaps, it might need to be put back into endPaint. However, the GL driver will hopefully make sure rendering to the pixmap is complete before binding it as a texture via texture-from-pixmap. Also, it's probably better to use eglWaitClient rather than glFinish for synchronisation as it is potentially slightly more optimal. Reviewed-By: TrustMe
Diffstat (limited to 'src/opengl/qglframebufferobject.h')
0 files changed, 0 insertions, 0 deletions