X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fintegration-api%2Fadaptor-framework%2Frender-surface-interface.h;h=2014e8904bc965495b094360ff6dc17372f694f4;hb=refs%2Fchanges%2F00%2F242000%2F4;hp=2c7f6b7ba4cb3b4a1d4abaef4be79b365f994a64;hpb=66ebc91833b3a2da6ca84c24c08f078de2d893be;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/integration-api/adaptor-framework/render-surface-interface.h b/dali/integration-api/adaptor-framework/render-surface-interface.h index 2c7f6b7..2014e89 100644 --- a/dali/integration-api/adaptor-framework/render-surface-interface.h +++ b/dali/integration-api/adaptor-framework/render-surface-interface.h @@ -82,6 +82,7 @@ public: mGraphics( nullptr ), mDisplayConnection( nullptr ), mScene(), + mFullSwapNextFrame( true ), mDepthBufferRequired( Integration::DepthBufferAvailable::FALSE ), mStencilBufferRequired( Integration::StencilBufferAvailable::FALSE ) {} @@ -220,6 +221,14 @@ public: mScene = scene; } + /** + * @brief Forces full surface swap next frame, resets current partial update state. + */ + void SetFullSwapNextFrame() + { + mFullSwapNextFrame = true; + } + private: /** @@ -238,6 +247,7 @@ protected: Dali::Internal::Adaptor::GraphicsInterface* mGraphics; Dali::DisplayConnection* mDisplayConnection; WeakHandle< Dali::Integration::Scene > mScene; + bool mFullSwapNextFrame; ///< Whether the full surface swap is required private: