add tdm_output_unset_mirror
[platform/core/uifw/libtdm.git] / include / tdm.h
index 71f7a1c..c334b20 100644 (file)
@@ -649,6 +649,24 @@ tdm_hwc *
 tdm_output_get_hwc(tdm_output *output, tdm_error *error);
 
 /**
+ * @brief Set the mirror image of the src_output to the output
+ * @param[in] output A output object to display the src_output image
+ * @param[in] src_output A src output object of which image is displayed on the output
+ * @param[in] transform A transform value
+ * @return #TDM_ERROR_NONE if success. Otherwise, error value.
+ */
+tdm_error
+tdm_output_set_mirror(tdm_output *output, tdm_output *src_output, tdm_transform transform);
+
+/**
+ * @brief Unset the mirror
+ * @param[in] output A output object
+ * @return #TDM_ERROR_NONE if success. Otherwise, error value.
+ */
+tdm_error
+tdm_output_unset_mirror(tdm_output *output);
+
+/**
  * @brief Get a output object of a layer object
  * @param[in] layer A layer object
  * @param[out] error #TDM_ERROR_NONE if success. Otherwise, error value.