/third_party/flutter/skia/src/gpu/ |
D | GrMesh.h | 39 bool hasVertexData() const { return SkToBool(fVertexBuffer.get()); } in hasVertexData() 97 sk_sp<const GrBuffer> fVertexBuffer; variable 217 fVertexBuffer = std::move(vertexBuffer); in setVertexData() 224 impl->sendInstancedMeshToGpu(fPrimitiveType, fVertexBuffer.get(), in sendToGpu() 231 fVertexBuffer.get(), fBaseVertex, fInstanceBuffer.get(), in sendToGpu() 240 impl->sendMeshToGpu(fPrimitiveType, fVertexBuffer.get(), in sendToGpu() 249 fNonPatternIndexData.fMaxIndexValue, fVertexBuffer.get(), fBaseVertex, in sendToGpu() 265 minIndexValue, maxIndexValue, fVertexBuffer.get(), in sendToGpu()
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrTessellatingPathRenderer.cpp | 81 fVertexBuffer = fResourceProvider->createBuffer(size, GrGpuBufferType::kVertex, 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<GrGpuBuffer> detachVertexBuffer() { return std::move(fVertexBuffer); } in detachVertexBuffer() 105 sk_sp<GrGpuBuffer> fVertexBuffer; member in __anon860e1abe0111::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 | 347 &flushInfo.fVertexBuffer, &flushInfo.fVertexOffset); in onPrepareDraws() 349 if (!vertices || !flushInfo.fVertexBuffer) { in onPrepareDraws() 452 mesh->setVertexData(flushInfo->fVertexBuffer, flushInfo->fVertexOffset); in flush()
|
D | GrDefaultPathRenderer.cpp | 233 &fVertexBuffer, in allocNewBuffers() 279 mesh->setVertexData(std::move(fVertexBuffer), fFirstVertex); in emitMeshAndPutBackReserve() 318 sk_sp<const GrBuffer> fVertexBuffer; member in __anon94412d940111::PathGeoBuilder
|
D | GrAtlasTextOp.h | 108 sk_sp<const GrBuffer> fVertexBuffer; member
|
D | GrSmallPathRenderer.cpp | 312 sk_sp<const GrBuffer> fVertexBuffer; member 382 &flushInfo.fVertexBuffer, in onPrepareDraws() 800 mesh->setVertexData(flushInfo->fVertexBuffer, flushInfo->fVertexOffset); in flush()
|
/third_party/skia/src/gpu/ |
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 | GrEagerVertexAllocator.cpp | 16 if (void* data = fTarget->makeVertexSpace(stride, eagerCount, fVertexBuffer, fBaseVertex)) { in lock() 21 fVertexBuffer->reset(); in lock() 31 fVertexBuffer->reset(); in unlock()
|
D | GrEagerVertexAllocator.h | 44 , fVertexBuffer(vertexBuffer) in GrEagerDynamicVertexAllocator() 65 sk_sp<const GrBuffer>* const fVertexBuffer; variable
|
D | GrOpFlushState.cpp | 231 this->bindBuffers(nullptr, nullptr, mesh.fVertexBuffer); in drawMesh() 234 this->bindBuffers(mesh.fIndexBuffer, nullptr, mesh.fVertexBuffer, mesh.fPrimitiveRestart); in drawMesh()
|
/third_party/skia/src/gpu/ops/ |
D | TriangulatingPathRenderer.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 | FillRectOp.cpp | 276 &fVertexBuffer, &fBaseVertex); in onPrepareDraws() 301 if (!fVertexBuffer) { in onExecute() 318 flushState->bindBuffers(std::move(fIndexBuffer), nullptr, std::move(fVertexBuffer)); in onExecute() 455 sk_sp<const GrBuffer> fVertexBuffer; member in __anon09cb77d10111::FillRectOpImpl
|
D | DefaultPathRenderer.cpp | 241 &fVertexBuffer, in allocNewBuffers() 302 mesh->set(std::move(fVertexBuffer), vertexCount, fFirstVertex); in createMeshAndPutBackReserve() 305 vertexCount - 1, GrPrimitiveRestart::kNo, std::move(fVertexBuffer), in createMeshAndPutBackReserve() 369 sk_sp<const GrBuffer> fVertexBuffer; member in __anon78b9d9460111::PathGeoBuilder
|
D | FillRRectOp.cpp | 130 sk_sp<const GrBuffer> fVertexBuffer; member in skgpu::v1::FillRRectOp::__anon06c901030111::FillRRectOpImpl 557 fVertexBuffer = target->resourceProvider()->findOrMakeStaticBuffer(GrGpuBufferType::kVertex, in onPrepareDraws() 781 if (!fInstanceBuffer || !fIndexBuffer || !fVertexBuffer) { in onExecute() 788 std::move(fVertexBuffer)); in onExecute()
|
D | AtlasTextOp.cpp | 269 &flushInfo.fVertexBuffer, in onPrepareDraws() 272 if (!vertices || !flushInfo.fVertexBuffer) { in onPrepareDraws() 381 maxGlyphsPerDraw, flushInfo->fVertexBuffer, kVerticesPerGlyph, in createDrawForGeneratedGlyphs()
|
D | SmallPathRenderer.cpp | 109 sk_sp<const GrBuffer> fVertexBuffer; member 216 &flushInfo.fVertexBuffer, &flushInfo.fVertexOffset)}; in onPrepareDraws() 573 flushInfo->fVertexBuffer, in flush()
|
D | AtlasTextOp.h | 124 sk_sp<const GrBuffer> fVertexBuffer; member
|
/third_party/skia/gm/ |
D | fwidth_squircle.cpp | 227 fVertexBuffer = flushState->resourceProvider()->createBuffer( in onPrepare() 232 if (!fVertexBuffer) { in onExecute() 241 flushState->bindBuffers(nullptr, nullptr, std::move(fVertexBuffer)); in onExecute() 249 sk_sp<GrBuffer> fVertexBuffer; member in __anon0020593a0111::FwidthSquircleTestOp
|
D | clockwise.cpp | 206 fVertexBuffer = flushState->resourceProvider()->createBuffer( in onPrepare() 211 if (!fVertexBuffer) { in onExecute() 220 flushState->bindBuffers(nullptr, nullptr, std::move(fVertexBuffer)); in onExecute() 224 sk_sp<GrBuffer> fVertexBuffer; member in __anon12b182b10111::ClockwiseTestOp
|
D | tessellation.cpp | 314 if (void* vertexData = flushState->makeVertexSpace(sizeof(float) * 3, 3, &fVertexBuffer, in onPrepare() 327 if (!fVertexBuffer) { in onExecute() 346 state->bindBuffers(nullptr, nullptr, std::move(fVertexBuffer)); in onExecute() 352 sk_sp<const GrBuffer> fVertexBuffer; member in skiagm::TessellationTestOp
|
/third_party/flutter/skia/tests/ |
D | GrPipelineDynamicStateTest.cpp | 130 , fVertexBuffer(std::move(vbuff)) { in GrPipelineDynamicStateTestOp() 148 mesh.setVertexData(fVertexBuffer, 4 * i); in onExecute() 158 const sk_sp<const GrBuffer> fVertexBuffer; member in GrPipelineDynamicStateTestOp
|
/third_party/skia/tests/ |
D | GrPipelineDynamicStateTest.cpp | 135 , fVertexBuffer(std::move(vbuff)) { in GrPipelineDynamicStateTestOp() 158 mesh.set(fVertexBuffer, 4, 4 * i); in onExecute() 183 const sk_sp<const GrBuffer> fVertexBuffer; member in __anonf4d526010311::GrPipelineDynamicStateTestOp
|
/third_party/flutter/skia/src/gpu/ccpr/ |
D | GrCCPerFlushResources.h | 121 return fVertexBuffer; in refVertexBuffer() 150 const sk_sp<const GrGpuBuffer> fVertexBuffer; variable
|
D | GrVSCoverageProcessor.h | 30 sk_sp<const GrGpuBuffer> fVertexBuffer; variable
|
D | GrVSCoverageProcessor.cpp | 462 fVertexBuffer = rp->findOrMakeStaticBuffer( in reset() 484 fVertexBuffer = rp->findOrMakeStaticBuffer( in reset() 538 mesh.setVertexData(fVertexBuffer, 0); in appendMesh()
|