Home
last modified time | relevance | path

Searched refs:drawIndex (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/
DRenderNode.cpp941 size_t drawIndex, shadowIndex, endIndex; in pushLayerUpdate() local
943 drawIndex = 0; in pushLayerUpdate()
947 drawIndex = nonNegativeIndex; in pushLayerUpdate()
949 shadowIndex = drawIndex; // potentially draw shadow for each pos Z child in pushLayerUpdate()
953 endIndex - drawIndex, mode == kNegativeZChildren ? "negative" : "positive"); in pushLayerUpdate()
956 while (shadowIndex < endIndex || drawIndex < endIndex) { in pushLayerUpdate()
963 if (shadowIndex == drawIndex || casterZ - lastCasterZ < SHADOW_DELTA) { in pushLayerUpdate()
976 DrawRenderNodeOp* childOp = zTranslatedNodes[drawIndex].value; in pushLayerUpdate()
984 drawIndex++; in pushLayerUpdate()
DFrameBuilder.cpp360 size_t drawIndex, shadowIndex, endIndex; in defer3dChildren() local
362 drawIndex = 0; in defer3dChildren()
366 drawIndex = nonNegativeIndex; in defer3dChildren()
368 shadowIndex = drawIndex; // potentially draw shadow for each pos Z child in defer3dChildren()
372 while (shadowIndex < endIndex || drawIndex < endIndex) { in defer3dChildren()
378 if (shadowIndex == drawIndex || casterZ - lastCasterZ < 0.1f) { in defer3dChildren()
387 const RenderNodeOp* childOp = zTranslatedNodes[drawIndex].value; in defer3dChildren()
389 drawIndex++; in defer3dChildren()