5#ifndef FLUTTER_IMPELLER_GOLDEN_TESTS_METAL_SCREENSHOT_H_
6#define FLUTTER_IMPELLER_GOLDEN_TESTS_METAL_SCREENSHOT_H_
8#include "flutter/impeller/golden_tests/screenshot.h"
10#include <CoreFoundation/CoreFoundation.h>
11#include <CoreImage/CoreImage.h>
14#include "flutter/fml/macros.h"
26 const uint8_t*
GetBytes()
const override;
34 bool WriteToPNG(
const std::string& path)
const override;
41 CFDataRef pixel_data_;