From 1c3fb80ae05add8711188c38c53cd0fe5d262438 Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Tue, 28 Jan 2020 13:14:09 +0900 Subject: [PATCH] e_hwc_window: don't set device state if transform isn't matched with output if transform ins't matched with output, hwc_window can't be display by hwc because hwc_windows doesn't change ignore_output_transform. Change-Id: I2a767457b92443e81b072c52ee632bb06fef1646 --- src/bin/e_hwc_window.c | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/src/bin/e_hwc_window.c b/src/bin/e_hwc_window.c index 0de3039959..62c6a10623 100644 --- a/src/bin/e_hwc_window.c +++ b/src/bin/e_hwc_window.c @@ -1824,30 +1824,12 @@ e_hwc_window_device_state_available_update(E_Hwc_Window *hwc_window) goto finish; } - /* If a client doesn't watch the ignore_output_transform events, we can't show - * a client buffer to HW overlay directly when the buffer transform is not same - * with output transform. If a client watch the ignore_output_transform events, - * we can control client's buffer transform. In this case, we don't need to - * check client's buffer transform here. - */ transform = e_comp_wl_output_buffer_transform_get(ec); if ((eout->config.rotation / 90) != transform) { - if (e_comp_screen_rotation_ignore_output_transform_watch(ec)) - { - if (e_comp_wl->touch.pressed) - { - restriction = E_HWC_WINDOW_RESTRICTION_TOUCH_PRESS; - available = EINA_FALSE; - goto finish; - } - } - else - { - restriction = E_HWC_WINDOW_RESTRICTION_OUTPUT_TRANSFORM; - available = EINA_FALSE; - goto finish; - } + restriction = E_HWC_WINDOW_RESTRICTION_OUTPUT_TRANSFORM; + available = EINA_FALSE; + goto finish; } // if there is UI subfrace, it means need to composite -- 2.34.1