e_comp_screen: add the debug for printing the avaliable properties. 58/200158/3
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 15 Feb 2019 08:50:42 +0000 (17:50 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Thu, 7 Mar 2019 08:17:15 +0000 (08:17 +0000)
Change-Id: I33f8f878a318a6ff7d80d5dbce9f4aae5dbe0bc5

src/bin/e_comp_screen.c

index 30fc2fbc90fdb2f2a03a8a11f9ec43dc343ea56f..e05f447c652c7b48a680e02e0e8beed54fda51d9 100644 (file)
@@ -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: =========================================================================");