Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DSpotShadow.cpp426 OutlineData outlineData[polyLength]; in createSpotShadow() local
444 projectCasterToOutline(outlineData[polyLength - 1].position, lightCenter, in createSpotShadow()
452 float ratioZ = projectCasterToOutline(outlineData[i].position, in createSpotShadow()
454 outlineData[i].radius = ratioZ * lightSize; in createSpotShadow()
456 outlineData[currentNormalIndex].normal = ShadowTessellator::calculateNormal( in createSpotShadow()
457 outlineData[currentNormalIndex].position, in createSpotShadow()
458 outlineData[nextNormalIndex].position); in createSpotShadow()
506 const Vector2& previousNormal = outlineData[preNormalIndex].normal; in createSpotShadow()
507 const Vector2& currentNormal = outlineData[i].normal; in createSpotShadow()
530 penumbra[penumbraIndex++] = outlineData[i].position + in createSpotShadow()
[all …]