Route import and node texture setup through helpers

This commit is contained in:
2026-06-13 05:36:45 +02:00
parent bb05fac00f
commit e82bcb6d56
5 changed files with 35 additions and 15 deletions

View File

@@ -18,6 +18,14 @@ agent or engineer to remove them without reconstructing context from chat.
## Recent Reductions
- 2026-06-13: DEBT-0036 was narrowed again. `NodeViewport` retained preview
draw and `NodePanelGrid` sun-overlay `Texture` shader setup now route
through `legacy_canvas_draw_merge_services.h`; the node paths still own
texture/sampler binding, viewport/state setup, and draw execution.
- 2026-06-13: DEBT-0036 was narrowed again. `Canvas::import_layer` retained
object-draw `Texture` shader setup now routes through
`legacy_canvas_draw_merge_services.h`; import_layer still owns texture upload,
sampler/texture binding, draw callbacks, and object geometry.
- 2026-06-13: DEBT-0036 was narrowed again. `NodeImage` and
`NodeImageTexture` retained plain image `Texture` shader setup now routes
through `legacy_canvas_draw_merge_services.h`; the nodes still own

View File

@@ -3021,6 +3021,10 @@ Results:
stroke composite shader setup helper, while render-task ordering, framebuffer
copy bounds, sampler/texture binding, and draw execution remain in retained
canvas-mode code.
- `Canvas::import_layer` retained object drawing now shares the draw-merge
texture shader setup helper for flat and spherical imports, while texture
upload, sampler/texture binding, draw callbacks, and object geometry remain in
retained Canvas code.
- `Canvas::thumbnail_generate` checkerboard redraw and final texture blending
now share the retained draw-merge shader setup helpers, while destination
copies, sampler/texture binding, readback, and draw execution remain in
@@ -3040,6 +3044,10 @@ Results:
retained draw-merge texture shader setup helper for `Texture`, `Tex`, and
`MVP` setup. Texture/sampler binding, atlas setup, blend state, and draw
execution remain in the node paths.
- `NodeViewport` preview drawing and `NodePanelGrid` sun-overlay drawing now
share the retained draw-merge texture shader setup helper for `Texture`,
`Tex`, and `MVP` setup. Texture/sampler binding, viewport/state setup, and
draw execution remain in the node paths.
- `Canvas::stroke_draw_mix` now shares the retained stroke composite shader
helper for mixer-pass `CompDraw` setup, while preserving its caller-specific
texture slot uniforms. Mixer framebuffer/scissor state, sampler and texture