From: SooChan Lim Date: Thu, 4 Oct 2018 04:19:21 +0000 (+0900) Subject: hwc: rearrange the api position X-Git-Tag: accepted/tizen/unified/20181005.012412~2 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Flibtdm.git;a=commitdiff_plain;h=3481e1535f0c47f89a742c5056bfee511b4e5be0 hwc: rearrange the api position Change-Id: I9dc2ed38b18031d09629f9322bc4883cbdf7efdd --- 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