forked from enlightenment/efl
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
This commit is contained in:
parent
89a537b4d1
commit
b5b7e6a0e6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue