Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
DeviceTestingAccess Class Reference

Static Public Member Functions

static sk_sp< SkSpecialImageMakeSpecial (SkDevice *dev, const SkBitmap &bm)
 
static sk_sp< SkSpecialImageMakeSpecial (SkDevice *dev, SkImage *img)
 
static sk_sp< SkSpecialImageSnapSpecial (SkDevice *dev)
 

Detailed Description

Definition at line 29 of file DeviceTest.cpp.

Member Function Documentation

◆ MakeSpecial() [1/2]

static sk_sp< SkSpecialImage > DeviceTestingAccess::MakeSpecial ( SkDevice dev,
const SkBitmap bm 
)
inlinestatic

Definition at line 31 of file DeviceTest.cpp.

31 {
32 return dev->makeSpecial(bm);
33 }
virtual sk_sp< SkSpecialImage > makeSpecial(const SkBitmap &)
Definition: SkDevice.cpp:313

◆ MakeSpecial() [2/2]

static sk_sp< SkSpecialImage > DeviceTestingAccess::MakeSpecial ( SkDevice dev,
SkImage img 
)
inlinestatic

Definition at line 35 of file DeviceTest.cpp.

35 {
36 return dev->makeSpecial(img);
37 }

◆ SnapSpecial()

static sk_sp< SkSpecialImage > DeviceTestingAccess::SnapSpecial ( SkDevice dev)
inlinestatic

Definition at line 39 of file DeviceTest.cpp.

39 {
40 return dev->snapSpecial();
41 }
virtual sk_sp< SkSpecialImage > snapSpecial(const SkIRect &subset, bool forceCopy=false)
Definition: SkDevice.cpp:315

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