From 3481e1535f0c47f89a742c5056bfee511b4e5be0 Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Thu, 4 Oct 2018 13:19:21 +0900 Subject: [PATCH] hwc: rearrange the api position Change-Id: I9dc2ed38b18031d09629f9322bc4883cbdf7efdd --- include/tdm.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/tdm.h b/include/tdm.h index dc81bf8..11e6173 100644 --- a/include/tdm.h +++ b/include/tdm.h @@ -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 -- 2.7.4