thorvg/src/lib/meson.build
Hermet Park 9e1ba8d2c0 sw_engine: introduce avx simd instruction
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
2020-07-11 20:58:09 +09:00

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
)