hwc: add output_hwc_get_client_target_buffer_layer at backend function
[platform/core/uifw/libtdm.git] / include / tdm_backend.h
index f3e21d6..5980dfc 100644 (file)
@@ -604,6 +604,16 @@ typedef struct _tdm_func_output {
        tdm_error (*output_hwc_unset_client_target_buffer)(tdm_output *output);
 
        /**
+        * @brief Get the layer associated with the client target buffer
+        * @details TODO:
+        * @param[in] output A output object
+        * @param[out] error #TDM_ERROR_NONE if success. Otherwise, error value.
+        * @return A layer object.
+        * @since 2.0.0
+        */
+       tdm_layer *(*output_hwc_get_client_target_buffer_layer)(tdm_output *output, tdm_error *error);
+
+       /**
         * @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