Revert "hwc: add the prototypes to avoid build break" 42/194342/1
authorSooChan Lim <sc1.lim@samsung.com>
Mon, 3 Dec 2018 08:27:16 +0000 (17:27 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 3 Dec 2018 08:27:21 +0000 (17:27 +0900)
This reverts commit 360af47b34a4fbcfb48be27fdae57654f22c91ef.

Change-Id: Iff209d517462a5929f251187a523bfbfdd2776fe

include/tdm.h
include/tdm_types.h
src/tdm_hwc.c

index 8b74b0e..63edce4 100644 (file)
@@ -1016,9 +1016,6 @@ tdm_hwc_get_changed_composition_types(tdm_hwc *hwc, uint32_t *num_elements,
 tdm_error
 tdm_hwc_accept_validation(tdm_hwc *hwc);
 
-/* temporary prototype to avoid build break */
-tdm_error tdm_hwc_accept_changes(tdm_hwc *hwc);
-
 /**
  * @brief Commit changes for a hwc
  * @details After all change of a window object are applied, a user commit handler
index 50fb4b8..d9ab984 100644 (file)
@@ -222,15 +222,6 @@ typedef enum {
        TDM_HWC_WIN_CONSTRAINT_BUFFER_QUEUE = (1 << 0),
 } tdm_hwc_window_constraint;
 
-/* temporary prototype to avoid build break */
-#define TDM_CONSTRAINT_NONE 0
-#define TDM_CONSTRAINT_BUFFER_QUEUE  (1 << 0)
-#define TDM_COMPOSITION_NONE 0
-#define TDM_COMPOSITION_CLIENT 1
-#define TDM_COMPOSITION_DEVICE 3
-#define TDM_COMPOSITION_CURSOR 4
-#define TDM_COMPOSITION_VIDEO 5
-
 /**
  * @brief The tdm display object
  */
index bd7428c..fc9563c 100644 (file)
@@ -510,13 +510,6 @@ tdm_hwc_accept_validation(tdm_hwc *hwc)
        return ret;
 }
 
-/* temporary prototype to avoid build break */
-tdm_error
-tdm_hwc_accept_changes(tdm_hwc *hwc)
-{
-   return tdm_hwc_accept_validation(hwc);
-}
-
 EXTERN tdm_error
 tdm_hwc_commit(tdm_hwc *hwc, int sync, tdm_hwc_commit_handler func, void *user_data)
 {