Trim stroke mix shell wrapper

This commit is contained in:
2026-06-13 19:38:48 +02:00
parent b1a1bc07a4
commit f53f943374
3 changed files with 11 additions and 10 deletions

View File

@@ -419,7 +419,10 @@ void Canvas::stroke_draw_mix(const glm::vec2& bb_min, const glm::vec2& bb_sz)
[&] {
m_mixer.unbindFramebuffer();
});
[[maybe_unused]] const auto mix_result = execute_canvas_stroke_mix_pass_shell(mix_shell);
[[maybe_unused]] const auto mix_result = pp::panopainter::execute_legacy_canvas_stroke_mix_pass_shell(
mix_shell.setup.begin,
mix_shell.setup.end,
mix_shell.request);
gl.restore();
}
@@ -533,15 +536,6 @@ static void execute_canvas_draw_merge_final_plane_composite(
pp::panopainter::execute_legacy_canvas_draw_merge_final_plane_composite(uniforms, execution);
}
static void execute_canvas_stroke_mix_pass_shell(
const pp::panopainter::LegacyCanvasStrokeMixPassShell& shell)
{
pp::panopainter::execute_legacy_canvas_stroke_mix_pass_shell(
shell.setup.begin,
shell.setup.end,
shell.request);
}
glm::vec4 Canvas::stroke_draw_samples(
int i,
std::vector<vertex_t>& P,