[Tizen] Add GlWindow
[platform/core/uifw/dali-adaptor.git] / dali / internal / graphics / gles / egl-graphics.h
index 8ee45bc..3e92702 100644 (file)
@@ -57,6 +57,14 @@ public:
   void Initialize( EnvironmentOptions* environmentOptions ) override;
 
   /**
+   * Initialize the graphics interface with specific input parameters
+   * @param[in]  depth  The flag to enable depth buffer
+   * @param[in]  stencil  The flag to enable stencil buffer
+   * @param[in]  msaa  The value of multi sampleing bit
+   */
+  void Initialize( bool depth, bool stencil, int msaa );
+
+  /**
    * Creates the graphics interface for EGL
    * @return The graphics interface for EGL
    */
@@ -126,6 +134,16 @@ public:
   EglImageExtensions* GetImageExtensions();
 
   /**
+   * Sets fixed damaged areas for partial rendering. This overrides automatic partial rendering.
+   */
+  void SetDamagedAreas( std::vector<Dali::Rect<int>>& areas );
+
+  /**
+   * Instructs egl implementation to do full swap regardless of stored data, resets the data.
+   */
+  void SetFullSwapNextFrame();
+
+  /**
    * @copydoc Dali::Internal::Adaptor::GraphicsInterface::Destroy()
    */
   void Destroy() override;