Searched refs:polyLength (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/libs/hwui/ |
H A D | AmbientShadow.h | 35 int polyLength, const Vector3& centroid3d, float heightFactor,
|
H A D | SpotShadow.h | 30 float lightSize, const Vector3* poly, int polyLength, 43 static float rayIntersectPoly(const Vector2* poly, int polyLength, 49 static void sort(Vector2* poly, int polyLength, const Vector2& center); 61 const Vector3* poly, int polyLength, VertexBuffer& retstrips, const Vector2& centroid); 70 static void dumpPolygon(const Vector2* poly, int polyLength, const char* polyName); 71 static void dumpPolygon(const Vector3* poly, int polyLength, const char* polyName);
|
H A D | SpotShadow.cpp | 229 * @param polyLength The number of vertices of the polygon. 232 void SpotShadow::sort(Vector2* poly, int polyLength, const Vector2& center) { argument 233 quicksortCirc(poly, 0, polyLength - 1, center); 409 * @param polyLength number of vertexes of the occluding polygon 414 float lightSize, const Vector3* poly, int polyLength, const Vector3& polyCentroid, 420 if (CC_UNLIKELY(polyLength < 3)) { 426 OutlineData outlineData[polyLength]; 444 projectCasterToOutline(outlineData[polyLength - 1].position, lightCenter, 445 poly[polyLength - 1]); 448 int currentNormalIndex = polyLength 413 createSpotShadow(bool isCasterOpaque, const Vector3& lightCenter, float lightSize, const Vector3* poly, int polyLength, const Vector3& polyCentroid, VertexBuffer& shadowTriangleStrip) argument 691 findPolyIndex(bool isPositiveCross, int startPolyIndex, const Vector2& umbraDir, const Vector2* polyToCentroid, int polyLength) argument 812 genPolyToCentroid(const Vector2* poly2d, int polyLength, const Vector2& centroid, Vector2* polyToCentroid) argument 834 getCloserVertex(const Vector2& umbraVertex, const Vector2& centroid, const Vector2* poly2d, int polyLength, const Vector2* polyToCentroid, bool isPositiveCross, int& previousPolyIndex) 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 1061 dumpPolygon(const Vector2* poly, int polyLength, const char* polyName) argument 1070 dumpPolygon(const Vector3* poly, int polyLength, const char* polyName) argument [all...] |
H A D | ShadowTessellator.h | 81 static Vector2 centroid2d(const Vector2* poly, int polyLength);
|
H A D | ShadowTessellator.cpp | 148 * @param polyLength The length of the polygon in terms of number of vertices. 151 Vector2 ShadowTessellator::centroid2d(const Vector2* poly, int polyLength) { argument 154 int p1 = polyLength - 1; 156 for (int p2 = 0; p2 < polyLength; p2++) {
|
Completed in 54 milliseconds