[hwc] add the ability to ask a client(E20) about the revalidation
[platform/core/uifw/libtdm.git] / include / tdm_backend.h
index 6411f61..f78a3a7 100644 (file)
@@ -1317,6 +1317,15 @@ tdm_event_loop_source_timer_update(tdm_event_loop_source *source, unsigned int m
 void
 tdm_event_loop_source_remove(tdm_event_loop_source *source);
 
+/**
+ * @brief Trigger a 'need to validate' event.
+ * @param[in] output The output the event should be triggered for.
+ * @note The global display lock has to be locked before the call to this function.
+ * @see #tdm_output_set_need_validate_handler
+ */
+tdm_error
+tdm_backend_trigger_need_validate_event(tdm_output *output);
+
 #ifdef __cplusplus
 }
 #endif