Flutter Engine
The Flutter Engine
aiks_playground.h
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef FLUTTER_IMPELLER_AIKS_AIKS_PLAYGROUND_H_
6#define FLUTTER_IMPELLER_AIKS_AIKS_PLAYGROUND_H_
7
8#include "flutter/display_list/display_list.h"
13#include "third_party/imgui/imgui.h"
14
15namespace impeller {
16
18 public:
20 std::function<std::optional<Picture>(AiksContext& renderer)>;
21
22 using AiksDlPlaygroundCallback = std::function<sk_sp<flutter::DisplayList>()>;
23
25
27
28 void TearDown() override;
29
31 std::shared_ptr<TypographerContext> typographer_context);
32
34
36
38
40
41 static bool ImGuiBegin(const char* name,
42 bool* p_open,
43 ImGuiWindowFlags flags);
44
45 private:
46 std::shared_ptr<TypographerContext> typographer_context_;
47
48 AiksPlayground(const AiksPlayground&) = delete;
49
50 AiksPlayground& operator=(const AiksPlayground&) = delete;
51};
52
53} // namespace impeller
54
55#endif // FLUTTER_IMPELLER_AIKS_AIKS_PLAYGROUND_H_
std::function< sk_sp< flutter::DisplayList >()> AiksDlPlaygroundCallback
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
FlutterSemanticsFlag flags
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
sk_sp< const SkPicture > picture
Definition: SkRecords.h:299
DEF_SWITCHES_START aot vmservice shared library name
Definition: switches.h:32