Clean retained stroke extraction build
This commit is contained in:
11
src/canvas.h
11
src/canvas.h
@@ -7,6 +7,7 @@
|
||||
#include "canvas_layer.h"
|
||||
#include "canvas_actions.h"
|
||||
#include "canvas_modes.h"
|
||||
#include "legacy_canvas_stroke_execution_services.h"
|
||||
#include <stack>
|
||||
#include "mp4enc.h"
|
||||
|
||||
@@ -282,7 +283,7 @@ private:
|
||||
pp::panopainter::LegacyStrokeFaceSamplePolygonExecutionRequest make_stroke_draw_samples_request(
|
||||
int face_index,
|
||||
std::vector<vertex_t>& polygon_vertices,
|
||||
bool copy_stroke_destination) const;
|
||||
bool copy_stroke_destination);
|
||||
pp::panopainter::LegacyCanvasStrokeTextureInputDispatch make_stroke_draw_samples_destination_texture_dispatch(
|
||||
int face_index);
|
||||
void stroke_draw_dual_pass(
|
||||
@@ -293,6 +294,12 @@ private:
|
||||
const std::array<bool, 6>& include_dual_dirty,
|
||||
bool uses_pattern,
|
||||
bool copy_stroke_destination);
|
||||
pp::panopainter::LegacyCanvasStrokeMainPassExecutionRequest make_stroke_draw_main_pass_request(
|
||||
std::function<void()> bind_samplers,
|
||||
std::function<void()> bind_textures,
|
||||
std::function<void()> execute_frame_pass,
|
||||
std::function<void()> unbind_textures,
|
||||
std::function<void()> unbind_samplers);
|
||||
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,
|
||||
@@ -306,6 +313,8 @@ private:
|
||||
const pp::renderer::Extent2D& stroke_extent,
|
||||
const std::array<bool, 6>& include_dual_dirty,
|
||||
bool copy_stroke_destination);
|
||||
|
||||
public:
|
||||
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