Extract stroke draw pad face callback body
This commit is contained in:
@@ -882,6 +882,21 @@ void Canvas::stroke_draw_pad_face_orchestration(
|
||||
bool copy_stroke_destination,
|
||||
const pp::renderer::Extent2D& stroke_extent,
|
||||
const glm::vec4& pad_color)
|
||||
{
|
||||
stroke_draw_pad_face_callback_body(
|
||||
box_dirty,
|
||||
box_face,
|
||||
copy_stroke_destination,
|
||||
stroke_extent,
|
||||
pad_color);
|
||||
}
|
||||
|
||||
void Canvas::stroke_draw_pad_face_callback_body(
|
||||
const std::array<bool, 6>& box_dirty,
|
||||
const std::array<glm::vec4, 6>& box_face,
|
||||
bool copy_stroke_destination,
|
||||
const pp::renderer::Extent2D& stroke_extent,
|
||||
const glm::vec4& pad_color)
|
||||
{
|
||||
pp::panopainter::setup_legacy_stroke_pad_shader(
|
||||
pp::panopainter::LegacyStrokePadUniforms {
|
||||
|
||||
Reference in New Issue
Block a user