Skip to content

Commit c1d02ba

Browse files
committed
disable GPU support (Ganesh/OpenGL) for PathOps
Add skia_enable_ganesh=false and skia_use_gl=false to disable GPU rendering support. PathOps only needs CPU-based path operations. This reduces: - Library size from 9.3M to 6.6M (~29% smaller) - Compilation from 759 to 540 files (219 fewer files) - Build time and CI resources
1 parent 523e31a commit c1d02ba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build_skia.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,15 @@
2121
"is_debug=false",
2222
"skia_enable_pdf=false",
2323
"skia_enable_discrete_gpu=false",
24+
"skia_enable_ganesh=false",
2425
"skia_enable_skottie=false",
2526
"skia_enable_skshaper=false",
2627
"skia_use_dng_sdk=false",
2728
"skia_use_expat=false",
2829
"skia_use_freetype=false",
2930
"skia_use_fontconfig=false",
3031
"skia_use_fonthost_mac=false",
32+
"skia_use_gl=false",
3133
"skia_use_harfbuzz=false",
3234
"skia_use_icu=false",
3335
"skia_use_libjpeg_turbo_encode=false",

0 commit comments

Comments
 (0)