summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglpixelbuffer_win.cpp
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-05-29 12:00:45 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2009-05-29 14:10:24 (GMT)
commit07fbbf76bef1845bb6c490b15a0b7caabf23d888 (patch)
tree34adda17d7bc6ce199fa62de032c44dd14e962e9 /src/opengl/qglpixelbuffer_win.cpp
parenta322d3faacdb8e5a8649b478b3eaa8aa03d789d6 (diff)
downloadQt-07fbbf76bef1845bb6c490b15a0b7caabf23d888.zip
Qt-07fbbf76bef1845bb6c490b15a0b7caabf23d888.tar.gz
Qt-07fbbf76bef1845bb6c490b15a0b7caabf23d888.tar.bz2
Made GL2 engine default for QGLWidget, and added GL2 sync() function
To allow mixing QPainter and raw OpenGL commands we need to have some way for the user to say that's he's about to use raw OpenGL so that we are free to do buffering optimizations in the paint engines and use either GL1 or GL2 paint engine. As there's already a syncState() function in QPaintEngine we've reused this and added QPaintEngineEx::sync() which takes care of syncing/flushing the paint engine. Reviewed-by: Trond
Diffstat (limited to 'src/opengl/qglpixelbuffer_win.cpp')
0 files changed, 0 insertions, 0 deletions