sdm: Add mask layer flag support to input buffer flags.
Set DISABLE_MASK_LAYER_HINT property to disable
this hint
Change-Id: I526025e2c32d386877b4b0b70c6423642421213f
CRs-Fixed: 2396411
diff --git a/sdm/libs/hwc2/hwc_layers.h b/sdm/libs/hwc2/hwc_layers.h
index b21c2bb..b7d021b 100644
--- a/sdm/libs/hwc2/hwc_layers.h
+++ b/sdm/libs/hwc2/hwc_layers.h
@@ -26,6 +26,7 @@
#include <gralloc_priv.h>
#include <qdMetaData.h>
#include <core/layer_stack.h>
+#include <core/layer_buffer.h>
#include <utils/utils.h>
#define HWC2_INCLUDE_STRINGIFICATION
#define HWC2_USE_CPP11
@@ -113,6 +114,7 @@
bool IsNonIntegralSourceCrop() { return non_integral_source_crop_; }
bool HasMetaDataRefreshRate() { return has_metadata_refresh_rate_; }
bool IsColorTransformSet() { return color_transform_matrix_set_; }
+ void SetLayerAsMask();
private:
Layer *layer_ = nullptr;