Lines Matching refs:vertexBuffer
64 sk_sp<const GrBuffer> vertexBuffer,
291 sk_sp<const GrBuffer> vertexBuffer; in drawVolatile() local
293 void* verts = target->makeVertexSpace(vertexStride, fVertexCount, &vertexBuffer, &firstVertex); in drawVolatile()
318 this->drawVertices(target, std::move(gp), std::move(vertexBuffer), firstVertex, indexBuffer, in drawVolatile()
347 sk_sp<GrGpuBuffer> vertexBuffer = rp->findByUniqueKey<GrGpuBuffer>(vertexKey); in drawNonVolatile() local
352 if (vertexBuffer && (!this->isIndexed() || indexBuffer)) { in drawNonVolatile()
353 this->drawVertices(target, std::move(gp), std::move(vertexBuffer), 0, in drawNonVolatile()
360 vertexBuffer = rp->createBuffer( in drawNonVolatile()
362 void* verts = vertexBuffer ? vertexBuffer->map() : nullptr; in drawNonVolatile()
388 vertexBuffer->unmap(); in drawNonVolatile()
394 rp->assignUniqueKeyToResource(vertexKey, vertexBuffer.get()); in drawNonVolatile()
398 this->drawVertices(target, std::move(gp), std::move(vertexBuffer), 0, std::move(indexBuffer), in drawNonVolatile()
496 sk_sp<const GrBuffer> vertexBuffer, in drawVertices() argument
507 mesh->setVertexData(std::move(vertexBuffer), firstVertex); in drawVertices()