Lines Matching refs:fVertexBuffer
104 SkASSERT(!fLockStride && !fVertices && !fVertexBuffer && !fVertexData); in ~StaticVertexAllocator()
109 SkASSERT(!fLockStride && !fVertices && !fVertexBuffer && !fVertexData); in lock()
113 fVertexBuffer = fResourceProvider->createBuffer(size, GrGpuBufferType::kVertex, in lock()
115 if (!fVertexBuffer) { in lock()
119 fVertices = fVertexBuffer->map(); in lock()
130 SkASSERT(fLockStride && fVertices && fVertexBuffer && !fVertexData); in unlock()
133 fVertexBuffer->unmap(); in unlock()
135 fVertexBuffer->updateData(fVertices, actualCount * fLockStride); in unlock()
139 fVertexData = GrThreadSafeCache::MakeVertexData(std::move(fVertexBuffer), in unlock()
147 SkASSERT(!fLockStride && !fVertices && !fVertexBuffer && fVertexData); in detachVertexData()
154 sk_sp<GrGpuBuffer> fVertexBuffer; member in __anona5e524290111::StaticVertexAllocator