Files
ladybird/Libraries/LibGfx
Aliaksandr Kalenik a1d538ae58 LibGfx: Cache GPU textures for bitmap-backed ImmutableBitmaps
Previously, bitmap-backed images were stored as raster SkImages and
re-uploaded to the GPU every frame. This caused significant overhead
in createProxyFromBitmap, uploadToTexture, and memmove.

Now, ensure_sk_image() converts raster SkImages to GPU textures using
SkImages::TextureFromImage() on first use. The texture is cached and
reused for subsequent frames.

- Mipmaps disabled (kNo) to reduce upload time and memory
- Budgeted (kYes) to let Skia manage GPU memory and evict under pressure
- Falls back to raster rendering if no GPU context available
2026-01-24 21:21:28 +01:00
..
2024-12-28 05:39:32 -08:00
2024-11-20 21:13:23 +01:00
2025-06-09 11:25:14 -04:00