Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderthread/
DCanvasContext.cpp418 int renderAhead = 0; in setPresentTime() local
421 renderAhead = std::min(mRenderAheadDepth, mRenderAheadCapacity); in setPresentTime()
423 renderAhead = std::min(1, static_cast<int>(mRenderAheadCapacity)); in setPresentTime()
426 if (renderAhead) { in setPresentTime()
428 (frameIntervalNanos * (renderAhead + 1)); in setPresentTime()
681 void CanvasContext::setRenderAheadDepth(int renderAhead) { in setRenderAheadDepth() argument
682 if (renderAhead > 2 || renderAhead < 0 || mNativeSurface) { in setRenderAheadDepth()
686 mRenderAheadDepth = static_cast<uint32_t>(renderAhead); in setRenderAheadDepth()
DRenderProxy.cpp316 void RenderProxy::setRenderAheadDepth(int renderAhead) { in setRenderAheadDepth() argument
318 [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