diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-09-24 23:42:43 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-09-24 23:42:43 (GMT) |
commit | 7421f79f57f475b9e96e53e5cbd9861c428d4ae3 (patch) | |
tree | 0fa825c9c29be98c9ba02c191fe3a2001702416e /src/opengl/qglpixelbuffer.cpp | |
parent | f6dee67827e72a0660f37998dafb18c6ccd9834e (diff) | |
download | Qt-7421f79f57f475b9e96e53e5cbd9861c428d4ae3.zip Qt-7421f79f57f475b9e96e53e5cbd9861c428d4ae3.tar.gz Qt-7421f79f57f475b9e96e53e5cbd9861c428d4ae3.tar.bz2 |
Start to separate the EGLSurface from QEglContext in QtOpenGL
Also, move the EGL makeCurrent(), doneCurrent(), swapBuffers(),
and reset() functions into the common qgl_egl.cpp.
Reviewed-by: Sarah Smith
Diffstat (limited to 'src/opengl/qglpixelbuffer.cpp')
-rw-r--r-- | src/opengl/qglpixelbuffer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opengl/qglpixelbuffer.cpp b/src/opengl/qglpixelbuffer.cpp index 07bc711..7c97ebb 100644 --- a/src/opengl/qglpixelbuffer.cpp +++ b/src/opengl/qglpixelbuffer.cpp @@ -146,6 +146,7 @@ void QGLPixelBufferPrivate::common_init(const QSize &size, const QGLFormat &form qctx->d_func()->vi = 0; #elif defined(QT_OPENGL_ES) qctx->d_func()->eglContext = ctx; + qctx->d_func()->eglSurface = pbuf; #endif } } |