Home
last modified time | relevance | path

Searched refs:fVertexBuffer (Results 1 – 25 of 27) sorted by relevance

12

/third_party/flutter/skia/src/gpu/
DGrMesh.h39 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/
DGrTessellatingPathRenderer.cpp81 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 …]
DGrAtlasTextOp.cpp347 &flushInfo.fVertexBuffer, &flushInfo.fVertexOffset); in onPrepareDraws()
349 if (!vertices || !flushInfo.fVertexBuffer) { in onPrepareDraws()
452 mesh->setVertexData(flushInfo->fVertexBuffer, flushInfo->fVertexOffset); in flush()
DGrDefaultPathRenderer.cpp233 &fVertexBuffer, in allocNewBuffers()
279 mesh->setVertexData(std::move(fVertexBuffer), fFirstVertex); in emitMeshAndPutBackReserve()
318 sk_sp<const GrBuffer> fVertexBuffer; member in __anon94412d940111::PathGeoBuilder
DGrAtlasTextOp.h108 sk_sp<const GrBuffer> fVertexBuffer; member
DGrSmallPathRenderer.cpp312 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/
DGrSimpleMesh.h40 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()
DGrEagerVertexAllocator.cpp16 if (void* data = fTarget->makeVertexSpace(stride, eagerCount, fVertexBuffer, fBaseVertex)) { in lock()
21 fVertexBuffer->reset(); in lock()
31 fVertexBuffer->reset(); in unlock()
DGrEagerVertexAllocator.h44 , fVertexBuffer(vertexBuffer) in GrEagerDynamicVertexAllocator()
65 sk_sp<const GrBuffer>* const fVertexBuffer; variable
DGrOpFlushState.cpp231 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/
DTriangulatingPathRenderer.cpp104 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 …]
DFillRectOp.cpp276 &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
DDefaultPathRenderer.cpp241 &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
DFillRRectOp.cpp130 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()
DAtlasTextOp.cpp269 &flushInfo.fVertexBuffer, in onPrepareDraws()
272 if (!vertices || !flushInfo.fVertexBuffer) { in onPrepareDraws()
381 maxGlyphsPerDraw, flushInfo->fVertexBuffer, kVerticesPerGlyph, in createDrawForGeneratedGlyphs()
DSmallPathRenderer.cpp109 sk_sp<const GrBuffer> fVertexBuffer; member
216 &flushInfo.fVertexBuffer, &flushInfo.fVertexOffset)}; in onPrepareDraws()
573 flushInfo->fVertexBuffer, in flush()
DAtlasTextOp.h124 sk_sp<const GrBuffer> fVertexBuffer; member
/third_party/skia/gm/
Dfwidth_squircle.cpp227 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
Dclockwise.cpp206 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
Dtessellation.cpp314 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/
DGrPipelineDynamicStateTest.cpp130 , 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/
DGrPipelineDynamicStateTest.cpp135 , 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/
DGrCCPerFlushResources.h121 return fVertexBuffer; in refVertexBuffer()
150 const sk_sp<const GrGpuBuffer> fVertexBuffer; variable
DGrVSCoverageProcessor.h30 sk_sp<const GrGpuBuffer> fVertexBuffer; variable
DGrVSCoverageProcessor.cpp462 fVertexBuffer = rp->findOrMakeStaticBuffer( in reset()
484 fVertexBuffer = rp->findOrMakeStaticBuffer( in reset()
538 mesh.setVertexData(fVertexBuffer, 0); in appendMesh()

12