Flutter Engine
 
Loading...
Searching...
No Matches
flutter::SaveLayerBackdropOp Struct Referencefinal

#include <dl_op_records.h>

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

Public Member Functions

 SaveLayerBackdropOp (const SaveLayerOptions &options, const DlRect &rect, const DlImageFilter *backdrop, std::optional< int64_t > backdrop_id)
 
void dispatch (DlOpReceiver &receiver) const
 
DisplayListCompare equals (const SaveLayerBackdropOp *other) const
 
- Public Member Functions inherited from flutter::SaveLayerOpBase
 SaveLayerOpBase (DisplayListOpType type, const SaveLayerOptions &options, const DlRect &rect)
 
- Public Member Functions inherited from flutter::SaveOpBase
 SaveOpBase (DisplayListOpType type)
 
 SaveOpBase (DisplayListOpType type, const SaveLayerOptions &options)
 
- Public Member Functions inherited from flutter::DLOp
 DLOp (DisplayListOpType type)
 
DisplayListCompare equals (const DLOp *other) const
 

Public Attributes

const std::shared_ptr< DlImageFilterbackdrop
 
std::optional< int64_t > backdrop_id_
 
- Public Attributes inherited from flutter::SaveLayerOpBase
DlRect rect
 
DlBlendMode max_blend_mode = DlBlendMode::kClear
 
- Public Attributes inherited from flutter::SaveOpBase
SaveLayerOptions options
 
DlIndex restore_index
 
uint32_t total_content_depth
 
- Public Attributes inherited from flutter::DLOp
const DisplayListOpType type
 

Static Public Attributes

static constexpr auto kType = DisplayListOpType::kSaveLayerBackdrop
 
- 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
 

Detailed Description

Definition at line 318 of file dl_op_records.h.

Constructor & Destructor Documentation

◆ SaveLayerBackdropOp()

flutter::SaveLayerBackdropOp::SaveLayerBackdropOp ( const SaveLayerOptions options,
const DlRect rect,
const DlImageFilter backdrop,
std::optional< int64_t >  backdrop_id 
)
inline

Definition at line 321 of file dl_op_records.h.

326 backdrop(backdrop->shared()),
327 backdrop_id_(backdrop_id) {}
static constexpr auto kType
const std::shared_ptr< DlImageFilter > backdrop
std::optional< int64_t > backdrop_id_
SaveLayerOpBase(DisplayListOpType type, const SaveLayerOptions &options, const DlRect &rect)
SaveLayerOptions options

Member Function Documentation

◆ dispatch()

void flutter::SaveLayerBackdropOp::dispatch ( DlOpReceiver receiver) const
inline

◆ equals()

DisplayListCompare flutter::SaveLayerBackdropOp::equals ( const SaveLayerBackdropOp other) const
inline

Definition at line 337 of file dl_op_records.h.

337 {
338 return (options == other->options && rect == other->rect &&
339 Equals(backdrop, other->backdrop) &&
340 backdrop_id_ == other->backdrop_id_)
343 }
bool Equals(const T *a, const U *b)

References backdrop, backdrop_id_, flutter::Equals(), flutter::kEqual, flutter::kNotEqual, flutter::SaveOpBase::options, and flutter::SaveLayerOpBase::rect.

Member Data Documentation

◆ backdrop

const std::shared_ptr<DlImageFilter> flutter::SaveLayerBackdropOp::backdrop

Definition at line 329 of file dl_op_records.h.

Referenced by dispatch(), and equals().

◆ backdrop_id_

std::optional<int64_t> flutter::SaveLayerBackdropOp::backdrop_id_

Definition at line 330 of file dl_op_records.h.

Referenced by dispatch(), and equals().

◆ kType

constexpr auto flutter::SaveLayerBackdropOp::kType = DisplayListOpType::kSaveLayerBackdrop
staticconstexpr

Definition at line 319 of file dl_op_records.h.


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