Flutter Engine
The Flutter Engine
dl_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_DISPLAY_LIST_DL_PLAYGROUND_H_
6#define FLUTTER_IMPELLER_DISPLAY_LIST_DL_PLAYGROUND_H_
7
8#include "flutter/display_list/display_list.h"
9#include "flutter/display_list/dl_builder.h"
12
13namespace impeller {
14
16 public:
18 std::function<sk_sp<flutter::DisplayList>()>;
19
21
23
25
27
29
31
33
35 const char* fixture_name,
36 bool enable_mipmapping = false) const;
37
38 private:
39 DlPlayground(const DlPlayground&) = delete;
40
41 DlPlayground& operator=(const DlPlayground&) = delete;
42};
43
44} // namespace impeller
45
46#endif // FLUTTER_IMPELLER_DISPLAY_LIST_DL_PLAYGROUND_H_
Definition: SkFont.h:35
bool OpenPlaygroundHere(flutter::DisplayListBuilder &builder)
SkFont CreateTestFontOfSize(SkScalar scalar)
sk_sp< flutter::DlImage > CreateDlImageForFixture(const char *fixture_name, bool enable_mipmapping=false) const
std::function< sk_sp< flutter::DisplayList >()> DisplayListPlaygroundCallback
Definition: dl_playground.h:18
float SkScalar
Definition: extension.cpp:12
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback