Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Attributes | List of all members
flutter::SaveOp Struct Referencefinal

#include <dl_op_records.h>

Inheritance diagram for flutter::SaveOp:
flutter::SaveOpBase flutter::DLOp

Public Member Functions

 SaveOp ()
 
void dispatch (DispatchContext &ctx) const
 
- 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::kSave
 
- 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::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 344 of file dl_op_records.h.

Constructor & Destructor Documentation

◆ SaveOp()

flutter::SaveOp::SaveOp ( )
inline

Definition at line 347 of file dl_op_records.h.

Member Function Documentation

◆ dispatch()

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

Definition at line 349 of file dl_op_records.h.

349 {
350 if (save_needed(ctx)) {
351 ctx.receiver.save(total_content_depth);
352 }
353 }
uint32_t total_content_depth
bool save_needed(DispatchContext &ctx) const

Member Data Documentation

◆ kType

constexpr auto flutter::SaveOp::kType = DisplayListOpType::kSave
staticconstexpr

Definition at line 345 of file dl_op_records.h.


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