// INTERNAL HEADERS
#include <dali/internal/window-system/common/window-impl.h>
+#include <dali/internal/window-system/common/window-system.h>
#include <dali/internal/window-system/common/window-render-surface.h>
#include <dali/internal/window-system/ubuntu-x11/ecore-x-types.h>
if( mOwnSurface )
{
ecore_x_window_free( mEcoreWindow );
+
+ WindowSystem::Shutdown();
}
}
// if the surface is empty, create a new one.
if( surfaceId == 0 )
{
+ WindowSystem::Initialize();
+
// we own the surface about to created
mOwnSurface = true;
CreateWindow( positionSize, isTransparent );
ecore_x_netwm_client_active_request( ecore_x_window_root_get( mEcoreWindow ), mEcoreWindow, 1 /* request type, 1:application, 2:pager */, 0 );
}
-void WindowBaseEcoreX::SetAvailableOrientations( const std::vector< Dali::Window::WindowOrientation >& orientations )
+void WindowBaseEcoreX::SetAvailableAnlges( const std::vector< int >& angles )
{
}
-void WindowBaseEcoreX::SetPreferredOrientation( Dali::Window::WindowOrientation orientation )
+void WindowBaseEcoreX::SetPreferredAngle( int angle )
{
}
dpiVertical = ecore_x_dpi_get();
}
+int WindowBaseEcoreX::GetOrientation() const
+{
+ return 0;
+}
+
int WindowBaseEcoreX::GetScreenRotationAngle()
{
return 0;
{
}
+int WindowBaseEcoreX::GetWindowRotationAngle()
+{
+ return 0;
+}
+
void WindowBaseEcoreX::WindowRotationCompleted( int degree, int width, int height )
{
}
}
}
+int WindowBaseEcoreX::CreateFrameRenderedSyncFence()
+{
+ return -1;
+}
+
+int WindowBaseEcoreX::CreateFramePresentedSyncFence()
+{
+ return -1;
+}
+
} // namespace Adaptor
} // namespace Internal