32 files changed, 2617 insertions, 874 deletions
diff --git a/hwc2/common/base/HwcLayer.h b/hwc2/common/base/HwcLayer.h index 923248b..2c378ad 100644 --- a/hwc2/common/base/HwcLayer.h +++ b/hwc2/common/base/HwcLayer.h @@ -82,12 +82,16 @@ class HwcLayer { bool haveColor(); bool havePlaneAlpha(); bool haveDataspace(); + void reverseScaledFrame(const float& scaleX, const float& scaleY); #if WITH_LIBPLAYER_MODULE - void presentOverlay(); + void presentOverlay(bool bPresent); #endif private: + void resetLayerBuffer(); + + private: hwc2_display_t mDisplayId; int32_t mBlendMode; hwc_color_t mColor; @@ -124,6 +128,7 @@ class HwcLayer { // lock Mutex mLock; bool mInitialized; + bool mScaleReversed; }; } // namespace amlogic |