summaryrefslogtreecommitdiff
path: root/hwc3/ComposerClient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hwc3/ComposerClient.cpp')
-rw-r--r--hwc3/ComposerClient.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/hwc3/ComposerClient.cpp b/hwc3/ComposerClient.cpp
index 45f9746..4173a8f 100644
--- a/hwc3/ComposerClient.cpp
+++ b/hwc3/ComposerClient.cpp
@@ -112,7 +112,6 @@ ndk::ScopedAStatus ComposerClient::executeCommands(const std::vector<DisplayComm
std::vector<CommandResultPayload>* results) {
DEBUG_FUNC();
auto err = mCommandEngine->execute(commands, results);
- mCommandEngine->reset();
return TO_BINDER_STATUS(err);
}
@@ -494,8 +493,10 @@ 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);
+ &requestedLayers, &requestMasks, &clientTargetProperty,
+ &clientWhitePointNits);
mHal->acceptDisplayChanges(display);
ndk::ScopedFileDescriptor presentFence;