Flutter Engine
The Flutter Engine
Macros
GrTracing.h File Reference
#include "src/core/SkTraceEvent.h"
#include "src/gpu/ganesh/GrAuditTrail.h"

Go to the source code of this file.

Macros

#define GR_CREATE_TRACE_MARKER_CONTEXT(classname, op, context)
 

Macro Definition Documentation

◆ GR_CREATE_TRACE_MARKER_CONTEXT

#define GR_CREATE_TRACE_MARKER_CONTEXT (   classname,
  op,
  context 
)
Value:
GR_AUDIT_TRAIL_AUTO_FRAME(context->priv().auditTrail(), classname "::" op); \
TRACE_EVENT0("skia.gpu", classname "::" op)
#define GR_AUDIT_TRAIL_AUTO_FRAME(audit_trail, framename)
Definition: GrAuditTrail.h:167

Context level GrTracing macros, classname and op are const char*, context is GrContext

Definition at line 18 of file GrTracing.h.