diff options
Diffstat (limited to 'sdm/include')
-rw-r--r-- | sdm/include/core/display_interface.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sdm/include/core/display_interface.h b/sdm/include/core/display_interface.h index 142d2c6f..2f25bdef 100644 --- a/sdm/include/core/display_interface.h +++ b/sdm/include/core/display_interface.h @@ -674,6 +674,20 @@ class DisplayInterface { */ virtual DisplayError SetCompositionState(LayerComposition composition_type, bool enable) = 0; + /*! @brief Method to check whether a client target with the given properties + can be supported/handled by hardware. + + @param[in] width client target width + @param[in] height client target height + @param[in] format client target format + @param[in] colorMetaData client target colorMetaData + + @return \link DisplayError \endlink + */ + virtual DisplayError GetClientTargetSupport(uint32_t width, uint32_t height, + LayerBufferFormat format, + const ColorMetaData &color_metadata) = 0; + protected: virtual ~DisplayInterface() { } }; |