Home
last modified time | relevance | path

Searched refs:fInstanceBuffer (Results 1 – 16 of 16) sorted by relevance

/external/skqp/src/gpu/
DGrMesh.h33 bool isInstanced() const { return SkToBool(fInstanceBuffer.get()); } in isInstanced()
80 sk_sp<const GrBuffer> fInstanceBuffer; variable
131 fInstanceBuffer.reset(nullptr); in setNonIndexedNonInstanced()
144 fInstanceBuffer.reset(); in setIndexed()
162 fInstanceBuffer.reset(); in setIndexedPatterned()
176 fInstanceBuffer = std::move(instanceBuffer); in setInstanced()
192 fInstanceBuffer = std::move(instanceBuffer); in setIndexedInstanced()
210 fInstanceBuffer.get(), fInstanceData.fInstanceCount, in sendToGpu()
215 fVertexBuffer.get(), fBaseVertex, fInstanceBuffer.get(), in sendToGpu()
/external/skqp/src/gpu/ccpr/
DGrCCFiller.cpp38 SkASSERT(!fInstanceBuffer); // Can't call after prepareToDraw(). in parseDeviceSpaceFill()
206 SkASSERT(!fInstanceBuffer); in closeCurrentBatch()
287 SkASSERT(!fInstanceBuffer); in prepareToDraw()
329 fInstanceBuffer = onFlushRP->makeBuffer(kVertex_GrBufferType, in prepareToDraw()
331 if (!fInstanceBuffer) { in prepareToDraw()
336 TriPointInstance* triPointInstanceData = static_cast<TriPointInstance*>(fInstanceBuffer->map()); in prepareToDraw()
441 fInstanceBuffer->unmap(); in prepareToDraw()
466 SkASSERT(fInstanceBuffer); in drawFills()
521 proc.appendMesh(fInstanceBuffer, instanceCount, baseInstance, &fMeshesScratchBuffer); in drawPrimitives()
539 proc.appendMesh(fInstanceBuffer, instanceCount, baseScissorInstance + startIndex, in drawPrimitives()
DGrCCStroker.cpp286 SkASSERT(!fInstanceBuffer); in parseDeviceSpaceStroke()
375 fInstanceBuffer = onFlushRP->makeBuffer(kVertex_GrBufferType, in InstanceBufferBuilder()
377 if (!fInstanceBuffer) { in InstanceBufferBuilder()
381 fInstanceBufferData = fInstanceBuffer->map(); in InstanceBufferBuilder()
503 fInstanceBuffer->unmap(); in finish()
506 return std::move(fInstanceBuffer); in finish()
546 sk_sp<GrBuffer> fInstanceBuffer; member in GrCCStroker::InstanceBufferBuilder
564 SkASSERT(!fInstanceBuffer); in prepareToDraw()
665 fInstanceBuffer = builder.finish(); in prepareToDraw()
678 SkASSERT(fInstanceBuffer); in drawStrokes()
[all …]
DGrCCPerFlushResources.h118 return fInstanceBuffer; in refInstanceBuffer()
136 const sk_sp<GrBuffer> fInstanceBuffer; variable
DGrCCPerFlushResources.cpp168 , fInstanceBuffer(onFlushRP->makeBuffer(kVertex_GrBufferType, in GrCCPerFlushResources()
181 if (!fInstanceBuffer) { in GrCCPerFlushResources()
185 fPathInstanceData = static_cast<PathInstance*>(fInstanceBuffer->map()); in GrCCPerFlushResources()
435 fInstanceBuffer->unmap(); in finalize()
DGrCCFiller.h109 sk_sp<GrBuffer> fInstanceBuffer; variable
DGrCCStroker.h119 sk_sp<GrBuffer> fInstanceBuffer; variable
/external/skia/src/gpu/tessellate/
DGrPathTessellator.cpp69 GrEagerDynamicVertexAllocator vertexAlloc(target, &fInstanceBuffer, &fBaseInstance); in prepare()
226 flushState->bindBuffers(fIndirectIndexBuffer, fInstanceBuffer, nullptr); in draw()
234 flushState->bindBuffers(nullptr, fInstanceBuffer, nullptr); in drawHullInstances()
DGrStrokeIndirectTessellator.h74 sk_sp<const GrBuffer> fInstanceBuffer; variable
DGrDrawAtlasPathOp.cpp154 instanceStride, fInstanceCount, &fInstanceBuffer, &fBaseInstance)) { in onPrepare()
188 state->bindBuffers(nullptr, std::move(fInstanceBuffer), nullptr); in onExecute()
DGrPathTessellator.h67 sk_sp<const GrBuffer> fInstanceBuffer; variable
DGrDrawAtlasPathOp.h93 sk_sp<const GrBuffer> fInstanceBuffer; variable
DGrStrokeIndirectTessellator.cpp749 SkASSERT(!fInstanceBuffer); in prepare()
771 &fInstanceBuffer, &baseInstance)}; in prepare()
773 SkASSERT(!fInstanceBuffer); in prepare()
958 flushState->bindBuffers(nullptr, fInstanceBuffer, nullptr); in draw()
/external/skqp/src/gpu/ops/
DGrAAFillRRectOp.cpp117 &fInstanceBuffer, &fBaseInstance)) { in onPrepare()
437 if (!fInstanceBuffer) { in onExecute()
471 mesh.setIndexedInstanced(std::move(indexBuffer), SK_ARRAY_COUNT(kIndexData), fInstanceBuffer, in onExecute()
DGrAAFillRRectOp.h69 sk_sp<const GrBuffer> fInstanceBuffer; variable
/external/skia/src/gpu/ops/
DGrFillRRectOp.cpp122 sk_sp<const GrBuffer> fInstanceBuffer; member in __anondf9093d20111::FillRRectOp
467 &fInstanceBuffer, &fBaseInstance)) { in onPrepareDraws()
698 if (!fInstanceBuffer || !fIndexBuffer || !fVertexBuffer) { in onExecute()
708 flushState->bindBuffers(std::move(fIndexBuffer), std::move(fInstanceBuffer), in onExecute()