hwc_window: added tdm_hwc_window_free_buffer_queue
[platform/core/uifw/libtdm.git] / include / tdm.h
index fae9308..0ec6055 100644 (file)
@@ -1004,6 +1004,16 @@ tbm_surface_queue_h
 tdm_hwc_window_get_buffer_queue(tdm_hwc_window *hwc_window, tdm_error *error);
 
 /**
+ * @brief Free a buffer queue for the window object
+ * @details Free buffer queue when the client no longer uses buferrs of queue.
+ * @param[in] hwc_window A window object
+ * @param[in] A tbm buffer queue
+ * @since 2.0.0
+ */
+void
+tdm_hwc_window_free_buffer_queue(tdm_hwc_window *hwc_window, tbm_surface_queue_h queue);
+
+/**
  * @brief Sets the desired composition type of the given window.
  * @details During tdm_hwc_validate(), the device may request changes to
  * the composition types of any of the layers as described in the definition