diff options
author | Pauli Nieminen <ext-pauli.nieminen@nokia.com> | 2011-03-07 10:39:02 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-03-07 10:39:02 (GMT) |
commit | d55aa14630bbb4130017f38177b20c850d556371 (patch) | |
tree | d4990087819de18f7f0236ee7dee826fef8c8c79 /tools/qmeegographicssystemhelper/qmeegoruntime.h | |
parent | 7b4e032559c7b226280e5c9229cd685e73d1e707 (diff) | |
download | Qt-d55aa14630bbb4130017f38177b20c850d556371.zip Qt-d55aa14630bbb4130017f38177b20c850d556371.tar.gz Qt-d55aa14630bbb4130017f38177b20c850d556371.tar.bz2 |
Invalidate the EGL surface of QMeeGoLivePixmapData when switching to Raster
QMeeGoLivePixmap fails to lock the EGL surface and texture after switch
to raster graphics system. The EGL surface is invalid after eglTerminate
call in switch. But QMeeGoLivePixmapData doesn't know about the switch.
Marking EGL surfaces and texture invalid after switch makes live pixmap
automatically recreate the surface when next time requiring live
pixmap.
Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
Merge-request: 2571
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'tools/qmeegographicssystemhelper/qmeegoruntime.h')
-rw-r--r-- | tools/qmeegographicssystemhelper/qmeegoruntime.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/qmeegographicssystemhelper/qmeegoruntime.h b/tools/qmeegographicssystemhelper/qmeegoruntime.h index bdc4eef..b91efae 100644 --- a/tools/qmeegographicssystemhelper/qmeegoruntime.h +++ b/tools/qmeegographicssystemhelper/qmeegoruntime.h @@ -62,6 +62,7 @@ public: static Qt::HANDLE getLiveTextureHandle(QPixmap *pixmap); static void* createFenceSync(); static void destroyFenceSync(void *fs); + static void invalidateLiveSurfaces(); private: static bool initialized; |