1 #ifndef DALI_INTERNAL_NATIVE_IMAGE_SOURCE_QUEUE_IMPL_H
2 #define DALI_INTERNAL_NATIVE_IMAGE_SOURCE_QUEUE_IMPL_H
5 * Copyright (c) 2018 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.
22 #include <dali/devel-api/adaptor-framework/native-image-source-queue.h>
34 * Dali internal NativeImageSourceQueue.
36 class NativeImageSourceQueue
41 * @copydoc Dali::NativeImageSourceQueue::New()
43 static NativeImageSourceQueue* New( uint32_t width, uint32_t height, Dali::NativeImageSourceQueue::ColorDepth depth, Any nativeImageSourceQueue );
46 * @copydoc Dali::NativeImageSourceQueue::GetNativeImageSourceQueue()
48 virtual Any GetNativeImageSourceQueue() const = 0;
51 * @copydoc Dali::NativeImageSourceQueue::SetSize
53 virtual void SetSize( uint32_t width, uint32_t height ) = 0;
58 virtual ~NativeImageSourceQueue() = default;
61 * @copydoc Dali::NativeImageInterface::GlExtensionCreate()
63 virtual bool GlExtensionCreate() = 0;
66 * @copydoc Dali::NativeImageInterface::GlExtensionDestroy()
68 virtual void GlExtensionDestroy() = 0;
71 * @copydoc Dali::NativeImageInterface::TargetTexture()
73 virtual uint32_t TargetTexture() = 0;
76 * @copydoc Dali::NativeImageInterface::PrepareTexture()
78 virtual void PrepareTexture() = 0;
81 * @copydoc Dali::NativeImageInterface::GetWidth()
83 virtual uint32_t GetWidth() const = 0;
86 * @copydoc Dali::NativeImageInterface::GetHeight()
88 virtual uint32_t GetHeight() const = 0;
91 * @copydoc Dali::NativeImageInterface::RequiresBlending()
93 virtual bool RequiresBlending() const = 0;
96 * @copydoc Dali::NativeImageInterface::GetExtension()
98 virtual NativeImageInterface::Extension* GetNativeImageInterfaceExtension() = 0;
101 } // namespace Adaptor
103 } // namespace Internal
107 #endif // DALI_INTERNAL_NATIVE_IMAGE_SOURCE_QUEUE_IMPL_H