OPTION(ENABLE_COVERAGE "Coverage" OFF)
OPTION(ENABLE_PKG_CONFIGURE "Use pkgconfig" ON)
OPTION(ENABLE_LINK_TEST "Enable the link test" ON)
+OPTION(ENABLE_VULKAN "Enable Vulkan instead of GLES" OFF)
OPTION(INSTALL_DOXYGEN_DOC "Install doxygen doc" ON)
OPTION(CONFIGURE_AUTOMATED_TESTS "Configure automated tests" ON)
OPTION(USE_DEFAULT_RESOURCE_DIR "Whether to use the default resource folders. Otherwise set environment variables for DALI_IMAGE_DIR, DALI_SOUND_DIR, DALI_STYLE_DIR, DALI_STYLE_IMAGE_DIR and DALI_DATA_READ_ONLY_DIR" ON)
FIND_PACKAGE( pthreads REQUIRED )
ENDIF()
+IF( NOT ENABLE_VULKAN)
+ SET(SOURCES ${SOURCES}
+ ${toolkit_internal_egl_src_files}
+ ${public_api_egl_src_files}
+ )
+ENDIF()
+
ADD_LIBRARY( ${name} ${LIBTYPE} ${SOURCES} )
SET(CUSTOM_COMPILE_OPTIONS "")
MESSAGE( STATUS "Export all symbols: " ${ENABLE_EXPORTALL} )
MESSAGE( STATUS "Coverage: " ${ENABLE_COVERAGE} )
MESSAGE( STATUS "Trace: " ${ENABLE_TRACE} )
+MESSAGE( STATUS "Vulkan: " ${ENABLE_VULKAN} )
MESSAGE( STATUS "Doxygen: " ${doxygenEnabled} )
MESSAGE( STATUS "Data Dir (Read/Write): " ${dataReadWriteDir} )
MESSAGE( STATUS "Data Dir (Read Only): " ${dataReadOnlyDir} )
${toolkit_src_dir}/controls/video-view/video-view-impl.cpp
${toolkit_src_dir}/controls/web-view/web-view-impl.cpp
${toolkit_src_dir}/controls/camera-view/camera-view-impl.cpp
- ${toolkit_src_dir}/controls/gl-view/drawable-view-impl.cpp
- ${toolkit_src_dir}/controls/gl-view/drawable-view-native-renderer.cpp
- ${toolkit_src_dir}/controls/gl-view/gl-view-impl.cpp
- ${toolkit_src_dir}/controls/gl-view/gl-view-render-thread.cpp
${toolkit_src_dir}/accessibility-manager/accessibility-manager-impl.cpp
${toolkit_src_dir}/feedback/feedback-style.cpp
${toolkit_src_dir}/focus-manager/keyboard-focus-manager-impl.cpp
${toolkit_src_dir}/text/text-geometry.cpp
)
+SET(toolkit_internal_egl_src_files
+ ${toolkit_src_dir}/controls/gl-view/drawable-view-impl.cpp
+ ${toolkit_src_dir}/controls/gl-view/drawable-view-native-renderer.cpp
+ ${toolkit_src_dir}/controls/gl-view/gl-view-impl.cpp
+ ${toolkit_src_dir}/controls/gl-view/gl-view-render-thread.cpp
+)
+
SET( SOURCES ${SOURCES}
${toolkit_src_files}
)
${public_api_src_dir}/controls/text-controls/text-field.cpp
${public_api_src_dir}/controls/video-view/video-view.cpp
${public_api_src_dir}/controls/camera-view/camera-view.cpp
- ${public_api_src_dir}/controls/gl-view/gl-view.cpp
${public_api_src_dir}/image-loader/image.cpp
${public_api_src_dir}/image-loader/image-url.cpp
${public_api_src_dir}/image-loader/async-image-loader.cpp
${public_api_src_dir}/enums.cpp
)
+SET(public_api_egl_src_files
+ ${public_api_src_dir}/controls/gl-view/gl-view.cpp
+)
+
# Add public header files here
SET( public_api_header_files
${public_api_src_dir}/dali-toolkit-version.h