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
|
||||
|
||||
#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)
|
||||
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)
|
||||
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)
|
||||
endif
|
||||
|
||||
|
@ -157,7 +165,7 @@ Summary:
|
|||
Multi-Tasking: @3@
|
||||
SIMD Instruction: @4@
|
||||
Raster Engine (SW): @5@
|
||||
Raster Engine (GL_BETA): @6@
|
||||
Raster Engine (GL): @6@
|
||||
Raster Engine (WG_BETA): @7@
|
||||
Loader (TVG): @8@
|
||||
Loader (SVG): @9@
|
||||
|
@ -184,9 +192,9 @@ Summary:
|
|||
get_option('prefix'),
|
||||
get_option('threads'),
|
||||
simd_type,
|
||||
get_option('engines').contains('sw'),
|
||||
get_option('engines').contains('gl_beta'),
|
||||
get_option('engines').contains('wg_beta'),
|
||||
sw_engine,
|
||||
gl_engine,
|
||||
wg_engine,
|
||||
tvg_loader,
|
||||
svg_loader,
|
||||
ttf_loader,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
option('engines',
|
||||
type: 'array',
|
||||
choices: ['sw', 'gl_beta', 'wg_beta'],
|
||||
choices: ['sw', 'gl', 'wg_beta', 'all'],
|
||||
value: ['sw'],
|
||||
description: 'Enable Rasterizer Engine in thorvg')
|
||||
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
engine_dep = []
|
||||
|
||||
if get_option('engines').contains('sw') == true
|
||||
if sw_engine
|
||||
subdir('sw_engine')
|
||||
endif
|
||||
|
||||
if get_option('engines').contains('gl_beta') == true
|
||||
if gl_engine
|
||||
subdir('gl_engine')
|
||||
endif
|
||||
|
||||
if get_option('engines').contains('wg_beta') == true
|
||||
if wg_engine
|
||||
subdir('wg_engine')
|
||||
endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue