Lines Matching refs:name_counter
65 static int SK_MACRO_APPEND_LINE(name_counter) = 0; \
70 INTERNAL_GR_CREATE_TRACE_MARKER_SCOPED(name, SK_MACRO_APPEND_LINE(name_counter), target) \
73 "id", SK_MACRO_APPEND_LINE(name_counter));
75 #define INTERNAL_GR_CREATE_TRACE_MARKER_SCOPED(name, name_counter, target) \
78 name_counter, \
80 sk_atomic_inc(&name_counter);
82 #define INTERNAL_GR_CREATE_TRACE_MARKER(name, name_counter, target, ...) \
83 GR_CREATE_GPU_TRACE_MARKER(name, name_counter, target) \
85 #define GR_CREATE_GPU_TRACE_MARKER(name, name_counter, target) \
87 SK_MACRO_APPEND_LINE(TMG).initialize(name, &name_counter); \
95 static int SK_MACRO_APPEND_LINE(name_counter) = 0; \
101 SK_MACRO_APPEND_LINE(name_counter), context) \
105 "id", SK_MACRO_APPEND_LINE(name_counter));
107 #define INTERNAL_GR_CREATE_TRACE_MARKER_SCOPED_C(name, name_counter, context) \
110 name_counter, \
112 sk_atomic_inc(&name_counter);
114 #define INTERNAL_GR_CREATE_TRACE_MARKER_C(name, name_counter, context, ...) \
115 GR_CREATE_GPU_TRACE_MARKER_C(name, name_counter, context) \
117 #define GR_CREATE_GPU_TRACE_MARKER_C(name, name_counter, context) \
119 SK_MACRO_APPEND_LINE(TMG).initialize(name, &name_counter); \