Definition at line 55 of file dl_test_surface_metal.mm.
◆ DlMetalPixelData()
Definition at line 57 of file dl_test_surface_metal.mm.
58 : screenshot_(std::move(screenshot)),
59 addr_(reinterpret_cast<const uint32_t*>(screenshot_->GetBytes())),
60 ints_per_row_(screenshot_->GetBytesPerRow() / 4) {
61 FML_DCHECK(screenshot_->GetBytesPerRow() == ints_per_row_ * 4);
62 }
#define FML_DCHECK(condition)
References FML_DCHECK.
◆ ~DlMetalPixelData()
| flutter::testing::DlMetalPixelData::~DlMetalPixelData |
( |
| ) |
|
|
overridedefault |
◆ addr32()
| const uint32_t * flutter::testing::DlMetalPixelData::addr32 |
( |
int |
x, |
|
|
int |
y |
|
) |
| const |
|
inlineoverridevirtual |
◆ height()
| size_t flutter::testing::DlMetalPixelData::height |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ width()
| size_t flutter::testing::DlMetalPixelData::width |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ write()
| void flutter::testing::DlMetalPixelData::write |
( |
const std::string & |
path | ) |
const |
|
inlineoverridevirtual |
Implements flutter::testing::DlPixelData.
Definition at line 68 of file dl_test_surface_metal.mm.
68{ screenshot_->WriteToPNG(
path); }
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
References flutter::path.
The documentation for this class was generated from the following file: