Narrow draw merge branch helper surface

This commit is contained in:
2026-06-15 23:00:23 +02:00
parent eacf862c0b
commit 2a585f0058

View File

@@ -602,8 +602,7 @@ static void execute_canvas_draw_merge_branch_body(
const Brush& brush,
const glm::mat4& ortho,
bool use_blend,
bool copy_blend_destination,
bool draw_checkerboard)
bool copy_blend_destination)
{
if (use_blend)
{
@@ -622,8 +621,7 @@ static void execute_canvas_draw_merge_branch_body(
layer,
brush,
ortho,
copy_blend_destination,
draw_checkerboard));
copy_blend_destination));
}
static pp::panopainter::LegacyCanvasDrawMergeLayerCompositeExecution make_canvas_draw_merge_branch_dispatch(
@@ -633,8 +631,7 @@ static pp::panopainter::LegacyCanvasDrawMergeLayerCompositeExecution make_canvas
const std::shared_ptr<Layer>& layer,
const Brush& brush,
const glm::mat4& ortho,
bool copy_blend_destination,
bool draw_checkerboard)
bool copy_blend_destination)
{
return pp::panopainter::LegacyCanvasDrawMergeLayerCompositeExecution {
.execute_temporary_erase = [&] {
@@ -646,7 +643,6 @@ static pp::panopainter::LegacyCanvasDrawMergeLayerCompositeExecution make_canvas
ortho);
},
.execute_temporary_paint = [&] {
(void)draw_checkerboard;
pp::panopainter::execute_legacy_canvas_draw_merge_temporary_composite(
make_canvas_draw_merge_temporary_paint_request(
canvas,
@@ -1696,8 +1692,7 @@ void Canvas::draw_merge_branch_orchestration(
brush,
ortho,
use_blend,
copy_blend_destination,
draw_checkerboard);
copy_blend_destination);
}
void Canvas::draw_merge_final_plane_composite(