Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
Loading...
Searching...
No Matches
impeller::testing::VulkanScreenshotter Class Reference

#include <vulkan_screenshotter.h>

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

Public Member Functions

 VulkanScreenshotter ()
 
std::unique_ptr< ScreenshotMakeScreenshot (const AiksContext &aiks_context, const std::shared_ptr< Texture > &texture) override
 
- Public Member Functions inherited from impeller::testing::Screenshotter
virtual ~Screenshotter ()=default
 

Static Public Member Functions

static std::unique_ptr< ScreenshotMakeScreenshot (const std::shared_ptr< Context > &context, const std::shared_ptr< Texture > &texture)
 
- Static Public Member Functions inherited from impeller::testing::Screenshotter
static std::unique_ptr< ScreenshotMakeScreenshot (std::shared_ptr< Context > &context, const std::shared_ptr< Texture > &texture)
 

Detailed Description

Converts Pictures and DisplayLists to MetalScreenshots with the playground backend.

Definition at line 15 of file vulkan_screenshotter.h.

Constructor & Destructor Documentation

◆ VulkanScreenshotter()

impeller::testing::VulkanScreenshotter::VulkanScreenshotter ( )
explicit

Definition at line 83 of file vulkan_screenshotter.mm.

83{}

Member Function Documentation

◆ MakeScreenshot() [1/2]

std::unique_ptr< Screenshot > impeller::testing::VulkanScreenshotter::MakeScreenshot ( const AiksContext aiks_context,
const std::shared_ptr< Texture > &  texture 
)
overridevirtual

Implements impeller::testing::Screenshotter.

Definition at line 103 of file vulkan_screenshotter.mm.

105 {
106 return ReadTexture(aiks_context.GetContext(), texture);
107}
FlTexture * texture

References impeller::AiksContext::GetContext(), and texture.

◆ MakeScreenshot() [2/2]

std::unique_ptr< Screenshot > impeller::testing::VulkanScreenshotter::MakeScreenshot ( const std::shared_ptr< Context > &  context,
const std::shared_ptr< Texture > &  texture 
)
static

Definition at line 85 of file vulkan_screenshotter.mm.

87 {
88 return ReadTexture(context, texture);
89}
std::shared_ptr< ContextGLES > context

References context, and texture.

Referenced by impeller::testing::VulkanGoldenScreenshotter::MakeScreenshot().


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