Home | History | Annotate | Download | only in gpu

Lines Matching refs:GrPoint

299     {kVec2f_GrVertexAttribType, sizeof(GrPoint), kLocalCoord_GrVertexAttribBinding}
346 GrPoint* verts = (GrPoint*) arg.vertices();
347 verts[0].setIRectFan(0, 0, texture->width(), texture->height(), 2 * sizeof(GrPoint));
348 verts[1].setIRectFan(0, 0, 1, 1, 2 * sizeof(GrPoint));
659 static void setStrokeRectStrip(GrPoint verts[10], SkRect rect,
816 GrPoint* vertex = geo.positions();
862 {kVec2f_GrVertexAttribType, sizeof(GrPoint), kLocalCoord_GrVertexAttribBinding },
863 {kVec4ub_GrVertexAttribType, 2*sizeof(GrPoint), kColor_GrVertexAttribBinding}
868 {kVec4ub_GrVertexAttribType, sizeof(GrPoint), kColor_GrVertexAttribBinding},
872 const GrPoint* texCoords,
880 *texOffset = sizeof(GrPoint);
881 *colorOffset = 2*sizeof(GrPoint);
884 *texOffset = sizeof(GrPoint);
887 *colorOffset = sizeof(GrPoint);
899 const GrPoint positions[],
900 const GrPoint texCoords[],
917 if (sizeof(GrPoint) != vertexSize) {
925 *((GrPoint*)curVertex) = positions[i];
928 *(GrPoint*)((intptr_t)curVertex + texOffset) = texCoords[i];