Flutter Engine
The Flutter Engine
Classes | Namespaces | Macros | Functions
display_list.cc File Reference
#include <type_traits>
#include "flutter/display_list/display_list.h"
#include "flutter/display_list/dl_op_records.h"
#include "flutter/fml/trace_event.h"

Go to the source code of this file.

Classes

class  flutter::Culler
 
class  flutter::NopCuller
 
class  flutter::VectorCuller
 

Namespaces

namespace  flutter
 

Macros

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

Functions

static bool flutter::CompareOps (const uint8_t *ptrA, const uint8_t *endA, const uint8_t *ptrB, const uint8_t *endB)
 

Macro Definition Documentation

◆ DL_OP_DISPATCH

#define DL_OP_DISPATCH (   name)
Value:
case DisplayListOpType::k##name: \
static_cast<const name##Op*>(op)->dispatch(context); \
break;
DEF_SWITCHES_START aot vmservice shared library name
Definition: switches.h:32

◆ 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;
bool equals(SkDrawable *a, SkDrawable *b)