Home
last modified time | relevance | path

Searched refs:fVertexBuffer (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/gpu/
DGrMesh.h33 bool hasVertexData() const { return SkToBool(fVertexBuffer.get()); } in hasVertexData()
85 PendingBuffer fVertexBuffer; variable
198 fVertexBuffer.reset(vertexBuffer); in setVertexData()
205 impl->sendInstancedMeshToGpu(primProc, fPrimitiveType, fVertexBuffer.get(), in sendToGpu()
212 fVertexBuffer.get(), fBaseVertex, in sendToGpu()
221 impl->sendMeshToGpu(primProc, fPrimitiveType, fVertexBuffer.get(), in sendToGpu()
230 fNonPatternIndexData.fMaxIndexValue, fVertexBuffer.get(), in sendToGpu()
245 maxIndexValue, fVertexBuffer.get(), in sendToGpu()
/external/skia/src/gpu/ops/
DGrTessellatingPathRenderer.cpp75 fVertexBuffer.reset(fResourceProvider->createBuffer( in lock()
77 if (!fVertexBuffer.get()) { in lock()
81 fVertices = fVertexBuffer->map(); in lock()
89 fVertexBuffer->unmap(); in unlock()
91 fVertexBuffer->updateData(fVertices, actualCount * stride()); in unlock()
96 GrBuffer* vertexBuffer() { return fVertexBuffer.get(); } in vertexBuffer()
98 sk_sp<GrBuffer> fVertexBuffer; member in __anonf59bf3f70111::StaticVertexAllocator
109 , fVertexBuffer(nullptr) in DynamicVertexAllocator()
113 fVertices = fTarget->makeVertexSpace(stride(), vertexCount, &fVertexBuffer, &fFirstVertex); in lock()
120 const GrBuffer* vertexBuffer() const { return fVertexBuffer; } in vertexBuffer()
[all …]
DGrAtlasTextOp.cpp117 flushInfo.fVertexBuffer.reset(SkRef(vertexBuffer)); in onPrepareDraws()
119 if (!vertices || !flushInfo.fVertexBuffer) { in onPrepareDraws()
153 mesh.setVertexData(flushInfo->fVertexBuffer.get(), flushInfo->fVertexOffset); in flush()
DGrDefaultPathRenderer.cpp230 &fVertexBuffer, in allocNewBuffers()
274 fMesh.setVertexData(fVertexBuffer, fFirstVertex); in emitMeshAndPutBackReserve()
314 const GrBuffer* fVertexBuffer; member in __anonee0b1f2d0111::PathGeoBuilder
DGrAtlasTextOp.h114 sk_sp<const GrBuffer> fVertexBuffer; member
DGrSmallPathRenderer.cpp212 sk_sp<const GrBuffer> fVertexBuffer; member
267 flushInfo.fVertexBuffer.reset(SkRef(vertexBuffer)); in onPrepareDraws()
682 mesh.setVertexData(flushInfo->fVertexBuffer.get(), flushInfo->fVertexOffset); in flush()
/external/skia/src/gpu/instanced/
DInstancedRendering.cpp41 if (!fVertexBuffer) { in beginFlush()
42 fVertexBuffer.reset(InstanceProcessor::FindOrCreateVertexBuffer(fGpu.get())); in beginFlush()
43 if (!fVertexBuffer) { in beginFlush()
89 fVertexBuffer.reset(); in resetGpuResources()
DInstancedRendering.h92 const GrBuffer* vertexBuffer() const { SkASSERT(fVertexBuffer); return fVertexBuffer.get(); } in vertexBuffer()
112 sk_sp<const GrBuffer> fVertexBuffer; variable
/external/skia/src/gpu/vk/
DGrVkCopyManager.cpp134 fVertexBuffer.reset(GrVkVertexBuffer::Create(gpu, sizeof(vdata), false)); in createCopyProgram()
135 SkASSERT(fVertexBuffer.get()); in createCopyProgram()
136 fVertexBuffer->updateData(vdata, sizeof(vdata)); in createCopyProgram()
179 nullptr == fVertexBuffer.get() && in copySurfaceAsDraw()
383 cmdBuffer->bindInputBuffer(gpu, 0, fVertexBuffer.get()); in copySurfaceAsDraw()
DGrVkCopyManager.h49 sk_sp<GrVkVertexBuffer> fVertexBuffer; variable
/external/skia/tests/
DGrPipelineDynamicStateTest.cpp114 , fVertexBuffer(std::move(vbuff)) { in GrPipelineDynamicStateTestOp()
134 mesh.setVertexData(fVertexBuffer.get(), 4 * i); in onExecute()
142 const sk_sp<const GrBuffer> fVertexBuffer; member in GrPipelineDynamicStateTestOp