hwc: dump protected content info
Change-Id: I10c6fde3895ee22f081b0230e2594ebc1bbfc1a1
diff --git a/composer/hwc_layers.h b/composer/hwc_layers.h
index 44414a1..44d3ae1 100644
--- a/composer/hwc_layers.h
+++ b/composer/hwc_layers.h
@@ -108,6 +108,7 @@
bool IsScalingPresent();
bool IsRotationPresent();
bool IsDataSpaceSupported();
+ bool IsProtected() { return secure_; }
static LayerBufferFormat GetSDMFormat(const int32_t &source, const int flags);
bool IsSurfaceUpdated() { return surface_updated_; }
void SetPartialUpdate(bool enabled) { partial_update_enabled_ = enabled; }
@@ -138,6 +139,7 @@
bool has_metadata_refresh_rate_ = false;
bool color_transform_matrix_set_ = false;
bool buffer_flipped_ = false;
+ bool secure_ = false;
// Composition requested by client(SF)
HWC2::Composition client_requested_ = HWC2::Composition::Device;