e_hwc_window: clean up indentation 09/278509/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Fri, 15 Jul 2022 08:11:06 +0000 (17:11 +0900)
committerJunseok Kim <juns.kim@samsung.com>
Thu, 21 Jul 2022 09:50:03 +0000 (18:50 +0900)
Change-Id: I077e095aa59922840d0d85b47f3de44452f3d0f2

src/bin/e_hwc_window.c
src/bin/e_hwc_window_queue.c
src/bin/e_hwc_windows.c

index d7b7163a15ee678f5ffb1e6ef397f4a8547743d5..27949df14c03339387d48dbcbe04a062a79a60f7 100644 (file)
@@ -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;
index 45a2b1c2efc93925a679da42f8dfcc170b48cebe..690f05edc2c85952226cc33fe26b9ea083ef46c1 100644 (file)
@@ -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
index dbf87d11096f703f3cf51928943700bc7cc132d6..5c0fdf0a4d3207841f274cfd55b05a73eb2c6aaf 100644 (file)
@@ -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 */