hwc: add hwc_window_get_info at backend function 87/169887/2
authorSooChan Lim <sc1.lim@samsung.com>
Mon, 12 Feb 2018 01:39:53 +0000 (10:39 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 12 Feb 2018 06:55:25 +0000 (06:55 +0000)
Change-Id: Ia117ec0acb961611175a86d421032326f07902a9

include/tdm_backend.h

index e424110..cbd8a82 100644 (file)
@@ -910,6 +910,15 @@ typedef struct _tdm_func_window {
                                                                         tdm_hwc_window_info *info);
 
        /**
+        * @brief Get the geometry information to a layer object
+        * @param[in] layer A layer object
+        * @param[out] info The geometry information
+        * @return #TDM_ERROR_NONE if success. Otherwise, error value.
+        */
+       tdm_error (*hwc_window_get_info)(tdm_hwc_window *hwc_window,
+                                                                        tdm_hwc_window_info *info);
+
+       /**
         * @brief Set a TDM buffer to a window object
         * @details A TDM buffer will be applied when the output object
         * of a layer object is committed.