Files
ladybird/Libraries/LibGfx/ImmutableBitmap.cpp
Jelle Raaijmakers 6596f27475 LibGfx: Use accelerated painting surface snapshots if available
If we have a Skia backend context available, use it to make image
snapshots. Drops blitting CPU usage from 55% to 0.6% for slither.io on
my machine.

Adds a fallback to ::bitmap() to store a bitmap blitted from an SkImage
if that's available.
2026-02-27 10:06:48 +01:00

16 KiB