hwc: add tdm_output_hwc_commit_client_target_buffer
[platform/core/uifw/libtdm.git] / include / tdm.h
index 7437d86..f90fbe8 100644 (file)
@@ -645,6 +645,18 @@ tdm_error
 tdm_output_hwc_unset_client_target_buffer(tdm_output *output);
 
 /**
+ * @brief Commit changes for a target_window
+ * @details After all change of a window object are applied, a user commit handler
+ * will be called.
+ * @param[in] hwc_window A window object
+ * @param[in] func A user commit handler
+ * @param[in] user_data The user data
+ * @return #TDM_ERROR_NONE if success. Otherwise, error value.
+ */
+tdm_error
+tdm_output_hwc_commit_client_target_buffer(tdm_output *output, tdm_output_hwc_target_buffer_commit_handler func, void *user_data);
+
+/**
  * @brief Validate the output
  * @details Instructs the device to inspect all of the layer state and
  * determine if there are any composition type changes necessary before