From d4f97fc60f6fc1969aeb282fc2435d1d74033086 Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Fri, 15 Feb 2019 17:50:42 +0900 Subject: [PATCH] e_comp_screen: add the debug for printing the avaliable properties. Change-Id: I33f8f878a318a6ff7d80d5dbce9f4aae5dbe0bc5 --- src/bin/e_comp_screen.c | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/src/bin/e_comp_screen.c b/src/bin/e_comp_screen.c index 30fc2fb..e05f447 100644 --- a/src/bin/e_comp_screen.c +++ b/src/bin/e_comp_screen.c @@ -1422,6 +1422,9 @@ e_comp_screen_hwc_info_debug(void) int output_idx = 0; tdm_layer_capability layer_capabilities; char layer_cap[4096] = {0, }; + int i; + const tdm_prop *tprops; + int count; INF("HWC: HWC Information =========================================================="); EINA_LIST_FOREACH_SAFE(e_comp_screen->outputs, l_o, ll_o, output) @@ -1464,7 +1467,24 @@ e_comp_screen_hwc_info_debug(void) { /* TODO: construct debug info for outputs managed by the hwc-wins */ INF("HWC: HWC Output(%d) managed by hwc-wins.", ++output_idx); - continue; + + if (!e_hwc_windows_get_available_properties(output->hwc, &tprops, &count)) + { + ERR("e_hwc_windows_get_video_available_properties failed"); + return; + } + INF(">>>>>>>> Available UI props : count = %d", count); + for (i = 0; i < count; i++) + INF(" [%d] %s, %u", i, tprops[i].name, tprops[i].id); + + if (!e_hwc_windows_get_video_available_properties(output->hwc, &tprops, &count)) + { + ERR("e_hwc_windows_get_video_available_properties failed"); + return; + } + INF(">>>>>>>> Available VIDEO props : count = %d", count); + for (i = 0; i < count; i++) + INF(" [%d] %s, %u", i, tprops[i].name, tprops[i].id); } } INF("HWC: ========================================================================="); -- 2.7.4