Fix TIVI-2498:"ecore_wayland:didn't set opaque region properl" 48/14148/4
authorLi,Limin <liminx.li@intel.com>
Thu, 26 Dec 2013 01:27:49 +0000 (09:27 +0800)
committerLi,Limin <liminx.li@intel.com>
Thu, 26 Dec 2013 02:21:45 +0000 (10:21 +0800)
commit7887c71db28b47e86343da0cbac0105f6de1e743
tree1355ef65843dd681a3fa6a40cb6d3a7abd5b7b85
parentf6d7ded985f62705a2ec9eea40912ac8da4e1b92
Fix TIVI-2498:"ecore_wayland:didn't set opaque region properl"

more info in jira:
   https://bugs.tizen.org/jira/browse/TIVI-2498

This patch basically come from 2 upstream commits
"67769cc39fed35080fe8c145ba7a9635124f77b9
ecore-wayland: Improve opaque setting logic." and
"7a7a0b829734a9f649ebf6e1511381b1dda6a32d ecore/wayland:
Add ecore_wl_window_alpha_set()." plus some tiny fixes.

Without the second commit, there will be black bar issue
if surface uses alpha channel. See
"https://review.tizen.org/gerrit/gitweb?p=platform/upstream/ecore.git;
a=commit;h=d2579e0e3399339d5f47223edcb8e0d485b8749a"
for details about this issue.

Signed-off-by: Li,Limin <liminx.li@intel.com>
Change-Id: Ibdb9f68697855545c995be1877f1d117d18a8a1a
src/lib/ecore_evas/ecore_evas_wayland_egl.c
src/lib/ecore_wayland/Ecore_Wayland.h
src/lib/ecore_wayland/ecore_wl_window.c