Lines Matching refs:queue

47     mContext = mRenderThread.queue().runSync([=, this]() -> CanvasContext* {  in RenderProxy()
51 mRenderThread.queue().post([=] { context->startHintSession(); }); in RenderProxy()
67 mRenderThread.queue().runSync([this]() { delete mContext; }); in destroyContext()
73 mRenderThread.queue().post([this, swapBehavior]() { mContext->setSwapBehavior(swapBehavior); }); in setSwapBehavior()
77 return mRenderThread.queue().runSync([this]() -> bool { in loadSystemProperties()
89 mRenderThread.queue().runSync([this, name]() { mContext->setName(std::string(name)); }); in setName()
96 mRenderThread.queue().post([this, hardwareBuffer = buffer]() mutable { in setHardwareBuffer()
106 mRenderThread.queue().post([this, win = window, enableTimeout]() mutable { in setSurface()
117 mRenderThread.queue().post([this, control = surfaceControl, funcs]() mutable { in setSurfaceControl()
126 mRenderThread.queue().post([=]() { mContext->allocateBuffers(); }); in allocateBuffers()
130 return mRenderThread.queue().runSync([this]() -> bool { return mContext->pauseSurface(); }); in pause()
134 mRenderThread.queue().runSync([this, stopped]() { mContext->setStopped(stopped); }); in setStopped()
138 mRenderThread.queue().post( in setLightAlpha()
143 mRenderThread.queue().post([=]() { mContext->setLightGeometry(lightCenter, lightRadius); }); in setLightGeometry()
147 mRenderThread.queue().post([=]() { mContext->setOpaque(opaque); }); in setOpaque()
154 return mRenderThread.queue().runSync( in setColorMode()
157 mRenderThread.queue().post([=]() { mContext->setColorMode(mode); }); in setColorMode()
182 mRenderThread.queue().runSync([=]() { mContext->destroy(); }); in destroy()
188 thread.queue().post([=]() { WebViewFunctorManager::instance().destroyFunctor(functor); }); in destroyFunctor()
192 return mRenderThread.queue().runSync([this]() -> auto { in createTextureLayer()
198 mRenderThread.queue().runSync([&]() { mContext->buildLayer(node); }); in buildLayer()
204 return thread.queue().runSync([&]() -> bool { in copyLayerInto()
218 return mRenderThread.queue().runSync([&]() { layer->detachSurfaceTexture(); }); in detachSurfaceTexture()
222 return mRenderThread.queue().runSync([&]() { mContext->destroyHardwareResources(); }); in destroyHardwareResources()
230 thread.queue().post([&thread, trimLevel]() { thread.trimMemory(trimLevel); }); in trimMemory()
239 thread.queue().post([&thread, trimLevel]() { thread.trimCaches(trimLevel); }); in trimCaches()
246 thread.queue().post([&thread]() { in purgeCaches()
256 RenderThread::getInstance().queue().runSync( in overrideProperty()
261 mRenderThread.queue().runSync([]() {}); in fence()
265 static int maxTextureSize = RenderThread::getInstance().queue().runSync( in maxTextureSize()
271 mRenderThread.queue().runSync([this]() { mContext->stopDrawing(); }); in stopDrawing()
275 mRenderThread.queue().post([this]() { mContext->notifyFramePending(); }); in notifyFramePending()
279 mRenderThread.queue().post([this]() { mContext->sendLoadResetHint(); }); in notifyCallbackPending()
283 mRenderThread.queue().post([this]() { mContext->sendLoadIncreaseHint(); }); in notifyExpensiveFrame()
287 mRenderThread.queue().runSync([&]() { in dumpProfileInfo()
303 mRenderThread.queue().runSync([=]() { in resetProfileInfo()
310 return mRenderThread.queue().runSync([&]() -> auto { in frameTimePercentile()
319 thread.queue().runSync([&]() { in dumpGraphicsMemory()
331 thread.queue().runSync([&]() { thread.getMemoryUsage(cpuUsage, gpuUsage); }); in getMemoryUsage()
337 rt.queue().post([&rt, fd = dup(fd)]() { in setProcessStatsBuffer()
345 rt.queue().post([&rt]() { rt.globalProfileData().rotateStorage(); }); in rotateProcessStatsBuffer()
353 mRenderThread.queue().post([=]() { mContext->addRenderNode(node, placeFront); }); in addRenderNode()
357 mRenderThread.queue().post([=]() { mContext->removeRenderNode(node); }); in removeRenderNode()
361 mRenderThread.queue().runSync([=]() { mContext->prepareAndDraw(node); }); in drawRenderNode()
374 mRenderThread.queue().post( in setPictureCapturedCallback()
380 mRenderThread.queue().post( in setASurfaceTransactionCallback()
386 mRenderThread.queue().post( in setPrepareSurfaceControlForWebviewCallback()
404 mRenderThread.queue().post([this, observer = sp{observerPtr}]() { in addFrameMetricsObserver()
410 mRenderThread.queue().post([this, observer = sp{observerPtr}]() { in removeFrameMetricsObserver()
416 mRenderThread.queue().post([this, enable]() { mContext->setForceDark(enable); }); in setForceDark()
422 thread.queue().post([&thread, window, request = std::move(request)] { in copySurfaceInto()
449 renderThread->queue().postAt(estimatedNextVsync + 8_ms, task); in prepareToDraw()
451 renderThread->queue().post(task); in prepareToDraw()
462 return thread.queue().runSync( in copyHWBitmapInto()
473 return thread.queue().runSync( in copyImageInto()
485 thread.queue().post([&thread]() { thread.preload(); }); in preload()
490 RenderThread::getInstance().queue().post( in setRtAnimationsEnabled()