Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderthread/
DCanvasContext.cpp438 int renderAhead = 0; in setPresentTime() local
441 renderAhead = std::min(mRenderAheadDepth, mRenderAheadCapacity); in setPresentTime()
443 renderAhead = std::min(1, static_cast<int>(mRenderAheadCapacity)); in setPresentTime()
446 if (renderAhead) { in setPresentTime()
448 (frameIntervalNanos * (renderAhead + 1)) - DeviceInfo::get()->getAppOffset() + in setPresentTime()
745 void CanvasContext::setRenderAheadDepth(int renderAhead) { in setRenderAheadDepth() argument
746 if (renderAhead > 2 || renderAhead < 0 || mNativeSurface) { in setRenderAheadDepth()
750 mRenderAheadDepth = static_cast<uint32_t>(renderAhead); in setRenderAheadDepth()
DRenderProxy.cpp312 void RenderProxy::setRenderAheadDepth(int renderAhead) { in setRenderAheadDepth() argument
314 [context = mContext, renderAhead] { context->setRenderAheadDepth(renderAhead); }); in setRenderAheadDepth()
DRenderProxy.h142 ANDROID_API void setRenderAheadDepth(int renderAhead);
DCanvasContext.h196 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.cpp155 if (opts.renderAhead) { in run()
158 proxy->setRenderAheadDepth(opts.renderAhead); in run()
/frameworks/base/libs/hwui/tests/common/
DTestScene.h41 int renderAhead = 0; member