Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/
DGrEagerVertexAllocator.h43 , 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
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()
DGrOpFlushState.cpp222 this->bindBuffers(nullptr, nullptr, mesh.fVertexBuffer); in drawMesh()
225 this->bindBuffers(mesh.fIndexBuffer, nullptr, mesh.fVertexBuffer, mesh.fPrimitiveRestart); in drawMesh()
/external/skqp/src/gpu/
DGrMesh.h34 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/
DGrTessellatingPathRenderer.cpp80 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 …]
DGrAtlasTextOp.cpp330 &flushInfo.fVertexBuffer, &flushInfo.fVertexOffset); in onPrepareDraws()
332 if (!vertices || !flushInfo.fVertexBuffer) { in onPrepareDraws()
431 mesh->setVertexData(flushInfo->fVertexBuffer, flushInfo->fVertexOffset); in flush()
DGrAtlasTextOp.h107 sk_sp<const GrBuffer> fVertexBuffer; member
DGrDefaultPathRenderer.cpp234 &fVertexBuffer, in allocNewBuffers()
280 mesh->setVertexData(std::move(fVertexBuffer), fFirstVertex); in emitMeshAndPutBackReserve()
321 sk_sp<const GrBuffer> fVertexBuffer; member in __anonb3969d6c0111::PathGeoBuilder
DGrSmallPathRenderer.cpp307 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/
DGrTriangulatingPathRenderer.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 …]
DGrDefaultPathRenderer.cpp239 &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
DGrFillRectOp.cpp274 &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
DGrFillRRectOp.cpp123 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()
DGrAtlasTextOp.cpp272 &flushInfo.fVertexBuffer, in onPrepareDraws()
275 if (!vertices || !flushInfo.fVertexBuffer) { in onPrepareDraws()
384 maxGlyphsPerDraw, flushInfo->fVertexBuffer, kVerticesPerGlyph, in createDrawForGeneratedGlyphs()
DGrSmallPathRenderer.cpp155 sk_sp<const GrBuffer> fVertexBuffer; member
261 &flushInfo.fVertexBuffer, &flushInfo.fVertexOffset)}; in onPrepareDraws()
611 flushInfo->fVertexBuffer, in flush()
DGrAtlasTextOp.h132 sk_sp<const GrBuffer> fVertexBuffer; member
/external/skia/gm/
Dfwidth_squircle.cpp218 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
Dclockwise.cpp209 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
Dtessellation.cpp299 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/
DGrVkCopyManager.cpp140 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()
DGrVkCopyManager.h50 sk_sp<GrVkVertexBuffer> fVertexBuffer; variable
/external/skqp/tests/
DGrPipelineDynamicStateTest.cpp127 , 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/
DGrPipelineDynamicStateTest.cpp135 , 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/
DGrCCPerFlushResources.h114 return fVertexBuffer; in refVertexBuffer()
135 const sk_sp<const GrBuffer> fVertexBuffer; variable
DGrCCPerFlushResources.cpp167 , fVertexBuffer(GrCCPathProcessor::FindVertexBuffer(onFlushRP)) in GrCCPerFlushResources()
177 if (!fVertexBuffer) { in GrCCPerFlushResources()

12