Lines Matching refs:vertexBuffer
230 sk_sp<const GrBuffer> vertexBuffer = nullptr; in drawVolatile() local
232 void* verts = target->makeVertexSpace(vertexStride, fVertexCount, &vertexBuffer, &firstVertex); in drawVolatile()
258 this->drawVertices(target, std::move(gp), std::move(vertexBuffer), firstVertex, indexBuffer, in drawVolatile()
289 sk_sp<GrBuffer> vertexBuffer = rp->findByUniqueKey<GrBuffer>(vertexKey); in drawNonVolatile() local
295 if (vertexBuffer && (!this->isIndexed() || indexBuffer)) { in drawNonVolatile()
296 this->drawVertices(target, std::move(gp), std::move(vertexBuffer), 0, in drawNonVolatile()
303 vertexBuffer = rp->createBuffer(fVertexCount * vertexStride, in drawNonVolatile()
307 void* verts = vertexBuffer ? vertexBuffer->map() : nullptr; in drawNonVolatile()
336 vertexBuffer->unmap(); in drawNonVolatile()
342 rp->assignUniqueKeyToResource(vertexKey, vertexBuffer.get()); in drawNonVolatile()
346 this->drawVertices(target, std::move(gp), std::move(vertexBuffer), 0, std::move(indexBuffer), in drawNonVolatile()
463 sk_sp<const GrBuffer> vertexBuffer, in drawVertices() argument
474 mesh->setVertexData(std::move(vertexBuffer), firstVertex); in drawVertices()