hwc: add the prototypes to avoid build break 22/192822/1 accepted/tizen/5.0/unified/20181113.090047 accepted/tizen/unified/20181113.163439 submit/tizen/20181112.013212 submit/tizen_5.0/20181112.013456
authorSooChan Lim <sc1.lim@samsung.com>
Mon, 12 Nov 2018 00:34:02 +0000 (09:34 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 12 Nov 2018 00:34:02 +0000 (09:34 +0900)
this patch will be reverted later

Change-Id: I0fff096e12ce975fd7c4fd5a6f33d4e1d53afbce

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

index 538592b..c8ab346 100644 (file)
@@ -1007,6 +1007,9 @@ 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 d9ab984..50fb4b8 100644 (file)
@@ -222,6 +222,15 @@ 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 013eb34..5dd71a3 100644 (file)
@@ -479,6 +479,13 @@ 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)
 {