Flutter Engine
The Flutter Engine
|
#include <golden_playground_test.h>
Classes | |
struct | GoldenPlaygroundTestImpl |
Public Types | |
using | AiksPlaygroundCallback = std::function< std::optional< Picture >(AiksContext &renderer)> |
using | AiksDlPlaygroundCallback = std::function< sk_sp< flutter::DisplayList >()> |
Static Public Member Functions | |
static bool | ImGuiBegin (const char *name, bool *p_open, ImGuiWindowFlags flags) |
Protected Member Functions | |
void | SetWindowSize (ISize size) |
Definition at line 25 of file golden_playground_test.h.
using impeller::GoldenPlaygroundTest::AiksDlPlaygroundCallback = std::function<sk_sp<flutter::DisplayList>()> |
Definition at line 31 of file golden_playground_test.h.
using impeller::GoldenPlaygroundTest::AiksPlaygroundCallback = std::function<std::optional<Picture>(AiksContext& renderer)> |
Definition at line 28 of file golden_playground_test.h.
|
default |
Definition at line 119 of file golden_playground_test_mac.cc.
|
overridedefault |
sk_sp< flutter::DlImage > impeller::GoldenPlaygroundTest::CreateDlImageForFixture | ( | const char * | fixture_name, |
bool | enable_mipmapping = false |
||
) | const |
Definition at line 278 of file golden_playground_test_mac.cc.
std::shared_ptr< Texture > impeller::GoldenPlaygroundTest::CreateTextureForFixture | ( | const char * | fixture_name, |
bool | enable_mipmapping = false |
||
) | const |
Definition at line 265 of file golden_playground_test_mac.cc.
PlaygroundBackend impeller::GoldenPlaygroundTest::GetBackend | ( | ) | const |
Definition at line 201 of file golden_playground_test_mac.cc.
Point impeller::GoldenPlaygroundTest::GetContentScale | ( | ) | const |
Definition at line 319 of file golden_playground_test_mac.cc.
std::shared_ptr< Context > impeller::GoldenPlaygroundTest::GetContext | ( | ) | const |
Definition at line 296 of file golden_playground_test_mac.cc.
Scalar impeller::GoldenPlaygroundTest::GetSecondsElapsed | ( | ) | const |
Definition at line 323 of file golden_playground_test_mac.cc.
ISize impeller::GoldenPlaygroundTest::GetWindowSize | ( | ) | const |
Definition at line 327 of file golden_playground_test_mac.cc.
|
static |
Definition at line 259 of file golden_playground_test_mac.cc.
std::shared_ptr< Context > impeller::GoldenPlaygroundTest::MakeContext | ( | ) | const |
On Metal we create a context for each test.
On OpenGL we create a context for each test.
Definition at line 300 of file golden_playground_test_mac.cc.
RuntimeStage::Map impeller::GoldenPlaygroundTest::OpenAssetAsRuntimeStage | ( | const char * | asset_name | ) | const |
Definition at line 286 of file golden_playground_test_mac.cc.
bool impeller::GoldenPlaygroundTest::OpenPlaygroundHere | ( | AiksPlaygroundCallback | callback | ) |
Definition at line 232 of file golden_playground_test_mac.cc.
bool impeller::GoldenPlaygroundTest::OpenPlaygroundHere | ( | const AiksDlPlaygroundCallback & | callback | ) |
Definition at line 213 of file golden_playground_test_mac.cc.
bool impeller::GoldenPlaygroundTest::OpenPlaygroundHere | ( | const sk_sp< flutter::DisplayList > & | list | ) |
Definition at line 251 of file golden_playground_test_mac.cc.
bool impeller::GoldenPlaygroundTest::OpenPlaygroundHere | ( | Picture | picture | ) |
Definition at line 205 of file golden_playground_test_mac.cc.
fml::Status impeller::GoldenPlaygroundTest::SetCapabilities | ( | const std::shared_ptr< Capabilities > & | capabilities | ) |
Definition at line 335 of file golden_playground_test_mac.cc.
void impeller::GoldenPlaygroundTest::SetTypographerContext | ( | std::shared_ptr< TypographerContext > | typographer_context | ) |
Definition at line 125 of file golden_playground_test_mac.cc.
void impeller::GoldenPlaygroundTest::SetUp | ( | ) |
Definition at line 144 of file golden_playground_test_mac.cc.
|
protected |
Definition at line 83 of file golden_playground_test_stub.cc.
void impeller::GoldenPlaygroundTest::TearDown | ( | ) |
Definition at line 130 of file golden_playground_test_mac.cc.
|
inline |
TODO(https://github.com/flutter/flutter/issues/139950): Remove this. Returns true if OpenPlaygroundHere
will actually render anything.
Definition at line 83 of file golden_playground_test.h.