Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrMesh.h34 bool hasVertexData() const { return SkToBool(fVertexBuffer.get()); } in hasVertexData()
81 sk_sp<const GrBuffer> fVertexBuffer; variable
201 fVertexBuffer = std::move(vertexBuffer); in setVertexData()
208 impl->sendInstancedMeshToGpu(fPrimitiveType, fVertexBuffer.get(), in sendToGpu()
215 fVertexBuffer.get(), fBaseVertex, fInstanceBuffer.get(), in sendToGpu()
223 impl->sendMeshToGpu(fPrimitiveType, fVertexBuffer.get(), in sendToGpu()
232 fNonPatternIndexData.fMaxIndexValue, fVertexBuffer.get(), in sendToGpu()
248 minIndexValue, maxIndexValue, fVertexBuffer.get(), in sendToGpu()
/external/skqp/src/gpu/ops/
DGrTessellatingPathRenderer.cpp80 fVertexBuffer = in lock()
83 if (!fVertexBuffer.get()) { in lock()
87 fVertices = fVertexBuffer->map(); in lock()
95 fVertexBuffer->unmap(); in unlock()
97 fVertexBuffer->updateData(fVertices, actualCount * stride()); in unlock()
102 sk_sp<GrBuffer> detachVertexBuffer() { return std::move(fVertexBuffer); } in detachVertexBuffer()
105 sk_sp<GrBuffer> fVertexBuffer; member in __anonc774e1f80111::StaticVertexAllocator
116 , fVertexBuffer(nullptr) in DynamicVertexAllocator()
120 fVertices = fTarget->makeVertexSpace(stride(), vertexCount, &fVertexBuffer, &fFirstVertex); in lock()
127 sk_sp<const GrBuffer> detachVertexBuffer() const { return std::move(fVertexBuffer); } in detachVertexBuffer()
[all …]
DGrAtlasTextOp.cpp330 &flushInfo.fVertexBuffer, &flushInfo.fVertexOffset); in onPrepareDraws()
332 if (!vertices || !flushInfo.fVertexBuffer) { in onPrepareDraws()
431 mesh->setVertexData(flushInfo->fVertexBuffer, flushInfo->fVertexOffset); in flush()
DGrDefaultPathRenderer.cpp234 &fVertexBuffer, in allocNewBuffers()
280 mesh->setVertexData(std::move(fVertexBuffer), fFirstVertex); in emitMeshAndPutBackReserve()
321 sk_sp<const GrBuffer> fVertexBuffer; member in __anonf366088e0111::PathGeoBuilder
DGrAtlasTextOp.h107 sk_sp<const GrBuffer> fVertexBuffer; member
DGrSmallPathRenderer.cpp307 sk_sp<const GrBuffer> fVertexBuffer; member
381 &flushInfo.fVertexBuffer, in onPrepareDraws()
800 mesh->setVertexData(flushInfo->fVertexBuffer, flushInfo->fVertexOffset); in flush()
/external/skia/src/gpu/ops/
DGrTessellatingPathRenderer.cpp81 fVertexBuffer = fResourceProvider->createBuffer(size, GrGpuBufferType::kVertex, in lock()
83 if (!fVertexBuffer.get()) { in lock()
87 fVertices = fVertexBuffer->map(); in lock()
95 fVertexBuffer->unmap(); in unlock()
97 fVertexBuffer->updateData(fVertices, actualCount * stride()); in unlock()
102 sk_sp<GrGpuBuffer> detachVertexBuffer() { return std::move(fVertexBuffer); } in detachVertexBuffer()
105 sk_sp<GrGpuBuffer> fVertexBuffer; member in __anon054d01410111::StaticVertexAllocator
116 , fVertexBuffer(nullptr) in DynamicVertexAllocator()
120 fVertices = fTarget->makeVertexSpace(stride(), vertexCount, &fVertexBuffer, &fFirstVertex); in lock()
127 sk_sp<const GrBuffer> detachVertexBuffer() const { return std::move(fVertexBuffer); } in detachVertexBuffer()
[all …]
DGrAtlasTextOp.cpp330 &flushInfo.fVertexBuffer, &flushInfo.fVertexOffset); in onPrepareDraws()
332 if (!vertices || !flushInfo.fVertexBuffer) { in onPrepareDraws()
436 mesh->setVertexData(flushInfo->fVertexBuffer, flushInfo->fVertexOffset); in flush()
DGrDefaultPathRenderer.cpp232 &fVertexBuffer, in allocNewBuffers()
278 mesh->setVertexData(std::move(fVertexBuffer), fFirstVertex); in emitMeshAndPutBackReserve()
317 sk_sp<const GrBuffer> fVertexBuffer; member in __anon916236370111::PathGeoBuilder
DGrAtlasTextOp.h108 sk_sp<const GrBuffer> fVertexBuffer; member
DGrSmallPathRenderer.cpp310 sk_sp<const GrBuffer> fVertexBuffer; member
380 &flushInfo.fVertexBuffer, in onPrepareDraws()
798 mesh->setVertexData(flushInfo->fVertexBuffer, flushInfo->fVertexOffset); in flush()
/external/skia/src/gpu/
DGrMesh.h39 bool hasVertexData() const { return SkToBool(fVertexBuffer.get()); } in hasVertexData()
97 sk_sp<const GrBuffer> fVertexBuffer; variable
217 fVertexBuffer = std::move(vertexBuffer); in setVertexData()
224 impl->sendInstancedMeshToGpu(fPrimitiveType, fVertexBuffer.get(), in sendToGpu()
231 fVertexBuffer.get(), fBaseVertex, fInstanceBuffer.get(), in sendToGpu()
240 impl->sendMeshToGpu(fPrimitiveType, fVertexBuffer.get(), in sendToGpu()
249 fNonPatternIndexData.fMaxIndexValue, fVertexBuffer.get(), fBaseVertex, in sendToGpu()
265 minIndexValue, maxIndexValue, fVertexBuffer.get(), in sendToGpu()
/external/skia/src/gpu/vk/
DGrVkCopyManager.cpp140 fVertexBuffer = GrVkVertexBuffer::Make(gpu, sizeof(vdata), false); in createCopyProgram()
141 SkASSERT(fVertexBuffer.get()); in createCopyProgram()
142 fVertexBuffer->updateData(vdata, sizeof(vdata)); in createCopyProgram()
176 nullptr == fVertexBuffer.get() && in copySurfaceAsDraw()
407 secondary->bindInputBuffer(gpu, 0, fVertexBuffer.get()); in copySurfaceAsDraw()
DGrVkCopyManager.h50 sk_sp<GrVkVertexBuffer> fVertexBuffer; variable
/external/skqp/src/gpu/vk/
DGrVkCopyManager.cpp140 fVertexBuffer = GrVkVertexBuffer::Make(gpu, sizeof(vdata), false); in createCopyProgram()
141 SkASSERT(fVertexBuffer.get()); in createCopyProgram()
142 fVertexBuffer->updateData(vdata, sizeof(vdata)); in createCopyProgram()
176 nullptr == fVertexBuffer.get() && in copySurfaceAsDraw()
407 secondary->bindInputBuffer(gpu, 0, fVertexBuffer.get()); in copySurfaceAsDraw()
DGrVkCopyManager.h50 sk_sp<GrVkVertexBuffer> fVertexBuffer; variable
/external/skia/tests/
DGrPipelineDynamicStateTest.cpp130 , fVertexBuffer(std::move(vbuff)) { in GrPipelineDynamicStateTestOp()
148 mesh.setVertexData(fVertexBuffer, 4 * i); in onExecute()
158 const sk_sp<const GrBuffer> fVertexBuffer; member in GrPipelineDynamicStateTestOp
/external/skqp/tests/
DGrPipelineDynamicStateTest.cpp127 , fVertexBuffer(std::move(vbuff)) { in GrPipelineDynamicStateTestOp()
144 mesh.setVertexData(fVertexBuffer, 4 * i); in onExecute()
154 const sk_sp<const GrBuffer> fVertexBuffer; member in GrPipelineDynamicStateTestOp
/external/skqp/src/gpu/ccpr/
DGrCCPerFlushResources.h114 return fVertexBuffer; in refVertexBuffer()
135 const sk_sp<const GrBuffer> fVertexBuffer; variable
DGrCCPerFlushResources.cpp167 , fVertexBuffer(GrCCPathProcessor::FindVertexBuffer(onFlushRP)) in GrCCPerFlushResources()
177 if (!fVertexBuffer) { in GrCCPerFlushResources()
/external/skia/src/gpu/ccpr/
DGrCCPerFlushResources.h114 return fVertexBuffer; in refVertexBuffer()
135 const sk_sp<const GrGpuBuffer> fVertexBuffer; variable
DGrCCPerFlushResources.cpp170 , fVertexBuffer(GrCCPathProcessor::FindVertexBuffer(onFlushRP)) in GrCCPerFlushResources()
180 if (!fVertexBuffer) { in GrCCPerFlushResources()