Revert "[Tizen] Add screen and client rotation itself function"
[platform/core/uifw/dali-core.git] / dali / internal / event / common / scene-impl.h
index d048099..f9db963 100644 (file)
@@ -62,7 +62,7 @@ public:
   /**
    * @copydoc Dali::Integration::Scene::New
    */
-  static ScenePtr New( const Size& size );
+  static ScenePtr New( Integration::RenderSurface& surface );
 
   /**
    * virtual destructor
@@ -117,12 +117,12 @@ public:
   /**
    * @copydoc Dali::Integration::Scene::SetSurface
    */
-  void SetSurface( Integration::RenderSurface& surface, bool forceUpdate );
+  void SetSurface( Integration::RenderSurface& surface );
 
   /**
    * Notify the surface has been resized.
    */
-  void SurfaceResized( bool forceUpdate );
+  void SurfaceResized();
 
   /**
    * Notify the surface has been deleted.
@@ -263,12 +263,12 @@ public:
 private:
 
   // Constructor
-  Scene( const Size& size );
+  Scene();
 
   /**
    * Second-phase constructor.
    */
-  void Initialize();
+  void Initialize( Integration::RenderSurface& surface );
 
   // Undefined
   Scene(const Scene&) = delete;
@@ -279,17 +279,12 @@ private:
 private:
   Integration::RenderSurface* mSurface;
 
-  // The scene-size may be different with the surface-size
   Size mSize;
-  Size mSurfaceSize;
 
   Vector2 mDpi;
 
   Vector4 mBackgroundColor;
 
-  // The SurfaceOrientation
-  int mSurfaceOrientation;
-
   LayerPtr mRootLayer;
 
   // Ordered list of currently on-stage layers