Merge "[Windows version] WindowImpl cleanup, fixes and improvements." into devel...
[platform/core/uifw/dali-adaptor.git] / dali / internal / window-system / windows / window-base-win.h
index 460d28f..a9ec27d 100755 (executable)
@@ -341,6 +341,16 @@ public:
    */
   virtual void SetParent( WindowBase* parentWinBase ) override;
 
+  /**
+   * @copydoc  Dali::Internal::Adaptor::WindowBase::CreateFrameRenderedSyncFence()
+   */
+  virtual int CreateFrameRenderedSyncFence() override;
+
+  /**
+   * @copydoc  Dali::Internal::Adaptor::WindowBase::CreateFramePresentedSyncFence()
+   */
+  virtual int CreateFramePresentedSyncFence() override;
+
 private:
 
   /**
@@ -353,13 +363,18 @@ private:
    * @param surface Any containing a surface id, or can be empty
    * @return surface id, or zero if surface is empty
    */
-  unsigned int GetSurfaceId( Any surface ) const;
+  uintptr_t GetSurfaceId( Any surface ) const;
 
   /**
    * @brief Create window
    */
   void CreateWinWindow( PositionSize positionSize, bool isTransparent );
 
+  /**
+   * @brief Sets up an already created window.
+   */
+  void SetWinWindow( uintptr_t surfaceId );
+
 private:
 
   // Undefined
@@ -377,7 +392,7 @@ private:
   bool                                 mIsTransparent:1;    ///< Whether the window is transparent (32 bit or 24 bit)
   bool                                 mRotationAppSet:1;
 
-  WindowsPlatformImplementation::WindowImpl mWindowImpl;
+  WindowsPlatform::WindowImpl mWindowImpl;
 };
 
 } // namespace Adaptor