#include <golden_playground_test.h>
Definition at line 22 of file golden_playground_test.h.
◆ AiksPlaygroundCallback
◆ GoldenPlaygroundTest()
| impeller::GoldenPlaygroundTest::GoldenPlaygroundTest |
( |
| ) |
|
|
default |
◆ ~GoldenPlaygroundTest()
| impeller::GoldenPlaygroundTest::~GoldenPlaygroundTest |
( |
| ) |
|
|
overridedefault |
◆ CreateTextureForFixture()
| std::shared_ptr< Texture > impeller::GoldenPlaygroundTest::CreateTextureForFixture |
( |
const char * |
fixture_name, |
|
|
bool |
enable_mipmapping = false |
|
) |
| const |
◆ GetBackend()
◆ GetContentScale()
| Point impeller::GoldenPlaygroundTest::GetContentScale |
( |
| ) |
const |
◆ GetContext()
| std::shared_ptr< Context > impeller::GoldenPlaygroundTest::GetContext |
( |
| ) |
const |
◆ GetSecondsElapsed()
| Scalar impeller::GoldenPlaygroundTest::GetSecondsElapsed |
( |
| ) |
const |
◆ GetWindowSize()
| ISize impeller::GoldenPlaygroundTest::GetWindowSize |
( |
| ) |
const |
◆ OpenAssetAsRuntimeStage()
| std::shared_ptr< RuntimeStage > impeller::GoldenPlaygroundTest::OpenAssetAsRuntimeStage |
( |
const char * |
asset_name | ) |
const |
Definition at line 167 of file golden_playground_test_mac.cc.
169 auto fixture = flutter::testing::OpenFixtureAsMapping(asset_name);
170 if (!fixture || fixture->GetSize() == 0) {
173 auto stage = std::make_unique<RuntimeStage>(std::move(fixture));
174 if (!stage->IsValid()) {
◆ OpenPlaygroundHere() [1/2]
◆ OpenPlaygroundHere() [2/2]
| bool impeller::GoldenPlaygroundTest::OpenPlaygroundHere |
( |
Picture |
picture | ) |
|
Definition at line 140 of file golden_playground_test_mac.cc.
141 AiksContext renderer(
GetContext(), typographer_context_);
143 auto screenshot = pimpl_->screenshoter->MakeScreenshot(renderer, picture,
144 pimpl_->window_size);
145 return SaveScreenshot(std::move(screenshot));
References GetContext().
◆ SetTypographerContext()
| void impeller::GoldenPlaygroundTest::SetTypographerContext |
( |
std::shared_ptr< TypographerContext > |
typographer_context | ) |
|
◆ SetUp()
| void impeller::GoldenPlaygroundTest::SetUp |
( |
| ) |
|
◆ TearDown()
| void impeller::GoldenPlaygroundTest::TearDown |
( |
| ) |
|
The documentation for this class was generated from the following files: