Route default canvas resolution through platform services

This commit is contained in:
2026-06-04 19:20:06 +02:00
parent b2334e65c9
commit 0489c4229e
12 changed files with 57 additions and 10 deletions

View File

@@ -776,7 +776,10 @@ Known warnings after the current CMake app build:
- `pp_legacy_paint_document` is an object-library containment boundary for
retained action, bezier, brush, canvas, canvas-layer, and event code. It
should shrink as app painting and document behavior consume `pp_paint` and
`pp_document` directly.
`pp_document` directly. Shared `canvas.h` no longer owns the platform
`CANVAS_RES` macro; default canvas allocation now asks `PlatformServices`,
preserving the WebGL 512 default in the legacy fallback while DEBT-0057
tracks moving that policy into an injected Web platform service.
- `pp_legacy_engine` intentionally contains retained legacy runtime shell
sources for now, so it concentrates existing legacy tablet, video, HMD, log,
and low-level utility warnings until those paths move to cleaner component