X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fcommon%2Fcore-impl.h;h=9272e16bb31971b69dad7409076c0ed13b93faa4;hb=79881246746f65474b24ea4fe14151ccef8df3f4;hp=bd94c435a541a143d60416ab9d663681c649ab84;hpb=da298bea0d5f6dd40092511fcd255b423ceb79e3;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/common/core-impl.h b/dali/internal/common/core-impl.h index bd94c43..9272e16 100644 --- a/dali/internal/common/core-impl.h +++ b/dali/internal/common/core-impl.h @@ -2,7 +2,7 @@ #define DALI_INTERNAL_CORE_H /* - * Copyright (c) 2018 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 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. @@ -39,12 +39,11 @@ namespace Integration class Processor; class RenderController; class PlatformAbstraction; -class GestureManager; class GlAbstraction; class GlSyncAbstraction; +class GlContextHelperAbstraction; class UpdateStatus; class RenderStatus; -class RenderSurface; struct Event; struct TouchData; } @@ -84,8 +83,7 @@ public: Integration::PlatformAbstraction& platform, Integration::GlAbstraction& glAbstraction, Integration::GlSyncAbstraction& glSyncAbstraction, - Integration::GestureManager& gestureManager, - ResourcePolicy::DataRetention dataRetentionPolicy, + Integration::GlContextHelperAbstraction& glContextHelperAbstraction, Integration::RenderToFrameBuffer renderToFboEnabled, Integration::DepthBufferAvailable depthBufferAvailable, Integration::StencilBufferAvailable stencilBufferAvailable ); @@ -121,11 +119,6 @@ public: void RecoverFromContextLoss(); /** - * @copydoc Dali::Integration::Core::SurfaceResized(Integration::RenderSurface*) - */ - void SurfaceResized( Integration::RenderSurface* surface ); - - /** * @copydoc Dali::Integration::Core::SetMinimumFrameTimeInterval(uint32_t) */ void SetMinimumFrameTimeInterval(uint32_t interval); @@ -138,7 +131,17 @@ public: /** * @copydoc Dali::Integration::Core::Render() */ - void Render( Integration::RenderStatus& status, bool forceClear ); + void PreRender( Integration::RenderStatus& status, bool forceClear, bool uploadOnly ); + + /** + * @copydoc Dali::Integration::Core::RenderScene() + */ + void RenderScene( Integration::Scene& scene, bool renderToFbo ); + + /** + * @copydoc Dali::Integration::Core::Render() + */ + void PostRender( bool uploadOnly ); /** * @copydoc Dali::Integration::Core::SceneCreated() @@ -326,10 +329,10 @@ private: OwnerPointer mShaderFactory; ///< Shader resource factory OwnerPointer mNotificationManager; ///< Notification manager OwnerPointer mGestureEventProcessor; ///< The gesture event processor - OwnerPointer mEventProcessor; ///< The event processor Dali::Vector mProcessors; ///< Registered processors (not owned) - std::vector mScenes; ///< A container of scenes that bound to a surface for rendering, owned by Core + using SceneContainer = std::vector; + SceneContainer mScenes; ///< A container of scenes that bound to a surface for rendering, owned by Core // The object registry ObjectRegistryPtr mObjectRegistry;