Setting WA_TranslucentBackground after winid() is ineffective on Symbian.
authorJani Hautakangas <jani.hautakangas@nokia.com>
Mon, 10 Jan 2011 11:22:15 +0000 (13:22 +0200)
committerJason McDonald <jason.mcdonald@nokia.com>
Wed, 12 Jan 2011 08:41:27 +0000 (18:41 +1000)
commitfb4629e766e587a32aad7f1e6862d426c23441d6
tree0ba8a591eaf6a6d233810d08d082bc3cb4359b15
parent4e5544b2607e1e981eeb1df7e565d8ff35b66985
Setting WA_TranslucentBackground after winid() is ineffective on Symbian.

Currently Symbian doesn't support semi-transparent EGL surfaces.
WA_TranslucentBackground attribute is ineffective if set after EGL
surface creation. To enable translucency in this case we need to
recreate backing store to get raster surface which supports translucency.

Task-number: QT-4416
Reviewed-by: Jason Barron
(cherry picked from commit d62e9f4a6fe199ae790b1561fd4ba9ea84bd4d1e)
src/gui/kernel/qwidget_s60.cpp
src/gui/painting/qgraphicssystem_runtime.cpp
src/plugins/graphicssystems/openvg/qgraphicssystem_vg.cpp