/external/skqp/src/gpu/ |
D | GrMesh.h | 32 bool isIndexed() const { return SkToBool(fIndexBuffer.get()); } in isIndexed() 79 sk_sp<const GrBuffer> fIndexBuffer; variable 130 fIndexBuffer.reset(nullptr); in setNonIndexedNonInstanced() 143 fIndexBuffer = std::move(indexBuffer); in setIndexed() 161 fIndexBuffer = std::move(indexBuffer); in setIndexedPatterned() 175 fIndexBuffer.reset(); in setInstanced() 191 fIndexBuffer = std::move(indexBuffer); in setIndexedInstanced() 214 fPrimitiveType, fIndexBuffer.get(), fInstanceIndexData.fIndexCount, 0, in sendToGpu() 229 impl->sendIndexedMeshToGpu(fPrimitiveType, fIndexBuffer.get(), fIndexData.fIndexCount, in sendToGpu() 247 fPrimitiveType, fIndexBuffer.get(), fIndexData.fIndexCount * repeatCount, 0, in sendToGpu()
|
/external/skia/src/gpu/ |
D | GrSimpleMesh.h | 31 sk_sp<const GrBuffer> fIndexBuffer; member 49 fIndexBuffer.reset(); in set() 65 fIndexBuffer = std::move(indexBuffer); in setIndexed() 87 fIndexBuffer = std::move(indexBuffer); in setIndexedPatterned()
|
D | GrOpFlushState.cpp | 221 if (!mesh.fIndexBuffer) { in drawMesh() 225 this->bindBuffers(mesh.fIndexBuffer, nullptr, mesh.fVertexBuffer, mesh.fPrimitiveRestart); in drawMesh()
|
/external/skia/tests/ |
D | GrMeshTest.cpp | 69 sk_sp<const GrBuffer> fIndexBuffer; member in DrawMeshHelper 191 helper->fIndexBuffer = helper->getIndexBuffer(); 192 VALIDATE(helper->fIndexBuffer); 206 pass->bindBuffers(helper->fIndexBuffer, nullptr, helper->fVertBuffer); 218 helper->fIndexBuffer = helper->getIndexBuffer(); 219 VALIDATE(helper->fIndexBuffer); 228 pass->bindBuffers(helper->fIndexBuffer, nullptr, helper->fVertBuffer); 243 helper->fIndexBuffer = indexed ? helper->getIndexBuffer() : nullptr; 287 helper->fIndexBuffer2 : helper->fIndexBuffer;
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCPerFlushResources.h | 110 return fIndexBuffer; in refIndexBuffer() 134 const sk_sp<const GrBuffer> fIndexBuffer; variable
|
D | GrCCPerFlushResources.cpp | 166 , fIndexBuffer(GrCCPathProcessor::FindIndexBuffer(onFlushRP)) in GrCCPerFlushResources() 173 if (!fIndexBuffer) { in GrCCPerFlushResources()
|
/external/skia/src/gpu/ops/ |
D | GrFillRectOp.cpp | 289 fIndexBuffer = GrQuadPerEdgeAA::GetIndexBuffer(target, vertexSpec.indexBufferOption()); in onPrepareDraws() 290 if (!fIndexBuffer) { in onPrepareDraws() 304 if (vertexSpec.needsIndexBuffer() && !fIndexBuffer) { in onExecute() 315 flushState->bindBuffers(std::move(fIndexBuffer), nullptr, std::move(fVertexBuffer)); in onExecute() 451 sk_sp<const GrBuffer> fIndexBuffer; member in __anon6d746cc00111::FillRectOp
|
D | GrFillRRectOp.cpp | 124 sk_sp<const GrBuffer> fIndexBuffer; member in __anondf9093d20111::FillRRectOp 474 fIndexBuffer = target->resourceProvider()->findOrMakeStaticBuffer(GrGpuBufferType::kIndex, in onPrepareDraws() 698 if (!fInstanceBuffer || !fIndexBuffer || !fVertexBuffer) { in onExecute() 708 flushState->bindBuffers(std::move(fIndexBuffer), std::move(fInstanceBuffer), in onExecute()
|
D | GrAtlasTextOp.cpp | 236 flushInfo.fIndexBuffer = resourceProvider->refNonAAQuadIndexBuffer(); in onPrepareDraws() 381 int maxGlyphsPerDraw = static_cast<int>(flushInfo->fIndexBuffer->size() / sizeof(uint16_t) / 6); in createDrawForGeneratedGlyphs() 383 mesh->setIndexedPatterned(flushInfo->fIndexBuffer, kIndicesPerGlyph, flushInfo->fGlyphsToFlush, in createDrawForGeneratedGlyphs()
|
D | GrSmallPathRenderer.cpp | 156 sk_sp<const GrBuffer> fIndexBuffer; member 263 flushInfo.fIndexBuffer = target->resourceProvider()->refNonAAQuadIndexBuffer(); in onPrepareDraws() 264 if (!vertices.fPtr || !flushInfo.fIndexBuffer) { in onPrepareDraws() 607 mesh->setIndexedPatterned(flushInfo->fIndexBuffer, in flush()
|
D | GrDefaultPathRenderer.cpp | 251 &fIndexBuffer, &fFirstIndex, in allocNewBuffers() 283 mesh->setIndexed(std::move(fIndexBuffer), indexCount, fFirstIndex, 0, in createMeshAndPutBackReserve() 345 sk_sp<const GrBuffer> fIndexBuffer; member in __anon5192cb150111::PathGeoBuilder
|
D | GrAtlasTextOp.h | 133 sk_sp<const GrBuffer> fIndexBuffer; member
|
D | GrTextureOp.cpp | 414 sk_sp<const GrBuffer> fIndexBuffer; member 896 fDesc->fIndexBuffer = GrQuadPerEdgeAA::GetIndexBuffer( in onPrepareDraws() 898 if (!fDesc->fIndexBuffer) { in onPrepareDraws() 916 if (fDesc->fVertexSpec.needsIndexBuffer() && !fDesc->fIndexBuffer) { in onExecute() 926 flushState->bindBuffers(std::move(fDesc->fIndexBuffer), nullptr, in onExecute()
|
/external/skqp/src/gpu/ops/ |
D | GrAtlasTextOp.cpp | 331 flushInfo.fIndexBuffer = target->resourceProvider()->refQuadIndexBuffer(); in onPrepareDraws() 427 static_cast<int>(flushInfo->fIndexBuffer->gpuMemorySize() / sizeof(uint16_t) / 6); in flush() 429 mesh->setIndexedPatterned(flushInfo->fIndexBuffer, kIndicesPerGlyph, kVerticesPerGlyph, in flush()
|
D | GrSmallPathRenderer.cpp | 308 sk_sp<const GrBuffer> fIndexBuffer; member 383 flushInfo.fIndexBuffer = target->resourceProvider()->refQuadIndexBuffer(); in onPrepareDraws() 384 if (!vertices.fPtr || !flushInfo.fIndexBuffer) { in onPrepareDraws() 797 static_cast<int>(flushInfo->fIndexBuffer->gpuMemorySize() / sizeof(uint16_t) / 6); in flush() 798 mesh->setIndexedPatterned(flushInfo->fIndexBuffer, kIndicesPerQuad, kVerticesPerQuad, in flush()
|
D | GrAtlasTextOp.h | 108 sk_sp<const GrBuffer> fIndexBuffer; member
|
D | GrDefaultPathRenderer.cpp | 246 &fIndexBuffer, &fFirstIndex, in allocNewBuffers() 277 mesh->setIndexed(std::move(fIndexBuffer), indexCount, fFirstIndex, 0, in emitMeshAndPutBackReserve() 327 sk_sp<const GrBuffer> fIndexBuffer; member in __anonb3969d6c0111::PathGeoBuilder
|