Searched defs:drawIndex (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/
H A DFrameBuilder.cpp360 size_t drawIndex, shadowIndex, endIndex; local
362 drawIndex = 0;
366 drawIndex = nonNegativeIndex;
368 shadowIndex = drawIndex; // potentially draw shadow for each pos Z child
372 while (shadowIndex < endIndex || drawIndex < endIndex) {
378 if (shadowIndex == drawIndex || casterZ - lastCasterZ < 0.1f) {
387 const RenderNodeOp* childOp = zTranslatedNodes[drawIndex].value;
389 drawIndex++;
H A DRenderNode.cpp931 size_t drawIndex, shadowIndex, endIndex; local
933 drawIndex = 0;
937 drawIndex = nonNegativeIndex;
939 shadowIndex = drawIndex; // potentially draw shadow for each pos Z child
943 endIndex - drawIndex, mode == kNegativeZChildren ? "negative" : "positive");
946 while (shadowIndex < endIndex || drawIndex < endIndex) {
953 if (shadowIndex == drawIndex || casterZ - lastCasterZ < SHADOW_DELTA) {
966 DrawRenderNodeOp* childOp = zTranslatedNodes[drawIndex].value;
974 drawIndex++;

Completed in 11 milliseconds