[Tizen] Log patch to show first swapbuffers call after resume
[platform/core/uifw/dali-adaptor.git] / dali / internal / graphics / gles / egl-implementation.h
index 7c2a69b..c0cf433 100644 (file)
@@ -182,6 +182,11 @@ public:
   void SetGlesVersion( const int32_t glesVersion );
 
   /**
+   * Sets Whether the frame is the first after Resume.
+   */
+  void SetFirstFrameAfterResume();
+
+  /**
    * returns the display with which this object was initialized
    * @return the EGL Display.
    */
@@ -199,6 +204,17 @@ public:
    */
   int32_t GetGlesVersion() const;
 
+  /**
+   * Returns whether the surfaceless context is supported
+   * @return true if the surfaceless context is supported
+   */
+  bool IsSurfacelessContextSupported() const;
+
+  /**
+   * @brief Wait until all rendering calls for the currently context are executed
+   */
+  void WaitClient();
+
 private:
 
   Vector<EGLint>       mContextAttribs;
@@ -232,6 +248,10 @@ private:
   bool                 mIsWindow;
   bool                 mDepthBufferRequired;
   bool                 mStencilBufferRequired;
+  bool                 mIsSurfacelessContextSupported;
+  bool                 mIsKhrCreateContextSupported;
+
+  bool                 mIsFirstFrameAfterResume;
 };
 
 } // namespace Adaptor