• Home
  • Raw
  • Download

Lines Matching refs:mRenderThread

44         : mRenderThread(RenderThread::getInstance()), mContext(nullptr) {  in RenderProxy()
45 mContext = mRenderThread.queue().runSync([&]() -> CanvasContext* { in RenderProxy()
46 return CanvasContext::create(mRenderThread, translucent, rootRenderNode, contextFactory); in RenderProxy()
48 mDrawFrameTask.setContext(&mRenderThread, mContext, rootRenderNode); in RenderProxy()
60 mRenderThread.queue().runSync([this]() { delete mContext; }); in destroyContext()
66 mRenderThread.queue().post([this, swapBehavior]() { mContext->setSwapBehavior(swapBehavior); }); in setSwapBehavior()
70 return mRenderThread.queue().runSync([this]() -> bool { in loadSystemProperties()
82 mRenderThread.queue().runSync([this, name]() { mContext->setName(std::string(name)); }); in setName()
86 mRenderThread.queue().post( in setSurface()
91 mRenderThread.queue().post([=]() { mContext->allocateBuffers(); }); in allocateBuffers()
95 return mRenderThread.queue().runSync([this]() -> bool { return mContext->pauseSurface(); }); in pause()
99 mRenderThread.queue().runSync([this, stopped]() { mContext->setStopped(stopped); }); in setStopped()
103 mRenderThread.queue().post( in setLightAlpha()
108 mRenderThread.queue().post([=]() { mContext->setLightGeometry(lightCenter, lightRadius); }); in setLightGeometry()
112 mRenderThread.queue().post([=]() { mContext->setOpaque(opaque); }); in setOpaque()
116 mRenderThread.queue().post([=]() { mContext->setWideGamut(wideGamut); }); in setWideGamut()
131 mRenderThread.queue().runSync([=]() { mContext->destroy(); }); in destroy()
155 return mRenderThread.queue().runSync([this]() -> auto { in createTextureLayer()
161 mRenderThread.queue().runSync([&]() { mContext->buildLayer(node); }); in buildLayer()
181 return mRenderThread.queue().runSync([&]() { layer->detachSurfaceTexture(); }); in detachSurfaceTexture()
185 return mRenderThread.queue().runSync([&]() { mContext->destroyHardwareResources(); }); in destroyHardwareResources()
203 mRenderThread.queue().runSync([]() {}); in fence()
213 mRenderThread.queue().runSync([this]() { mContext->stopDrawing(); }); in stopDrawing()
217 mRenderThread.queue().post([this]() { mContext->notifyFramePending(); }); in notifyFramePending()
221 mRenderThread.queue().runSync([&]() { in dumpProfileInfo()
227 mRenderThread.globalProfileData()->dump(fd); in dumpProfileInfo()
236 mRenderThread.queue().runSync([=]() { mContext->resetFrameStats(); }); in resetProfileInfo()
240 return mRenderThread.queue().runSync([&]() -> auto { in frameTimePercentile()
241 return mRenderThread.globalProfileData()->findPercentile(percentile); in frameTimePercentile()
266 return mRenderThread.getTid(); in getRenderThreadTid()
270 mRenderThread.queue().post([=]() { mContext->addRenderNode(node, placeFront); }); in addRenderNode()
274 mRenderThread.queue().post([=]() { mContext->removeRenderNode(node); }); in removeRenderNode()
278 mRenderThread.queue().runSync([=]() { mContext->prepareAndDraw(node); }); in drawRenderNode()
287 mRenderThread.queue().post( in setPictureCapturedCallback()
300 mRenderThread.queue().post([this, observer = sp{observerPtr}]() { in addFrameMetricsObserver()
306 mRenderThread.queue().post([this, observer = sp{observerPtr}]() { in removeFrameMetricsObserver()
312 mRenderThread.queue().post([this, enable]() { mContext->setForceDark(enable); }); in setForceDark()
316 mRenderThread.queue().post( in setRenderAheadDepth()