diff options
author | 2022-12-14 16:26:49 -0800 | |
---|---|---|
committer | 2022-12-14 16:28:15 -0800 | |
commit | 830b041cfc23cb4ce9470e2d6e74dca70ff8cd85 (patch) | |
tree | 37237c3c4a78bca3d2fa1c7af2998ebbf7e9d1b8 /libs/hwui/DeviceInfo.cpp | |
parent | 068c438db566886ea8b763bbcfc59dd06dd354c5 (diff) |
[HWUI] provide supportMixedColorSpaces() function for hwui.
Bug: 242588489
Test: build and flash
Change-Id: I9c6840e23891a95fdbae8e9adcfcabee33b37b07
Diffstat (limited to 'libs/hwui/DeviceInfo.cpp')
-rw-r--r-- | libs/hwui/DeviceInfo.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |