#include <pulp/canvas/canvas.hpp>#include <cstddef>#include <functional>#include <memory>#include <string>Go to the source code of this file.
Classes | |
| struct | pulp::render::SkpCaptureResult |
| Outcome of a .skp capture attempt. More... | |
| class | pulp::render::SkpFrameCapture |
| Records a single frame's draw ops into an SkPicture and serializes it to a .skp artifact. More... | |
Namespaces | |
| namespace | skgpu |
| namespace | skgpu::graphite |
| namespace | pulp |
| namespace | pulp::render |
Functions | |
| SkpCaptureResult | pulp::render::capture_skp_to_file (int width, int height, const std::string &path, const std::function< void(canvas::Canvas &)> &paint, skgpu::graphite::Context *graphite_context=nullptr) |
| One-shot helper: capture a frame by handing a paint callback the capture canvas, then writing the .skp to path. | |
| bool | pulp::render::skp_capture_supported () |
| true when this build can produce .skp captures (Skia compiled in). | |
| SkpCaptureResult | pulp::render::maybe_capture_skp_from_env (int width, int height, const std::function< void(canvas::Canvas &)> &paint, skgpu::graphite::Context *graphite_context=nullptr) |
| Env-var-triggered one-shot .skp capture. | |