commit | 8e9b124378f9ad6da337bbce29e762165f8a934e | [log] [tgz] |
---|---|---|
author | Venkat Thogaru <vthogaru@codeaurora.org> | Mon Mar 30 19:25:24 2020 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue Apr 14 23:19:46 2020 -0700 |
tree | a5c157fe2bda6c749c722d70bd6f805680d296b8 | |
parent | 5cb87bd8fd733f4b4864c06bc13bd82b8cd76600 [diff] [blame] |
hwc: Add support to query CWB support. CRs-Fixed: 2607415 Change-Id: I5e0e084d5b25884652e799ac09c558c79c73edd3
diff --git a/composer/hwc_display_builtin.cpp b/composer/hwc_display_builtin.cpp index eaee590..8d3bb4e 100644 --- a/composer/hwc_display_builtin.cpp +++ b/composer/hwc_display_builtin.cpp
@@ -1317,4 +1317,11 @@ return 0; } +bool HWCDisplayBuiltIn::HasReadBackBufferSupport() { + DisplayConfigFixedInfo fixed_info = {}; + display_intf_->GetConfig(&fixed_info); + + return fixed_info.readback_supported; +} + } // namespace sdm