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

/frameworks/base/libs/hwui/
H A DSpotShadow.cpp26 // When the polygon is about 90 vertices, the penumbra + umbra can reach 270 rays.
78 * For each vertex, we need to keep track of its angle, whether it is penumbra or
84 // True is the vertex comes from penumbra, otherwise it comes from umbra.
466 // Then each polygon's vertex produce at minmal 2 penumbra vertices.
470 Vector2 penumbra[allocatedPenumbraLength]; local
482 // Generate all the penumbra's vertices only using the (outline vertex + normal * radius)
483 // There is no guarantee that the penumbra is still convex, but for
484 // each outline vertex, it will connect to all its corresponding penumbra vertices as
485 // triangle fans. And for neighber penumbra vertex, it will be a trapezoid.
530 penumbra[penumbraInde
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...]

Completed in 113 milliseconds