Home
last modified time | relevance | path

Searched refs:kQuadNumVertices (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/batches/
DGrAAHairLinePathRenderer.cpp64 static const int kQuadNumVertices = 5; variable
71 kQuadIdxBufPattern, kIdxsPerQuad, kQuadsNumInIdxBuffer, kQuadNumVertices, in ref_quads_index_buffer()
443 static void set_uv_quad(const SkPoint qpts[3], BezierVertex verts[kQuadNumVertices]) { in set_uv_quad() argument
446 DevToUV.apply<kQuadNumVertices, sizeof(BezierVertex), sizeof(SkPoint)>(verts); in set_uv_quad()
450 const SkMatrix* toSrc, BezierVertex verts[kQuadNumVertices]) { in bloat_quad() argument
517 toSrc->mapPointsWithStride(&verts[0].fPos, sizeof(BezierVertex), kQuadNumVertices); in bloat_quad()
528 static void set_conic_coeffs(const SkPoint p[3], BezierVertex verts[kQuadNumVertices], in set_conic_coeffs() argument
534 for (int i = 0; i < kQuadNumVertices; ++i) { in set_conic_coeffs()
549 *vert += kQuadNumVertices; in add_conics()
566 *vert += kQuadNumVertices; in add_quads()
[all …]
DGrPLSPathRenderer.cpp57 #define kQuadNumVertices 5 macro
66 PLSVertex quad[kQuadNumVertices]; in add_quad()
72 for (int i = 0; i < kQuadNumVertices; i++) { in add_quad()
84 DevToUV.apply<kQuadNumVertices, sizeof(PLSVertex), sizeof(SkPoint)>(quad); in add_quad()
85 for (int i = 2; i < kQuadNumVertices; i++) { in add_quad()