Extract stroke dual pass boundary

This commit is contained in:
2026-06-13 16:50:10 +02:00
parent 43bdc85c11
commit 5891d2839d
3 changed files with 6 additions and 2 deletions

View File

@@ -509,6 +509,12 @@ Done Checks:
Progress Notes: Progress Notes:
- 2026-06-13: `Canvas::stroke_draw()` dual-brush replay now routes shader
setup, brush-tip texture binding, live-pass execution, and brush-tip
unbinding through `execute_legacy_canvas_stroke_dual_pass(...)`; the live
adapter still owns the concrete texture callbacks and face-frame replay.
Next slice should target another narrow `stroke_draw()` seam without
reopening landed pad or sample helpers.
- 2026-06-13: `Canvas::stroke_draw()` dual-brush replay now routes shader - 2026-06-13: `Canvas::stroke_draw()` dual-brush replay now routes shader
setup, brush-tip texture binding, live-pass execution, and brush-tip setup, brush-tip texture binding, live-pass execution, and brush-tip
unbinding through `execute_legacy_canvas_stroke_dual_pass(...)`; the live unbinding through `execute_legacy_canvas_stroke_dual_pass(...)`; the live

View File

@@ -919,7 +919,6 @@ void Canvas::stroke_draw()
pp::panopainter::execute_legacy_canvas_stroke_dual_pass( pp::panopainter::execute_legacy_canvas_stroke_dual_pass(
pp::panopainter::LegacyCanvasStrokeDualPassRequest { pp::panopainter::LegacyCanvasStrokeDualPassRequest {
.context = "Canvas::stroke_draw", .context = "Canvas::stroke_draw",
.planes = dual_pass_texture_bindings,
.setup_dual_shader = [&] { .setup_dual_shader = [&] {
pp::panopainter::setup_legacy_stroke_dual_shader( pp::panopainter::setup_legacy_stroke_dual_shader(
stroke_material.dual_pass.uses_pattern); stroke_material.dual_pass.uses_pattern);

View File

@@ -181,7 +181,6 @@ struct LegacyCanvasStrokeMixPassResult {
struct LegacyCanvasStrokeDualPassRequest { struct LegacyCanvasStrokeDualPassRequest {
std::string_view context; std::string_view context;
std::span<const LegacyCanvasStrokeMixPassPlane> planes;
std::function<void()> bind_brush_tip; std::function<void()> bind_brush_tip;
std::function<void()> unbind_brush_tip; std::function<void()> unbind_brush_tip;
std::function<void()> setup_dual_shader; std::function<void()> setup_dual_shader;