From: Changyeon Lee Date: Fri, 15 Jul 2022 08:11:06 +0000 (+0900) Subject: e_hwc_window: clean up indentation X-Git-Tag: submit/tizen/20220727.055337~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cd39c0fd2cabd903941fd9577aea646eb4085c3c;p=platform%2Fupstream%2Fenlightenment.git e_hwc_window: clean up indentation Change-Id: I077e095aa59922840d0d85b47f3de44452f3d0f2 --- diff --git a/src/bin/e_hwc_window.c b/src/bin/e_hwc_window.c index d7b7163a15..27949df14c 100644 --- a/src/bin/e_hwc_window.c +++ b/src/bin/e_hwc_window.c @@ -301,9 +301,9 @@ _e_hwc_window_buffer_queue_set(E_Hwc_Window *hwc_window) queue = e_hwc_window_queue_user_set(hwc_window); if (!queue) { - EHWERR("fail to e_hwc_window_queue_user_set", hwc_window->ec, hwc_window->hwc, hwc_window); - hwc_window->queue = NULL; - return EINA_FALSE; + EHWERR("fail to e_hwc_window_queue_user_set", hwc_window->ec, hwc_window->hwc, hwc_window); + hwc_window->queue = NULL; + return EINA_FALSE; } if (hwc_window->queue_destroy_listener.notify) @@ -317,7 +317,7 @@ _e_hwc_window_buffer_queue_set(E_Hwc_Window *hwc_window) hwc_window->queue = queue; EHWTRACE("Set constranints BUFFER_QUEUE -- {%s}", - hwc_window->ec, hwc_window->hwc, hwc_window, e_client_util_name_get(hwc_window->ec)); + hwc_window->ec, hwc_window->hwc, hwc_window, e_client_util_name_get(hwc_window->ec)); return EINA_TRUE; } @@ -2690,9 +2690,9 @@ e_hwc_window_set_property(E_Hwc_Window *hwc_window, unsigned int id, const char EINA_SAFETY_ON_TRUE_RETURN_VAL(ret != TDM_ERROR_NONE, ret); EHWTRACE("Set Property: property(%s) value(%d)) -- {%s}", - hwc_window->ec, hwc_window->hwc, hwc_window, - name, (unsigned int)value.u32, - e_hwc_window_name_get(hwc_window)); + hwc_window->ec, hwc_window->hwc, hwc_window, + name, (unsigned int)value.u32, + e_hwc_window_name_get(hwc_window)); } else { @@ -2701,7 +2701,7 @@ e_hwc_window_set_property(E_Hwc_Window *hwc_window, unsigned int id, const char { if (!strncmp(name, prop->name, TDM_NAME_LEN)) { - EHWTRACE("Change Property: property(%s) update value(%d -> %d) -- {%s}", + EHWTRACE("Change Property: property(%s) update value(%d -> %d) -- {%s}", hwc_window->ec, hwc_window->hwc, hwc_window, prop->name, (unsigned int)prop->value.u32, (unsigned int)value.u32, e_hwc_window_name_get(hwc_window)); @@ -2719,9 +2719,9 @@ e_hwc_window_set_property(E_Hwc_Window *hwc_window, unsigned int id, const char hwc_window->prop_list = eina_list_append(hwc_window->prop_list, prop); EHWTRACE("Set Property: property(%s) value(%d)) -- {%s}", - hwc_window->ec, hwc_window->hwc, hwc_window, - prop->name, (unsigned int)value.u32, - e_hwc_window_name_get(hwc_window)); + hwc_window->ec, hwc_window->hwc, hwc_window, + prop->name, (unsigned int)value.u32, + e_hwc_window_name_get(hwc_window)); } return EINA_TRUE; diff --git a/src/bin/e_hwc_window_queue.c b/src/bin/e_hwc_window_queue.c index 45a2b1c2ef..690f05edc2 100644 --- a/src/bin/e_hwc_window_queue.c +++ b/src/bin/e_hwc_window_queue.c @@ -320,7 +320,7 @@ _e_hwc_window_queue_tqueue_acquire(E_Hwc_Window *hwc_window) if (!tqueue) { EHWQERR("fail to tdm_hwc_window_get_buffer_queue hwc_win:%p tdm_error:%d", - hwc_window->ec, hwc_window->hwc, hwc_window->queue, hwc_window, error); + hwc_window->ec, hwc_window->hwc, hwc_window->queue, hwc_window, error); return NULL; } @@ -333,7 +333,7 @@ _e_hwc_window_queue_tqueue_release(tbm_surface_queue_h tqueue, E_Hwc_Window *hwc tdm_hwc_window_release_buffer_queue(hwc_window->thwc_window, tqueue); EHWQINF("Release buffer queue ehw:%p tq:%p", - hwc_window->ec, hwc_window->hwc, NULL, hwc_window, tqueue); + hwc_window->ec, hwc_window->hwc, NULL, hwc_window, tqueue); } static void diff --git a/src/bin/e_hwc_windows.c b/src/bin/e_hwc_windows.c index dbf87d1109..5c0fdf0a4d 100644 --- a/src/bin/e_hwc_windows.c +++ b/src/bin/e_hwc_windows.c @@ -291,11 +291,11 @@ _e_hwc_windows_comp_info_get(tbm_surface_h tbm_surface) e_comp_wl_tizen_hwc_feedback_list_init(&comp_info->feedback_list); if (!tbm_surface_internal_add_user_data(tbm_surface, EHWS_BUFFER_COMP_INFO_KEY, - _e_hwc_windows_comp_info_cb_tbm_surface_destroy)) + _e_hwc_windows_comp_info_cb_tbm_surface_destroy)) goto fail; - if(!tbm_surface_internal_set_user_data(tbm_surface, EHWS_BUFFER_COMP_INFO_KEY, - comp_info)) + if (!tbm_surface_internal_set_user_data(tbm_surface, EHWS_BUFFER_COMP_INFO_KEY, + comp_info)) goto fail; return comp_info; @@ -861,7 +861,6 @@ _e_hwc_windows_target_buffer_fetch(E_Hwc *hwc) EHWSTRACE("FET {%s} ts:%p state:%s", NULL, hwc, e_hwc_window_name_get(hwc_window), hwc_window->current.buffer.tsurface, e_hwc_window_state_string_get(hwc_window->state)); - } else { @@ -1415,13 +1414,13 @@ _e_hwc_windows_target_window_surface_queue_trace_cb(tbm_surface_queue_h surface_ static void _e_hwc_windows_target_window_surface_queue_acquirable_cb(tbm_surface_queue_h surface_queue, void *data) { - E_Hwc_Window_Target *target_hwc_window = (E_Hwc_Window_Target *)data; - uint64_t value = 1; - int ret; + E_Hwc_Window_Target *target_hwc_window = (E_Hwc_Window_Target *)data; + uint64_t value = 1; + int ret; - ret = write(target_hwc_window->event_fd, &value, sizeof(value)); - if (ret == -1) - EHWSERR("failed to send acquirable event:%m", NULL); + ret = write(target_hwc_window->event_fd, &value, sizeof(value)); + if (ret == -1) + EHWSERR("failed to send acquirable event:%m", NULL); } /* gets called at the beginning of an ecore_main_loop iteration */