${devel_api_src_files}
${adaptor_devel_api_text_abstraction_src_files}
${adaptor_graphics_common_src_files}
- ${adaptor_graphics_gles_src_files}
- ${adaptor_graphics_x11_src_files}
${adaptor_haptics_common_src_files}
${adaptor_imaging_common_src_files}
${adaptor_imaging_x11_src_files}
IF( ENABLE_VULKAN )
SET(SOURCES ${SOURCES}
- ${graphics_vulkan_src_files}
- ${graphics_vulkan_x11_src_files}
+ ${adaptor_graphics_vulkan_src_files}
+ ${adaptor_graphics_vulkan_x11_src_files}
+ ${adaptor_imaging_x11_vulkan_src_files}
+ ${adaptor_libraries_spirv_reflect_src_files}
${adaptor_window_system_x11_vulkan_src_files}
)
ELSE()
SET(SOURCES ${SOURCES}
${adaptor_devel_api_egl_src_files}
- ${adaptor_graphics_gl_src_files}
+ ${adaptor_graphics_gles_src_files}
${adaptor_graphics_glib_x11_src_files}
- ${adaptor_imaging_x11_src_files}
- ${adaptor_window_system_common_egl_src_files}
+ ${adaptor_graphics_x11_src_files}
+ ${adaptor_imaging_x11_egl_src_files}
${adaptor_window_system_x11_egl_src_files}
+ ${adaptor_window_system_common_egl_src_files}
)
ENDIF()
-
IF( ENABLE_VECTOR_BASED_TEXT_RENDERING )
SET( SOURCES ${SOURCES}
${static_libraries_glyphy_src_files}
${devel_api_src_files}
${adaptor_devel_api_text_abstraction_src_files}
${adaptor_graphics_common_src_files}
- ${adaptor_graphics_gles_src_files}
- ${adaptor_graphics_x11_src_files}
${adaptor_haptics_common_src_files}
${adaptor_imaging_common_src_files}
${adaptor_imaging_x11_src_files}
IF( ENABLE_VULKAN )
SET(SOURCES ${SOURCES}
- ${graphics_vulkan_src_files}
- ${graphics_vulkan_x11_src_files}
- ${adaptor_imaging_x11_src_files}
+ ${adaptor_graphics_vulkan_src_files}
+ ${adaptor_graphics_vulkan_x11_src_files}
+ ${adaptor_imaging_x11_vulkan_src_files}
+ ${adaptor_libraries_spirv_reflect_src_files}
${adaptor_window_system_x11_vulkan_src_files}
- )
+ )
ELSE()
SET(SOURCES ${SOURCES}
${adaptor_devel_api_egl_src_files}
-
${adaptor_graphics_gles_src_files}
${adaptor_graphics_ubuntu_src_files}
-
+ ${adaptor_graphics_x11_src_files}
${adaptor_imaging_x11_egl_src_files}
-
${adaptor_window_system_x11_egl_src_files}
${adaptor_window_system_common_egl_src_files}
)
SET( adaptor_imaging_x11_src_files
${adaptor_imaging_dir}/common/file-download.cpp
)
+
+# module: imaging, backend: libuv-x11/glib / egl
SET( adaptor_imaging_x11_egl_src_files
- ${adaptor_imaging_dir}/x11/native-image-source-factory-x.cpp
+ ${adaptor_imaging_dir}/x11/native-image-source-factory-x-egl.cpp
${adaptor_imaging_dir}/x11/native-image-source-impl-x.cpp
${adaptor_imaging_dir}/x11/native-image-source-queue-impl-x.cpp
)
+# module: imaging, backend: libuv-x11/glib / vulkan
+SET( adaptor_imaging_x11_vulkan_src_files
+ ${adaptor_imaging_dir}/x11/native-image-source-factory-x-vulkan.cpp
+)
+
# module: imaging, backend: android
SET( adaptor_imaging_android_src_files
${adaptor_imaging_dir}/common/file-download.cpp
--- /dev/null
+/*
+ * Copyright (c) 2024 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.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+// CLASS HEADER
+#include <dali/internal/imaging/x11/native-image-source-factory-x.h>
+
+// INTERNAL HEADERS
+#include <dali/internal/imaging/x11/native-image-source-impl-x.h>
+#include <dali/internal/imaging/x11/native-image-source-queue-impl-x.h>
+
+namespace Dali
+{
+namespace Internal
+{
+namespace Adaptor
+{
+std::unique_ptr<NativeImageSource> NativeImageSourceFactoryX::CreateNativeImageSource(uint32_t width, uint32_t height, Dali::NativeImageSource::ColorDepth depth, Any nativeImageSource)
+{
+ return std::unique_ptr<NativeImageSource>(NativeImageSourceX::New(width, height, depth, nativeImageSource));
+}
+
+std::unique_ptr<NativeImageSourceQueue> NativeImageSourceFactoryX::CreateNativeImageSourceQueue(uint32_t queueCount, uint32_t width, uint32_t height, Dali::NativeImageSourceQueue::ColorFormat colorFormat, Any nativeImageSourceQueue)
+{
+ return std::unique_ptr<NativeImageSourceQueue>(NativeImageSourceQueueX::New(queueCount, width, height, colorFormat, nativeImageSourceQueue));
+}
+
+// this should be created from somewhere
+std::unique_ptr<NativeImageSourceFactory> GetNativeImageSourceFactory()
+{
+ // returns native image source factory
+ return std::unique_ptr<NativeImageSourceFactoryX>(new NativeImageSourceFactoryX());
+}
+
+} // namespace Adaptor
+} // namespace Internal
+} // namespace Dali
--- /dev/null
+/*
+ * Copyright (c) 2024 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.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+// CLASS HEADER
+#include <dali/internal/imaging/x11/native-image-source-factory-x.h>
+
+// INTERNAL INCLUDES
+#include <dali/internal/imaging/common/native-image-source-impl.h>
+#include <dali/internal/imaging/common/native-image-source-queue-impl.h>
+
+namespace Dali::Internal::Adaptor
+{
+std::unique_ptr<NativeImageSource> NativeImageSourceFactoryX::CreateNativeImageSource(uint32_t width, uint32_t height, Dali::NativeImageSource::ColorDepth depth, Any nativeImageSource)
+{
+ return nullptr;
+}
+
+std::unique_ptr<NativeImageSourceQueue> NativeImageSourceFactoryX::CreateNativeImageSourceQueue(uint32_t queueCount, uint32_t width, uint32_t height, Dali::NativeImageSourceQueue::ColorFormat colorFormat, Any nativeImageSourceQueue)
+{
+ return nullptr;
+}
+
+std::unique_ptr<NativeImageSourceFactory> GetNativeImageSourceFactory()
+{
+ // returns native image source factory
+ return std::unique_ptr<NativeImageSourceFactoryX>(new NativeImageSourceFactoryX());
+}
+
+} // namespace Dali::Internal::Adaptor
+++ /dev/null
-/*
- * Copyright (c) 2024 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.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-// CLASS HEADER
-#include <dali/internal/imaging/x11/native-image-source-factory-x.h>
-
-// INTERNAL HEADERS
-#include <dali/internal/imaging/x11/native-image-source-impl-x.h>
-#include <dali/internal/imaging/x11/native-image-source-queue-impl-x.h>
-
-namespace Dali
-{
-namespace Internal
-{
-namespace Adaptor
-{
-std::unique_ptr<NativeImageSource> NativeImageSourceFactoryX::CreateNativeImageSource(uint32_t width, uint32_t height, Dali::NativeImageSource::ColorDepth depth, Any nativeImageSource)
-{
- return std::unique_ptr<NativeImageSource>(NativeImageSourceX::New(width, height, depth, nativeImageSource));
-}
-
-std::unique_ptr<NativeImageSourceQueue> NativeImageSourceFactoryX::CreateNativeImageSourceQueue(uint32_t queueCount, uint32_t width, uint32_t height, Dali::NativeImageSourceQueue::ColorFormat colorFormat, Any nativeImageSourceQueue)
-{
- return std::unique_ptr<NativeImageSourceQueue>(NativeImageSourceQueueX::New(queueCount, width, height, colorFormat, nativeImageSourceQueue));
-}
-
-// this should be created from somewhere
-std::unique_ptr<NativeImageSourceFactory> GetNativeImageSourceFactory()
-{
- // returns native image source factory
- return std::unique_ptr<NativeImageSourceFactoryX>(new NativeImageSourceFactoryX());
-}
-
-} // namespace Adaptor
-} // namespace Internal
-} // namespace Dali
return false;
}
-Any WindowBaseX::GetNativeBuffer()
+Any WindowBaseX::GetNativeBuffer() const
{
return 0;
}