mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-11 17:37:33 +02:00
Sharing a single SkiaBackendContext between the main thread and the rendering thread forces locking around every GPU operation. Now that ImmutableBitmaps are context-neutral, the SkImage cache is per-painter, and PaintingSurface accepts an explicit context, have the rendering thread create its own GPU context on startup and use it for the display-list player and backing store allocation. This sets up the next commit to remove the cross-thread locking machinery entirely.
18 KiB
18 KiB