summaryrefslogtreecommitdiff
path: root/sdm/libs/hwc2/hwc_layers.h
diff options
context:
space:
mode:
Diffstat (limited to 'sdm/libs/hwc2/hwc_layers.h')
-rw-r--r--sdm/libs/hwc2/hwc_layers.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sdm/libs/hwc2/hwc_layers.h b/sdm/libs/hwc2/hwc_layers.h
index f6e9d718..0effbb93 100644
--- a/sdm/libs/hwc2/hwc_layers.h
+++ b/sdm/libs/hwc2/hwc_layers.h
@@ -119,6 +119,9 @@ class HWCLayer {
void SetLayerAsMask();
bool BufferLatched() { return buffer_flipped_; }
void ResetBufferFlip() { buffer_flipped_ = false; }
+#ifdef FOD_ZPOS
+ bool IsFodPressed() { return fod_pressed_; }
+#endif
private:
Layer *layer_ = nullptr;
@@ -139,6 +142,9 @@ class HWCLayer {
bool non_integral_source_crop_ = false;
bool has_metadata_refresh_rate_ = false;
bool buffer_flipped_ = false;
+#ifdef FOD_ZPOS
+ bool fod_pressed_ = false;
+#endif
// Composition requested by client(SF) Original
HWC2::Composition client_requested_orig_ = HWC2::Composition::Device;