change the indentation 76/201676/3
authorSooChan Lim <sc1.lim@samsung.com>
Tue, 19 Mar 2019 01:32:31 +0000 (10:32 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Tue, 19 Mar 2019 06:51:39 +0000 (15:51 +0900)
Change-Id: Id14bb434de3d686e0e17995c895e860ea7b4d2ec

src/tdm_exynos_hwc.c

index c5232e9da547ad72e6e14dfd34b3eefeafdc9d5d..cd8235a0f6bfaec4c603cb6751c4959a911367b5 100644 (file)
@@ -122,7 +122,6 @@ _exynos_hwc_window_get_tbm_buffer_queue(tdm_hwc_window *hwc_window, tdm_error *e
                *error = TDM_ERROR_NONE;
 
        return tqueue;
-
 }
 
 tdm_exynos_layer_data *
@@ -324,6 +323,7 @@ _exynos_hwc_get_changed_number(tdm_exynos_hwc_data *hwc_data)
        LIST_FOR_EACH_ENTRY(hwc_window_data, &hwc_data->hwc_window_list, link) {
                if (hwc_window_data->client_type == TDM_HWC_WIN_COMPOSITION_NONE)
                        continue;
+
                if (hwc_window_data->client_type != hwc_window_data->validated_type)
                        num++;
        }
@@ -450,8 +450,7 @@ exynos_hwc_get_client_target_buffer_queue(tdm_hwc *hwc, tdm_error *error)
 }
 
 tdm_error
-exynos_hwc_set_client_target_buffer(tdm_hwc *hwc, tbm_surface_h buffer,
-                                                                       tdm_region damage)
+exynos_hwc_set_client_target_buffer(tdm_hwc *hwc, tbm_surface_h buffer, tdm_region damage)
 {
        tdm_exynos_hwc_data *hwc_data = hwc;
        tdm_error err;
@@ -469,7 +468,7 @@ exynos_hwc_set_client_target_buffer(tdm_hwc *hwc, tbm_surface_h buffer,
 }
 
 tdm_error
-exynos_hwc_validate(tdm_hwc *hwc, tdm_hwc_window **composited_wnds,    uint32_t num_wnds, uint32_t *num_types)
+exynos_hwc_validate(tdm_hwc *hwc, tdm_hwc_window **composited_wnds, uint32_t num_wnds, uint32_t *num_types)
 {
        tdm_exynos_hwc_data *hwc_data = hwc;
 
@@ -488,8 +487,8 @@ exynos_hwc_validate(tdm_hwc *hwc, tdm_hwc_window **composited_wnds, uint32_t num
 }
 
 tdm_error
-exynos_hwc_get_changed_composition_types(tdm_hwc *hwc, uint32_t *num_elements, tdm_hwc_window **hwc_wnds,
-                                                                       tdm_hwc_window_composition *composition_types)
+exynos_hwc_get_changed_composition_types(tdm_hwc *hwc, uint32_t *num_elements,
+                               tdm_hwc_window **hwc_wnds, tdm_hwc_window_composition *composition_types)
 {
        tdm_exynos_hwc_data *hwc_data = hwc;
        tdm_exynos_hwc_window_data *hwc_window_data = NULL;