Home
last modified time | relevance | path

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

12345

/external/angle/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;
/external/skia/src/gpu/ops/
DGrMeshDrawOp.cpp37 int firstVertex; in init() local
39 fVertices = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer, &firstVertex); in init()
52 fMesh->setVertexData(std::move(vertexBuffer), firstVertex); in init()
DGrTessellatingPathRenderer.cpp306 int firstVertex; in drawAA() local
308 GrEagerDynamicVertexAllocator allocator(target, &vertexBuffer, &firstVertex); in drawAA()
314 this->drawVertices(target, gp, std::move(vertexBuffer), firstVertex, count); in drawAA()
363 int firstVertex, int count) { in drawVertices() argument
369 mesh->setVertexData(std::move(vb), firstVertex); in drawVertices()
DGrDrawVerticesOp.cpp65 int firstVertex,
297 int firstVertex = 0; in drawVolatile() local
298 void* verts = target->makeVertexSpace(vertexStride, fVertexCount, &vertexBuffer, &firstVertex); in drawVolatile()
323 this->drawVertices(target, gp, std::move(vertexBuffer), firstVertex, indexBuffer, firstIndex); in drawVolatile()
500 int firstVertex, in drawVertices() argument
510 mesh->setVertexData(std::move(vertexBuffer), firstVertex); in drawVertices()
DGrAALinearizingConvexPathRenderer.cpp209 int firstVertex; in recordDraw() local
211 &firstVertex); in recordDraw()
229 mesh->setVertexData(std::move(vertexBuffer), firstVertex); in recordDraw()
/external/skqp/src/gpu/ops/
DGrMeshDrawOp.cpp40 int firstVertex; in init() local
42 fVertices = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer, &firstVertex); in init()
53 fMesh->setVertexData(std::move(vertexBuffer), firstVertex); in init()
DGrTessellatingPathRenderer.cpp128 int firstVertex() const { return fFirstVertex; } in firstVertex() function in __anon3544613a0111::DynamicVertexAllocator
317 allocator.firstVertex(), count); in drawAA()
361 int firstVertex, int count) { in drawVertices() argument
365 mesh->setVertexData(std::move(vb), firstVertex); in drawVertices()
DGrAAHairLinePathRenderer.cpp977 int firstVertex; in onPrepareDraws() local
982 sizeof(LineVertex), vertexCount, &vertexBuffer, &firstVertex)); in onPrepareDraws()
996 mesh->setVertexData(std::move(vertexBuffer), firstVertex); in onPrepareDraws()
1018 int firstVertex; in onPrepareDraws() local
1026 &firstVertex); in onPrepareDraws()
1051 mesh->setVertexData(vertexBuffer, firstVertex); in onPrepareDraws()
1053 firstVertex += quadCount * kQuadNumVertices; in onPrepareDraws()
1060 mesh->setVertexData(std::move(vertexBuffer), firstVertex); in onPrepareDraws()
DGrDrawVerticesOp.cpp231 int firstVertex = 0; in drawVolatile() local
232 void* verts = target->makeVertexSpace(vertexStride, fVertexCount, &vertexBuffer, &firstVertex); in drawVolatile()
258 this->drawVertices(target, std::move(gp), std::move(vertexBuffer), firstVertex, indexBuffer, in drawVolatile()
464 int firstVertex, in drawVertices() argument
474 mesh->setVertexData(std::move(vertexBuffer), firstVertex); in drawVertices()
DGrAALinearizingConvexPathRenderer.cpp203 int firstVertex; in draw() local
205 &firstVertex); in draw()
223 mesh->setVertexData(std::move(vertexBuffer), firstVertex); in draw()
/external/angle/src/libANGLE/renderer/vulkan/
DSecondaryCommandBuffer.h229 uint32_t firstVertex; member
289 uint32_t firstVertex; member
297 uint32_t firstVertex; member
533 void draw(uint32_t vertexCount, uint32_t firstVertex);
556 void drawInstanced(uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex);
559 uint32_t firstVertex,
1019 ANGLE_INLINE void SecondaryCommandBuffer::draw(uint32_t vertexCount, uint32_t firstVertex) in draw() argument
1023 paramStruct->firstVertex = firstVertex; in draw()
1107 uint32_t firstVertex) in drawInstanced() argument
1112 paramStruct->firstVertex = firstVertex; in drawInstanced()
[all …]
DVertexArrayVk.h44 GLint firstVertex,
51 GLint firstVertex,
DVertexArrayVk.cpp693 GLint firstVertex, in updateStreamedAttribs() argument
711 ANGLE_TRY(GetVertexRangeInfo(context, firstVertex, vertexOrIndexCount, indexTypeOrInvalid, in updateStreamedAttribs()
800 GLint firstVertex, in handleLineLoop() argument
843 size_t lastVertex = static_cast<size_t>(firstVertex + clampedVertexCount); in handleLineLoop()
845 mLineLoopBufferFirstIndex != firstVertex || mLineLoopBufferLastIndex != lastVertex) in handleLineLoop()
848 contextVk, clampedVertexCount, firstVertex, &mCurrentElementArrayBuffer, in handleLineLoop()
851 mLineLoopBufferFirstIndex = firstVertex; in handleLineLoop()
Dvk_wrapper.h266 uint32_t firstVertex,
268 void draw(uint32_t vertexCount, uint32_t firstVertex);
269 void drawInstanced(uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex);
272 uint32_t firstVertex,
985 uint32_t firstVertex,
989 vkCmdDraw(mHandle, vertexCount, instanceCount, firstVertex, firstInstance);
992 ANGLE_INLINE void CommandBuffer::draw(uint32_t vertexCount, uint32_t firstVertex)
995 vkCmdDraw(mHandle, vertexCount, 1, firstVertex, 0);
1000 uint32_t firstVertex)
1003 vkCmdDraw(mHandle, vertexCount, instanceCount, firstVertex, 0);
[all …]
/external/deqp/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
/external/angle/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()
289 GLint firstVertex, in updateDynamicAttribs() argument
303 ANGLE_TRY(GetVertexRangeInfo(context, firstVertex, vertexOrIndexCount, indexTypeOrInvalid, in updateDynamicAttribs()
DStateManager11.h47 bool onFirstVertexChange(GLint firstVertex, GLint baseVertex);
72 firstVertex{0}
84 uint32_t firstVertex; member
237 GLint firstVertex,
402 GLint firstVertex,
412 GLint firstVertex);
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktBasicDrawTests.cpp138 params.firstVertex = firstV; in DrawParams()
173 cmd.firstVertex = firstV; in addCommand()
626 de::Random rnd (SEED ^ m_data.params.firstVertex ^ m_data.params.vertexCount); in generateDrawData()
628 const deUint32 vectorSize = m_data.params.firstVertex + m_data.params.vertexCount; in generateDrawData()
634 for (deUint32 vertexIdx = m_data.params.firstVertex; vertexIdx < vectorSize; ++vertexIdx) in generateDrawData()
659 … m_data.params.vertexCount, m_data.params.instanceCount, m_data.params.firstVertex, m_data.params.… in iterate()
672 …rtex>::const_iterator vertex = m_data.vertices.begin() + m_data.params.firstVertex; vertex != m_da… in iterate()
811 de::Random rnd(SEED ^ m_data.commands[0].vertexCount ^ m_data.commands[0].firstVertex); in generateDrawData()
818 const deUint32 index = it->firstVertex + it->vertexCount; in generateDrawData()
828 …std::vector<PositionColorVertex>::iterator vertexStart = m_data.vertices.begin() + it->firstVertex; in generateDrawData()
[all …]
/external/angle/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
/external/angle/src/libANGLE/renderer/metal/shaders/
Dgen_indices.metal108 uint firstVertex;
117 uint vertexIdx = options.firstVertex + 2 + idx;
119 output[3 * idx] = options.firstVertex;
Dmtl_default_shaders_src_autogen.inc276 uint firstVertex;
285 uint vertexIdx = options.firstVertex + 2 + idx;
287 output[3 * idx] = options.firstVertex;
/external/angle/src/libANGLE/renderer/metal/
Dmtl_render_utils.h58 uint32_t firstVertex; member
106 uint32_t firstVertex,
/external/skia/bench/
DVertexColorSpaceBench.cpp177 int firstVertex = 0; in onPrepareDraws() local
179 &firstVertex); in onPrepareDraws()
234 mesh->setVertexData(std::move(vertexBuffer), firstVertex); in onPrepareDraws()
/external/skqp/bench/
DVertexColorSpaceBench.cpp167 int firstVertex = 0; in onPrepareDraws() local
169 &firstVertex); in onPrepareDraws()
224 mesh->setVertexData(std::move(vertexBuffer), firstVertex); in onPrepareDraws()

12345