hwc: rearrange the api position 94/190594/1
authorSooChan Lim <sc1.lim@samsung.com>
Thu, 4 Oct 2018 04:19:21 +0000 (13:19 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Thu, 4 Oct 2018 04:19:21 +0000 (13:19 +0900)
Change-Id: I9dc2ed38b18031d09629f9322bc4883cbdf7efdd

include/tdm.h

index dc81bf8..11e6173 100644 (file)
@@ -1040,24 +1040,24 @@ tdm_error
 tdm_hwc_window_set_buffer(tdm_hwc_window *hwc_window, tbm_surface_h buffer);
 
 /**
- * @brief Get the property which has a given id.
- * @param[in] hwc_window A hwc window object
+ * @brief Set the property which has a given id.
+ * @param[in] hwc_window  A hwc window object
  * @param[in] id The property id
- * @param[out] value The value of the propery id
+ * @param[in] value The value of the propery id
  * @return #TDM_ERROR_NONE if success. Otherwise, error value.
  */
 tdm_error
-tdm_hwc_window_get_property(tdm_hwc_window *hwc_window, uint32_t id, tdm_value *value);
+tdm_hwc_window_set_property(tdm_hwc_window *hwc_window, uint32_t id, tdm_value value);
 
 /**
- * @brief Set the property which has a given id.
- * @param[in] hwc_window  A hwc window object
+ * @brief Get the property which has a given id.
+ * @param[in] hwc_window A hwc window object
  * @param[in] id The property id
- * @param[in] value The value of the propery id
+ * @param[out] value The value of the propery id
  * @return #TDM_ERROR_NONE if success. Otherwise, error value.
  */
 tdm_error
-tdm_hwc_window_set_property(tdm_hwc_window *hwc_window, uint32_t id, tdm_value value);
+tdm_hwc_window_get_property(tdm_hwc_window *hwc_window, uint32_t id, tdm_value *value);
 
 /**
  * @brief Get the constraints of hwc_window