Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Attributes | List of all members
flutter::DummyDelegate Class Reference

Inherits flutter::LayerStateStack::Delegate.

Public Member Functions

void decommission () override
 
SkRect local_cull_rect () const override
 
SkRect device_cull_rect () const override
 
SkM44 matrix_4x4 () const override
 
SkMatrix matrix_3x3 () const override
 
bool content_culled (const SkRect &content_bounds) const override
 
void save () override
 
void saveLayer (const SkRect &bounds, LayerStateStack::RenderingAttributes &attributes, DlBlendMode blend, const DlImageFilter *backdrop) override
 
void restore () override
 
void translate (SkScalar tx, SkScalar ty) override
 
void transform (const SkM44 &m44) override
 
void transform (const SkMatrix &matrix) override
 
void integralTransform () override
 
void clipRect (const SkRect &rect, ClipOp op, bool is_aa) override
 
void clipRRect (const SkRRect &rrect, ClipOp op, bool is_aa) override
 
void clipPath (const SkPath &path, ClipOp op, bool is_aa) override
 

Static Public Attributes

static const std::shared_ptr< DummyDelegatekInstance
 

Detailed Description

Definition at line 24 of file layer_state_stack.cc.

Member Function Documentation

◆ clipPath()

void flutter::DummyDelegate::clipPath ( const SkPath path,
ClipOp  op,
bool  is_aa 
)
inlineoverride

Definition at line 65 of file layer_state_stack.cc.

65{}

◆ clipRect()

void flutter::DummyDelegate::clipRect ( const SkRect rect,
ClipOp  op,
bool  is_aa 
)
inlineoverride

Definition at line 63 of file layer_state_stack.cc.

63{}

◆ clipRRect()

void flutter::DummyDelegate::clipRRect ( const SkRRect rrect,
ClipOp  op,
bool  is_aa 
)
inlineoverride

Definition at line 64 of file layer_state_stack.cc.

64{}

◆ content_culled()

bool flutter::DummyDelegate::content_culled ( const SkRect content_bounds) const
inlineoverride

Definition at line 46 of file layer_state_stack.cc.

46 {
47 error();
48 return true;
49 }

◆ decommission()

void flutter::DummyDelegate::decommission ( )
inlineoverride

Definition at line 28 of file layer_state_stack.cc.

28{}

◆ device_cull_rect()

SkRect flutter::DummyDelegate::device_cull_rect ( ) const
inlineoverride

Definition at line 34 of file layer_state_stack.cc.

34 {
35 error();
36 return {};
37 }

◆ integralTransform()

void flutter::DummyDelegate::integralTransform ( )
inlineoverride

Definition at line 61 of file layer_state_stack.cc.

61{}

◆ local_cull_rect()

SkRect flutter::DummyDelegate::local_cull_rect ( ) const
inlineoverride

Definition at line 30 of file layer_state_stack.cc.

30 {
31 error();
32 return {};
33 }

◆ matrix_3x3()

SkMatrix flutter::DummyDelegate::matrix_3x3 ( ) const
inlineoverride

Definition at line 42 of file layer_state_stack.cc.

42 {
43 error();
44 return {};
45 }

◆ matrix_4x4()

SkM44 flutter::DummyDelegate::matrix_4x4 ( ) const
inlineoverride

Definition at line 38 of file layer_state_stack.cc.

38 {
39 error();
40 return {};
41 }

◆ restore()

void flutter::DummyDelegate::restore ( )
inlineoverride

Definition at line 56 of file layer_state_stack.cc.

56{}

◆ save()

void flutter::DummyDelegate::save ( )
inlineoverride

Definition at line 51 of file layer_state_stack.cc.

51{}

◆ saveLayer()

void flutter::DummyDelegate::saveLayer ( const SkRect bounds,
LayerStateStack::RenderingAttributes &  attributes,
DlBlendMode  blend,
const DlImageFilter backdrop 
)
inlineoverride

Definition at line 52 of file layer_state_stack.cc.

55 {}

◆ transform() [1/2]

void flutter::DummyDelegate::transform ( const SkM44 m44)
inlineoverride

Definition at line 59 of file layer_state_stack.cc.

59{}

◆ transform() [2/2]

void flutter::DummyDelegate::transform ( const SkMatrix matrix)
inlineoverride

Definition at line 60 of file layer_state_stack.cc.

60{}

◆ translate()

void flutter::DummyDelegate::translate ( SkScalar  tx,
SkScalar  ty 
)
inlineoverride

Definition at line 58 of file layer_state_stack.cc.

58{}

Member Data Documentation

◆ kInstance

const std::shared_ptr< DummyDelegate > flutter::DummyDelegate::kInstance
static
Initial value:
=
std::make_shared<DummyDelegate>()

Definition at line 26 of file layer_state_stack.cc.


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