mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-14 12:04:29 +00:00

avx is the cutting edge method for intel & amd cpus simd instruction. We are going to support this feature for the desktop environment (instead of sse) You can turn on this with configuration something like this: $meson . build -Dvectors=avx Current patch supports only for raster solid color Change-Id: I068ba30a1f63d480415e2762f8021fc8d6d28a39
41 lines
874 B
Meson
41 lines
874 B
Meson
engine_dep = []
|
|
|
|
if get_option('engines').contains('sw') == true
|
|
subdir('sw_engine')
|
|
message('Enable SW Raster Engine')
|
|
endif
|
|
|
|
if get_option('engines').contains('gl') == true
|
|
subdir('gl_engine')
|
|
message('Enable GL Raster Engine')
|
|
endif
|
|
|
|
source_file = [
|
|
'tvgCanvasImpl.h',
|
|
'tvgCommon.h',
|
|
'tvgBezier.h',
|
|
'tvgLoader.h',
|
|
'tvgLoaderMgr.h',
|
|
'tvgRender.h',
|
|
'tvgSceneImpl.h',
|
|
'tvgShapePath.h',
|
|
'tvgShapeImpl.h',
|
|
'tvgBezier.cpp',
|
|
'tvgCanvas.cpp',
|
|
'tvgFill.cpp',
|
|
'tvgGlCanvas.cpp',
|
|
'tvgInitializer.cpp',
|
|
'tvgLinearGradient.cpp',
|
|
'tvgLoaderMgr.cpp',
|
|
'tvgRadialGradient.cpp',
|
|
'tvgRender.cpp',
|
|
'tvgScene.cpp',
|
|
'tvgShape.cpp',
|
|
'tvgSwCanvas.cpp',
|
|
]
|
|
|
|
common_dep = declare_dependency(
|
|
dependencies : engine_dep,
|
|
include_directories : include_directories('.'),
|
|
sources : source_file
|
|
)
|