Home
last modified time | relevance | path

Searched refs:fIndexBuffer (Results 1 – 17 of 17) sorted by relevance

/external/skqp/src/gpu/
DGrMesh.h32 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/
DGrSimpleMesh.h31 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()
DGrOpFlushState.cpp221 if (!mesh.fIndexBuffer) { in drawMesh()
225 this->bindBuffers(mesh.fIndexBuffer, nullptr, mesh.fVertexBuffer, mesh.fPrimitiveRestart); in drawMesh()
/external/skia/tests/
DGrMeshTest.cpp69 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/
DGrCCPerFlushResources.h110 return fIndexBuffer; in refIndexBuffer()
134 const sk_sp<const GrBuffer> fIndexBuffer; variable
DGrCCPerFlushResources.cpp166 , fIndexBuffer(GrCCPathProcessor::FindIndexBuffer(onFlushRP)) in GrCCPerFlushResources()
173 if (!fIndexBuffer) { in GrCCPerFlushResources()
/external/skia/src/gpu/ops/
DGrFillRectOp.cpp289 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
DGrFillRRectOp.cpp124 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()
DGrAtlasTextOp.cpp236 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()
DGrSmallPathRenderer.cpp156 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()
DGrDefaultPathRenderer.cpp251 &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
DGrAtlasTextOp.h133 sk_sp<const GrBuffer> fIndexBuffer; member
DGrTextureOp.cpp414 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/
DGrAtlasTextOp.cpp331 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()
DGrSmallPathRenderer.cpp308 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()
DGrAtlasTextOp.h108 sk_sp<const GrBuffer> fIndexBuffer; member
DGrDefaultPathRenderer.cpp246 &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