[Tizen] Add screen and client rotation itself function
[platform/core/uifw/dali-core.git] / dali / internal / render / common / render-manager.h
index aceece5..248c9fd 100644 (file)
@@ -33,6 +33,7 @@ namespace Integration
 {
 class GlAbstraction;
 class GlSyncAbstraction;
+class GlContextHelperAbstraction;
 class RenderStatus;
 }
 
@@ -72,13 +73,15 @@ public:
 
   /**
    * Construct a new RenderManager.
-   * @param[in]  glAbstraction           The GL abstraction used for rendering.
-   * @param[in]  glSyncAbstraction       The GL sync abstraction used fence sync creation/deletion.
-   * @param[in]  depthBufferAvailable    Whether the depth buffer is available
-   * @param[in]  stencilBufferAvailable  Whether the stencil buffer is available
+   * @param[in]  glAbstraction              The GL abstraction used for rendering.
+   * @param[in]  glSyncAbstraction          The GL sync abstraction used fence sync creation/deletion.
+   * @param[in]  glContextHelperAbstraction The GL context helper abstraction for accessing GL context.
+   * @param[in]  depthBufferAvailable       Whether the depth buffer is available
+   * @param[in]  stencilBufferAvailable     Whether the stencil buffer is available
    */
   static RenderManager* New( Integration::GlAbstraction& glAbstraction,
                              Integration::GlSyncAbstraction& glSyncAbstraction,
+                             Integration::GlContextHelperAbstraction& glContextHelperAbstraction,
                              Integration::DepthBufferAvailable depthBufferAvailable,
                              Integration::StencilBufferAvailable stencilBufferAvailable );
 
@@ -138,6 +141,12 @@ public:
   void SetDefaultSurfaceRect( const Rect<int>& rect );
 
   /**
+   * Returns the orintation for the default surface (probably the application window).
+   * @return Orientation for the surface.
+   */
+  void SetDefaultSurfaceOrientation( int orientation );
+
+  /**
    * Add a Renderer to the render manager.
    * @param[in] renderer The renderer to add.
    * @post renderer is owned by RenderManager