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

/frameworks/base/libs/hwui/
H A DShadowTessellator.cpp119 const int rays = SHADOW_RAY_COUNT; local
122 int baseIndex = layer * rays;
123 for (int i = 0; i < rays; i++) {
125 shadowIndices[currentIndex++] = rays + i + baseIndex;
130 shadowIndices[currentIndex++] = rays + baseIndex;
H A DSpotShadow.cpp26 // When the polygon is about 90 vertices, the penumbra + umbra can reach 270 rays.
606 // Since we are still shooting rays to penumbra, it needs to be convex.
626 * @param rays The total number of rays.
630 void SpotShadow::smoothPolygon(int level, int rays, float* rayDist) { argument
632 for (int i = 0; i < rays; i++) {
633 float p1 = rayDist[(rays - 1 + i) % rays];
635 float p3 = rayDist[(i + 1) % rays];

Completed in 455 milliseconds