#include <compute_playground_test.h>
Definition at line 17 of file compute_playground_test.h.
◆ ComputePlaygroundTest()
impeller::ComputePlaygroundTest::ComputePlaygroundTest |
( |
| ) |
|
Definition at line 12 of file compute_playground_test.cc.
Playground(PlaygroundSwitches switches)
const fml::CommandLine & GetArgsForProcess()
◆ ~ComputePlaygroundTest()
impeller::ComputePlaygroundTest::~ComputePlaygroundTest |
( |
| ) |
|
|
virtualdefault |
◆ CreateHostVisibleDeviceBuffer()
std::shared_ptr< DeviceBuffer > impeller::ComputePlaygroundTest::CreateHostVisibleDeviceBuffer |
( |
const std::shared_ptr< Context > & |
context, |
|
|
const std::string & |
label |
|
) |
| |
|
inline |
Definition at line 37 of file compute_playground_test.h.
39 {
40 DeviceBufferDescriptor
desc;
42 desc.size =
sizeof(
T);
43 auto buffer = context->GetResourceAllocator()->CreateBuffer(
desc);
46 }
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir Path to the cache directory This is different from the persistent_cache_path in embedder which is used for Skia shader cache icu native lib Path to the library file that exports the ICU data vm service The hostname IP address on which the Dart VM Service should be served If not defaults to or::depending on whether ipv6 is specified vm service A custom Dart VM Service port The default is to pick a randomly available open port disable vm Disable the Dart VM Service The Dart VM Service is never available in release mode disable vm service Disable mDNS Dart VM Service publication Bind to the IPv6 localhost address for the Dart VM Service Ignored if vm service host is set endless trace buffer
◆ GetWindowTitle()
std::string impeller::ComputePlaygroundTest::GetWindowTitle |
( |
| ) |
const |
|
overridevirtual |
Implements impeller::Playground.
Definition at line 51 of file compute_playground_test.cc.
51 {
53}
std::string GetCurrentTestName()
Gets the name of the currently running test. This is useful in generating logs or assets based on tes...
static std::string FormatWindowTitle(const std::string &test_name)
◆ OpenAssetAsMapping()
std::unique_ptr< fml::Mapping > impeller::ComputePlaygroundTest::OpenAssetAsMapping |
( |
std::string |
asset_name | ) |
const |
|
overridevirtual |
Implements impeller::Playground.
Definition at line 39 of file compute_playground_test.cc.
40 {
42}
std::unique_ptr< fml::Mapping > OpenFixtureAsMapping(const std::string &fixture_name)
Opens a fixture of the given file name and returns a mapping to its contents.
◆ SetUp()
void impeller::ComputePlaygroundTest::SetUp |
( |
| ) |
|
|
override |
Definition at line 17 of file compute_playground_test.cc.
17 {
19 GTEST_SKIP_("Playground doesn't support this backend type.");
20 return;
21 }
22
24 GTEST_SKIP_("Skipping due to user action.");
25 return;
26 }
27
30
32}
TimeDelta ToEpochDelta() const
static bool ShouldOpenNewPlaygrounds()
void SetupContext(PlaygroundBackend backend, const PlaygroundSwitches &switches)
const PlaygroundSwitches switches_
static bool SupportsBackend(PlaygroundBackend backend)
◆ TearDown()
void impeller::ComputePlaygroundTest::TearDown |
( |
| ) |
|
|
override |
The documentation for this class was generated from the following files: