Invalidate depth and stencil buffers after finishing the rendering
[platform/core/uifw/dali-adaptor.git] / dali / internal / graphics / gles / egl-graphics.h
index a278d43..1caa4a6 100644 (file)
@@ -84,6 +84,20 @@ public:
   void ActivateResourceContext() override;
 
   /**
+   * Activate the surface context
+   *
+   * @param[in] surface The surface whose context to be switched to.
+   */
+  void ActivateSurfaceContext(Dali::RenderSurfaceInterface* surface) override;
+
+  /**
+   * This is called after all the surfaces have been rendered.
+   *
+   * @note This should not be called if uploading resource only without rendering any surface.
+   */
+  void PostRender() override;
+
+  /**
    * Inform graphics interface that this is the first frame after a resume.
    * (For debug only)
    */
@@ -180,6 +194,11 @@ public:
     return mGLES->GetShadingLanguageVersion();
   }
 
+  const char* GetEglImageExtensionString()
+  {
+    return mGLES->GetEglImageExtensionString();
+  }
+
   void CacheConfigurations(ConfigurationManager& configurationManager) override;
 
 private: