|
55 | 55 | #include <aidl/android/hardware/graphics/composer3/DisplayCapability.h> |
56 | 56 | #include <aidl/android/hardware/graphics/composer3/DisplayLuts.h> |
57 | 57 | #include <aidl/android/hardware/graphics/composer3/LutProperties.h> |
| 58 | +#include <aidl/android/hardware/graphics/composer3/Luts.h> |
58 | 59 | #include <aidl/android/hardware/graphics/composer3/OutputType.h> |
59 | 60 | #include <aidl/android/hardware/graphics/composer3/OverlayProperties.h> |
60 | 61 |
|
@@ -324,6 +325,8 @@ class HWComposer { |
324 | 325 | virtual int32_t getMaxLayerPictureProfiles(PhysicalDisplayId) = 0; |
325 | 326 | virtual status_t setDisplayPictureProfileHandle(PhysicalDisplayId, |
326 | 327 | const PictureProfileHandle& handle) = 0; |
| 328 | + virtual status_t getLuts(PhysicalDisplayId, const std::vector<sp<GraphicBuffer>>&, |
| 329 | + std::vector<aidl::android::hardware::graphics::composer3::Luts>*) = 0; |
327 | 330 | }; |
328 | 331 |
|
329 | 332 | static inline bool operator==(const android::HWComposer::DeviceRequestedChanges& lhs, |
@@ -491,6 +494,8 @@ class HWComposer final : public android::HWComposer { |
491 | 494 | int32_t getMaxLayerPictureProfiles(PhysicalDisplayId) override; |
492 | 495 | status_t setDisplayPictureProfileHandle(PhysicalDisplayId, |
493 | 496 | const android::PictureProfileHandle& profile) override; |
| 497 | + status_t getLuts(PhysicalDisplayId, const std::vector<sp<GraphicBuffer>>&, |
| 498 | + std::vector<aidl::android::hardware::graphics::composer3::Luts>*) override; |
494 | 499 |
|
495 | 500 | // for debugging ---------------------------------------------------------- |
496 | 501 | void dump(std::string& out) const override; |
|
0 commit comments