diff options
author | Jani Hautakangas <jani.hautakangas@nokia.com> | 2011-08-05 12:34:01 (GMT) |
---|---|---|
committer | Jani Hautakangas <jani.hautakangas@nokia.com> | 2011-08-05 12:52:07 (GMT) |
commit | 38df9798da4d9645d0620b9053f2a3f6ec35f80b (patch) | |
tree | 80f46524aeb7e729e774e7a8eece11f2441ae549 /mkspecs/win32-borland | |
parent | d5caf208ae0e87ed1f2706aba8db7e6395fd156c (diff) | |
download | Qt-38df9798da4d9645d0620b9053f2a3f6ec35f80b.zip Qt-38df9798da4d9645d0620b9053f2a3f6ec35f80b.tar.gz Qt-38df9798da4d9645d0620b9053f2a3f6ec35f80b.tar.bz2 |
Fix to QGLWidget rendering with VG graphics system
QEGLContext don't expect EGL based API to change
on runtime (e.g. VG->GL). QEGLContext caches current API
context pointer and uses this cached value to determine whether
to make eglMakeCurrent call or not. VG graphics system and
QGLWidget creates own separate QEGLContext objects, but both
of those objects consider themself to be current context, so
no eglMakeCurrent call occurs even though the API has changed.
This patch adds ifdef'd current context check for Symbian
which enables eglMakeCurrent call if EGL API has changed.
(Symbian is the only supported platform currently where this scenario happens).
Task-number: QT-5012
Reviewed-by: Samuel Rødal
Diffstat (limited to 'mkspecs/win32-borland')
0 files changed, 0 insertions, 0 deletions