summaryrefslogtreecommitdiff
path: root/hwc3/ComposerClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'hwc3/ComposerClient.h')
-rw-r--r--hwc3/ComposerClient.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/hwc3/ComposerClient.h b/hwc3/ComposerClient.h
index e8ec8e1..855fb8b 100644
--- a/hwc3/ComposerClient.h
+++ b/hwc3/ComposerClient.h
@@ -16,10 +16,12 @@
#pragma once
+#include <aidl/android/hardware/graphics/common/DisplayDecorationSupport.h>
#include <aidl/android/hardware/graphics/composer3/BnComposerClient.h>
-#include <memory>
#include <utils/Mutex.h>
+#include <memory>
+
#include "ComposerCommandEngine.h"
#include "include/IComposerHal.h"
#include "include/IResourceManager.h"
@@ -101,6 +103,8 @@ public:
std::vector<RenderIntent>* intents) override;
ndk::ScopedAStatus getSupportedContentTypes(int64_t display,
std::vector<ContentType>* types) override;
+ ndk::ScopedAStatus getDisplayDecorationSupport(
+ int64_t display, std::optional<common::DisplayDecorationSupport>* support) override;
ndk::ScopedAStatus registerCallback(
const std::shared_ptr<IComposerCallback>& callback) override;
ndk::ScopedAStatus setActiveConfig(int64_t display, int32_t config) override;