hwc: add output_hwc_get_client_target_buffer_layer at backend function 85/169885/2
authorSooChan Lim <sc1.lim@samsung.com>
Mon, 12 Feb 2018 01:38:42 +0000 (10:38 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 12 Feb 2018 06:55:12 +0000 (06:55 +0000)
Change-Id: Icbfda1122a75db3f0a88ed7aff7ac511617b9009

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