/external/skia/src/gpu/ |
D | GrEagerVertexAllocator.h | 43 , fVertexBuffer(vertexBuffer) in GrEagerDynamicVertexAllocator() 60 if (void* data = fTarget->makeVertexSpace(stride, eagerCount, fVertexBuffer, fBaseVertex)) { in lock() 65 fVertexBuffer->reset(); in lock() 76 fVertexBuffer->reset(); in unlock() 84 sk_sp<const GrBuffer>* const fVertexBuffer; variable
|
D | GrSimpleMesh.h | 40 sk_sp<const GrBuffer> fVertexBuffer; member 50 fVertexBuffer = std::move(vertexBuffer); in set() 72 fVertexBuffer = std::move(vertexBuffer); in setIndexed() 93 fVertexBuffer = std::move(vertexBuffer); in setIndexedPatterned()
|
D | GrOpFlushState.cpp | 222 this->bindBuffers(nullptr, nullptr, mesh.fVertexBuffer); in drawMesh() 225 this->bindBuffers(mesh.fIndexBuffer, nullptr, mesh.fVertexBuffer, mesh.fPrimitiveRestart); in drawMesh()
|
/external/skqp/src/gpu/ |
D | GrMesh.h | 34 bool hasVertexData() const { return SkToBool(fVertexBuffer.get()); } in hasVertexData() 81 sk_sp<const GrBuffer> fVertexBuffer; variable 201 fVertexBuffer = std::move(vertexBuffer); in setVertexData() 208 impl->sendInstancedMeshToGpu(fPrimitiveType, fVertexBuffer.get(), in sendToGpu() 215 fVertexBuffer.get(), fBaseVertex, fInstanceBuffer.get(), in sendToGpu() 223 impl->sendMeshToGpu(fPrimitiveType, fVertexBuffer.get(), in sendToGpu() 232 fNonPatternIndexData.fMaxIndexValue, fVertexBuffer.get(), in sendToGpu() 248 minIndexValue, maxIndexValue, fVertexBuffer.get(), in sendToGpu()
|
/external/skqp/src/gpu/ops/ |
D | GrTessellatingPathRenderer.cpp | 80 fVertexBuffer = in lock() 83 if (!fVertexBuffer.get()) { in lock() 87 fVertices = fVertexBuffer->map(); in lock() 95 fVertexBuffer->unmap(); in unlock() 97 fVertexBuffer->updateData(fVertices, actualCount * stride()); in unlock() 102 sk_sp<GrBuffer> detachVertexBuffer() { return std::move(fVertexBuffer); } in detachVertexBuffer() 105 sk_sp<GrBuffer> fVertexBuffer; member in __anon66fb31960111::StaticVertexAllocator 116 , fVertexBuffer(nullptr) in DynamicVertexAllocator() 120 fVertices = fTarget->makeVertexSpace(stride(), vertexCount, &fVertexBuffer, &fFirstVertex); in lock() 127 sk_sp<const GrBuffer> detachVertexBuffer() const { return std::move(fVertexBuffer); } in detachVertexBuffer() [all …]
|
D | GrAtlasTextOp.cpp | 330 &flushInfo.fVertexBuffer, &flushInfo.fVertexOffset); in onPrepareDraws() 332 if (!vertices || !flushInfo.fVertexBuffer) { in onPrepareDraws() 431 mesh->setVertexData(flushInfo->fVertexBuffer, flushInfo->fVertexOffset); in flush()
|
D | GrAtlasTextOp.h | 107 sk_sp<const GrBuffer> fVertexBuffer; member
|
D | GrDefaultPathRenderer.cpp | 234 &fVertexBuffer, in allocNewBuffers() 280 mesh->setVertexData(std::move(fVertexBuffer), fFirstVertex); in emitMeshAndPutBackReserve() 321 sk_sp<const GrBuffer> fVertexBuffer; member in __anonb3969d6c0111::PathGeoBuilder
|
D | GrSmallPathRenderer.cpp | 307 sk_sp<const GrBuffer> fVertexBuffer; member 381 &flushInfo.fVertexBuffer, in onPrepareDraws() 800 mesh->setVertexData(flushInfo->fVertexBuffer, flushInfo->fVertexOffset); in flush()
|
/external/skia/src/gpu/ops/ |
D | GrTriangulatingPathRenderer.cpp | 104 SkASSERT(!fLockStride && !fVertices && !fVertexBuffer && !fVertexData); in ~StaticVertexAllocator() 109 SkASSERT(!fLockStride && !fVertices && !fVertexBuffer && !fVertexData); in lock() 113 fVertexBuffer = fResourceProvider->createBuffer(size, GrGpuBufferType::kVertex, in lock() 115 if (!fVertexBuffer) { in lock() 119 fVertices = fVertexBuffer->map(); in lock() 130 SkASSERT(fLockStride && fVertices && fVertexBuffer && !fVertexData); in unlock() 133 fVertexBuffer->unmap(); in unlock() 135 fVertexBuffer->updateData(fVertices, actualCount * fLockStride); in unlock() 139 fVertexData = GrThreadSafeCache::MakeVertexData(std::move(fVertexBuffer), in unlock() 147 SkASSERT(!fLockStride && !fVertices && !fVertexBuffer && fVertexData); in detachVertexData() [all …]
|
D | GrDefaultPathRenderer.cpp | 239 &fVertexBuffer, in allocNewBuffers() 281 mesh->set(std::move(fVertexBuffer), vertexCount, fFirstVertex); in createMeshAndPutBackReserve() 284 vertexCount - 1, GrPrimitiveRestart::kNo, std::move(fVertexBuffer), in createMeshAndPutBackReserve() 339 sk_sp<const GrBuffer> fVertexBuffer; member in __anon5192cb150111::PathGeoBuilder
|
D | GrFillRectOp.cpp | 274 &fVertexBuffer, &fBaseVertex); in onPrepareDraws() 298 if (!fVertexBuffer) { in onExecute() 315 flushState->bindBuffers(std::move(fIndexBuffer), nullptr, std::move(fVertexBuffer)); in onExecute() 450 sk_sp<const GrBuffer> fVertexBuffer; member in __anon6d746cc00111::FillRectOp
|
D | GrFillRRectOp.cpp | 123 sk_sp<const GrBuffer> fVertexBuffer; member in __anondf9093d20111::FillRRectOp 480 fVertexBuffer = target->resourceProvider()->findOrMakeStaticBuffer(GrGpuBufferType::kVertex, in onPrepareDraws() 698 if (!fInstanceBuffer || !fIndexBuffer || !fVertexBuffer) { in onExecute() 709 std::move(fVertexBuffer)); in onExecute()
|
D | GrAtlasTextOp.cpp | 272 &flushInfo.fVertexBuffer, in onPrepareDraws() 275 if (!vertices || !flushInfo.fVertexBuffer) { in onPrepareDraws() 384 maxGlyphsPerDraw, flushInfo->fVertexBuffer, kVerticesPerGlyph, in createDrawForGeneratedGlyphs()
|
D | GrSmallPathRenderer.cpp | 155 sk_sp<const GrBuffer> fVertexBuffer; member 261 &flushInfo.fVertexBuffer, &flushInfo.fVertexOffset)}; in onPrepareDraws() 611 flushInfo->fVertexBuffer, in flush()
|
D | GrAtlasTextOp.h | 132 sk_sp<const GrBuffer> fVertexBuffer; member
|
/external/skia/gm/ |
D | fwidth_squircle.cpp | 218 fVertexBuffer = flushState->resourceProvider()->createBuffer( in onPrepare() 223 if (!fVertexBuffer) { in onExecute() 232 flushState->bindBuffers(nullptr, nullptr, std::move(fVertexBuffer)); in onExecute() 240 sk_sp<GrBuffer> fVertexBuffer; member in skiagm::FwidthSquircleTestOp
|
D | clockwise.cpp | 209 fVertexBuffer = flushState->resourceProvider()->createBuffer( in onPrepare() 214 if (!fVertexBuffer) { in onExecute() 223 flushState->bindBuffers(nullptr, nullptr, std::move(fVertexBuffer)); in onExecute() 227 sk_sp<GrBuffer> fVertexBuffer; member in __anoncaabf2470111::ClockwiseTestOp
|
D | tessellation.cpp | 299 if (void* vertexData = flushState->makeVertexSpace(sizeof(float) * 3, 3, &fVertexBuffer, in onPrepare() 312 if (!fVertexBuffer) { in onExecute() 330 state->bindBuffers(nullptr, nullptr, std::move(fVertexBuffer)); in onExecute() 336 sk_sp<const GrBuffer> fVertexBuffer; member in skiagm::TessellationTestOp
|
/external/skqp/src/gpu/vk/ |
D | GrVkCopyManager.cpp | 140 fVertexBuffer = GrVkVertexBuffer::Make(gpu, sizeof(vdata), false); in createCopyProgram() 141 SkASSERT(fVertexBuffer.get()); in createCopyProgram() 142 fVertexBuffer->updateData(vdata, sizeof(vdata)); in createCopyProgram() 176 nullptr == fVertexBuffer.get() && in copySurfaceAsDraw() 407 secondary->bindInputBuffer(gpu, 0, fVertexBuffer.get()); in copySurfaceAsDraw()
|
D | GrVkCopyManager.h | 50 sk_sp<GrVkVertexBuffer> fVertexBuffer; variable
|
/external/skqp/tests/ |
D | GrPipelineDynamicStateTest.cpp | 127 , fVertexBuffer(std::move(vbuff)) { in GrPipelineDynamicStateTestOp() 144 mesh.setVertexData(fVertexBuffer, 4 * i); in onExecute() 154 const sk_sp<const GrBuffer> fVertexBuffer; member in GrPipelineDynamicStateTestOp
|
/external/skia/tests/ |
D | GrPipelineDynamicStateTest.cpp | 135 , fVertexBuffer(std::move(vbuff)) { in GrPipelineDynamicStateTestOp() 158 mesh.set(fVertexBuffer, 4, 4 * i); in onExecute() 181 const sk_sp<const GrBuffer> fVertexBuffer; member in GrPipelineDynamicStateTestOp
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCPerFlushResources.h | 114 return fVertexBuffer; in refVertexBuffer() 135 const sk_sp<const GrBuffer> fVertexBuffer; variable
|
D | GrCCPerFlushResources.cpp | 167 , fVertexBuffer(GrCCPathProcessor::FindVertexBuffer(onFlushRP)) in GrCCPerFlushResources() 177 if (!fVertexBuffer) { in GrCCPerFlushResources()
|