/third_party/skia/src/gpu/mock/ |
D | GrMockOpTarget.h | 46 void* makeVertexSpace(size_t vertexSize, int vertexCount, sk_sp<const GrBuffer>* buffer, in makeVertexSpace() argument 48 if (vertexSize * vertexCount > sizeof(fStaticVertexData)) { in makeVertexSpace() 50 vertexSize * vertexCount, sizeof(fStaticVertexData)); in makeVertexSpace() 57 void* makeVertexSpaceAtLeast(size_t vertexSize, int minVertexCount, int fallbackVertexCount, in makeVertexSpaceAtLeast() argument 60 if (vertexSize * minVertexCount > sizeof(fStaticVertexData)) { in makeVertexSpaceAtLeast() 62 vertexSize * minVertexCount, sizeof(fStaticVertexData)); in makeVertexSpaceAtLeast() 66 *actualVertexCount = sizeof(fStaticVertexData) / vertexSize; in makeVertexSpaceAtLeast()
|
/third_party/skia/src/gpu/ |
D | GrBufferAllocPool.cpp | 427 void* GrVertexBufferAllocPool::makeSpace(size_t vertexSize, in makeSpace() argument 436 void* ptr = INHERITED::makeSpace(SkSafeMath::Mul(vertexSize, vertexCount), in makeSpace() 437 vertexSize, in makeSpace() 441 SkASSERT(0 == offset % vertexSize); in makeSpace() 442 *startVertex = static_cast<int>(offset / vertexSize); in makeSpace() 446 void* GrVertexBufferAllocPool::makeSpaceAtLeast(size_t vertexSize, int minVertexCount, in makeSpaceAtLeast() argument 458 void* ptr = INHERITED::makeSpaceAtLeast(SkSafeMath::Mul(vertexSize, minVertexCount), in makeSpaceAtLeast() 459 SkSafeMath::Mul(vertexSize, fallbackVertexCount), in makeSpaceAtLeast() 460 vertexSize, in makeSpaceAtLeast() 465 SkASSERT(0 == offset % vertexSize); in makeSpaceAtLeast() [all …]
|
D | GrThreadSafeCache.h | 111 size_t vertexSize() const { return fVertexSize; } in vertexSize() function 135 VertexData(const void* vertices, int numVertices, size_t vertexSize) in VertexData() argument 138 , fVertexSize(vertexSize) { in VertexData() 141 VertexData(sk_sp<GrGpuBuffer> gpuBuffer, int numVertices, size_t vertexSize) in VertexData() argument 144 , fVertexSize(vertexSize) in VertexData() 159 size_t vertexSize); 162 size_t vertexSize);
|
D | GrOpFlushState.cpp | 180 void* GrOpFlushState::makeVertexSpace(size_t vertexSize, int vertexCount, in makeVertexSpace() argument 182 return fVertexPool.makeSpace(vertexSize, vertexCount, buffer, startVertex); in makeVertexSpace() 190 void* GrOpFlushState::makeVertexSpaceAtLeast(size_t vertexSize, int minVertexCount, in makeVertexSpaceAtLeast() argument 193 return fVertexPool.makeSpaceAtLeast(vertexSize, minVertexCount, fallbackVertexCount, buffer, in makeVertexSpaceAtLeast()
|
D | GrMeshDrawTarget.h | 52 virtual void* makeVertexSpace(size_t vertexSize, int vertexCount, sk_sp<const GrBuffer>*, 68 virtual void* makeVertexSpaceAtLeast(size_t vertexSize, int minVertexCount,
|
D | GrThreadSafeCache.cpp | 253 size_t vertexSize) { in MakeVertexData() argument 254 return sk_sp<VertexData>(new VertexData(vertices, vertexCount, vertexSize)); in MakeVertexData() 259 size_t vertexSize) { in MakeVertexData() argument 260 return sk_sp<VertexData>(new VertexData(std::move(buffer), vertexCount, vertexSize)); in MakeVertexData()
|
D | GrBufferAllocPool.h | 205 void* makeSpace(size_t vertexSize, 237 void* makeSpaceAtLeast(size_t vertexSize,
|
D | GrOpFlushState.h | 132 void* makeVertexSpace(size_t vertexSize, int vertexCount, sk_sp<const GrBuffer>*, 135 void* makeVertexSpaceAtLeast(size_t vertexSize, int minVertexCount, int fallbackVertexCount,
|
/third_party/flutter/skia/src/gpu/ |
D | GrBufferAllocPool.cpp | 439 void* GrVertexBufferAllocPool::makeSpace(size_t vertexSize, in makeSpace() argument 448 void* ptr = INHERITED::makeSpace(SkSafeMath::Mul(vertexSize, vertexCount), in makeSpace() 449 vertexSize, in makeSpace() 453 SkASSERT(0 == offset % vertexSize); in makeSpace() 454 *startVertex = static_cast<int>(offset / vertexSize); in makeSpace() 458 void* GrVertexBufferAllocPool::makeSpaceAtLeast(size_t vertexSize, int minVertexCount, in makeSpaceAtLeast() argument 470 void* ptr = INHERITED::makeSpaceAtLeast(SkSafeMath::Mul(vertexSize, minVertexCount), in makeSpaceAtLeast() 471 SkSafeMath::Mul(vertexSize, fallbackVertexCount), in makeSpaceAtLeast() 472 vertexSize, in makeSpaceAtLeast() 477 SkASSERT(0 == offset % vertexSize); in makeSpaceAtLeast() [all …]
|
D | GrOpFlushState.cpp | 165 void* GrOpFlushState::makeVertexSpace(size_t vertexSize, int vertexCount, in makeVertexSpace() argument 167 return fVertexPool.makeSpace(vertexSize, vertexCount, buffer, startVertex); in makeVertexSpace() 175 void* GrOpFlushState::makeVertexSpaceAtLeast(size_t vertexSize, int minVertexCount, in makeVertexSpaceAtLeast() argument 178 return fVertexPool.makeSpaceAtLeast(vertexSize, minVertexCount, fallbackVertexCount, buffer, in makeVertexSpaceAtLeast()
|
D | GrBufferAllocPool.h | 204 void* makeSpace(size_t vertexSize, 236 void* makeSpaceAtLeast(size_t vertexSize,
|
D | GrOpFlushState.h | 89 void* makeVertexSpace(size_t vertexSize, int vertexCount, sk_sp<const GrBuffer>*, 92 void* makeVertexSpaceAtLeast(size_t vertexSize, int minVertexCount, int fallbackVertexCount,
|
/third_party/skia/experimental/graphite/src/ |
D | DrawPass.cpp | 251 size_t vertexSize = draw.requiredVertexSpace(renderStep); in Make() local 253 auto [vertexWriter, vertexInfo] = bufferMgr->getVertexWriter(vertexSize); in Make() 256 SkASSERT(!vertexSize || (vertexWriter && vertexInfo.fBuffer)); in Make() 260 if (vertexSize) { in Make()
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrMeshDrawOp.h | 104 virtual void* makeVertexSpace(size_t vertexSize, int vertexCount, sk_sp<const GrBuffer>*, 120 virtual void* makeVertexSpaceAtLeast(size_t vertexSize, int minVertexCount,
|
D | GrFillRectOp.cpp | 203 size_t vertexSize = gp->vertexStride(); in onPrepareDraws() local 210 vertexSize, fQuads.count() * vertexSpec.verticesPerQuad(), in onPrepareDraws()
|
D | GrTextureOp.cpp | 473 size_t vertexSize = gp->vertexStride(); in onPrepareDraws() local 491 vertexSize, meshVertexCnt, numQuadVerticesLeft, &vbuffer, in onPrepareDraws() 516 vdata = reinterpret_cast<char*>(vdata) + vertexSize * meshVertexCnt; in onPrepareDraws()
|
/third_party/skia/src/gpu/ops/ |
D | FillRectOp.cpp | 214 SkASSERT(gp->vertexStride() == vertexSpec.vertexSize()); in onCreateProgramInfo() 241 const size_t totalVertexSizeInBytes = vertexSpec.vertexSize() * totalNumVertices; in onPrePrepareDraws() 275 void* vdata = target->makeVertexSpace(vertexSpec.vertexSize(), totalNumVertices, in onPrepareDraws() 283 const size_t totalVertexSizeInBytes = vertexSpec.vertexSize() * totalNumVertices; in onPrepareDraws()
|
D | TextureOp.cpp | 423 return this->totalNumVertices() * fVertexSpec.vertexSize(); in totalSizeInBytes() 683 SkASSERT(fDesc->fVertexSpec.vertexSize() == gp->vertexStride()); in onCreateProgramInfo() 723 SkDEBUGCODE(const size_t vertexSize = desc->fVertexSpec.vertexSize()); in FillInVertices() 740 SkASSERT((totVerticesSeen + meshVertexCnt) * vertexSize in FillInVertices() 895 size_t vertexSize = fDesc->fVertexSpec.vertexSize(); in onPrepareDraws() local 897 void* vdata = target->makeVertexSpace(vertexSize, fDesc->totalNumVertices(), in onPrepareDraws()
|
D | QuadPerEdgeAA.h | 101 size_t vertexSize() const;
|
D | QuadPerEdgeAA.cpp | 561 size_t VertexSpec::vertexSize() const { in vertexSize() function in skgpu::v1::QuadPerEdgeAA::VertexSpec
|
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/ |
D | DrawTester.cpp | 408 …rtexBuffer(void *vertexBufferData, size_t vertexBufferDataSize, size_t vertexSize, std::vector<vk:… in addVertexBuffer() argument 429 vertices.inputBinding.stride = static_cast<uint32_t>(vertexSize); in addVertexBuffer() 440 vertices.numVertices = static_cast<uint32_t>(vertexBufferDataSize / vertexSize); in addVertexBuffer()
|
D | DrawTester.hpp | 121 …void addVertexBuffer(void *vertexBufferData, size_t vertexBufferDataSize, size_t vertexSize, std::…
|