summaryrefslogtreecommitdiff
path: root/hwc3/ComposerCommandEngine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hwc3/ComposerCommandEngine.cpp')
-rw-r--r--hwc3/ComposerCommandEngine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/hwc3/ComposerCommandEngine.cpp b/hwc3/ComposerCommandEngine.cpp
index cd4925a..b272172 100644
--- a/hwc3/ComposerCommandEngine.cpp
+++ b/hwc3/ComposerCommandEngine.cpp
@@ -68,7 +68,7 @@ void ComposerCommandEngine::dispatchDisplayCommand(const DisplayCommand& command
dispatchLayerCommand(command.display, layerCmd);
}
- DISPATCH_DISPLAY_COMMAND(command, colorTransform, SetColorTransform);
+ DISPATCH_DISPLAY_COMMAND(command, colorTransformMatrix, SetColorTransform);
DISPATCH_DISPLAY_COMMAND(command, clientTarget, SetClientTarget);
DISPATCH_DISPLAY_COMMAND(command, virtualDisplayOutputBuffer, SetOutputBuffer);
// TODO: (b/196171661) SDR & HDR blending
@@ -128,8 +128,8 @@ int32_t ComposerCommandEngine::executeValidateDisplayInternal(int64_t display) {
}
void ComposerCommandEngine::executeSetColorTransform(int64_t display,
- const ColorTransformPayload& command) {
- auto err = mHal->setColorTransform(display, command.matrix, command.hint);
+ const std::vector<float>& matrix) {
+ auto err = mHal->setColorTransform(display, matrix);
if (err) {
LOG(ERROR) << __func__ << ": err " << err;
mWriter->setError(mCommandIndex, err);