Lines Matching full:vertex
303 // generated vertex coordinates to move them to the correct position
500 // setup vertex / glyphIndex for the new run
1374 intptr_t vertex = reinterpret_cast<intptr_t>(blob->fVertices + subRun->fVertexEndIndex);
1378 SkPoint* position = reinterpret_cast<SkPoint*>(vertex);
1380 SkColor* colorPtr = reinterpret_cast<SkColor*>(vertex + sizeof(SkPoint));
1382 vertex += vertexStride;
1385 position = reinterpret_cast<SkPoint*>(vertex);
1387 colorPtr = reinterpret_cast<SkColor*>(vertex + sizeof(SkPoint));
1389 vertex += vertexStride;
1392 position = reinterpret_cast<SkPoint*>(vertex);
1394 colorPtr = reinterpret_cast<SkColor*>(vertex + sizeof(SkPoint));
1396 vertex += vertexStride;
1399 position = reinterpret_cast<SkPoint*>(vertex);
1401 colorPtr = reinterpret_cast<SkColor*>(vertex + sizeof(SkPoint));
1405 SkPoint* position = reinterpret_cast<SkPoint*>(vertex);
1407 vertex += vertexStride;
1410 position = reinterpret_cast<SkPoint*>(vertex);
1412 vertex += vertexStride;
1415 position = reinterpret_cast<SkPoint*>(vertex);
1417 vertex += vertexStride;
1420 position = reinterpret_cast<SkPoint*>(vertex);
1671 // Texture coords are the last vertex attribute so we get a pointer to the
1673 intptr_t vertex = reinterpret_cast<intptr_t>(blob->fVertices);
1674 vertex += info.fVertexStartIndex;
1675 vertex += vertexStride * glyphIdx * kVerticesPerGlyph;
1676 vertex += vertexStride - sizeof(SkIPoint16);
1678 this->regenerateTextureCoords(glyph, vertex, vertexStride);
1682 intptr_t vertex = reinterpret_cast<intptr_t>(blob->fVertices);
1683 vertex += info.fVertexStartIndex;
1684 vertex += vertexStride * glyphIdx * kVerticesPerGlyph + sizeof(SkPoint);
1685 this->regenerateColors(vertex, vertexStride, args.fColor);
1689 intptr_t vertex = reinterpret_cast<intptr_t>(blob->fVertices);
1690 vertex += info.fVertexStartIndex;
1691 vertex += vertexStride * glyphIdx * kVerticesPerGlyph;
1694 this->regeneratePositions(vertex, vertexStride, transX, transY);
1747 // We don't yet position distance field text on the cpu, so we have to map the vertex bounds
1796 void regenerateTextureCoords(GrGlyph* glyph, intptr_t vertex, size_t vertexStride) {
1815 textureCoords = reinterpret_cast<SkIPoint16*>(vertex);
1817 vertex += vertexStride;
1820 textureCoords = reinterpret_cast<SkIPoint16*>(vertex);
1822 vertex += vertexStride;
1825 textureCoords = reinterpret_cast<SkIPoint16*>(vertex);
1827 vertex += vertexStride;
1830 textureCoords = reinterpret_cast<SkIPoint16*>(vertex);
1834 void regenerateColors(intptr_t vertex, size_t vertexStride, GrColor color) {
1836 SkColor* vcolor = reinterpret_cast<SkColor*>(vertex);
1838 vertex += vertexStride;
1842 void regeneratePositions(intptr_t vertex, size_t vertexStride, SkScalar transX,
1845 SkPoint* point = reinterpret_cast<SkPoint*>(vertex);
1848 vertex += vertexStride;