Extract stroke dual pass boundary
This commit is contained in:
@@ -509,6 +509,12 @@ Done Checks:
|
||||
|
||||
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
|
||||
setup, brush-tip texture binding, live-pass execution, and brush-tip
|
||||
unbinding through `execute_legacy_canvas_stroke_dual_pass(...)`; the live
|
||||
|
||||
@@ -919,7 +919,6 @@ void Canvas::stroke_draw()
|
||||
pp::panopainter::execute_legacy_canvas_stroke_dual_pass(
|
||||
pp::panopainter::LegacyCanvasStrokeDualPassRequest {
|
||||
.context = "Canvas::stroke_draw",
|
||||
.planes = dual_pass_texture_bindings,
|
||||
.setup_dual_shader = [&] {
|
||||
pp::panopainter::setup_legacy_stroke_dual_shader(
|
||||
stroke_material.dual_pass.uses_pattern);
|
||||
|
||||
@@ -181,7 +181,6 @@ struct LegacyCanvasStrokeMixPassResult {
|
||||
|
||||
struct LegacyCanvasStrokeDualPassRequest {
|
||||
std::string_view context;
|
||||
std::span<const LegacyCanvasStrokeMixPassPlane> planes;
|
||||
std::function<void()> bind_brush_tip;
|
||||
std::function<void()> unbind_brush_tip;
|
||||
std::function<void()> setup_dual_shader;
|
||||
|
||||
Reference in New Issue
Block a user