hwc_window: added tdm_hwc_window_free_buffer_queue
[platform/core/uifw/libtdm.git] / include / tdm_backend.h
index 0b5829c..52d9056 100644 (file)
@@ -872,6 +872,15 @@ typedef struct _tdm_func_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
+        */
+       void (*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 hwc_validate(), the device may request changes to
         * the composition types of any of the layers as described in the definition