Flutter Impeller
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 
6 
8 
9 namespace 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 
30 bool GoldenPlaygroundTest::OpenPlaygroundHere(Picture picture) {
31  return false;
32 }
33 
35  AiksPlaygroundCallback
36  callback) { // NOLINT(performance-unnecessary-value-param)
37  return false;
38 }
39 
40 std::shared_ptr<Texture> GoldenPlaygroundTest::CreateTextureForFixture(
41  const char* fixture_name,
42  bool enable_mipmapping) const {
43  return nullptr;
44 }
45 
46 std::shared_ptr<RuntimeStage> GoldenPlaygroundTest::OpenAssetAsRuntimeStage(
47  const char* asset_name) const {
48  return nullptr;
49 }
50 
51 std::shared_ptr<Context> GoldenPlaygroundTest::GetContext() const {
52  return nullptr;
53 }
54 
56  return Point();
57 }
58 
60  return Scalar();
61 }
62 
64  return ISize();
65 }
66 
67 } // namespace impeller
impeller::GoldenPlaygroundTest::GetContentScale
Point GetContentScale() const
Definition: golden_playground_test_mac.cc:184
impeller::Scalar
float Scalar
Definition: scalar.h:15
impeller::PlaygroundBackend
PlaygroundBackend
Definition: playground.h:25
impeller::GoldenPlaygroundTest::OpenPlaygroundHere
bool OpenPlaygroundHere(Picture picture)
Definition: golden_playground_test_mac.cc:140
picture.h
impeller::GoldenPlaygroundTest::GetContext
std::shared_ptr< Context > GetContext() const
Definition: golden_playground_test_mac.cc:180
impeller::GoldenPlaygroundTest::~GoldenPlaygroundTest
~GoldenPlaygroundTest() override
impeller::GoldenPlaygroundTest::SetTypographerContext
void SetTypographerContext(std::shared_ptr< TypographerContext > typographer_context)
Definition: golden_playground_test_mac.cc:99
impeller::GoldenPlaygroundTest::GoldenPlaygroundTest
GoldenPlaygroundTest()
Definition: golden_playground_test_mac.cc:93
impeller::Point
TPoint< Scalar > Point
Definition: point.h:306
impeller::GoldenPlaygroundTest::GetBackend
PlaygroundBackend GetBackend() const
Definition: golden_playground_test_mac.cc:136
impeller::GoldenPlaygroundTest::SetUp
void SetUp()
Definition: golden_playground_test_mac.cc:108
impeller::GoldenPlaygroundTest::OpenAssetAsRuntimeStage
std::shared_ptr< RuntimeStage > OpenAssetAsRuntimeStage(const char *asset_name) const
Definition: golden_playground_test_mac.cc:167
impeller::GoldenPlaygroundTest::CreateTextureForFixture
std::shared_ptr< Texture > CreateTextureForFixture(const char *fixture_name, bool enable_mipmapping=false) const
Definition: golden_playground_test_mac.cc:154
golden_playground_test.h
impeller::ISize
TSize< int64_t > ISize
Definition: size.h:136
impeller::GoldenPlaygroundTest::GetSecondsElapsed
Scalar GetSecondsElapsed() const
Definition: golden_playground_test_mac.cc:188
impeller::GoldenPlaygroundTest::TearDown
void TearDown()
Definition: golden_playground_test_mac.cc:104
impeller
Definition: aiks_context.cc:10
impeller::GoldenPlaygroundTest::GetWindowSize
ISize GetWindowSize() const
Definition: golden_playground_test_mac.cc:192