/external/skqp/src/gpu/ |
D | GrMesh.h | 33 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/ |
D | GrMesh.h | 38 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/ |
D | GrCCFiller.cpp | 38 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()
|
D | GrCCStroker.cpp | 286 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 …]
|
D | GrCCPerFlushResources.h | 118 return fInstanceBuffer; in refInstanceBuffer() 136 const sk_sp<GrGpuBuffer> fInstanceBuffer; variable
|
D | GrCCPerFlushResources.cpp | 171 , 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()
|
D | GrCCFiller.h | 109 sk_sp<GrGpuBuffer> fInstanceBuffer; variable
|
D | GrCCStroker.h | 119 sk_sp<GrGpuBuffer> fInstanceBuffer; variable
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCFiller.cpp | 38 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()
|
D | GrCCStroker.cpp | 286 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 …]
|
D | GrCCPerFlushResources.h | 118 return fInstanceBuffer; in refInstanceBuffer() 136 const sk_sp<GrBuffer> fInstanceBuffer; variable
|
D | GrCCPerFlushResources.cpp | 168 , 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()
|
D | GrCCFiller.h | 109 sk_sp<GrBuffer> fInstanceBuffer; variable
|
D | GrCCStroker.h | 119 sk_sp<GrBuffer> fInstanceBuffer; variable
|
/external/skqp/src/gpu/ops/ |
D | GrAAFillRRectOp.cpp | 117 &fInstanceBuffer, &fBaseInstance)) { in onPrepare() 437 if (!fInstanceBuffer) { in onExecute() 471 mesh.setIndexedInstanced(std::move(indexBuffer), SK_ARRAY_COUNT(kIndexData), fInstanceBuffer, in onExecute()
|
D | GrAAFillRRectOp.h | 69 sk_sp<const GrBuffer> fInstanceBuffer; variable
|
/external/skia/src/gpu/ops/ |
D | GrAAFillRRectOp.cpp | 129 &fInstanceBuffer, &fBaseInstance)) { in onPrepare() 452 if (!fInstanceBuffer) { in onExecute() 484 mesh.setIndexedInstanced(std::move(indexBuffer), SK_ARRAY_COUNT(kIndexData), fInstanceBuffer, in onExecute()
|
D | GrAAFillRRectOp.h | 73 sk_sp<const GrBuffer> fInstanceBuffer; variable
|