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

#include <dl_op_records.h>

Inheritance diagram for flutter::DrawPaintOp:
flutter::DrawOpBase flutter::DLOp

Public Member Functions

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

Static Public Attributes

static constexpr auto kType = DisplayListOpType::kDrawPaint
 
- Static Public Attributes inherited from flutter::DrawOpBase
static constexpr uint32_t kDepthInc = 1
 
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 634 of file dl_op_records.h.

Constructor & Destructor Documentation

◆ DrawPaintOp()

flutter::DrawPaintOp::DrawPaintOp ( )
inline

Definition at line 637 of file dl_op_records.h.

637{}

Member Function Documentation

◆ dispatch()

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

Definition at line 639 of file dl_op_records.h.

639 {
640 if (op_needed(ctx)) {
641 ctx.receiver.drawPaint();
642 }
643 }
bool op_needed(const DispatchContext &ctx) const

Member Data Documentation

◆ kType

constexpr auto flutter::DrawPaintOp::kType = DisplayListOpType::kDrawPaint
staticconstexpr

Definition at line 635 of file dl_op_records.h.


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