Home
last modified time | relevance | path

Searched refs:prevNormal (Results 1 – 6 of 6) sorted by relevance

/external/skqp/src/utils/
DSkPolyUtils.cpp1215 SkVector prevNormal = normals[prevIndex]; in SkOffsetSimplePolygon() local
1216 if (!SkComputeRadialSteps(prevNormal, normals[currIndex], offset, in SkOffsetSimplePolygon()
1222 SkVector currNormal = SkVector::Make(prevNormal.fX*rotCos - prevNormal.fY*rotSin, in SkOffsetSimplePolygon()
1223 prevNormal.fY*rotCos + prevNormal.fX*rotSin); in SkOffsetSimplePolygon()
1225 inputPolygonVerts[currIndex] + prevNormal, in SkOffsetSimplePolygon()
1228 prevNormal = currNormal; in SkOffsetSimplePolygon()
1237 inputPolygonVerts[currIndex] + prevNormal, in SkOffsetSimplePolygon()
DSkShadowTessellator.cpp848 SkVector prevNormal = fPrevOutset; in addArc() local
851 currNormal.fX = prevNormal.fX*rotCos - prevNormal.fY*rotSin; in addArc()
852 currNormal.fY = prevNormal.fY*rotCos + prevNormal.fX*rotSin; in addArc()
857 prevNormal = currNormal; in addArc()
/external/skia/src/utils/
DSkShadowTessellator.cpp848 SkVector prevNormal = fPrevOutset; in addArc() local
851 currNormal.fX = prevNormal.fX*rotCos - prevNormal.fY*rotSin; in addArc()
852 currNormal.fY = prevNormal.fY*rotCos + prevNormal.fX*rotSin; in addArc()
857 prevNormal = currNormal; in addArc()
DSkPolyUtils.cpp1237 SkVector prevNormal = normals[prevIndex]; in SkOffsetSimplePolygon() local
1238 if (!SkComputeRadialSteps(prevNormal, normals[currIndex], offset, in SkOffsetSimplePolygon()
1244 SkVector currNormal = SkVector::Make(prevNormal.fX*rotCos - prevNormal.fY*rotSin, in SkOffsetSimplePolygon()
1245 prevNormal.fY*rotCos + prevNormal.fX*rotSin); in SkOffsetSimplePolygon()
1247 inputPolygonVerts[currIndex] + prevNormal, in SkOffsetSimplePolygon()
1250 prevNormal = currNormal; in SkOffsetSimplePolygon()
1259 inputPolygonVerts[currIndex] + prevNormal, in SkOffsetSimplePolygon()
/external/skia/src/gpu/
DGrTessellator.cpp1708 SkVector prevNormal; in simplify_boundary() local
1709 get_edge_normal(prevEdge, &prevNormal); in simplify_boundary()
1718 if (prev != next && prevNormal.dot(normal) < 0.0 && in simplify_boundary()
1735 get_edge_normal(prevEdge, &prevNormal); in simplify_boundary()
1738 prevNormal = normal; in simplify_boundary()
1876 SkVector prevNormal; in stroke_boundary() local
1877 get_edge_normal(prevEdge, &prevNormal); in stroke_boundary()
1899 float cosAngle = normal.dot(prevNormal); in stroke_boundary()
1915 if (prevNormal.cross(normal) > 0) { in stroke_boundary()
1998 prevNormal = normal; in stroke_boundary()
/external/skqp/src/gpu/
DGrTessellator.cpp1708 SkVector prevNormal; in simplify_boundary() local
1709 get_edge_normal(prevEdge, &prevNormal); in simplify_boundary()
1718 if (prev != next && prevNormal.dot(normal) < 0.0 && in simplify_boundary()
1735 get_edge_normal(prevEdge, &prevNormal); in simplify_boundary()
1738 prevNormal = normal; in simplify_boundary()
1876 SkVector prevNormal; in stroke_boundary() local
1877 get_edge_normal(prevEdge, &prevNormal); in stroke_boundary()
1899 float cosAngle = normal.dot(prevNormal); in stroke_boundary()
1915 if (prevNormal.cross(normal) > 0) { in stroke_boundary()
1998 prevNormal = normal; in stroke_boundary()