Home
last modified time | relevance | path

Searched refs:fInstanceBuffer (Results 1 – 18 of 18) 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/skia/src/gpu/
DGrMesh.h38 bool hasInstanceData() const { return SkToBool(fInstanceBuffer.get()); } in hasInstanceData()
96 sk_sp<const GrBuffer> fInstanceBuffer; variable
149 fInstanceBuffer.reset(); in setNonIndexedNonInstanced()
162 fInstanceBuffer.reset(); in setIndexed()
180 fInstanceBuffer.reset(); in setIndexedPatterned()
193 fInstanceBuffer = std::move(instanceBuffer); in setInstanced()
208 fInstanceBuffer = std::move(instanceBuffer); in setIndexedInstanced()
226 fInstanceBuffer.get(), fInstanceData.fInstanceCount, in sendToGpu()
231 fVertexBuffer.get(), fBaseVertex, fInstanceBuffer.get(), in sendToGpu()
/external/skia/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 = 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(GrGpuBufferType::kVertex, 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<GrGpuBuffer> 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<GrGpuBuffer> fInstanceBuffer; variable
DGrCCPerFlushResources.cpp171 , fInstanceBuffer(onFlushRP->makeBuffer(GrGpuBufferType::kVertex, in GrCCPerFlushResources()
184 if (!fInstanceBuffer) { in GrCCPerFlushResources()
188 fPathInstanceData = static_cast<PathInstance*>(fInstanceBuffer->map()); in GrCCPerFlushResources()
438 fInstanceBuffer->unmap(); in finalize()
DGrCCFiller.h109 sk_sp<GrGpuBuffer> fInstanceBuffer; variable
DGrCCStroker.h119 sk_sp<GrGpuBuffer> fInstanceBuffer; variable
/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/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/
DGrAAFillRRectOp.cpp129 &fInstanceBuffer, &fBaseInstance)) { in onPrepare()
452 if (!fInstanceBuffer) { in onExecute()
484 mesh.setIndexedInstanced(std::move(indexBuffer), SK_ARRAY_COUNT(kIndexData), fInstanceBuffer, in onExecute()
DGrAAFillRRectOp.h73 sk_sp<const GrBuffer> fInstanceBuffer; variable