From: Changyeon Lee Date: Tue, 23 Jun 2020 11:00:50 +0000 (+0900) Subject: e_hwc: do not set device state if image filter of comp_object is set X-Git-Tag: submit/tizen/20200625.043839~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=66171e06813f35ca1419f35a215e7055c9838eaa;p=platform%2Fupstream%2Fenlightenment.git e_hwc: do not set device state if image filter of comp_object is set image filter is rendered by evas Change-Id: I0d1832601a5e3fe08b2589ba63d9f3c1e1caf751 --- diff --git a/src/bin/e_hwc_planes.c b/src/bin/e_hwc_planes.c index 1be7af7648..b840641443 100644 --- a/src/bin/e_hwc_planes.c +++ b/src/bin/e_hwc_planes.c @@ -78,6 +78,8 @@ _e_hwc_planes_ec_check(E_Client *ec) return EINA_FALSE; } + if (e_comp_object_image_filter_get(ec->frame) != E_COMP_IMAGE_FILTER_NONE) + return EINA_FALSE; return EINA_TRUE; } diff --git a/src/bin/e_hwc_window.c b/src/bin/e_hwc_window.c index 0925f8ade8..7c7f5ea19a 100644 --- a/src/bin/e_hwc_window.c +++ b/src/bin/e_hwc_window.c @@ -90,6 +90,7 @@ typedef enum _E_Hwc_Window_Restriction E_HWC_WINDOW_RESTRICTION_QUICKPANEL_OPEN, E_HWC_WINDOW_RESTRICTION_PIXMAP_RESOURCE, E_HWC_WINDOW_RESTRICTION_OBSCURED_BY_TARGET, + E_HWC_WINDOW_RESTRICTION_IMAGE_FILTER, } E_Hwc_Window_Restriction; static Eina_Bool ehw_trace = EINA_FALSE; @@ -1893,6 +1894,13 @@ e_hwc_window_device_state_available_update(E_Hwc_Window *hwc_window) goto finish; } + if (e_comp_object_image_filter_get(ec->frame) != E_COMP_IMAGE_FILTER_NONE) + { + restriction = E_HWC_WINDOW_RESTRICTION_IMAGE_FILTER; + available = EINA_FALSE; + goto finish; + } + // if there is a ec which is lower than quickpanel and quickpanel is opened. if (E_POLICY_QUICKPANEL_LAYER >= evas_object_layer_get(ec->frame)) { @@ -2270,6 +2278,8 @@ e_hwc_window_restriction_string_get(E_Hwc_Window *hwc_window) return "pixmap resource"; case E_HWC_WINDOW_RESTRICTION_OBSCURED_BY_TARGET: return "obscured by target"; + case E_HWC_WINDOW_RESTRICTION_IMAGE_FILTER: + return "image filter"; default: return "UNKNOWN"; }