Extract stroke draw dual pass request helper
This commit is contained in:
13
src/canvas.h
13
src/canvas.h
@@ -255,6 +255,19 @@ private:
|
||||
const std::array<bool, 6>& include_dual_dirty,
|
||||
bool uses_pattern,
|
||||
bool copy_stroke_destination);
|
||||
pp::panopainter::LegacyCanvasStrokeDualPassRequest make_stroke_draw_dual_pass_request(
|
||||
const std::vector<StrokeFrame>& frames_dual,
|
||||
const std::array<pp::panopainter::LegacyCanvasStrokeTextureBinding, 1>& dual_pass_texture_bindings,
|
||||
const pp::panopainter::LegacyCanvasStrokeTextureInputDispatch& dual_pass_brush_tip_dispatch,
|
||||
const pp::renderer::Extent2D& stroke_extent,
|
||||
const std::array<bool, 6>& include_dual_dirty,
|
||||
bool uses_pattern,
|
||||
bool copy_stroke_destination);
|
||||
void stroke_draw_dual_pass_frame_pass(
|
||||
const std::vector<StrokeFrame>& frames_dual,
|
||||
const pp::renderer::Extent2D& stroke_extent,
|
||||
const std::array<bool, 6>& include_dual_dirty,
|
||||
bool copy_stroke_destination);
|
||||
Image thumbnail_read(std::string file_path);
|
||||
void draw_objects(std::function<void(const glm::mat4& camera, const glm::mat4& proj, int i)>, int frame, bool save_history);
|
||||
void draw_objects(std::function<void(const glm::mat4& camera, const glm::mat4& proj, int i)>, Layer& layer, int frame, bool save_history);
|
||||
|
||||
Reference in New Issue
Block a user