• Home
  • Raw
  • Download

Lines Matching refs:thread

136     RenderThread& thread = RenderThread::getInstance();  in invokeFunctor()  local
137 auto invoke = [&thread, functor]() { CanvasContext::invokeFunctor(thread, functor); }; in invokeFunctor()
142 thread.queue().runSync(std::move(invoke)); in invokeFunctor()
144 thread.queue().post(std::move(invoke)); in invokeFunctor()
150 RenderThread& thread = RenderThread::getInstance(); in destroyFunctor() local
151 thread.queue().post([=]() { WebViewFunctorManager::instance().destroyFunctor(functor); }); in destroyFunctor()
166 auto& thread = RenderThread::getInstance(); in copyLayerInto() local
167 return thread.queue().runSync([&]() -> bool { in copyLayerInto()
168 return thread.readback().copyLayerInto(layer, &bitmap) == CopyResult::Success; in copyLayerInto()
191 RenderThread& thread = RenderThread::getInstance(); in trimMemory() local
192 thread.queue().post([&thread, level]() { CanvasContext::trimMemory(thread, level); }); in trimMemory()
247 auto& thread = RenderThread::getInstance(); in dumpGraphicsMemory() local
248 thread.queue().runSync([&]() { thread.dumpGraphicsMemory(fd); }); in dumpGraphicsMemory()
322 auto& thread = RenderThread::getInstance(); in copySurfaceInto() local
323 return static_cast<int>(thread.queue().runSync([&]() -> auto { in copySurfaceInto()
324 return thread.readback().copySurfaceInto(*surface, Rect(left, top, right, bottom), bitmap); in copySurfaceInto()
357 RenderThread& thread = RenderThread::getInstance(); in copyHWBitmapInto() local
358 if (gettid() == thread.getTid()) { in copyHWBitmapInto()
360 return (int)thread.readback().copyHWBitmapInto(hwBitmap, bitmap); in copyHWBitmapInto()
362 return thread.queue().runSync( in copyHWBitmapInto()
363 [&]() -> int { return (int)thread.readback().copyHWBitmapInto(hwBitmap, bitmap); }); in copyHWBitmapInto()
372 RenderThread& thread = RenderThread::getInstance(); in repackVectorDrawableAtlas() local
373 thread.queue().post([&thread]() { in repackVectorDrawableAtlas()
375 if (thread.getGrContext() != nullptr) { in repackVectorDrawableAtlas()
376 thread.cacheManager().acquireVectorDrawableAtlas()->repackIfNeeded( in repackVectorDrawableAtlas()
377 thread.getGrContext()); in repackVectorDrawableAtlas()
383 RenderThread& thread = RenderThread::getInstance(); in releaseVDAtlasEntries() local
384 thread.queue().post([&thread]() { in releaseVDAtlasEntries()
386 if (thread.getGrContext() != nullptr) { in releaseVDAtlasEntries()
387 thread.cacheManager().acquireVectorDrawableAtlas()->delayedReleaseEntries(); in releaseVDAtlasEntries()
394 auto& thread = RenderThread::getInstance(); in preload() local
395 thread.queue().post([&thread]() { thread.preload(); }); in preload()