Home
last modified time | relevance | path

Searched refs:gUserTracer (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/utils/
DSkEventTracer.cpp43 static std::atomic<SkEventTracer*> gUserTracer{nullptr}; variable
47 if (!gUserTracer.compare_exchange_strong(expected, tracer)) { in SetInstance()
51 atexit([]() { delete gUserTracer.load(); }); in SetInstance()
56 if (auto tracer = gUserTracer.load(std::memory_order_acquire)) { in GetInstance()
/external/skqp/src/utils/
DSkEventTracer.cpp43 static std::atomic<SkEventTracer*> gUserTracer{nullptr}; variable
47 if (!gUserTracer.compare_exchange_strong(expected, tracer)) { in SetInstance()
51 atexit([]() { delete gUserTracer.load(); }); in SetInstance()
56 if (auto tracer = gUserTracer.load(std::memory_order_acquire)) { in GetInstance()