mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-07 21:23:32 +00:00
infra: promote the GL engine to an official one.
The ThorVG OpenGL/ES engine has been stabilized and improved significantly. Now, as a graphics engine, its drawing features are quite functional. It is time to officially release the engine and maintain it in the release process. Thanks @Ruiwen for going above and beyond! issue: https://github.com/thorvg/thorvg/issues/2435
This commit is contained in:
parent
9ab960d0a2
commit
ec792d2e9a
3 changed files with 19 additions and 11 deletions
22
meson.build
22
meson.build
|
@ -19,15 +19,23 @@ if get_option('threads') == true
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#Engines
|
#Engines
|
||||||
if get_option('engines').contains('sw') == true
|
all_engines = get_option('engines').contains('all')
|
||||||
|
|
||||||
|
sw_engine = false
|
||||||
|
if all_engines or get_option('engines').contains('sw')
|
||||||
|
sw_engine = true
|
||||||
config_h.set10('THORVG_SW_RASTER_SUPPORT', true)
|
config_h.set10('THORVG_SW_RASTER_SUPPORT', true)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if get_option('engines').contains('gl_beta') == true
|
gl_engine = false
|
||||||
|
if all_engines or get_option('engines').contains('gl')
|
||||||
|
gl_engine = true
|
||||||
config_h.set10('THORVG_GL_RASTER_SUPPORT', true)
|
config_h.set10('THORVG_GL_RASTER_SUPPORT', true)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if get_option('engines').contains('wg_beta') == true
|
wg_engine = false
|
||||||
|
if get_option('engines').contains('wg_beta')
|
||||||
|
wg_engine = true
|
||||||
config_h.set10('THORVG_WG_RASTER_SUPPORT', true)
|
config_h.set10('THORVG_WG_RASTER_SUPPORT', true)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -157,7 +165,7 @@ Summary:
|
||||||
Multi-Tasking: @3@
|
Multi-Tasking: @3@
|
||||||
SIMD Instruction: @4@
|
SIMD Instruction: @4@
|
||||||
Raster Engine (SW): @5@
|
Raster Engine (SW): @5@
|
||||||
Raster Engine (GL_BETA): @6@
|
Raster Engine (GL): @6@
|
||||||
Raster Engine (WG_BETA): @7@
|
Raster Engine (WG_BETA): @7@
|
||||||
Loader (TVG): @8@
|
Loader (TVG): @8@
|
||||||
Loader (SVG): @9@
|
Loader (SVG): @9@
|
||||||
|
@ -184,9 +192,9 @@ Summary:
|
||||||
get_option('prefix'),
|
get_option('prefix'),
|
||||||
get_option('threads'),
|
get_option('threads'),
|
||||||
simd_type,
|
simd_type,
|
||||||
get_option('engines').contains('sw'),
|
sw_engine,
|
||||||
get_option('engines').contains('gl_beta'),
|
gl_engine,
|
||||||
get_option('engines').contains('wg_beta'),
|
wg_engine,
|
||||||
tvg_loader,
|
tvg_loader,
|
||||||
svg_loader,
|
svg_loader,
|
||||||
ttf_loader,
|
ttf_loader,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
option('engines',
|
option('engines',
|
||||||
type: 'array',
|
type: 'array',
|
||||||
choices: ['sw', 'gl_beta', 'wg_beta'],
|
choices: ['sw', 'gl', 'wg_beta', 'all'],
|
||||||
value: ['sw'],
|
value: ['sw'],
|
||||||
description: 'Enable Rasterizer Engine in thorvg')
|
description: 'Enable Rasterizer Engine in thorvg')
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
engine_dep = []
|
engine_dep = []
|
||||||
|
|
||||||
if get_option('engines').contains('sw') == true
|
if sw_engine
|
||||||
subdir('sw_engine')
|
subdir('sw_engine')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if get_option('engines').contains('gl_beta') == true
|
if gl_engine
|
||||||
subdir('gl_engine')
|
subdir('gl_engine')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if get_option('engines').contains('wg_beta') == true
|
if wg_engine
|
||||||
subdir('wg_engine')
|
subdir('wg_engine')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue