Home
last modified time | relevance | path

Searched refs:renderAhead (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/libs/hwui/renderthread/
DCanvasContext.cpp415 int renderAhead = 0; in setPresentTime() local
418 renderAhead = std::min(mRenderAheadDepth, mRenderAheadCapacity); in setPresentTime()
420 renderAhead = std::min(1, static_cast<int>(mRenderAheadCapacity)); in setPresentTime()
423 if (renderAhead) { in setPresentTime()
425 (frameIntervalNanos * (renderAhead + 1)); in setPresentTime()
678 void CanvasContext::setRenderAheadDepth(int renderAhead) { in setRenderAheadDepth() argument
679 if (renderAhead > 2 || renderAhead < 0 || mNativeSurface) { in setRenderAheadDepth()
683 mRenderAheadDepth = static_cast<uint32_t>(renderAhead); in setRenderAheadDepth()
DRenderProxy.cpp315 void RenderProxy::setRenderAheadDepth(int renderAhead) { in setRenderAheadDepth() argument
317 [context = mContext, renderAhead] { context->setRenderAheadDepth(renderAhead); }); in setRenderAheadDepth()
DRenderProxy.h141 ANDROID_API void setRenderAheadDepth(int renderAhead);
DCanvasContext.h198 void setRenderAheadDepth(int renderAhead);
/frameworks/base/libs/hwui/tests/macrobench/
Dmain.cpp293 gOpts.renderAhead = atoi(optarg); in parseOptions()
294 if (gOpts.renderAhead < 0 || gOpts.renderAhead > 2) { in parseOptions()
DTestSceneRunner.cpp157 if (opts.renderAhead) { in run()
160 proxy->setRenderAheadDepth(opts.renderAhead); in run()
/frameworks/base/libs/hwui/tests/common/
DTestScene.h41 int renderAhead = 0; member