Definition at line 60 of file dl_test_surface_metal.cc.
◆ DlMetalPixelData()
Definition at line 62 of file dl_test_surface_metal.cc.
64 : screenshot_(std::move(screenshot)),
65 addr_(reinterpret_cast<const uint32_t*>(screenshot_->GetBytes())),
66 ints_per_row_(screenshot_->GetBytesPerRow() / 4) {
67 FML_DCHECK(screenshot_->GetBytesPerRow() == ints_per_row_ * 4);
68 }
#define FML_DCHECK(condition)
◆ ~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 76 of file dl_test_surface_metal.cc.
76 {
77 screenshot_->WriteToPNG(
path);
78 }
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
The documentation for this class was generated from the following file: