[Tizen] Revert "Support screen rotation"
[platform/core/uifw/dali-adaptor.git] / adaptors / wayland / render-surface / render-surface-wl.cpp
index 43750a8..e2c83cd 100644 (file)
@@ -26,7 +26,6 @@
 #include <unistd.h>
 
 // INTERNAL INCLUDES
-#include <base/separate-update-render/thread-synchronization.h>
 #include <gl/egl-implementation.h>
 #include <trigger-event.h>
 #include <base/interfaces/window-event-interface.h>
@@ -44,7 +43,8 @@ RenderSurface::RenderSurface(Dali::PositionSize positionSize,
                                            const std::string& name,
                                            bool isTransparent)
 : mRenderNotification(NULL),
-  mColorDepth(isTransparent ? COLOR_DEPTH_32 : COLOR_DEPTH_24)
+  mColorDepth(isTransparent ? COLOR_DEPTH_32 : COLOR_DEPTH_24),
+  mEglWindow(NULL)
 {
   mWindow.mPosition = positionSize;
   mWindow.mTitle = name;
@@ -149,7 +149,10 @@ void RenderSurface::SetThreadSynchronization( ThreadSynchronizationInterface& th
 {
 }
 
-
+RenderSurface::Type RenderSurface::GetSurfaceType()
+{
+  return RenderSurface::WAYLAND_RENDER_SURFACE;
+}
 
 } // namespace Wayland