Home
last modified time | relevance | path

Searched refs:fIsEnabled (Results 1 – 4 of 4) sorted by relevance

/external/skqp/src/core/
DSkATrace.cpp18 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()
DSkATrace.h50 bool (*fIsEnabled)(void); variable
/external/skia/src/core/
DSkATrace.cpp18 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()
DSkATrace.h53 bool (*fIsEnabled)(void); variable