wayland_egl: Fix drop shadows on radeon
authorDerek Foreman <derek.foreman.samsung@gmail.com>
Tue, 11 Sep 2018 16:22:06 +0000 (12:22 -0400)
committerYoungbok Shin <youngb.shin@samsung.com>
Tue, 18 Sep 2018 08:39:42 +0000 (17:39 +0900)
commit49e0e0cb84198a612e535721ea0e923c87fe37e9
tree2f10a8579945def7bb30a3629d8226961ff76a6c
parent78e7ca6e815703696a3042df6e043895a75f2c5c
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