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
..
2026-01-21 23:49:25 +01:00
2025-11-28 18:32:48 +01:00
2025-10-10 15:37:45 +02:00
2025-10-10 15:37:45 +02:00
2026-01-23 16:23:06 +01:00
2026-01-23 16:23:06 +01:00
2025-11-28 18:32:48 +01:00
2026-01-22 17:38:15 +01:00
2025-03-22 17:49:38 +01:00
2026-01-22 19:44:36 +01:00
2025-06-25 22:54:48 +12:00
2025-06-25 22:54:48 +12:00
2025-11-28 18:32:48 +01:00
2025-11-28 18:32:48 +01:00
2026-01-22 17:38:15 +01:00
2025-02-12 12:03:30 -05:00
2025-08-06 15:21:03 +02:00
2025-11-28 18:32:48 +01:00
2025-12-03 12:23:56 +01:00
2025-11-28 18:32:48 +01:00
2025-11-28 18:32:48 +01:00
2025-06-01 23:22:10 +02:00
2026-01-21 14:01:35 +01:00
2026-01-21 14:01:35 +01:00
2026-01-23 16:23:06 +01:00
2025-11-04 21:44:32 +01:00
2025-08-01 04:39:50 -04:00
2025-08-01 04:39:50 -04:00
2026-01-24 21:21:28 +01:00
2026-01-23 17:15:23 +01:00
2025-08-17 10:51:05 +02:00
2025-07-28 09:15:23 +02:00
2025-08-11 17:10:04 +01:00
2025-09-23 19:05:01 +02:00
2024-12-28 05:39:32 -08:00
2024-12-03 23:35:45 +01:00
2025-11-15 16:08:53 +01:00
2025-11-30 08:45:29 -05:00
2025-10-23 18:52:36 +02:00
2025-12-17 12:00:33 +01:00
2025-10-23 18:52:36 +02:00
2026-01-23 17:15:23 +01:00
2025-08-21 14:42:41 +02:00
2025-11-28 18:32:48 +01:00
2025-11-28 18:32:48 +01:00
2024-11-20 21:13:23 +01:00
2025-11-28 18:32:48 +01:00
2026-01-19 04:01:37 +01:00
2026-01-19 04:01:37 +01:00
2026-01-19 04:01:37 +01:00
2024-12-15 23:27:42 +01:00
2024-11-20 21:13:23 +01:00
2026-01-12 11:00:14 +00:00
2025-11-12 15:59:01 +01:00
2025-09-21 13:22:38 +02:00
2025-11-28 18:32:48 +01:00
2025-11-28 18:32:48 +01:00
2025-12-17 12:00:33 +01:00
2025-08-19 00:30:22 +02:00
2025-06-01 23:22:10 +02:00
2025-11-28 18:32:48 +01:00
2024-11-20 21:13:23 +01:00
2025-11-28 18:32:48 +01:00
2026-01-24 15:22:03 +01:00
2026-01-24 15:22:03 +01:00
2025-06-09 11:25:14 -04:00
2025-11-28 18:32:48 +01:00
2025-11-28 18:32:48 +01:00
2026-01-06 17:28:43 +01:00
2025-10-22 13:54:54 +02:00
2026-01-22 19:44:36 +01:00
2026-01-22 19:44:36 +01:00