Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/pipeline/skia/
DReorderBarrierDrawables.cpp54 const float casterZ = childNode->getNodeProperties().getZ(); in onDraw() local
55 if (casterZ >= -NON_ZERO_EPSILON) { // draw only children with negative Z in onDraw()
96 const float casterZ = zChildren[shadowIndex]->getNodeProperties().getZ(); in onDraw() local
100 if (shadowIndex == drawIndex || casterZ - lastCasterZ < SHADOW_DELTA) { in onDraw()
102 lastCasterZ = casterZ; // must do this even if current caster not casting a shadow in onDraw()