summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines
diff options
context:
space:
mode:
authorDerek Foreman <derek.foreman.samsung@gmail.com>2018-09-11 12:22:06 -0400
committerChris Michael <cp.michael@samsung.com>2018-09-11 12:22:06 -0400
commitb5b7e6a0e647774403f89c7882ba77ea1e6827c6 (patch)
tree871da2131a9a35443bd58493e5af71cea993734a /src/modules/evas/engines
parent89a537b4d1cd3dafc8b165d995445474a1a99646 (diff)
wayland_egl: Fix drop shadows on radeon
Summary: We're doing this all wrong. We've asking for "at least 1 bit" of A, R, G, B color depth. ARGB2101010 fits that nicely, so mesa on radeon gives it to us. This only fixes the drop shadows though, it's entirely possible that a fullscreen window without alpha would get ARGB2101010 instead of XRGB8888, so this code probably needs a rethink for multiple engines. Reviewers: devilhorns Reviewed By: devilhorns Subscribers: devilhorns, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7022
Diffstat (limited to 'src/modules/evas/engines')
-rw-r--r--src/modules/evas/engines/wayland_egl/evas_wl_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/evas/engines/wayland_egl/evas_wl_main.c b/src/modules/evas/engines/wayland_egl/evas_wl_main.c
index 02b7108bc4..c3f2001c58 100644
--- a/src/modules/evas/engines/wayland_egl/evas_wl_main.c
+++ b/src/modules/evas/engines/wayland_egl/evas_wl_main.c
@@ -55,7 +55,7 @@ eng_window_new(Evas_Engine_Info_Wayland *einfo, int w, int h, Render_Output_Swap
55 config_attrs[n++] = 1; 55 config_attrs[n++] = 1;
56 56
57 config_attrs[n++] = EGL_ALPHA_SIZE; 57 config_attrs[n++] = EGL_ALPHA_SIZE;
58 config_attrs[n++] = gw->alpha; 58 config_attrs[n++] = 8 * !!gw->alpha;
59 config_attrs[n++] = EGL_DEPTH_SIZE; 59 config_attrs[n++] = EGL_DEPTH_SIZE;
60 config_attrs[n++] = 0; 60 config_attrs[n++] = 0;
61 config_attrs[n++] = EGL_STENCIL_SIZE; 61 config_attrs[n++] = EGL_STENCIL_SIZE;