21 std::shared_ptr<TypographerContext> typographer_context) {
22 typographer_context_ = std::move(typographer_context);
32 return std::move(picture);
43 if (!renderer.IsValid()) {
50 renderer, [&]() {
return callback(renderer); });
52 if (!picture.has_value()) {
55 return renderer.Render(*picture, render_target,
true);
61 ImGuiWindowFlags
flags) {
static std::unique_ptr< SkEncoder > Make(SkWStream *dst, const SkPixmap *src, const SkYUVAPixmaps *srcYUVA, const SkColorSpace *srcYUVAColorSpace, const SkJpegEncoder::Options &options)
void HackResetDueToTextureLeaks()
const std::optional< Picture > & RenderInspector(AiksContext &aiks_context, const std::function< std::optional< Picture >()> &picture_callback)
void SetTypographerContext(std::shared_ptr< TypographerContext > typographer_context)
bool OpenPlaygroundHere(Picture picture)
static bool ImGuiBegin(const char *name, bool *p_open, ImGuiWindowFlags flags)
std::function< std::optional< Picture >(AiksContext &renderer)> AiksPlaygroundCallback
const PlaygroundSwitches switches_
std::shared_ptr< Context > GetContext() const
bool OpenPlaygroundHere(const Renderer::RenderCallback &render_callback)
FlutterSemanticsFlag flags
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback