diff options
author | Alec Mouri <alecmouri@google.com> | 2022-02-10 15:10:41 -0800 |
---|---|---|
committer | Alec Mouri <alecmouri@google.com> | 2022-02-23 23:04:48 +0000 |
commit | 86d9463ab7383b080994481887a1359ae27b4523 (patch) | |
tree | 12b9dac7177857c52ac3cfa19499786c25474163 /hwc3/ComposerClient.cpp | |
parent | ab41f421c73e1eb42f7185a1a2fdbed7ff0253fe (diff) |
Composer reports dimming ratio for client composition instead of nits
Hal interface is changing to remove nits from the composer interface,
and instead operate on a ratio of the current brightness.
Bug: 217961164
Test: builds, boots
Change-Id: Ia27a6038ba98d51bbdf5127ee7e8f9ef99e8c119
Merged-In: Ia27a6038ba98d51bbdf5127ee7e8f9ef99e8c119
Diffstat (limited to 'hwc3/ComposerClient.cpp')
-rw-r--r-- | hwc3/ComposerClient.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/hwc3/ComposerClient.cpp b/hwc3/ComposerClient.cpp index 49d0e80..8638d08 100644 --- a/hwc3/ComposerClient.cpp +++ b/hwc3/ComposerClient.cpp @@ -553,10 +553,8 @@ void ComposerClient::destroyResources() { std::vector<int64_t> requestedLayers; std::vector<int32_t> requestMasks; ClientTargetProperty clientTargetProperty; - float clientWhitePointNits; mHal->validateDisplay(display, &changedLayers, &compositionTypes, &displayRequestMask, - &requestedLayers, &requestMasks, &clientTargetProperty, - &clientWhitePointNits); + &requestedLayers, &requestMasks, &clientTargetProperty); mHal->acceptDisplayChanges(display); ndk::ScopedFileDescriptor presentFence; |