Searched refs:umbra (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/libs/hwui/ |
H A D | SpotShadow.cpp | 22 // When there is no umbra, then just fake the umbra using 26 // When the polygon is about 90 vertices, the penumbra + umbra can reach 270 rays. 79 * umbra, and its corresponding vertex index. 84 // True is the vertex comes from penumbra, otherwise it comes from umbra. 473 Vector2 umbra[polyLength]; local 476 // the umbra is invalid, and we will tune down the shadow strength. 535 // Compute the umbra by the intersection from the outline's centroid! 555 // on the other side of C), there is no real umbra any more, so we just fake 556 // a small area around the centroid as the umbra, an 714 genNewPenumbraAndPairWithUmbra(const Vector2* penumbra, int penumbraLength, const Vector2* umbra, int umbraLength, Vector2* newPenumbra, int& newPenumbraIndex, IndexPair* verticesPair, int& verticesPairIndex) argument 869 generateTriangleStrip(bool isCasterOpaque, float shadowStrengthScale, Vector2* penumbra, int penumbraLength, Vector2* umbra, int umbraLength, const Vector3* poly, int polyLength, VertexBuffer& shadowTriangleStrip, const Vector2& centroid) argument [all...] |
H A D | SpotShadow.h | 60 Vector2* penumbra, int penumbraLength, Vector2* umbra, int umbraLength,
|
Completed in 93 milliseconds