Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
impeller::testing::GoldenTests Class Reference
Inheritance diagram for impeller::testing::GoldenTests:

Public Member Functions

 GoldenTests ()
 
MetalScreenshotterScreenshotter ()
 
void SetUp () override
 

Detailed Description

Definition at line 51 of file golden_tests.cc.

Constructor & Destructor Documentation

◆ GoldenTests()

impeller::testing::GoldenTests::GoldenTests ( )
inline

Definition at line 53 of file golden_tests.cc.

54 : screenshotter_(new MetalScreenshotter(/*enable_wide_gamut=*/false)) {}
impeller::testing::MetalScreenshotter MetalScreenshotter

Member Function Documentation

◆ Screenshotter()

MetalScreenshotter & impeller::testing::GoldenTests::Screenshotter ( )
inline

Definition at line 56 of file golden_tests.cc.

56{ return *screenshotter_; }

◆ SetUp()

void impeller::testing::GoldenTests::SetUp ( )
inlineoverride

Definition at line 58 of file golden_tests.cc.

58 {
60 "gpu_string",
61 Screenshotter().GetPlayground().GetContext()->DescribeGpuModel());
62 }
static GoldenDigest * Instance()
void AddDimension(const std::string &name, const std::string &value)
MetalScreenshotter & Screenshotter()
SK_API GrDirectContext * GetContext(const SkImage *src)

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