summaryrefslogtreecommitdiff
path: root/hwc3/impl/HalImpl.cpp
diff options
context:
space:
mode:
authorjoenchen <joenchen@google.com>2022-04-06 21:04:36 +0800
committerjoenchen <joenchen@google.com>2022-04-08 08:50:01 +0800
commit9f268398c5177ae353b615e8e4ea7614c1984ff9 (patch)
treecad1ac8ea1e5470e663d7c52734bb1d61d84331a /hwc3/impl/HalImpl.cpp
parentf96198390e32d9fbf6ceb7f2aab5a0c5735b5570 (diff)
HWC supports boot config API
Test: to change resolution and check logcat log Bug: 223463247 Change-Id: I96953ec23ddf85974c82191914e6a1e4a0b9c69a
Diffstat (limited to 'hwc3/impl/HalImpl.cpp')
-rw-r--r--hwc3/impl/HalImpl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/hwc3/impl/HalImpl.cpp b/hwc3/impl/HalImpl.cpp
index 1029fe8..0114d2d 100644
--- a/hwc3/impl/HalImpl.cpp
+++ b/hwc3/impl/HalImpl.cpp
@@ -126,6 +126,8 @@ void HalImpl::initCaps() {
h2a::translate(hwcCap, cap);
mCaps.insert(cap);
}
+
+ mCaps.insert(Capability::BOOT_DISPLAY_CONFIG);
}
int32_t HalImpl::getHalDisplay(int64_t display, ExynosDisplay*& halDisplay) {