1 #ifndef DALI_INTERNAL_WINDOWSYSTEM_COMMON_NATIVE_IMAGE_SURFACE_IMPL_H
2 #define DALI_INTERNAL_WINDOWSYSTEM_COMMON_NATIVE_IMAGE_SURFACE_IMPL_H
5 * Copyright (c) 2021 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
23 #include <dali/public-api/object/any.h>
24 #include <dali/public-api/object/base-object.h>
27 #include <dali/devel-api/adaptor-framework/native-image-source-queue.h>
31 class NativeImageSurface;
37 class NativeImageSurface
43 virtual ~NativeImageSurface() = default;
46 * @copydoc Dali::NativeImageSurface::GetNativeRenderable()
48 virtual Any GetNativeRenderable() = 0;
51 * @copydoc Dali::NativeImageSurface::InitializeGraphics()
53 virtual void InitializeGraphics() = 0;
56 * @copydoc Dali::NativeImageSurface::TerminateGraphics()
58 virtual void TerminateGraphics() = 0;
61 * @copydoc Dali::NativeImageSurface::PreRender()
63 virtual void PreRender() = 0;
66 * @copydoc Dali::NativeImageSurface::PostRender()
68 virtual void PostRender() = 0;
71 * @copydoc Dali::NativeImageSurface::CanRender()
73 virtual bool CanRender() = 0;
76 * @copydoc Dali::NativeImageSurface::SetGraphicsConfig()
78 virtual bool SetGraphicsConfig(bool depth, bool stencil, int msaa, int version) = 0;
81 } // namespace Adaptor
82 } // namespace Internal
85 #endif // DALI_INTERNAL_WINDOWSYSTEM_COMMON_NATIVE_IMAGE_SURFACE_IMPL_H