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

/frameworks/base/libs/hwui/
H A DFrameBuilder.cpp371 float lastCasterZ = 0.0f; local
378 if (shadowIndex == drawIndex || casterZ - lastCasterZ < 0.1f) {
381 lastCasterZ = casterZ; // must do this even if current caster not casting a shadow
H A DRenderNode.cpp945 float lastCasterZ = 0.0f; local
953 if (shadowIndex == drawIndex || casterZ - lastCasterZ < SHADOW_DELTA) {
956 lastCasterZ = casterZ; // must do this even if current caster not casting a shadow

Completed in 302 milliseconds