derekf pushed a commit to branch efl-1.21. http://git.enlightenment.org/core/efl.git/commit/?id=c5a4af45113fa018d2c63f6964a6e4359331d90e
commit c5a4af45113fa018d2c63f6964a6e4359331d90e Author: Derek Foreman <derek.foreman.sams...@gmail.com> Date: Tue Sep 11 12:22:06 2018 -0400 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 --- src/modules/evas/engines/wayland_egl/evas_wl_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 config_attrs[n++] = 1; config_attrs[n++] = EGL_ALPHA_SIZE; - config_attrs[n++] = gw->alpha; + config_attrs[n++] = 8 * !!gw->alpha; config_attrs[n++] = EGL_DEPTH_SIZE; config_attrs[n++] = 0; config_attrs[n++] = EGL_STENCIL_SIZE; --