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

#include <dl_op_records.h>

Inheritance diagram for flutter::RestoreOp:
flutter::DLOp

Public Member Functions

 RestoreOp ()
 
void dispatch (DispatchContext &ctx) const
 
- Public Member Functions inherited from flutter::DLOp
DisplayListCompare equals (const DLOp *other) const
 

Static Public Attributes

static constexpr auto kType = DisplayListOpType::kRestore
 
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::DLOp
DisplayListOpType type: 8
 
uint32_t size: 24
 

Detailed Description

Definition at line 406 of file dl_op_records.h.

Constructor & Destructor Documentation

◆ RestoreOp()

flutter::RestoreOp::RestoreOp ( )
inline

Definition at line 411 of file dl_op_records.h.

411{}

Member Function Documentation

◆ dispatch()

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

Definition at line 413 of file dl_op_records.h.

413 {
414 DispatchContext::SaveInfo& info = ctx.save_infos.back();
415 if (info.save_was_needed) {
416 ctx.receiver.restore();
417 }
418 ctx.next_restore_index = info.previous_restore_index;
419 ctx.save_infos.pop_back();
420 }
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
Definition: DM.cpp:213

Member Data Documentation

◆ kDepthInc

constexpr uint32_t flutter::RestoreOp::kDepthInc = 0
staticconstexpr

Definition at line 408 of file dl_op_records.h.

◆ kRenderOpInc

constexpr uint32_t flutter::RestoreOp::kRenderOpInc = 1
staticconstexpr

Definition at line 409 of file dl_op_records.h.

◆ kType

constexpr auto flutter::RestoreOp::kType = DisplayListOpType::kRestore
staticconstexpr

Definition at line 407 of file dl_op_records.h.


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