summaryrefslogtreecommitdiff
path: root/libhwc2.1/libdevice/ExynosLayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'libhwc2.1/libdevice/ExynosLayer.h')
-rw-r--r--libhwc2.1/libdevice/ExynosLayer.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libhwc2.1/libdevice/ExynosLayer.h b/libhwc2.1/libdevice/ExynosLayer.h
index 4dc2423..e1df54d 100644
--- a/libhwc2.1/libdevice/ExynosLayer.h
+++ b/libhwc2.1/libdevice/ExynosLayer.h
@@ -92,10 +92,20 @@ class ExynosLayer : public ExynosMPPSource {
/**
* Layer's compositionType
+ *
+ * If acceptDisplayChanges() is called, it will be set to the validated type
+ * since SF may update their state and doesn't call back into HWC
*/
int32_t mCompositionType;
/**
+ * Composition type that is originally requested by SF only using setLayerComposisionType()
+ *
+ * It will not be changed if applyDisplayChanges() is called.
+ */
+ int32_t mRequestedCompositionType;
+
+ /**
* Composition type that is used by HAL
* (ex: COMPOSITION_G2D)
*/