Lines Matching refs:GrPoint
15 #include "GrPoint.h"
64 GrAssert(vertexSize >= sizeof(GrPoint));
66 const GrPoint* point = static_cast<const GrPoint*>(vertices);
70 point = reinterpret_cast<GrPoint*>(reinterpret_cast<intptr_t>(point) + vertexSize);
81 {kVec4ub_GrVertexAttribType, sizeof(GrPoint), kColor_GrVertexAttribBinding},
82 {kVec2f_GrVertexAttribType, sizeof(GrPoint)+sizeof(GrColor),
88 {kVec2f_GrVertexAttribType, sizeof(GrPoint), kLocalCoord_GrVertexAttribBinding},
104 *colorOffset = sizeof(GrPoint);
105 *localOffset = sizeof(GrPoint) + sizeof(GrColor);
108 *colorOffset = sizeof(GrPoint);
111 *localOffset = sizeof(GrPoint);
177 GrPoint* coords = GrTCast<GrPoint*>(GrTCast<intptr_t>(geo.vertices()) + localOffset);