summaryrefslogtreecommitdiff
path: root/hwc3/ComposerClient.h
diff options
context:
space:
mode:
authorramindani <ramindani@google.com>2023-02-03 13:23:28 -0800
committerramindani <ramindani@google.com>2023-02-13 08:55:07 -0800
commit050b97b1df1c15664a505aa5d512db95f155aa6b (patch)
treec7d2a7c902ee02c2f49591db000bce5723fb9690 /hwc3/ComposerClient.h
parent73f6f20fc1493070c1a1271216cf42af85a828ec (diff)
[HWC3] native implementation for
setRefreshRateChangedCallbackDebugEnabled Add onRefreshRateChangedDebug Test: Device boots BUG: 202734676 Change-Id: I079e13fcf2bd0872c8f29468fc2ef311b9774d10
Diffstat (limited to 'hwc3/ComposerClient.h')
-rw-r--r--hwc3/ComposerClient.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hwc3/ComposerClient.h b/hwc3/ComposerClient.h
index 89763f8..f8bfa4c 100644
--- a/hwc3/ComposerClient.h
+++ b/hwc3/ComposerClient.h
@@ -49,6 +49,7 @@ public:
const VsyncPeriodChangeTimeline& timeline) override;
void onVsyncIdle(int64_t display) override;
void onSeamlessPossible(int64_t display) override;
+ void onRefreshRateChangedDebug(const RefreshRateChangedDebugData& data) override;
private:
void cleanDisplayResources(int64_t display);
@@ -130,6 +131,8 @@ public:
const ndk::ScopedFileDescriptor& releaseFence) override;
ndk::ScopedAStatus setVsyncEnabled(int64_t display, bool enabled) override;
ndk::ScopedAStatus setIdleTimerEnabled(int64_t display, int32_t timeout) override;
+ ndk::ScopedAStatus setRefreshRateChangedCallbackDebugEnabled(int64_t /* display */,
+ bool /* enabled */) override;
protected:
::ndk::SpAIBinder createBinder() override;