Flutter Engine
The Flutter Engine
golden_playground_test_stub.cc
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#include "flutter/impeller/golden_tests/golden_playground_test.h"
6
8
9namespace impeller {
10
12
14
16 std::shared_ptr<TypographerContext> typographer_context) {
17 typographer_context_ = std::move(typographer_context);
18};
19
21
23 GTEST_SKIP_("GoldenPlaygroundTest doesn't support this backend type.");
24}
25
27 return GetParam();
28}
29
31 return false;
32}
33
35 AiksPlaygroundCallback
36 callback) { // NOLINT(performance-unnecessary-value-param)
37 return false;
38}
39
41 const AiksDlPlaygroundCallback& callback) {
42 return false;
43}
44
46 const sk_sp<flutter::DisplayList>& list) {
47 return false;
48}
49
51 const char* fixture_name,
52 bool enable_mipmapping) const {
53 return nullptr;
54}
55
57 const char* fixture_name,
58 bool enable_mipmapping) const {
59 return nullptr;
60}
61
63 const char* asset_name) const {
64 return {};
65}
66
67std::shared_ptr<Context> GoldenPlaygroundTest::GetContext() const {
68 return nullptr;
69}
70
72 return Point();
73}
74
76 return Scalar();
77}
78
80 return ISize();
81}
82
84
86 const std::shared_ptr<Capabilities>& capabilities) {
87 return fml::Status(
89 "GoldenPlaygroundTest-Stub doesn't support SetCapabilities.");
90}
91
92} // namespace impeller
sk_sp< flutter::DlImage > CreateDlImageForFixture(const char *fixture_name, bool enable_mipmapping=false) const
fml::Status SetCapabilities(const std::shared_ptr< Capabilities > &capabilities)
void SetTypographerContext(std::shared_ptr< TypographerContext > typographer_context)
RuntimeStage::Map OpenAssetAsRuntimeStage(const char *asset_name) const
std::shared_ptr< Context > GetContext() const
std::shared_ptr< Texture > CreateTextureForFixture(const char *fixture_name, bool enable_mipmapping=false) const
std::map< RuntimeStageBackend, std::shared_ptr< RuntimeStage > > Map
Definition: runtime_stage.h:24
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
sk_sp< const SkPicture > picture
Definition: SkRecords.h:299
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
Definition: switches.h:259
float Scalar
Definition: scalar.h:18
TPoint< Scalar > Point
Definition: point.h:322
PlaygroundBackend
Definition: playground.h:27
ISize64 ISize
Definition: size.h:140
SK_API sk_sp< PrecompileShader > Picture()
Task::Status Status
Definition: TaskList.cpp:15