mirror of
https://github.com/penpot/penpot.git
synced 2026-08-08 05:48:50 +00:00
⚡ Enable Skia reduce_ops_task_splitting
Keep intermediate render targets (fills, strokes, shadows, Current) in fewer ops tasks so flush_and_submit does less dependency work on large files.
This commit is contained in:
parent
6fa50e4b4c
commit
288193f3e7
@ -22,7 +22,10 @@ impl GpuState {
|
||||
|
||||
// We tweak some options to enhance performance.
|
||||
let mut context_options = ContextOptions::default();
|
||||
// context_options.reduce_ops_task_splitting = Enable::Yes;
|
||||
// Fewer RT switches / smaller ops-task graphs across Fills, Strokes,
|
||||
// shadows, and Current. Helps flush_and_submit when many shapes share
|
||||
// intermediate surfaces.
|
||||
context_options.reduce_ops_task_splitting = Enable::Yes;
|
||||
context_options.skip_gl_error_checks = Enable::Yes;
|
||||
// context_options.runtime_program_cache_size = 1024;
|
||||
// context_options.allow_multiple_glyph_cache_textures = Enable::Yes;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user