#include <compute_playground_test.h>
Definition at line 19 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 39 of file compute_playground_test.h.
41 {
42 DeviceBufferDescriptor
desc;
44 desc.size =
sizeof(
T);
45 auto buffer = context->GetResourceAllocator()->CreateBuffer(desc);
48 }
static const uint8_t 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: