| Flutter Impeller |

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

`#include <screenshotter.h>`

Inheritance diagram for impeller::testing::Screenshotter:

## Public Member Functions
virtual | ~Screenshotter ()=default
virtual std::unique_ptr< Screenshot > | MakeScreenshot (AiksContext &aiks_context, const std::shared_ptr< Texture > texture)=0
virtual PlaygroundImpl & | GetPlayground ()=0

## Detailed Description

Converts `Picture`s and `DisplayList`s to `MetalScreenshot`s with the playground backend.

Definition at line 17 of file screenshotter.h.

## Constructor & Destructor Documentation

## ◆ ~Screenshotter()

virtual impeller::testing::Screenshotter::~Screenshotter | ( |  | ) |
| virtual default

## Member Function Documentation

## ◆ GetPlayground()

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

Implemented in impeller::testing::MetalScreenshotter, and impeller::testing::VulkanScreenshotter.

## ◆ MakeScreenshot()

virtual std::unique_ptr<Screenshot> impeller::testing::Screenshotter::MakeScreenshot | ( | AiksContext & | aiks_context,
|  | const std::shared_ptr< Texture > | texture
| ) |  |
| pure virtual

Implemented in impeller::testing::MetalScreenshotter, and impeller::testing::VulkanScreenshotter.

Referenced by impeller::testing::TEST_F().

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

- impeller/golden_tests/screenshotter.h