Commit bce0bdb
committed
perf: optimize rendering at macro zoom levels
Replace bitmap text caching with normalized native text rendering, cull invisible text and decorations, simplify pen strokes at low zoom, and cache section big-title checks per frame.1 parent 02226a7 commit bce0bdb
13 files changed
Lines changed: 285 additions & 303 deletions
File tree
- app/src
- core
- render/canvas2d
- basicRenderer
- entityRenderer
- service
- stage/stageManager/basicMethods
- locales
- sub/SettingsWindow
- utils
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
51 | 72 | | |
52 | 73 | | |
53 | 74 | | |
| |||
0 commit comments