Searched defs:polyLength (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/libs/hwui/ |
H A D | ShadowTessellator.cpp | 121 * @param polyLength The length of the polygon in terms of number of vertices. 124 Vector2 ShadowTessellator::centroid2d(const Vector2* poly, int polyLength) { argument 127 int p1 = polyLength - 1; 129 for (int p2 = 0; p2 < polyLength; p2++) {
|
H A D | SpotShadow.cpp | 235 * @param polyLength The number of vertices of the polygon. 238 void SpotShadow::sort(Vector2* poly, int polyLength, const Vector2& center) { argument 239 quicksortCirc(poly, 0, polyLength - 1, center); 371 * @param polyLength number of vertexes of the occluding polygon 376 float lightSize, const Vector3* poly, int polyLength, const Vector3& polyCentroid, 382 if (CC_UNLIKELY(polyLength < 3)) { 388 OutlineData outlineData[polyLength]; 406 projectCasterToOutline(outlineData[polyLength - 1].position, lightCenter, 407 poly[polyLength - 1]); 410 int currentNormalIndex = polyLength 375 createSpotShadow(bool isCasterOpaque, const Vector3& lightCenter, float lightSize, const Vector3* poly, int polyLength, const Vector3& polyCentroid, VertexBuffer& shadowTriangleStrip) argument 653 findPolyIndex(bool isPositiveCross, int startPolyIndex, const Vector2& umbraDir, const Vector2* polyToCentroid, int polyLength) argument 778 genPolyToCentroid(const Vector2* poly2d, int polyLength, const Vector2& centroid, Vector2* polyToCentroid) argument 800 getCloserVertex(const Vector2& umbraVertex, const Vector2& centroid, const Vector2* poly2d, int polyLength, const Vector2* polyToCentroid, bool isPositiveCross, int& previousPolyIndex) argument 835 generateTriangleStrip(bool isCasterOpaque, float shadowStrengthScale, Vector2* penumbra, int penumbraLength, Vector2* umbra, int umbraLength, const Vector3* poly, int polyLength, VertexBuffer& shadowTriangleStrip, const Vector2& centroid) argument 1031 dumpPolygon(const Vector2* poly, int polyLength, const char* polyName) argument 1040 dumpPolygon(const Vector3* poly, int polyLength, const char* polyName) argument [all...] |
Completed in 86 milliseconds