Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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
30bool GoldenPlaygroundTest::OpenPlaygroundHere(Picture picture) {
31 return false;
32}
33
35 AiksPlaygroundCallback
36 callback) { // NOLINT(performance-unnecessary-value-param)
37 return false;
38}
39
41 const char* fixture_name,
42 bool enable_mipmapping) const {
43 return nullptr;
44}
46 const char* asset_name) const {
47 return {};
48}
49
50std::shared_ptr<Context> GoldenPlaygroundTest::GetContext() const {
51 return nullptr;
52}
53
55 return Point();
56}
57
59 return Scalar();
60}
61
63 return ISize();
64}
65
67
69 const std::shared_ptr<Capabilities>& capabilities) {
70 return fml::Status(
72 "GoldenPlaygroundTest-Stub doesn't support SetCapabilities.");
73}
74
75} // namespace impeller
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
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
float Scalar
Definition scalar.h:18
TPoint< Scalar > Point
Definition point.h:316
TSize< int64_t > ISize
Definition size.h:138
PlaygroundBackend
Definition playground.h:29