Lines Matching refs:vertexBuffer
22 for (unsigned int i = 0; i < vertexBuffer.getSize(); i++) { \
27 for (unsigned int i = 0; i < vertexBuffer.getSize(); i++) { \
184 VertexBuffer& vertexBuffer) { in getFillVerticesFromPerimeter() argument
185 Vertex* buffer = vertexBuffer.alloc<Vertex>(perimeter.size()); in getFillVerticesFromPerimeter()
209 const std::vector<Vertex>& perimeter, VertexBuffer& vertexBuffer) { in getStrokeVerticesFromPerimeter() argument
210 Vertex* buffer = vertexBuffer.alloc<Vertex>(perimeter.size() * 2 + 2); in getStrokeVerticesFromPerimeter()
267 const std::vector<Vertex>& vertices, VertexBuffer& vertexBuffer) { in getStrokeVerticesFromUnclosedVertices() argument
270 Vertex* buffer = vertexBuffer.alloc<Vertex>(allocSize); in getStrokeVerticesFromUnclosedVertices()
347 const std::vector<Vertex>& perimeter, VertexBuffer& vertexBuffer, in getFillVerticesFromPerimeterAA() argument
349 AlphaVertex* buffer = vertexBuffer.alloc<AlphaVertex>(perimeter.size() * 3 + 2); in getFillVerticesFromPerimeterAA()
577 const std::vector<Vertex>& vertices, VertexBuffer& vertexBuffer) { in getStrokeVerticesFromUnclosedVerticesAA() argument
582 AlphaVertex* buffer = vertexBuffer.alloc<AlphaVertex>(allocSize); in getStrokeVerticesFromUnclosedVerticesAA()
651 const std::vector<Vertex>& perimeter, VertexBuffer& vertexBuffer) { in getStrokeVerticesFromPerimeterAA() argument
652 AlphaVertex* buffer = vertexBuffer.alloc<AlphaVertex>(6 * perimeter.size() + 8); in getStrokeVerticesFromPerimeterAA()
724 const mat4& transform, VertexBuffer& vertexBuffer) { in tessellatePath() argument
764 getStrokeVerticesFromPerimeter(paintInfo, tempVertices, vertexBuffer); in tessellatePath()
766 getStrokeVerticesFromUnclosedVertices(paintInfo, tempVertices, vertexBuffer); in tessellatePath()
771 getStrokeVerticesFromPerimeterAA(paintInfo, tempVertices, vertexBuffer); in tessellatePath()
773 getStrokeVerticesFromUnclosedVerticesAA(paintInfo, tempVertices, vertexBuffer); in tessellatePath()
780 getFillVerticesFromPerimeter(tempVertices, vertexBuffer); in tessellatePath()
782 getFillVerticesFromPerimeterAA(paintInfo, tempVertices, vertexBuffer); in tessellatePath()
788 vertexBuffer.setBounds(bounds); in tessellatePath()
789 vertexBuffer.setMeshFeatureFlags(paintInfo.isAA ? VertexBuffer::kAlpha : VertexBuffer::kNone); in tessellatePath()
809 const mat4& transform, VertexBuffer& vertexBuffer) { in tessellatePoints() argument
836 instanceVertices<Vertex>(tempBuffer, vertexBuffer, points, count, bounds); in tessellatePoints()
840 instanceVertices<AlphaVertex>(tempBuffer, vertexBuffer, points, count, bounds); in tessellatePoints()
845 vertexBuffer.setBounds(bounds); in tessellatePoints()
846 vertexBuffer.setMeshFeatureFlags(paintInfo.isAA ? VertexBuffer::kAlpha : VertexBuffer::kNone); in tessellatePoints()
850 const mat4& transform, VertexBuffer& vertexBuffer) { in tessellateLines() argument
860 vertexBuffer.alloc<AlphaVertex>(numLines * lineAllocSize + (numLines - 1) * 2); in tessellateLines()
863 vertexBuffer.alloc<Vertex>(numLines * lineAllocSize + (numLines - 1) * 2); in tessellateLines()
875 getStrokeVerticesFromUnclosedVerticesAA(paintInfo, tempVertices, vertexBuffer); in tessellateLines()
877 getStrokeVerticesFromUnclosedVertices(paintInfo, tempVertices, vertexBuffer); in tessellateLines()
887 vertexBuffer.createDegenerateSeparators<AlphaVertex>(lineAllocSize); in tessellateLines()
889 vertexBuffer.createDegenerateSeparators<Vertex>(lineAllocSize); in tessellateLines()
894 vertexBuffer.setBounds(bounds); in tessellateLines()
895 vertexBuffer.setMeshFeatureFlags(paintInfo.isAA ? VertexBuffer::kAlpha : VertexBuffer::kNone); in tessellateLines()