Home
last modified time | relevance | path

Searched refs:qpts (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/gpu/
DGrPathUtils.cpp375 SkPoint* qpts = quads->push_back_n(6); in convert_noninflect_cubic_to_quads() local
376 qpts[0] = p[0]; in convert_noninflect_cubic_to_quads()
377 qpts[1] = b; in convert_noninflect_cubic_to_quads()
378 qpts[2] = mid; in convert_noninflect_cubic_to_quads()
379 qpts[3] = mid; in convert_noninflect_cubic_to_quads()
380 qpts[4] = c; in convert_noninflect_cubic_to_quads()
381 qpts[5] = p[3]; in convert_noninflect_cubic_to_quads()
383 SkPoint* qpts = quads->push_back_n(3); in convert_noninflect_cubic_to_quads() local
384 qpts[0] = p[0]; in convert_noninflect_cubic_to_quads()
385 qpts[1] = mid; in convert_noninflect_cubic_to_quads()
[all …]
DGrAAConvexPathRenderer.cpp377 GrPoint qpts[] = {sega.endPt(), segb.fPts[0], segb.fPts[1]}; in create_vertices() local
383 verts[v + 1].fPos = qpts[0]; in create_vertices()
384 verts[v + 2].fPos = qpts[2]; in create_vertices()
385 verts[v + 3].fPos = qpts[0] + segb.fNorms[0]; in create_vertices()
386 verts[v + 4].fPos = qpts[2] + segb.fNorms[1]; in create_vertices()
387 verts[v + 5].fPos = qpts[1] + midVec; in create_vertices()
389 SkScalar c = segb.fNorms[0].dot(qpts[0]); in create_vertices()
392 verts[v + 2].fD0 = -segb.fNorms[0].dot(qpts[2]) + c; in create_vertices()
397 c = segb.fNorms[1].dot(qpts[2]); in create_vertices()
399 verts[v + 1].fD1 = -segb.fNorms[1].dot(qpts[0]) + c; in create_vertices()
[all …]
DGrAAHairLinePathRenderer.cpp356 void bloat_quad(const SkPoint qpts[3], const SkMatrix* toDevice, in bloat_quad()
360 SkPoint a = qpts[0]; in bloat_quad()
361 SkPoint b = qpts[1]; in bloat_quad()
362 SkPoint c = qpts[2]; in bloat_quad()
365 GrPathUtils::QuadUVMatrix DevToUV(qpts); in bloat_quad()