Searched defs:umbra (Results 1 - 1 of 1) sorted by relevance
/frameworks/base/libs/hwui/ |
H A D | SpotShadow.cpp | 20 // When there is no umbra, then just fake the umbra using 24 // When the polygon is about 90 vertices, the penumbra + umbra can reach 270 rays. 82 * umbra, and its corresponding vertex index. 87 // True is the vertex comes from penumbra, otherwise it comes from umbra. 450 Vector2 umbra[polyLength]; local 453 // the umbra is invalid, and we will tune down the shadow strength. 512 // Compute the umbra by the intersection from the outline's centroid! 532 // on the other side of C), there is no real umbra any more, so we just fake 533 // a small area around the centroid as the umbra, an 691 genNewPenumbraAndPairWithUmbra(const Vector2* penumbra, int penumbraLength, const Vector2* umbra, int umbraLength, Vector2* newPenumbra, int& newPenumbraIndex, IndexPair* verticesPair, int& verticesPairIndex) argument 850 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...] |
Completed in 46 milliseconds