Files
ppsspp/ext
Henrik RydgårdandClaude Opus 5 70095e458b thin3d: add sub-rectangle texture updates, use them for imgui fonts
imgui 1.92 hands the backend a list of dirty rectangles when its font atlas
grows, but thin3d could only replace a whole mip level, so every new glyph
re-uploaded the entire atlas.

Adds DrawContext::UpdateTextureRegions, taking a batch of regions so each
backend can submit them together:

- Vulkan: packs the regions into the push pool and issues a single
  vkCmdCopyBufferToImage from the init command buffer, transitioning only
  the level being written.
- OpenGL: new TEXTURE_SUBIMAGE init step. The existing sub-image path is a
  render command needing an active render pass and a texture slot, which
  doesn't fit here. Rows are packed caller-side since GLES2 lacks
  GL_UNPACK_ROW_LENGTH.
- D3D11: UpdateSubresource with a box, no staging texture needed.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-12 13:16:17 -06:00
..
2026-07-26 14:43:00 +02:00
2026-08-11 22:36:47 +02:00
2025-05-29 09:57:51 +02:00
2024-07-27 18:56:13 +02:00
2025-06-10 15:05:18 +02:00
2025-01-19 10:32:07 +01:00
2025-09-19 10:31:51 -06:00
2024-06-03 18:03:57 +02:00
2026-07-01 22:39:53 +02:00
2025-10-15 15:06:11 -04:00
2025-10-17 12:57:51 +02:00
2025-08-24 14:47:05 +02:00
2025-08-24 14:47:05 +02:00
2026-06-16 11:49:40 +02:00
2025-08-24 14:47:05 +02:00
2022-09-04 23:54:14 -07:00
2022-09-04 23:54:14 -07:00