ANDROID: add getLuts() aidl interface
This is internal for now due to getLuts() AIDL interface not being public yet and will be submitted together with AIDL change.
And the getLuts() interface is to get luts of input buffer handles.
Bug: 352585077
Test: builds
Change-Id: I8af97262cb31e78318d44370f31f5b9890113183
Signed-off-by: Sally Qi <sallyqi@google.com>
diff --git a/hwc3/ComposerClient.cpp b/hwc3/ComposerClient.cpp
index 124f5ea..b33537b 100644
--- a/hwc3/ComposerClient.cpp
+++ b/hwc3/ComposerClient.cpp
@@ -1304,6 +1304,11 @@
return ToBinderStatus(hwc3::Error::kUnsupported);
}
+ndk::ScopedAStatus ComposerClient::getLuts(int64_t, const std::vector<Buffer>&,
+ std::vector<Luts>*) {
+ return ToBinderStatus(hwc3::Error::kUnsupported);
+}
+
std::string ComposerClient::Dump() {
uint32_t size = 0;
hwc_->Dump(&size, nullptr);
diff --git a/hwc3/ComposerClient.h b/hwc3/ComposerClient.h
index e287d58..3d7c09c 100644
--- a/hwc3/ComposerClient.h
+++ b/hwc3/ComposerClient.h
@@ -157,6 +157,8 @@
ndk::ScopedAStatus getMaxLayerPictureProfiles(
int64_t display, int32_t* maxProfiles) override;
+ ndk::ScopedAStatus getLuts(int64_t, const std::vector<Buffer>&,
+ std::vector<Luts>* out_luts) override;
protected:
::ndk::SpAIBinder createBinder() override;