Searched refs:fIsEnabled (Results 1 – 4 of 4) sorted by relevance
18 SkATrace::SkATrace() : fBeginSection(nullptr), fEndSection(nullptr), fIsEnabled(nullptr) { in SkATrace()20 fIsEnabled = []{ return static_cast<bool>(CC_UNLIKELY(ATRACE_ENABLED())); }; in SkATrace()27 fIsEnabled = (decltype(fIsEnabled))dlsym(lib, "ATrace_isEnabled"); in SkATrace()31 if (!fIsEnabled) { in SkATrace()32 fIsEnabled = []{ return false; }; in SkATrace()45 if (fIsEnabled()) { in addTraceEvent()62 if (fIsEnabled()) { in updateTraceEventDuration()
50 bool (*fIsEnabled)(void); variable
53 bool (*fIsEnabled)(void); variable