Flutter Engine
The Flutter Engine
|
#include <vulkan_screenshotter.h>
Public Member Functions | |
VulkanScreenshotter (const std::unique_ptr< PlaygroundImpl > &playground) | |
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 vulkan_screenshotter.h.
|
explicit |
Definition at line 103 of file vulkan_screenshotter.mm.
|
inlineoverridevirtual |
Implements impeller::testing::Screenshotter.
Definition at line 29 of file vulkan_screenshotter.h.
|
overridevirtual |
Implements impeller::testing::Screenshotter.
Definition at line 109 of file vulkan_screenshotter.mm.