X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=adaptors%2Fwayland%2Frender-surface%2Frender-surface-wl.cpp;h=801a3bbb037e9b6fcce71f44bec120072e0ef664;hb=88d565576965f2b4a0a5c1cb870606194cd7b241;hp=43750a8306e0030a0067de2af4eedd4d1f8c5c9f;hpb=ae434c220a25fb4e61f8ac2bdf771a25cee70602;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/adaptors/wayland/render-surface/render-surface-wl.cpp b/adaptors/wayland/render-surface/render-surface-wl.cpp index 43750a8..801a3bb 100644 --- a/adaptors/wayland/render-surface/render-surface-wl.cpp +++ b/adaptors/wayland/render-surface/render-surface-wl.cpp @@ -26,7 +26,6 @@ #include // INTERNAL INCLUDES -#include #include #include #include @@ -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; @@ -127,12 +127,12 @@ void RenderSurface::StartRender() { } -bool RenderSurface::PreRender( EglInterface&, Integration::GlAbstraction& ) +bool RenderSurface::PreRender( EglInterface&, Integration::GlAbstraction&, bool ) { return true; } -void RenderSurface::PostRender( EglInterface& egl, Integration::GlAbstraction& glAbstraction, DisplayConnection* displayConnection, bool replacingSurface ) +void RenderSurface::PostRender( EglInterface& egl, Integration::GlAbstraction& glAbstraction, DisplayConnection* displayConnection, bool replacingSurface, bool resizingSurface ) { Internal::Adaptor::EglImplementation& eglImpl = static_cast( egl ); eglImpl.SwapBuffers(); @@ -149,7 +149,10 @@ void RenderSurface::SetThreadSynchronization( ThreadSynchronizationInterface& th { } - +RenderSurface::Type RenderSurface::GetSurfaceType() +{ + return RenderSurface::WAYLAND_RENDER_SURFACE; +} } // namespace Wayland