Home
last modified time | relevance | path

Searched refs:firstVertex (Results 1 – 25 of 151) sorted by relevance

1234567

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DFirstIndexOffsetTests.cpp46 void TestVertexIndex(DrawMode mode, uint32_t firstVertex);
48 void TestBothIndices(DrawMode mode, uint32_t firstVertex, uint32_t firstInstance);
64 void FirstIndexOffsetTests::TestVertexIndex(DrawMode mode, uint32_t firstVertex) { in TestVertexIndex() argument
65 TestImpl(mode, CheckIndex::Vertex, firstVertex, 0); in TestVertexIndex()
73 uint32_t firstVertex, in TestBothIndices() argument
76 TestImpl(mode, CheckIndex::Vertex | CheckIndex::Instance, firstVertex, firstInstance); in TestBothIndices()
85 uint32_t firstVertex, in TestImpl() argument
160 std::vector<float> vertexData(firstVertex * kComponentsPerVertex); in TestImpl()
181 …teBufferFromData<uint32_t>(device, wgpu::BufferUsage::Indirect, {1, 1, firstVertex, firstInstance}… in TestImpl()
186 …ufferFromData<uint32_t>(device, wgpu::BufferUsage::Indirect, {1, 1, 0, firstVertex, firstInstance}… in TestImpl()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DVulkanSecondaryCommandBuffer.h111 uint32_t firstVertex,
113 void draw(uint32_t vertexCount, uint32_t firstVertex);
114 void drawInstanced(uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex);
117 uint32_t firstVertex,
350 uint32_t firstVertex, in draw() argument
355 CommandBuffer::draw(vertexCount, instanceCount, firstVertex, firstInstance); in draw()
358 ANGLE_INLINE void VulkanSecondaryCommandBuffer::draw(uint32_t vertexCount, uint32_t firstVertex) in draw() argument
362 CommandBuffer::draw(vertexCount, 1, firstVertex, 0); in draw()
367 uint32_t firstVertex) in drawInstanced() argument
371 CommandBuffer::draw(vertexCount, instanceCount, firstVertex, 0); in drawInstanced()
[all …]
DSecondaryCommandBuffer.h245 uint32_t firstVertex; member
309 uint32_t firstVertex; member
317 uint32_t firstVertex; member
591 void draw(uint32_t vertexCount, uint32_t firstVertex);
614 void drawInstanced(uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex);
617 uint32_t firstVertex,
1159 ANGLE_INLINE void SecondaryCommandBuffer::draw(uint32_t vertexCount, uint32_t firstVertex) in draw() argument
1163 paramStruct->firstVertex = firstVertex; in draw()
1262 uint32_t firstVertex) in drawInstanced() argument
1267 paramStruct->firstVertex = firstVertex; in drawInstanced()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/src/
DConvertIndirectLineLoop.comp50 // uint32_t firstVertex;
68 uint firstVertex = indirectBuf[indirectBufferOffsetDiv4 + 2];
76 dstData[dstDataOffsetDiv4 + i] = firstVertex + i;
80 dstData[dstDataOffsetDiv4 + vertexCount] = firstVertex;
/third_party/flutter/skia/src/gpu/ops/
DGrMeshDrawOp.cpp36 int firstVertex; in init() local
38 fVertices = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer, &firstVertex); in init()
49 fMesh->setVertexData(std::move(vertexBuffer), firstVertex); in init()
DGrDrawVerticesOp.cpp65 int firstVertex,
293 int firstVertex = 0; in drawVolatile() local
294 void* verts = target->makeVertexSpace(vertexStride, fVertexCount, &vertexBuffer, &firstVertex); in drawVolatile()
319 this->drawVertices(target, std::move(gp), std::move(vertexBuffer), firstVertex, indexBuffer, in drawVolatile()
498 int firstVertex, in drawVertices() argument
508 mesh->setVertexData(std::move(vertexBuffer), firstVertex); in drawVertices()
/third_party/skia/src/gpu/ops/
DGrMeshDrawOp.cpp85 int firstVertex; in init() local
87 fVertices = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer, &firstVertex); in init()
100 firstVertex); in init()
DTriangulatingPathRenderer.cpp356 int firstVertex; in createAAMesh() local
357 GrEagerDynamicVertexAllocator allocator(target, &vertexBuffer, &firstVertex); in createAAMesh()
362 fMesh = CreateMesh(target, std::move(vertexBuffer), firstVertex, vertexCount); in createAAMesh()
497 int firstVertex, in CreateMesh() argument
500 mesh->set(std::move(vb), count, firstVertex); in CreateMesh()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DRenderEncoderBase.cpp84 uint32_t firstVertex, in APIDraw() argument
96 firstVertex)); in APIDraw()
104 draw->firstVertex = firstVertex; in APIDraw()
109 "encoding %s.Draw(%u, %u, %u, %u).", this, vertexCount, instanceCount, firstVertex, in APIDraw()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DAttributeLayoutTest.cpp286 virtual void Draw(int firstVertex, unsigned vertexCount, const GLushort *indices) = 0;
429 void Draw(int firstVertex, unsigned vertexCount, const GLushort *indices) override in Draw() argument
431 glDrawArrays(GL_TRIANGLES, firstVertex, vertexCount); in Draw()
437 void Draw(int firstVertex, unsigned vertexCount, const GLushort *indices) override in Draw() argument
446 void Draw(int firstVertex, unsigned vertexCount, const GLushort *indices) override in Draw() argument
/third_party/vk-gl-cts/doc/testspecs/GLES31/
Dfunctional.draw_indirect.txt28 + DrawArraysIndirect firstVertex
49 DrawArraysIndirect firstVertex cases draw random triangles using
50 glDrawElementIndirect with firstVertex > 0 and compare results to a
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DVertexArray11.h37 GLint firstVertex,
69 GLint firstVertex,
DVertexArray11.cpp125 GLint firstVertex, in syncStateForDraw() argument
161 firstVertex, vertexOrIndexCount, indexTypeOrInvalid, in syncStateForDraw()
288 GLint firstVertex, in updateDynamicAttribs() argument
302 ANGLE_TRY(GetVertexRangeInfo(context, firstVertex, vertexOrIndexCount, indexTypeOrInvalid, in updateDynamicAttribs()
DStateManager11.h47 bool onFirstVertexChange(GLint firstVertex);
72 firstVertex{0}
84 uint32_t firstVertex; member
237 GLint firstVertex,
400 GLint firstVertex,
410 GLint firstVertex);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DVertexArray11.h37 GLint firstVertex,
71 GLint firstVertex,
DVertexArray11.cpp125 GLint firstVertex, in syncStateForDraw() argument
163 firstVertex, vertexOrIndexCount, indexTypeOrInvalid, in syncStateForDraw()
293 GLint firstVertex, in updateDynamicAttribs() argument
309 ANGLE_TRY(GetVertexRangeInfo(context, firstVertex, vertexOrIndexCount, indexTypeOrInvalid, in updateDynamicAttribs()
DStateManager11.h47 bool onFirstVertexChange(GLint firstVertex);
75 firstVertex{0},
94 uint32_t firstVertex; member
255 GLint firstVertex,
422 GLint firstVertex,
432 GLint firstVertex);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktBasicDrawTests.cpp140 params.firstVertex = firstV; in DrawParams()
175 cmd.firstVertex = firstV; in addCommand()
667 de::Random rnd (SEED ^ m_data.params.firstVertex ^ m_data.params.vertexCount); in generateDrawData()
669 const deUint32 vectorSize = m_data.params.firstVertex + m_data.params.vertexCount; in generateDrawData()
675 for (deUint32 vertexIdx = m_data.params.firstVertex; vertexIdx < vectorSize; ++vertexIdx) in generateDrawData()
700 … m_data.params.vertexCount, m_data.params.instanceCount, m_data.params.firstVertex, m_data.params.… in iterate()
713 …rtex>::const_iterator vertex = m_data.vertices.begin() + m_data.params.firstVertex; vertex != m_da… in iterate()
852 de::Random rnd(SEED ^ m_data.commands[0].vertexCount ^ m_data.commands[0].firstVertex); in generateDrawData()
859 const deUint32 index = it->firstVertex + it->vertexCount; in generateDrawData()
869 …std::vector<PositionColorVertex>::iterator vertexStart = m_data.vertices.begin() + it->firstVertex; in generateDrawData()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DAttributeLayoutTest.cpp286 virtual void Draw(int firstVertex, unsigned vertexCount, const GLushort *indices) = 0;
429 void Draw(int firstVertex, unsigned vertexCount, const GLushort *indices) override in Draw() argument
431 glDrawArrays(GL_TRIANGLES, firstVertex, vertexCount); in Draw()
437 void Draw(int firstVertex, unsigned vertexCount, const GLushort *indices) override in Draw() argument
446 void Draw(int firstVertex, unsigned vertexCount, const GLushort *indices) override in Draw() argument
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/
Dgen_indices.metal124 uint firstVertex;
136 uint vertexIdx = options.firstVertex + 2 + idx;
138 output[3 * idx] = options.firstVertex;
202 output[idx] = options.firstVertex + idx % options.vertexCount;
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DRenderPassEncoder.cpp48 uint32_t firstVertex, in Draw() argument
57 draw->firstVertex = firstVertex; in Draw()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DSecondaryCommandBuffer.h187 uint32_t firstVertex; member
195 uint32_t firstVertex; member
441 void draw(uint32_t vertexCount, uint32_t firstVertex);
447 void drawInstanced(uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex);
852 ANGLE_INLINE void SecondaryCommandBuffer::draw(uint32_t vertexCount, uint32_t firstVertex) in draw() argument
856 paramStruct->firstVertex = firstVertex; in draw()
876 uint32_t firstVertex) in drawInstanced() argument
881 paramStruct->firstVertex = firstVertex; in drawInstanced()
DVertexArrayVk.cpp551 GLint firstVertex, in updateClientAttribs() argument
564 ANGLE_TRY(GetVertexRangeInfo(context, firstVertex, vertexOrIndexCount, indexTypeOrInvalid, in updateClientAttribs()
621 GLint firstVertex, in handleLineLoop() argument
664 size_t lastVertex = static_cast<size_t>(firstVertex + clampedVertexCount); in handleLineLoop()
666 mLineLoopBufferFirstIndex != firstVertex || mLineLoopBufferLastIndex != lastVertex) in handleLineLoop()
669 contextVk, clampedVertexCount, firstVertex, &mCurrentElementArrayBuffer, in handleLineLoop()
672 mLineLoopBufferFirstIndex = firstVertex; in handleLineLoop()
DVertexArrayVk.h41 GLint firstVertex,
48 GLint firstVertex,
/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/
DvkTypeUtil.inl59 …ndirectCommand (uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t first… argument
64 res.firstVertex = firstVertex;
657 inline VkMultiDrawInfoEXT makeMultiDrawInfoEXT (uint32_t firstVertex, uint32_t vertexCount) argument
660 res.firstVertex = firstVertex;
674 …geInfoKHR (uint32_t primitiveCount, uint32_t primitiveOffset, uint32_t firstVertex, uint32_t trans… argument
679 res.firstVertex = firstVertex;

1234567