Flutter Engine
 
Loading...
Searching...
No Matches
display_list.cc File Reference

Go to the source code of this file.

Classes

struct  flutter::SaveInfo
 

Namespaces

namespace  flutter
 

Macros

#define DL_OP_DISPATCH(name)
 
#define DL_OP_DISPOSE(name)
 
#define DL_OP_EQUALS(name)
 

Functions

static void flutter::FillAllIndices (std::vector< DlIndex > &indices, DlIndex size)
 
static bool flutter::CompareOps (const DisplayListStorage &storageA, const std::vector< size_t > &offsetsA, const DisplayListStorage &storageB, const std::vector< size_t > &offsetsB)
 

Macro Definition Documentation

◆ DL_OP_DISPATCH

#define DL_OP_DISPATCH (   name)
Value:
case DisplayListOpType::k##name: \
static_cast<const name##Op*>(op)->dispatch(receiver); \
break;
const char * name
Definition fuchsia.cc:49

◆ DL_OP_DISPOSE

#define DL_OP_DISPOSE (   name)
Value:
case DisplayListOpType::k##name: \
if (!std::is_trivially_destructible_v<name##Op>) { \
static_cast<const name##Op*>(op)->~name##Op(); \
} \
break;

◆ DL_OP_EQUALS

#define DL_OP_EQUALS (   name)
Value:
case DisplayListOpType::k##name: \
result = static_cast<const name##Op*>(opA)->equals( \
static_cast<const name##Op*>(opB)); \
break;