X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fwindow-system%2Fubuntu-x11%2Fpixmap-render-surface-ecore-x.cpp;h=527f5cc41298465a9f5e1f9513040eb540413339;hb=ab6276d5a0686fbbcbd559a992819ee5a8695876;hp=41a44daaff2afaa88f30924483102ec8c3fb4301;hpb=24693f38898769316def34c286849aa82a56406e;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/window-system/ubuntu-x11/pixmap-render-surface-ecore-x.cpp b/dali/internal/window-system/ubuntu-x11/pixmap-render-surface-ecore-x.cpp index 41a44da..527f5cc 100644 --- a/dali/internal/window-system/ubuntu-x11/pixmap-render-surface-ecore-x.cpp +++ b/dali/internal/window-system/ubuntu-x11/pixmap-render-surface-ecore-x.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. @@ -22,22 +22,19 @@ #include #include #include - #include // for damage notify #include // for damage notify - #include #include #include // INTERNAL INCLUDES -#include -#include -#include -#include +#include #include #include - +#include +#include +#include namespace Dali { @@ -150,11 +147,6 @@ void PixmapRenderSurfaceEcoreX::GetDpi( unsigned int& dpiHorizontal, unsigned in dpiVertical = int( yres + 0.5f ); } -int PixmapRenderSurfaceEcoreX::GetOrientation() const -{ - return 0; -} - void PixmapRenderSurfaceEcoreX::InitializeGraphics() { mGraphics = &mAdaptor->GetGraphicsInterface(); @@ -228,13 +220,13 @@ void PixmapRenderSurfaceEcoreX::StartRender() { } -bool PixmapRenderSurfaceEcoreX::PreRender( bool ) +bool PixmapRenderSurfaceEcoreX::PreRender( bool, const std::vector>&, Rect& ) { // Nothing to do for pixmaps return true; } -void PixmapRenderSurfaceEcoreX::PostRender( bool renderToFbo, bool replacingSurface, bool resizingSurface ) +void PixmapRenderSurfaceEcoreX::PostRender( bool renderToFbo, bool replacingSurface, bool resizingSurface, const std::vector>& damagedRects ) { auto eglGraphics = static_cast(mGraphics); @@ -317,9 +309,9 @@ void PixmapRenderSurfaceEcoreX::ReleaseLock() } } -Integration::RenderSurface::Type PixmapRenderSurfaceEcoreX::GetSurfaceType() +Dali::RenderSurfaceInterface::Type PixmapRenderSurfaceEcoreX::GetSurfaceType() { - return Integration::RenderSurface::PIXMAP_RENDER_SURFACE; + return Dali::RenderSurfaceInterface::PIXMAP_RENDER_SURFACE; } void PixmapRenderSurfaceEcoreX::MakeContextCurrent()