Extract draw merge temporary paint branch

This commit is contained in:
2026-06-13 23:31:20 +02:00
parent 618bb89517
commit 91d4da0910
2 changed files with 95 additions and 69 deletions

View File

@@ -259,6 +259,14 @@ private:
bool copy_stroke_destination,
const pp::renderer::Extent2D& stroke_extent,
const glm::vec4& pad_color);
void draw_merge_temporary_paint_branch(
int layer_index,
int plane_index,
std::shared_ptr<Layer> layer,
const Brush& brush,
const glm::mat4& ortho,
bool copy_blend_destination,
bool draw_checkerboard);
void stroke_draw_dual_pass(
const std::vector<StrokeFrame>& frames_dual,
const std::array<pp::panopainter::LegacyCanvasStrokeTextureBinding, 1>& dual_pass_texture_bindings,