Move canvas action pixel mapping to renderer gl

This commit is contained in:
2026-06-02 08:08:49 +02:00
parent d0b0dc3865
commit bbb85bb133
3 changed files with 37 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
# PanoPainter Modernization Roadmap
Status: live
Last updated: 2026-06-01
Last updated: 2026-06-02
This is the living roadmap for modernizing PanoPainter into independently
testable C++23 components while retaining all existing functionality. Keep this
@@ -430,6 +430,9 @@ capability detection also live in `pp_renderer_gl`. Legacy font atlas texture
formats, text mesh buffer targets, attribute component/normalization, draw
primitive/index type, upload usage, and active texture unit selection also
delegate to `pp_renderer_gl`; `Font` no longer spells GL enum names directly.
Canvas undo/redo dirty-region texture updates and readbacks now also delegate
their 2D texture target, RGBA pixel format, and unsigned-byte component type
mapping to `pp_renderer_gl`.
The existing renderer classes are not yet fully
behind the renderer interfaces.
@@ -595,7 +598,7 @@ Acceptance for each phase:
## Verified Commands
Last verified on 2026-06-01:
Last verified on 2026-06-02:
```powershell
cmake --preset windows-msvc-default