/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 | 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 | 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 | 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/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/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::…
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkRayTracingUtil.cpp | 1826 VkDeviceSize vertexSize = 0; in getAllocationCount() local 1832 …std::tie(strSize, updateScratchSize, buildScratchSize, vertexSize, indexSize) = str.computeBuildSi… in getAllocationCount() 1848 if (vertexSize != 0) in getAllocationCount() 1850 const VkDeviceSize alignedVertBuffSize = deAlign64(vertexSize, 8); in getAllocationCount() 1882 VkDeviceSize vertexSize = 0; in getAllocationSizes() local 1892 …std::tie(strSize, updateScratchSize, buildScratchSize, vertexSize, indexSize) = str.computeBuildSi… in getAllocationSizes() 1896 sumVertexSize += deAlign64(vertexSize, 8); in getAllocationSizes() 1975 VkDeviceSize vertexSize = 0; in batchCreateAdjust() local 1989 …std::tie(strSize, updateScratchSize, buildScratchSize, vertexSize, indexSize) = str.computeBuildSi… in batchCreateAdjust() 2016 if (vertexSize != 0) in batchCreateAdjust() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/ |
D | vktMeshShaderSmokeTestsEXT.cpp | 1223 const auto vertexSize = sizeof(tcu::Vec2); in iterate() local 1227 const auto triangleSize = vertexSize * verticesPerTriangle; in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/ |
D | vktMeshShaderSmokeTestsEXT.cpp | 1223 const auto vertexSize = sizeof(tcu::Vec2); in iterate() local 1227 const auto triangleSize = vertexSize * verticesPerTriangle; in iterate()
|