/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/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/skia/src/gpu/tessellate/ |
D | GrPathTessellator.cpp | 69 GrEagerDynamicVertexAllocator vertexAlloc(target, &fInstanceBuffer, &fBaseInstance); in prepare() 226 flushState->bindBuffers(fIndirectIndexBuffer, fInstanceBuffer, nullptr); in draw() 234 flushState->bindBuffers(nullptr, fInstanceBuffer, nullptr); in drawHullInstances()
|
D | GrStrokeIndirectTessellator.h | 74 sk_sp<const GrBuffer> fInstanceBuffer; variable
|
D | GrDrawAtlasPathOp.cpp | 154 instanceStride, fInstanceCount, &fInstanceBuffer, &fBaseInstance)) { in onPrepare() 188 state->bindBuffers(nullptr, std::move(fInstanceBuffer), nullptr); in onExecute()
|
D | GrPathTessellator.h | 67 sk_sp<const GrBuffer> fInstanceBuffer; variable
|
D | GrDrawAtlasPathOp.h | 93 sk_sp<const GrBuffer> fInstanceBuffer; variable
|
D | GrStrokeIndirectTessellator.cpp | 749 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/ |
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 | GrFillRRectOp.cpp | 122 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()
|