Searched refs:kMeshVertexCnt (Results 1 – 1 of 1) sorted by relevance
/third_party/skia/gm/ |
D | vertices.cpp | 75 static const int kMeshVertexCnt = 9; variable 77 static void fill_mesh(SkPoint pts[kMeshVertexCnt], SkPoint texs[kMeshVertexCnt], in fill_mesh() argument 78 SkColor colors[kMeshVertexCnt], SkScalar shaderScale) { in fill_mesh() argument 101 for (size_t i = 0; i < kMeshVertexCnt; ++i) { in fill_mesh() 107 SkPoint fPts[kMeshVertexCnt]; 108 SkPoint fTexs[kMeshVertexCnt]; 109 SkColor fColors[kMeshVertexCnt]; 193 kMeshVertexCnt, fPts, texs, colors, in onDraw() 219 SkVertices::Builder builder(SkVertices::kTriangles_VertexMode, kMeshVertexCnt, 3 * kNumTris, in draw_batching() 257 auto v = SkVertices::MakeCopy(SkVertices::kTriangles_VertexMode, kMeshVertexCnt, in draw_batching()
|