Searched refs:SetInstance (Results 1 – 10 of 10) sorted by relevance
31 static bool SetInstance(SkEventTracer*);
45 bool SkEventTracer::SetInstance(SkEventTracer* tracer) { in SetInstance() function in SkEventTracer
48 SkAssertResult(SkEventTracer::SetInstance(eventTracer)); in initializeEventTracingForTools()
130 SkEventTracer::SetInstance(tracer); in InitSkiaEventTracer()
187 static void SetInstance(std::unique_ptr<ThreadContext> instance);
199 void ThreadContext::SetInstance(std::unique_ptr<ThreadContext> newInstance) { in SetInstance() function in SkSL::ThreadContext
44 ThreadContext::SetInstance(std::make_unique<ThreadContext>(compiler, kind, settings, in Start()50 ThreadContext::SetInstance(std::make_unique<ThreadContext>(compiler, kind, settings, in StartModule()57 ThreadContext::SetInstance(nullptr); in End()