hwc: rearrange the function position 83/201683/1
authorSooChan Lim <sc1.lim@samsung.com>
Tue, 19 Mar 2019 01:43:50 +0000 (10:43 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Tue, 19 Mar 2019 01:43:50 +0000 (10:43 +0900)
Change-Id: I7714b83e4ea7d764075b07c9a66717852f161861

src/tdm_sprd_hwc_window.c

index 8bc7a94..52c5c0c 100644 (file)
@@ -4,18 +4,6 @@
 
 #include "tdm_sprd.h"
 
-void
-sprd_hwc_window_destroy(tdm_hwc_window *hwc_window)
-{
-       tdm_sprd_hwc_window_data *hwc_window_data = hwc_window;
-
-       RETURN_IF_FAIL(hwc_window_data != NULL);
-
-       LIST_DEL(&hwc_window_data->link);
-
-       free(hwc_window_data);
-}
-
 tbm_surface_queue_h
 sprd_hwc_window_acquire_buffer_queue(tdm_hwc_window *hwc_window, tdm_error *error)
 {
@@ -49,6 +37,18 @@ sprd_hwc_window_release_buffer_queue(tdm_hwc_window *hwc_window, tbm_surface_que
        return;
 }
 
+void
+sprd_hwc_window_destroy(tdm_hwc_window *hwc_window)
+{
+       tdm_sprd_hwc_window_data *hwc_window_data = hwc_window;
+
+       RETURN_IF_FAIL(hwc_window_data != NULL);
+
+       LIST_DEL(&hwc_window_data->link);
+
+       free(hwc_window_data);
+}
+
 tdm_error
 sprd_hwc_window_set_composition_type(tdm_hwc_window *hwc_window,
                                                                        tdm_hwc_window_composition comp_type)