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

#include <dl_op_records.h>

Inheritance diagram for flutter::DrawOpBase:
flutter::DLOp flutter::DrawArcOp flutter::DrawAtlasBaseOp flutter::DrawColorOp flutter::DrawDashedLineOp flutter::DrawDisplayListOp flutter::DrawImageRectOp flutter::DrawPaintOp flutter::DrawPathOp flutter::DrawTextBlobOp flutter::DrawTextFrameOp flutter::DrawVerticesOp

Public Member Functions

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 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 624 of file dl_op_records.h.

Member Function Documentation

◆ op_needed()

bool flutter::DrawOpBase::op_needed ( const DispatchContext ctx) const
inline

Definition at line 628 of file dl_op_records.h.

628 {
629 return ctx.cur_index >= ctx.next_render_index;
630 }

Member Data Documentation

◆ kDepthInc

constexpr uint32_t flutter::DrawOpBase::kDepthInc = 1
staticconstexpr

Definition at line 625 of file dl_op_records.h.

◆ kRenderOpInc

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

Definition at line 626 of file dl_op_records.h.


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