diff options
author | Changyeon Lee <cyeon.lee@samsung.com> | 2023-09-13 19:55:08 +0900 |
---|---|---|
committer | Changyeon Lee <cyeon.lee@samsung.com> | 2023-09-13 20:34:41 +0900 |
commit | 246b71172eeb93c09e93c520b557449972afcf86 (patch) | |
tree | a3c40100c795c8aeae57d0b411ed580ea1c9857f | |
parent | c047a05999f897b1cd584d1f5cf1e801fa6a1c6e (diff) | |
download | libtdm-vc4-246b71172eeb93c09e93c520b557449972afcf86.tar.gz libtdm-vc4-246b71172eeb93c09e93c520b557449972afcf86.tar.bz2 libtdm-vc4-246b71172eeb93c09e93c520b557449972afcf86.zip |
hwc: set the video window to the hw layer regardless of device windowaccepted/tizen/unified/20230914.100400
Change-Id: I101b67b8c31a1c801bec66d12729bbc0224b44dc
-rw-r--r-- | src/tdm_vc4_hwc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tdm_vc4_hwc.c b/src/tdm_vc4_hwc.c index 5692263..5088fba 100644 --- a/src/tdm_vc4_hwc.c +++ b/src/tdm_vc4_hwc.c @@ -552,11 +552,10 @@ _vc4_hwc_apply_policy(tdm_vc4_hwc *hwc_data , hal_tdm_hwc_window **composited_wn return; } - /* 1. first check validate_type without target_window */ + /* 1. first check validate_type without target_window and video */ for (i = 0; i < num_wnds; i++) { switch (composited_list[i]->client_type) { case HAL_TDM_HWC_WIN_COMPOSITION_VIDEO: - if (num_layers <= 0) break; composited_list[i]->validated_type = HAL_TDM_HWC_WIN_COMPOSITION_VIDEO; video_count++; continue; @@ -586,7 +585,7 @@ _vc4_hwc_apply_policy(tdm_vc4_hwc *hwc_data , hal_tdm_hwc_window **composited_wn set_clients_below = 1; } - /* 2. check need target window and set ui_lzpos top and bottom */ + /* 2. check need target window and set lzpos top and bottom */ num_layers = output_data->overlay_layer_count + 1; if ((client_count > 0) || ((device_count + video_count) > num_layers)) { |