Searched refs:currVertex (Results 1 – 4 of 4) sorted by relevance
/third_party/flutter/skia/src/gpu/ops/ |
D | GrDrawAtlasOp.cpp | 115 uint8_t* currVertex = installedGeo.fVerts.begin(); in DrawAtlasOp() local 135 *(reinterpret_cast<GrColor*>(currVertex + sizeof(SkPoint))) = grColor; in DrawAtlasOp() 136 *(reinterpret_cast<GrColor*>(currVertex + vertexStride + sizeof(SkPoint))) = grColor; in DrawAtlasOp() 137 *(reinterpret_cast<GrColor*>(currVertex + 2 * vertexStride + sizeof(SkPoint))) = in DrawAtlasOp() 139 *(reinterpret_cast<GrColor*>(currVertex + 3 * vertexStride + sizeof(SkPoint))) = in DrawAtlasOp() 144 *(reinterpret_cast<SkPoint*>(currVertex)) = strip[0]; in DrawAtlasOp() 145 *(reinterpret_cast<SkPoint*>(currVertex + texOffset)) = in DrawAtlasOp() 148 currVertex += vertexStride; in DrawAtlasOp() 150 *(reinterpret_cast<SkPoint*>(currVertex)) = strip[1]; in DrawAtlasOp() 151 *(reinterpret_cast<SkPoint*>(currVertex + texOffset)) = in DrawAtlasOp() [all …]
|
D | GrAtlasTextOp.cpp | 175 static void clip_quads(const SkIRect& clipRect, char* currVertex, const char* blobVertices, in clip_quads() argument 188 memcpy(currVertex, blobVertices, 4 * vertexStride); in clip_quads() 189 currVertex += 4 * vertexStride; in clip_quads() 253 SkPoint* currPosition = reinterpret_cast<SkPoint*>(currVertex); in clip_quads() 256 *(reinterpret_cast<SkColor*>(currVertex + sizeof(SkPoint))) = color; in clip_quads() 257 uint16_t* currCoords = reinterpret_cast<uint16_t*>(currVertex + coordOffset); in clip_quads() 260 currVertex += vertexStride; in clip_quads() 262 currPosition = reinterpret_cast<SkPoint*>(currVertex); in clip_quads() 265 *(reinterpret_cast<SkColor*>(currVertex + sizeof(SkPoint))) = color; in clip_quads() 266 currCoords = reinterpret_cast<uint16_t*>(currVertex + coordOffset); in clip_quads() [all …]
|
/third_party/skia/src/gpu/ops/ |
D | DrawAtlasOp.cpp | 131 uint8_t* currVertex = installedGeo.fVerts.begin(); in DrawAtlasOpImpl() local 152 *(reinterpret_cast<GrColor*>(currVertex + sizeof(SkPoint))) = grColor; in DrawAtlasOpImpl() 153 *(reinterpret_cast<GrColor*>(currVertex + vertexStride + sizeof(SkPoint))) = grColor; in DrawAtlasOpImpl() 154 *(reinterpret_cast<GrColor*>(currVertex + 2 * vertexStride + sizeof(SkPoint))) = in DrawAtlasOpImpl() 156 *(reinterpret_cast<GrColor*>(currVertex + 3 * vertexStride + sizeof(SkPoint))) = in DrawAtlasOpImpl() 161 *(reinterpret_cast<SkPoint*>(currVertex)) = strip[0]; in DrawAtlasOpImpl() 162 *(reinterpret_cast<SkPoint*>(currVertex + texOffset)) = in DrawAtlasOpImpl() 165 currVertex += vertexStride; in DrawAtlasOpImpl() 167 *(reinterpret_cast<SkPoint*>(currVertex)) = strip[1]; in DrawAtlasOpImpl() 168 *(reinterpret_cast<SkPoint*>(currVertex + texOffset)) = in DrawAtlasOpImpl() [all …]
|
/third_party/flutter/skia/src/gpu/text/ |
D | GrTextBlobVertexRegenerator.cpp | 198 char* currVertex = fBlob->fVertices + fSubRun->vertexStartIndex() + in doRegen() local 200 result->fFirstVertex = currVertex; in doRegen() 242 regen_positions(currVertex, vertexStride, fTransX, fTransY); in doRegen() 245 regen_colors(currVertex, vertexStride, fColor); in doRegen() 248 regen_texcoords(currVertex, vertexStride, glyph, fSubRun->drawAsDistanceFields()); in doRegen() 251 currVertex += vertexStride * GrAtlasTextOp::kVerticesPerGlyph; in doRegen()
|