From 830b041cfc23cb4ce9470e2d6e74dca70ff8cd85 Mon Sep 17 00:00:00 2001 From: Sally Qi Date: Wed, 14 Dec 2022 16:26:49 -0800 Subject: [HWUI] provide supportMixedColorSpaces() function for hwui. Bug: 242588489 Test: build and flash Change-Id: I9c6840e23891a95fdbae8e9adcfcabee33b37b07 --- libs/hwui/DeviceInfo.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libs/hwui/DeviceInfo.cpp') diff --git a/libs/hwui/DeviceInfo.cpp b/libs/hwui/DeviceInfo.cpp index 0240c86d5f45..32bc122fdc58 100644 --- a/libs/hwui/DeviceInfo.cpp +++ b/libs/hwui/DeviceInfo.cpp @@ -108,6 +108,10 @@ void DeviceInfo::setSupportFp16ForHdr(bool supportFp16ForHdr) { get()->mSupportFp16ForHdr = supportFp16ForHdr; } +void DeviceInfo::setSupportMixedColorSpaces(bool supportMixedColorSpaces) { + get()->mSupportMixedColorSpaces = supportMixedColorSpaces; +} + void DeviceInfo::onRefreshRateChanged(int64_t vsyncPeriod) { mVsyncPeriod = vsyncPeriod; } -- cgit v1.2.3-59-g8ed1b