X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fintegration-api%2Fadaptor-framework%2Fscene-holder-impl.h;h=7f6c9ff9d049d0450e06593f067fb92ef82eb042;hb=ea68cf28bef0700c1432b8b84cef7758eede61c3;hp=7eb7e56ce5ccb3ca352ae7acd42a4175708cf751;hpb=5c412d53dae89846eab37d9c82732f9cc89d0c9e;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/integration-api/adaptor-framework/scene-holder-impl.h b/dali/integration-api/adaptor-framework/scene-holder-impl.h index 7eb7e56..7f6c9ff 100644 --- a/dali/integration-api/adaptor-framework/scene-holder-impl.h +++ b/dali/integration-api/adaptor-framework/scene-holder-impl.h @@ -2,7 +2,7 @@ #define DALI_INTEGRATION_INTERNAL_SCENEHOLDER_H /* - * Copyright (c) 2020 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ */ // EXTERNAL INCLUDES +#include #include #include #include @@ -169,6 +170,12 @@ public: void SurfaceRotated(float width, float height, int orientation); /** + * @brief Send message to acknowledge window rotation with current window orientation. + * It is to send message to render thread for completing window rotation by user. + */ + void SetRotationCompletedAcknowledgement(); + + /** * @copydoc Dali::Integration::SceneHolder::FeedTouchPoint */ void FeedTouchPoint(Dali::Integration::Point& point, int timeStamp); @@ -216,6 +223,11 @@ public: void AddFramePresentedCallback(std::unique_ptr callback, int32_t frameId); /** + * @brief Creates the render target for the surface when the surface is created/resized/replaced. + */ + void CreateRenderTarget(); + + /** * @copydoc Dali::Integration::SceneHolder::Get() */ static Dali::Integration::SceneHolder Get(Dali::Actor actor); @@ -326,6 +338,9 @@ private: class SceneHolderLifeCycleObserver; std::unique_ptr mLifeCycleObserver; ///< The adaptor life cycle observer +private: + Graphics::UniquePtr mRenderTarget{nullptr}; + protected: uint32_t mId; ///< A unique ID to identify the SceneHolder starting from 0 Dali::Integration::Scene mScene; ///< The Scene