Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
impeller::testing::Screenshotter Class Referenceabstract

#include <screenshotter.h>

Inheritance diagram for impeller::testing::Screenshotter:
impeller::testing::MetalScreenshotter impeller::testing::VulkanScreenshotter

Public Member Functions

virtual ~Screenshotter ()=default
 
virtual std::unique_ptr< ScreenshotMakeScreenshot (AiksContext &aiks_context, const Picture &picture, const ISize &size={300, 300}, bool scale_content=true)=0
 
virtual PlaygroundImplGetPlayground ()=0
 

Detailed Description

Converts Pictures and DisplayLists to MetalScreenshots with the playground backend.

Definition at line 17 of file screenshotter.h.

Constructor & Destructor Documentation

◆ ~Screenshotter()

virtual impeller::testing::Screenshotter::~Screenshotter ( )
virtualdefault

Member Function Documentation

◆ GetPlayground()

virtual PlaygroundImpl & impeller::testing::Screenshotter::GetPlayground ( )
pure virtual

◆ MakeScreenshot()

virtual std::unique_ptr< Screenshot > impeller::testing::Screenshotter::MakeScreenshot ( AiksContext aiks_context,
const Picture picture,
const ISize size = {300, 300},
bool  scale_content = true 
)
pure virtual

The documentation for this class was generated from the following file: