Lines Matching refs:vertex
217 SkGLVertex vertex[4];
218 const SkGLVertex* texs = shader.useTex() ? vertex : NULL;
229 vertex->setRectFan(r);
232 SkGL::DrawVertices(4, GL_TRIANGLE_FAN, vertex, texs, NULL, NULL,
327 SkGLVertex vertex[10]; // max needed for all cases
335 setStrokeRectStrip(vertex, rect, width);
339 vertex[0].setScalars(rect.fLeft, rect.fTop);
340 vertex[1].setScalars(rect.fRight, rect.fTop);
341 vertex[2].setScalars(rect.fRight, rect.fBottom);
342 vertex[3].setScalars(rect.fLeft, rect.fBottom);
343 vertex[4].setScalars(rect.fLeft, rect.fTop);
349 vertex->setRectFan(rect);
352 const SkGLVertex* texs = shader.useTex() ? vertex : NULL;
353 SkGL::DrawVertices(vertCount, vertMode, vertex, texs, NULL, NULL,
720 // convert from quad vertex count to triangle vertex count