X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fwindow-system%2Ftizen-wayland%2Fnative-render-surface-ecore-wl.cpp;h=3ef4f6881881af44f52956f751a4d965f326eb31;hb=8786ea8fbb26a9cb555a613518cf108017467c69;hp=f8c6e98564f047300e7ced5f37c30405baae303a;hpb=eb7c98d6eb61212e10a62ddd88f36b69f74a4e2f;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/window-system/tizen-wayland/native-render-surface-ecore-wl.cpp b/dali/internal/window-system/tizen-wayland/native-render-surface-ecore-wl.cpp old mode 100755 new mode 100644 index f8c6e98..3ef4f68 --- a/dali/internal/window-system/tizen-wayland/native-render-surface-ecore-wl.cpp +++ b/dali/internal/window-system/tizen-wayland/native-render-surface-ecore-wl.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -32,14 +32,14 @@ #include // INTERNAL INCLUDES -#include -#include +#include +#include +#include #include +#include +#include #include #include -#include -#include -#include namespace Dali { @@ -142,11 +142,6 @@ void NativeRenderSurfaceEcoreWl::GetDpi( unsigned int& dpiHorizontal, unsigned i dpiVertical = int( yres + 0.5f ); } -int NativeRenderSurfaceEcoreWl::GetOrientation() const -{ - return 0; -} - void NativeRenderSurfaceEcoreWl::InitializeGraphics() { DALI_LOG_TRACE_METHOD( gNativeSurfaceLogFilter ); @@ -227,16 +222,6 @@ bool NativeRenderSurfaceEcoreWl::PreRender( bool ) return true; } -Rect NativeRenderSurfaceEcoreWl::SetDamagedRect( const Rect& damagedRect ) -{ - return damagedRect; -} - -int32_t NativeRenderSurfaceEcoreWl::GetBufferAge() -{ - return 0; -} - void NativeRenderSurfaceEcoreWl::PostRender( bool renderToFbo, bool replacingSurface, bool resizingSurface ) { auto eglGraphics = static_cast(mGraphics); @@ -298,9 +283,9 @@ void NativeRenderSurfaceEcoreWl::SetThreadSynchronization( ThreadSynchronization mThreadSynchronization = &threadSynchronization; } -Integration::RenderSurface::Type NativeRenderSurfaceEcoreWl::GetSurfaceType() +Dali::RenderSurfaceInterface::Type NativeRenderSurfaceEcoreWl::GetSurfaceType() { - return Integration::RenderSurface::NATIVE_RENDER_SURFACE; + return Dali::RenderSurfaceInterface::NATIVE_RENDER_SURFACE; } void NativeRenderSurfaceEcoreWl::MakeContextCurrent()