From: Changyeon Lee Date: Wed, 20 Nov 2019 02:45:38 +0000 (+0900) Subject: e_hwc: remove get hwc available property log X-Git-Tag: submit/tizen_5.5/20191127.085557~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=021e5c79daef2712b35a1d83e1212c3d341db655;p=platform%2Fupstream%2Fenlightenment.git e_hwc: remove get hwc available property log Change-Id: I58226f67932ff2da8868f537035f64a292c17405 --- diff --git a/src/bin/e_hwc.c b/src/bin/e_hwc.c index 56b48ffdc1..d7d4e33fbc 100644 --- a/src/bin/e_hwc.c +++ b/src/bin/e_hwc.c @@ -602,7 +602,6 @@ E_API Eina_Bool e_hwc_available_properties_get(E_Hwc *hwc, const hwc_prop **props, int *count) { const tdm_prop *tprops; - int i; EINA_SAFETY_ON_NULL_RETURN_VAL(count, EINA_FALSE); EINA_SAFETY_ON_NULL_RETURN_VAL(hwc, EINA_FALSE); @@ -615,10 +614,6 @@ e_hwc_available_properties_get(E_Hwc *hwc, const hwc_prop **props, int *count) *props = (hwc_prop *)tprops; - EHINF(">>>>>>>> Available HWC props : count = %d", hwc, *count); - for (i = 0; i < *count; i++) - EHINF(" [%d] %s, %u", hwc, i, tprops[i].name, tprops[i].id); - return EINA_TRUE; } @@ -636,6 +631,8 @@ e_hwc_property_get(E_Hwc *hwc, unsigned int id, hwc_value *value) memcpy(&value->ptr, &tvalue.ptr, sizeof(tdm_value)); + EHINF("Get property id:%u value:%llu", hwc, id, value->u64); + return EINA_TRUE; } @@ -658,6 +655,8 @@ e_hwc_property_set(E_Hwc *hwc, unsigned int id, hwc_value value) hwc->property_changed = EINA_TRUE; + EHINF("Set property id:%u value:%llu", hwc, id, value.u64); + return EINA_TRUE; } @@ -670,7 +669,6 @@ e_client_hwc_available_properties_get(E_Client *ec, const hwc_prop **props, int E_Hwc_Window *hwc_window; E_Hwc_Window_State state; const tdm_prop *tprops; - int i; EINA_SAFETY_ON_NULL_RETURN_VAL(ec, EINA_FALSE); EINA_SAFETY_ON_NULL_RETURN_VAL(count, EINA_FALSE); @@ -703,13 +701,6 @@ e_client_hwc_available_properties_get(E_Client *ec, const hwc_prop **props, int *props = (hwc_prop *)tprops; - if (state == E_HWC_WINDOW_STATE_VIDEO) - EHINF(">>>>>>>> Available VIDEO props : count = %d", hwc, *count); - else - EHINF(">>>>>>>> Available UI props : count = %d", hwc, *count); - for (i = 0; i < *count; i++) - EHINF(" [%d] %s, %u", hwc, i, tprops[i].name, tprops[i].id); - return EINA_TRUE; } @@ -733,6 +724,9 @@ e_client_hwc_property_get(E_Client *ec, unsigned int id, hwc_value *value) memcpy(&value->ptr, &tvalue.ptr, sizeof(tdm_value)); + EHINF("Get hwc_window:%p property id:%u value:%llu", + hwc_window->hwc, hwc_window, id, value->u64); + return EINA_TRUE; } @@ -781,6 +775,9 @@ e_client_hwc_property_set(E_Client *ec, unsigned int id, hwc_value value) return EINA_FALSE; } + EHINF("Set hwc_window:%p property id:%u value:%llu", + hwc_window->hwc, hwc_window, id, value.u64); + return EINA_TRUE; }