Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
flutter::testing::CaseParameters Class Reference

Public Member Functions

 CaseParameters (std::string info)
 
 CaseParameters (std::string info, SkSetup &sk_setup, DlSetup &dl_setup)
 
 CaseParameters (std::string info, SkSetup &sk_setup, DlSetup &dl_setup, SkRenderer &sk_restore, DlRenderer &dl_restore, DlColor bg, bool has_diff_clip, bool has_mutating_save_layer, bool fuzzy_compare_components)
 
CaseParameters with_restore (SkRenderer &sk_restore, DlRenderer &dl_restore, bool mutating_layer, bool fuzzy_compare_components=false)
 
CaseParameters with_bg (DlColor bg)
 
CaseParameters with_diff_clip ()
 
std::string info () const
 
DlColor bg () const
 
bool has_diff_clip () const
 
bool has_mutating_save_layer () const
 
bool fuzzy_compare_components () const
 
SkSetup sk_setup () const
 
DlSetup dl_setup () const
 
SkRenderer sk_restore () const
 
DlRenderer dl_restore () const
 

Detailed Description

Definition at line 746 of file dl_rendering_unittests.cc.

Constructor & Destructor Documentation

◆ CaseParameters() [1/3]

flutter::testing::CaseParameters::CaseParameters ( std::string  info)
inlineexplicit

Definition at line 748 of file dl_rendering_unittests.cc.

◆ CaseParameters() [2/3]

flutter::testing::CaseParameters::CaseParameters ( std::string  info,
SkSetup sk_setup,
DlSetup dl_setup 
)
inline

Definition at line 751 of file dl_rendering_unittests.cc.

752 : CaseParameters(std::move(info),
753 sk_setup,
754 dl_setup,
758 false,
759 false,
760 false) {}
constexpr SkColor SK_ColorTRANSPARENT
Definition: SkColor.h:99
static const SkRenderer kEmptySkRenderer
static const DlRenderer kEmptyDlRenderer
flutter::DlColor DlColor

◆ CaseParameters() [3/3]

flutter::testing::CaseParameters::CaseParameters ( std::string  info,
SkSetup sk_setup,
DlSetup dl_setup,
SkRenderer sk_restore,
DlRenderer dl_restore,
DlColor  bg,
bool  has_diff_clip,
bool  has_mutating_save_layer,
bool  fuzzy_compare_components 
)
inline

Definition at line 762 of file dl_rendering_unittests.cc.

771 : info_(std::move(info)),
772 bg_(bg),
773 sk_setup_(sk_setup),
774 dl_setup_(dl_setup),
775 sk_restore_(sk_restore),
776 dl_restore_(dl_restore),
777 has_diff_clip_(has_diff_clip),
778 has_mutating_save_layer_(has_mutating_save_layer),
779 fuzzy_compare_components_(fuzzy_compare_components) {}

Member Function Documentation

◆ bg()

DlColor flutter::testing::CaseParameters::bg ( ) const
inline

Definition at line 803 of file dl_rendering_unittests.cc.

803{ return bg_; }

◆ dl_restore()

DlRenderer flutter::testing::CaseParameters::dl_restore ( ) const
inline

Definition at line 811 of file dl_rendering_unittests.cc.

811{ return dl_restore_; }

◆ dl_setup()

DlSetup flutter::testing::CaseParameters::dl_setup ( ) const
inline

Definition at line 809 of file dl_rendering_unittests.cc.

809{ return dl_setup_; }

◆ fuzzy_compare_components()

bool flutter::testing::CaseParameters::fuzzy_compare_components ( ) const
inline

Definition at line 806 of file dl_rendering_unittests.cc.

806{ return fuzzy_compare_components_; }

◆ has_diff_clip()

bool flutter::testing::CaseParameters::has_diff_clip ( ) const
inline

Definition at line 804 of file dl_rendering_unittests.cc.

804{ return has_diff_clip_; }

◆ has_mutating_save_layer()

bool flutter::testing::CaseParameters::has_mutating_save_layer ( ) const
inline

Definition at line 805 of file dl_rendering_unittests.cc.

805{ return has_mutating_save_layer_; }

◆ info()

std::string flutter::testing::CaseParameters::info ( ) const
inline

Definition at line 802 of file dl_rendering_unittests.cc.

802{ return info_; }

◆ sk_restore()

SkRenderer flutter::testing::CaseParameters::sk_restore ( ) const
inline

Definition at line 810 of file dl_rendering_unittests.cc.

810{ return sk_restore_; }

◆ sk_setup()

SkSetup flutter::testing::CaseParameters::sk_setup ( ) const
inline

Definition at line 808 of file dl_rendering_unittests.cc.

808{ return sk_setup_; }

◆ with_bg()

CaseParameters flutter::testing::CaseParameters::with_bg ( DlColor  bg)
inline

Definition at line 790 of file dl_rendering_unittests.cc.

790 {
791 return CaseParameters(info_, sk_setup_, dl_setup_, sk_restore_, dl_restore_,
792 bg, has_diff_clip_, has_mutating_save_layer_,
793 fuzzy_compare_components_);
794 }

◆ with_diff_clip()

CaseParameters flutter::testing::CaseParameters::with_diff_clip ( )
inline

Definition at line 796 of file dl_rendering_unittests.cc.

796 {
797 return CaseParameters(info_, sk_setup_, dl_setup_, sk_restore_, dl_restore_,
798 bg_, true, has_mutating_save_layer_,
799 fuzzy_compare_components_);
800 }

◆ with_restore()

CaseParameters flutter::testing::CaseParameters::with_restore ( SkRenderer sk_restore,
DlRenderer dl_restore,
bool  mutating_layer,
bool  fuzzy_compare_components = false 
)
inline

Definition at line 781 of file dl_rendering_unittests.cc.

784 {
785 return CaseParameters(info_, sk_setup_, dl_setup_, sk_restore, dl_restore,
786 bg_, has_diff_clip_, mutating_layer,
788 }

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