Home
last modified time | relevance | path

Searched refs:fCurrentVertexBuffer (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/experimental/graphite/src/
DDrawBufferManager.cpp43 if (fCurrentVertexBuffer && in getVertexWriter()
44 !can_fit(requiredBytes, fCurrentVertexBuffer.get(), fVertexOffset, /*alignment=*/1)) { in getVertexWriter()
45 fUsedBuffers.push_back(std::move(fCurrentVertexBuffer)); in getVertexWriter()
48 if (!fCurrentVertexBuffer) { in getVertexWriter()
50 fCurrentVertexBuffer = fResourceProvider->findOrCreateBuffer(kVertexBufferSize, in getVertexWriter()
54 if (!fCurrentVertexBuffer) { in getVertexWriter()
59 bindInfo.fBuffer = fCurrentVertexBuffer.get(); in getVertexWriter()
62 return {VertexWriter(fCurrentVertexBuffer->map()), bindInfo}; in getVertexWriter()
DDrawBufferManager.h38 sk_sp<Buffer> fCurrentVertexBuffer; variable
/third_party/skia/src/gpu/mtl/
DGrMtlRenderCommandEncoder.h70 if (fCurrentVertexBuffer[index] == buffer) { in setVertexBuffer()
75 if (fCurrentVertexBuffer[index] != buffer || fCurrentVertexOffset[index] != offset) { in setVertexBuffer()
79 fCurrentVertexBuffer[index] = buffer; in setVertexBuffer()
250 __weak id<MTLBuffer> fCurrentVertexBuffer[2 + GrMtlUniformHandler::kUniformBindingCount]; variable
/third_party/skia/experimental/graphite/src/mtl/
DMtlRenderCommandEncoder.h70 if (fCurrentVertexBuffer[index] == buffer) { in setVertexBuffer()
75 if (fCurrentVertexBuffer[index] != buffer || fCurrentVertexOffset[index] != offset) { in setVertexBuffer()
79 fCurrentVertexBuffer[index] = buffer; in setVertexBuffer()
256 id<MTLBuffer> fCurrentVertexBuffer[kMaxExpectedBuffers]; variable
/third_party/skia/src/gpu/d3d/
DGrD3DCommandList.cpp299 fCurrentVertexBuffer = nullptr; in onReset()
374 if (fCurrentVertexBuffer != vertexBuffer.get() || in setVertexBuffers()
379 fCurrentVertexBuffer = vertexBuffer.get(); in setVertexBuffers()
DGrD3DCommandList.h219 const GrBuffer* fCurrentVertexBuffer = nullptr; variable