Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
flutter::SaveLayerOp Struct Referencefinal

#include <dl_op_records.h>

Inheritance diagram for flutter::SaveLayerOp:
flutter::SaveLayerOpBase flutter::SaveOpBase flutter::DLOp

Public Member Functions

 SaveLayerOp (const SaveLayerOptions &options, const SkRect &rect)
 
void dispatch (DispatchContext &ctx) const
 
- Public Member Functions inherited from flutter::SaveLayerOpBase
 SaveLayerOpBase (const SaveLayerOptions &options, const SkRect &rect)
 
- Public Member Functions inherited from flutter::SaveOpBase
 SaveOpBase ()
 
 SaveOpBase (const SaveLayerOptions &options)
 
bool save_needed (DispatchContext &ctx) const
 
- Public Member Functions inherited from flutter::DLOp
DisplayListCompare equals (const DLOp *other) const
 

Static Public Attributes

static constexpr auto kType = DisplayListOpType::kSaveLayer
 
- Static Public Attributes inherited from flutter::SaveOpBase
static constexpr uint32_t kDepthInc = 0
 
static constexpr uint32_t kRenderOpInc = 1
 
- Static Public Attributes inherited from flutter::DLOp
static constexpr uint32_t kDepthInc = 0
 
static constexpr uint32_t kRenderOpInc = 0
 

Additional Inherited Members

- Public Attributes inherited from flutter::SaveLayerOpBase
SkRect rect
 
- Public Attributes inherited from flutter::SaveOpBase
SaveLayerOptions options
 
int restore_index
 
uint32_t total_content_depth
 
- Public Attributes inherited from flutter::DLOp
DisplayListOpType type: 8
 
uint32_t size: 24
 

Detailed Description

Definition at line 364 of file dl_op_records.h.

Constructor & Destructor Documentation

◆ SaveLayerOp()

flutter::SaveLayerOp::SaveLayerOp ( const SaveLayerOptions options,
const SkRect rect 
)
inline

Definition at line 367 of file dl_op_records.h.

SaveLayerOpBase(const SaveLayerOptions &options, const SkRect &rect)
SaveLayerOptions options

Member Function Documentation

◆ dispatch()

void flutter::SaveLayerOp::dispatch ( DispatchContext ctx) const
inline

Definition at line 370 of file dl_op_records.h.

370 {
371 if (save_needed(ctx)) {
372 ctx.receiver.saveLayer(rect, options, total_content_depth);
373 }
374 }
bool save_needed(DispatchContext &ctx) const

Member Data Documentation

◆ kType

constexpr auto flutter::SaveLayerOp::kType = DisplayListOpType::kSaveLayer
staticconstexpr

Definition at line 365 of file dl_op_records.h.


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