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

#include <dl_op_records.h>

Inheritance diagram for flutter::SetSharedImageFilterOp:
flutter::DLOp

Public Member Functions

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

Public Attributes

const std::shared_ptr< DlImageFilterfilter
 
- Public Attributes inherited from flutter::DLOp
DisplayListOpType type: 8
 
uint32_t size: 24
 

Static Public Attributes

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

Detailed Description

Definition at line 299 of file dl_op_records.h.

Constructor & Destructor Documentation

◆ SetSharedImageFilterOp()

flutter::SetSharedImageFilterOp::SetSharedImageFilterOp ( const DlImageFilter filter)
inlineexplicit

Definition at line 302 of file dl_op_records.h.

303 : filter(filter->shared()) {}
const std::shared_ptr< DlImageFilter > filter

Member Function Documentation

◆ dispatch()

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

Definition at line 307 of file dl_op_records.h.

307 {
308 ctx.receiver.setImageFilter(filter.get());
309 }

◆ equals()

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

Definition at line 311 of file dl_op_records.h.

311 {
312 return Equals(filter, other->filter) ? DisplayListCompare::kEqual
314 }
bool Equals(const T *a, const T *b)
Definition: dl_comparable.h:19

Member Data Documentation

◆ filter

const std::shared_ptr<DlImageFilter> flutter::SetSharedImageFilterOp::filter

Definition at line 305 of file dl_op_records.h.

◆ kType

constexpr auto flutter::SetSharedImageFilterOp::kType = DisplayListOpType::kSetSharedImageFilter
staticconstexpr

Definition at line 300 of file dl_op_records.h.


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