Flutter Engine
The Flutter Engine
Classes | Macros
GrAuditTrail.h File Reference
#include "include/gpu/GrTypes.h"
#include "include/core/SkRect.h"
#include "include/core/SkString.h"
#include "include/private/base/SkTArray.h"
#include "src/core/SkTHash.h"
#include "src/gpu/ganesh/GrRenderTargetProxy.h"

Go to the source code of this file.

Classes

class  GrAuditTrail
 
class  GrAuditTrail::AutoEnable
 
class  GrAuditTrail::AutoManageOpsTask
 
class  GrAuditTrail::AutoCollectOps
 
struct  GrAuditTrail::OpInfo
 
struct  GrAuditTrail::OpInfo::Op
 

Macros

#define GR_AUDIT_TRAIL_INVOKE_GUARD(audit_trail, invoke, ...)    if (audit_trail->isEnabled()) audit_trail->invoke(__VA_ARGS__)
 
#define GR_AUDIT_TRAIL_AUTO_FRAME(audit_trail, framename)    GR_AUDIT_TRAIL_INVOKE_GUARD((audit_trail), pushFrame, framename)
 
#define GR_AUDIT_TRAIL_ADD_OP(audit_trail, op, proxy_id)    GR_AUDIT_TRAIL_INVOKE_GUARD(audit_trail, addOp, op, proxy_id)
 
#define GR_AUDIT_TRAIL_OPS_RESULT_COMBINED(audit_trail, combineWith, op)    GR_AUDIT_TRAIL_INVOKE_GUARD(audit_trail, opsCombined, combineWith, op)
 

Macro Definition Documentation

◆ GR_AUDIT_TRAIL_ADD_OP

#define GR_AUDIT_TRAIL_ADD_OP (   audit_trail,
  op,
  proxy_id 
)     GR_AUDIT_TRAIL_INVOKE_GUARD(audit_trail, addOp, op, proxy_id)

Definition at line 170 of file GrAuditTrail.h.

◆ GR_AUDIT_TRAIL_AUTO_FRAME

#define GR_AUDIT_TRAIL_AUTO_FRAME (   audit_trail,
  framename 
)     GR_AUDIT_TRAIL_INVOKE_GUARD((audit_trail), pushFrame, framename)

Definition at line 167 of file GrAuditTrail.h.

◆ GR_AUDIT_TRAIL_INVOKE_GUARD

#define GR_AUDIT_TRAIL_INVOKE_GUARD (   audit_trail,
  invoke,
  ... 
)     if (audit_trail->isEnabled()) audit_trail->invoke(__VA_ARGS__)

Definition at line 164 of file GrAuditTrail.h.

◆ GR_AUDIT_TRAIL_OPS_RESULT_COMBINED

#define GR_AUDIT_TRAIL_OPS_RESULT_COMBINED (   audit_trail,
  combineWith,
  op 
)     GR_AUDIT_TRAIL_INVOKE_GUARD(audit_trail, opsCombined, combineWith, op)

Definition at line 173 of file GrAuditTrail.h.