summaryrefslogtreecommitdiffstats
path: root/src/opengl/qwindowsurface_gl.cpp
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2009-10-20 12:37:29 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2009-10-20 12:57:39 (GMT)
commitf0a7e831394683190faf8a51bf724462f98568e9 (patch)
tree90d10163705c2509970c78849af5807feeb69f9e /src/opengl/qwindowsurface_gl.cpp
parent6e1e26741e682c869c45e4cf8dfe4c79e37b9716 (diff)
downloadQt-f0a7e831394683190faf8a51bf724462f98568e9.zip
Qt-f0a7e831394683190faf8a51bf724462f98568e9.tar.gz
Qt-f0a7e831394683190faf8a51bf724462f98568e9.tar.bz2
Add a new window surface which utilises QX11GLPixmapData
The new surface uses XCopyArea to post updates to the window and thus, supports partial updates.
Diffstat (limited to 'src/opengl/qwindowsurface_gl.cpp')
-rw-r--r--src/opengl/qwindowsurface_gl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opengl/qwindowsurface_gl.cpp b/src/opengl/qwindowsurface_gl.cpp
index 2816eca..4547416 100644
--- a/src/opengl/qwindowsurface_gl.cpp
+++ b/src/opengl/qwindowsurface_gl.cpp
@@ -364,6 +364,7 @@ void QGLWindowSurface::hijackWindow(QWidget *widget)
if (ctxpriv->eglSurface == EGL_NO_SURFACE) {
qWarning() << "hijackWindow() could not create EGL surface";
}
+ qDebug("QGLWindowSurface - using EGLConfig %d", ctxpriv->eglContext->config());
#endif
widgetPrivate->extraData()->glContext = ctx;