Flutter Engine
The Flutter Engine
|
#include <metal_screenshotter.h>
Public Member Functions | |
MetalScreenshotter (bool enable_wide_gamut) | |
std::unique_ptr< Screenshot > | MakeScreenshot (AiksContext &aiks_context, const Picture &picture, const ISize &size={300, 300}, bool scale_content=true) override |
PlaygroundImpl & | GetPlayground () override |
Public Member Functions inherited from impeller::testing::Screenshotter | |
virtual | ~Screenshotter ()=default |
virtual std::unique_ptr< Screenshot > | MakeScreenshot (AiksContext &aiks_context, const Picture &picture, const ISize &size={300, 300}, bool scale_content=true)=0 |
virtual PlaygroundImpl & | GetPlayground ()=0 |
Converts Picture
s and DisplayList
s to MetalScreenshot
s with the playground backend.
Definition at line 18 of file metal_screenshotter.h.
|
explicit |
Definition at line 16 of file metal_screenshotter.mm.
|
inlineoverridevirtual |
Implements impeller::testing::Screenshotter.
Definition at line 28 of file metal_screenshotter.h.
|
overridevirtual |
Implements impeller::testing::Screenshotter.
Definition at line 23 of file metal_screenshotter.mm.