class DisplayConnection;
class ThreadSynchronizationInterface;
+namespace Integration
+{
+class Scene;
+}
+
namespace Internal
{
namespace Adaptor
: mAdaptor( nullptr ),
mGraphics( nullptr ),
mDisplayConnection( nullptr ),
+ mScene( nullptr ),
mDepthBufferRequired( Integration::DepthBufferAvailable::FALSE ),
mStencilBufferRequired( Integration::StencilBufferAvailable::FALSE )
{}
mDisplayConnection = &displayConnection;
}
+ /**
+ * @brief Sets a Scene that is rendered on this surface.
+ * @param scene The Scene object
+ */
+ void SetScene( Dali::Integration::Scene& scene )
+ {
+ // This will be changed to use the WeakHandle later.
+ mScene = &scene;
+ }
+
private:
/**
Dali::Internal::Adaptor::AdaptorInternalServices* mAdaptor;
Dali::Internal::Adaptor::GraphicsInterface* mGraphics;
Dali::DisplayConnection* mDisplayConnection;
+ Dali::Integration::Scene* mScene;
private: