Home
last modified time | relevance | path

Searched refs:vertexArrays (Results 1 – 25 of 41) sorted by relevance

12

/external/deqp/modules/glshared/
DglsSamplerObjectTest.cpp325 glu::VertexArrayBinding vertexArrays[] = in render() local
330 …glu::draw(m_renderCtx, m_program->getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), vertexArrays, gl… in render()
335 …glu::draw(m_renderCtx, m_program->getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), vertexArrays, gl… in render()
342 glu::VertexArrayBinding vertexArrays[] = in render() local
347 …glu::draw(m_renderCtx, m_program->getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), vertexArrays, gl… in render()
352 …glu::draw(m_renderCtx, m_program->getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), vertexArrays, gl… in render()
359 glu::VertexArrayBinding vertexArrays[] = in render() local
364 …glu::draw(m_renderCtx, m_program->getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), vertexArrays, gl… in render()
369 …glu::draw(m_renderCtx, m_program->getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), vertexArrays, gl… in render()
822 glu::VertexArrayBinding vertexArrays[] = in render() local
[all …]
DglsFragmentOpUtil.cpp192 std::vector<glu::VertexArrayBinding> vertexArrays; in render() local
194 vertexArrays.push_back(glu::va::Float(m_positionLoc, 4, 4, 0, &position[0])); in render()
195 vertexArrays.push_back(glu::va::Float(m_colorLoc, 4, 4, 0, (const float*)&quad.color[0])); in render()
198 vertexArrays.push_back(glu::va::Float(m_color1Loc, 4, 4, 0, (const float*)&quad.color1[0])); in render()
202 (int)vertexArrays.size(), &vertexArrays[0], in render()
DglsShaderRenderCase.cpp540 …unctions& gl, const QuadGrid& quadGrid, deUint32 program, vector<VertexArrayBinding>& vertexArrays) in getDefaultVertexArrays() argument
544vertexArrays.push_back(va::Float("a_position", 4, numElements, 0, (const float*)quadGrid.getPosit… in getDefaultVertexArrays()
545vertexArrays.push_back(va::Float("a_coords", 4, numElements, 0, (const float*)quadGrid.getCoords(… in getDefaultVertexArrays()
546vertexArrays.push_back(va::Float("a_unitCoords", 4, numElements, 0, (const float*)quadGrid.getUnit… in getDefaultVertexArrays()
547 vertexArrays.push_back(va::Float("a_one", 1, numElements, 0, quadGrid.getAttribOne())); in getDefaultVertexArrays()
553vertexArrays.push_back(va::Float(name, 4, numElements, 0, (const float*)quadGrid.getUserAttrib(use… in getDefaultVertexArrays()
586vertexArrays.push_back(va::Float(loc+colNdx, numRows, numElements, 4*(int)sizeof(float), (const fl… in getDefaultVertexArrays()
621 std::vector<VertexArrayBinding> vertexArrays; in render() local
624 getDefaultVertexArrays(gl, quadGrid, programID, vertexArrays); in render()
625 …draw(m_renderCtx, programID, (int)vertexArrays.size(), &vertexArrays[0], pr::Triangles(numElements… in render()
DglsTextureTestUtil.cpp474 const glu::VertexArrayBinding vertexArrays[] = in renderQuad() local
479 glu::draw(m_renderCtx, prog, DE_LENGTH_OF_ARRAY(vertexArrays), &vertexArrays[0], in renderQuad()
/external/deqp/framework/opengl/
DgluDrawUtil.cpp454 static bool isDrawCallValid (int numVertexArrays, const VertexArrayBinding* vertexArrays, const Pri… in isDrawCallValid() argument
469 if (primitives.numElements > vertexArrays[ndx].pointer.numElements) in isDrawCallValid()
495 …ext, deUint32 program, int numVertexArrays, const VertexArrayBinding* vertexArrays, const Primitiv… in drawFromUserPointers() argument
500 DE_ASSERT(isDrawCallValid(numVertexArrays, vertexArrays, primitives)); in drawFromUserPointers()
504 …namedBindingsToProgramLocations(gl, program, vertexArrays, vertexArrays+numVertexArrays, std::inse… in drawFromUserPointers()
527 …ext, deUint32 program, int numVertexArrays, const VertexArrayBinding* vertexArrays, const Primitiv… in drawFromBuffers() argument
532 DE_ASSERT(isDrawCallValid(numVertexArrays, vertexArrays, primitives)); in drawFromBuffers()
536 …namedBindingsToProgramLocations(gl, program, vertexArrays, vertexArrays+numVertexArrays, std::inse… in drawFromBuffers()
580 …ext, deUint32 program, int numVertexArrays, const VertexArrayBinding* vertexArrays, const Primitiv… in drawFromVAOBuffers() argument
586 drawFromBuffers(context, program, numVertexArrays, vertexArrays, primitives, callback); in drawFromVAOBuffers()
[all …]
DgluDrawUtil.hpp198 …ext, deUint32 program, int numVertexArrays, const VertexArrayBinding* vertexArrays, const Primitiv…
200 …ext, deUint32 program, int numVertexArrays, const VertexArrayBinding* vertexArrays, const Primitiv…
201 …ext, deUint32 program, int numVertexArrays, const VertexArrayBinding* vertexArrays, const Primitiv…
202 …ext, deUint32 program, int numVertexArrays, const VertexArrayBinding* vertexArrays, const Primitiv…
/external/deqp/modules/gles3/functional/
Des3fShaderPrecisionTests.cpp345 vector<glu::VertexArrayBinding> vertexArrays; in iterate() local
356 vertexArrays.push_back(glu::va::Float("a_position", 4, numVertices, 0, &position[0])); in iterate()
357 vertexArrays.push_back(glu::va::Float("a_in0", 1, numVertices, 0, &in0Arr[0])); in iterate()
358 vertexArrays.push_back(glu::va::Float("a_in1", 1, numVertices, 0, &in1Arr[0])); in iterate()
379 glu::draw(m_context.getRenderContext(), prog, (int)vertexArrays.size(), &vertexArrays[0], in iterate()
561 vector<glu::VertexArrayBinding> vertexArrays; in iterate() local
572 vertexArrays.push_back(glu::va::Float("a_position", 4, numVertices, 0, &position[0])); in iterate()
573 vertexArrays.push_back(glu::va::Int32("a_in0", 1, numVertices, 0, &in0Arr[0])); in iterate()
574 vertexArrays.push_back(glu::va::Int32("a_in1", 1, numVertices, 0, &in1Arr[0])); in iterate()
593 glu::draw(m_context.getRenderContext(), prog, (int)vertexArrays.size(), &vertexArrays[0], in iterate()
[all …]
Des3fShaderFragDataTests.cpp171 const glu::VertexArrayBinding vertexArrays[] = in iterate() local
195 glu::draw(renderCtx, program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), &vertexArrays[0], in iterate()
272 const glu::VertexArrayBinding vertexArrays[] = in iterate() local
312 glu::draw(renderCtx, program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), &vertexArrays[0], in iterate()
Des3fFragDepthTests.cpp221 glu::VertexArrayBinding vertexArrays[] = in iterate() local
226 …ntext.getRenderContext(), program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), &vertexArrays[0], in iterate()
349 glu::VertexArrayBinding vertexArrays[] = in iterate() local
354 …ntext.getRenderContext(), program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), &vertexArrays[0], in iterate()
/external/deqp/external/openglcts/modules/gl/
Dgl4cES31CompatibilitySampleVariablesTests.cpp369 glu::VertexArrayBinding vertexArrays[] = { in iterate() local
372 glu::draw(m_context.getRenderContext(), program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), in iterate()
373 &vertexArrays[0], glu::pr::TriangleStrip(DE_LENGTH_OF_ARRAY(quadIndices), &quadIndices[0])); in iterate()
450 glu::VertexArrayBinding vertexArrays[] = { in iterate() local
453 glu::draw(m_context.getRenderContext(), program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), in iterate()
454 &vertexArrays[0], glu::pr::TriangleStrip(DE_LENGTH_OF_ARRAY(quadIndices), &quadIndices[0])); in iterate()
674 glu::VertexArrayBinding vertexArrays[] = { in iterate() local
677 glu::draw(m_context.getRenderContext(), program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), in iterate()
678 &vertexArrays[0], glu::pr::TriangleStrip(DE_LENGTH_OF_ARRAY(quadIndices), &quadIndices[0])); in iterate()
757 glu::VertexArrayBinding vertexArrays[] = { in iterate() local
[all …]
Dgl4cShaderAtomicCounterOpsTests.cpp267 glu::VertexArrayBinding vertexArrays[] = { glu::va::Float("inPosition", 2, 4, 0, position) }; in renderQuad() local
273 …ntext.getRenderContext(), this->getShaderProgram()->getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), in renderQuad()
274 vertexArrays, primitiveList); in renderQuad()
357 glu::VertexArrayBinding vertexArrays[] = { glu::va::Float("position", 2, 4, 0, position), in executeComputeShader() local
360 …text.getRenderContext(), renderShader.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), vertexArrays, in executeComputeShader()
Dgl4cShaderBallotTests.cpp212 glu::VertexArrayBinding vertexArrays[] = { glu::va::Float("inPosition", 2, 4, 0, position) }; in renderQuad() local
218 ….getRenderContext(), m_programRender->getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), vertexArrays, in renderQuad()
298 glu::VertexArrayBinding vertexArrays[] = { glu::va::Float("position", 2, 4, 0, position), in executeComputeShader() local
301 …text.getRenderContext(), renderShader.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), vertexArrays, in executeComputeShader()
Dgl4cShaderGroupVoteTests.cpp150 glu::VertexArrayBinding vertexArrays[] = { glu::va::Float("position", 2, 4, 0, position), in execute() local
153 …text.getRenderContext(), renderShader.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), vertexArrays, in execute()
/external/deqp/external/openglcts/modules/common/
DglcSampleVariablesTests.cpp371 glu::VertexArrayBinding vertexArrays[] = { in iterate() local
374 glu::draw(m_context.getRenderContext(), program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), in iterate()
375 &vertexArrays[0], glu::pr::TriangleStrip(DE_LENGTH_OF_ARRAY(quadIndices), &quadIndices[0])); in iterate()
452 glu::VertexArrayBinding vertexArrays[] = { in iterate() local
455 glu::draw(m_context.getRenderContext(), program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), in iterate()
456 &vertexArrays[0], glu::pr::TriangleStrip(DE_LENGTH_OF_ARRAY(quadIndices), &quadIndices[0])); in iterate()
672 glu::VertexArrayBinding vertexArrays[] = { in iterate() local
676 glu::draw(m_context.getRenderContext(), program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), in iterate()
677 &vertexArrays[0], glu::pr::TriangleStrip(DE_LENGTH_OF_ARRAY(quadIndices), &quadIndices[0])); in iterate()
756 glu::VertexArrayBinding vertexArrays[] = { in iterate() local
[all …]
DglcShaderRenderCase.cpp597 vector<VertexArrayBinding>& vertexArrays) in getDefaultVertexArrays() argument
601vertexArrays.push_back(va::Float("a_position", 4, numElements, 0, (const float*)quadGrid.getPositi… in getDefaultVertexArrays()
602vertexArrays.push_back(va::Float("a_coords", 4, numElements, 0, (const float*)quadGrid.getCoords()… in getDefaultVertexArrays()
603vertexArrays.push_back(va::Float("a_unitCoords", 4, numElements, 0, (const float*)quadGrid.getUnit… in getDefaultVertexArrays()
604 vertexArrays.push_back(va::Float("a_one", 1, numElements, 0, quadGrid.getAttribOne())); in getDefaultVertexArrays()
610vertexArrays.push_back(va::Float(name, 4, numElements, 0, (const float*)quadGrid.getUserAttrib(use… in getDefaultVertexArrays()
634 vertexArrays.push_back(va::Float(loc + colNdx, numRows, numElements, 4 * (int)sizeof(float), in getDefaultVertexArrays()
673 std::vector<VertexArrayBinding> vertexArrays; in render() local
676 getDefaultVertexArrays(gl, quadGrid, programID, vertexArrays); in render()
677 draw(m_renderCtx, programID, (int)vertexArrays.size(), &vertexArrays[0], in render()
DglcFragDepthTests.cpp222 glu::VertexArrayBinding vertexArrays[] = { glu::va::Float("a_position", 4, 4, 0, &position[0]), in iterate() local
224 glu::draw(m_context.getRenderContext(), program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), in iterate()
225 &vertexArrays[0], glu::pr::Triangles(DE_LENGTH_OF_ARRAY(quadIndices), &quadIndices[0])); in iterate()
339 glu::VertexArrayBinding vertexArrays[] = { glu::va::Float("a_position", 4, 4, 0, &position[0]), in iterate() local
341 glu::draw(m_context.getRenderContext(), program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), in iterate()
342 &vertexArrays[0], glu::pr::Triangles(DE_LENGTH_OF_ARRAY(quadIndices), &quadIndices[0])); in iterate()
DglcShaderIntegerMixTests.cpp474 glu::VertexArrayBinding vertexArrays[] = { in test() local
494 …aw(m_context.getRenderContext(), prog.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), vertexArrays, in test()
506 …aw(m_context.getRenderContext(), prog.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), vertexArrays, in test()
DglcShaderMultisampleInterpolationTests.cpp401 glu::VertexArrayBinding vertexArrays[] = { in iterate() local
404 glu::draw(m_context.getRenderContext(), program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), in iterate()
405 &vertexArrays[0], glu::pr::TriangleStrip(DE_LENGTH_OF_ARRAY(quadIndices), &quadIndices[0])); in iterate()
466 glu::VertexArrayBinding vertexArrays[] = { in iterate() local
469 glu::draw(m_context.getRenderContext(), program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), in iterate()
470 &vertexArrays[0], glu::pr::TriangleStrip(DE_LENGTH_OF_ARRAY(quadIndices), &quadIndices[0])); in iterate()
DglcShaderLibraryCase.cpp368 vector<VertexArrayBinding> vertexArrays; in execute() local
373 vertexArrays.push_back(va::Float(positionLoc, 4, numVerticesPerDraw, 0, &s_positions[0])); in execute()
433 vertexArrays.push_back(va::Float(attribLoc + i, numRows, numVerticesPerDraw, in execute()
441 vertexArrays.push_back(va::Float(attribLoc, scalarSize, numVerticesPerDraw, 0, &scalars[0])); in execute()
467 draw(m_renderCtx, program.getProgram(), (int)vertexArrays.size(), &vertexArrays[0], in execute()
/external/deqp/modules/gles3/stress/
Des3sLongRunningShaderTests.cpp279 vector<glu::VertexArrayBinding> vertexArrays; in iterate() local
281vertexArrays.push_back(glu::va::Float("a_position", 2, (int)positions.size(), 0, positions[0].getP… in iterate()
283vertexArrays.push_back(glu::va::Int32("a_iterCount", 1, (int)iterCounts.size(), 0, &iterCounts[0])… in iterate()
296 (int)vertexArrays.size(), &vertexArrays[0], in iterate()
/external/deqp/modules/gles2/functional/
Des2fShaderFragDataTests.cpp171 const glu::VertexArrayBinding vertexArrays[] = in iterate() local
195 glu::draw(renderCtx, program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), &vertexArrays[0], in iterate()
/external/deqp/external/openglcts/modules/gles31/
Des31cSampleShadingTests.cpp321 glu::VertexArrayBinding vertexArrays[] = { in iterate() local
324 glu::draw(m_context.getRenderContext(), program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), in iterate()
325 &vertexArrays[0], glu::pr::TriangleStrip(DE_LENGTH_OF_ARRAY(quadIndices), &quadIndices[0])); in iterate()
384 glu::VertexArrayBinding vertexArrays[] = { in iterate() local
387 glu::draw(m_context.getRenderContext(), program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), in iterate()
388 &vertexArrays[0], glu::pr::TriangleStrip(DE_LENGTH_OF_ARRAY(quadIndices), &quadIndices[0])); in iterate()
/external/deqp/modules/gles31/functional/
Des31fStencilTexturingTests.cpp236 const glu::VertexArrayBinding vertexArrays[] = in blitStencilToColor2D() local
260 glu::draw(renderCtx, program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), &vertexArrays[0], in blitStencilToColor2D()
301 const glu::VertexArrayBinding vertexArrays[] = in blitStencilToColor2DArray() local
325 glu::draw(renderCtx, program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), &vertexArrays[0], in blitStencilToColor2DArray()
360 const glu::VertexArrayBinding vertexArrays[] = in blitStencilToColorCube() local
384 glu::draw(renderCtx, program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), &vertexArrays[0], in blitStencilToColorCube()
Des31fShaderHelperInvocationTests.cpp170 vector<glu::VertexArrayBinding> vertexArrays; in drawRandomPrimitives() local
174vertexArrays.push_back(glu::va::Float("a_position", 2, (int)vertices.size(), 0, (const float*)&ver… in drawRandomPrimitives()
196 glu::draw(renderCtx, program, (int)vertexArrays.size(), &vertexArrays[0], in drawRandomPrimitives()
/external/deqp/framework/opengl/simplereference/
DsglrGLContext.cpp642 void GLContext::genVertexArrays (int numArrays, deUint32* vertexArrays) in genVertexArrays() argument
644 m_wrapper->glGenVertexArrays(numArrays, vertexArrays); in genVertexArrays()
646 m_allocatedVaos.insert(vertexArrays, vertexArrays+numArrays); in genVertexArrays()
649 void GLContext::deleteVertexArrays (int numArrays, const deUint32* vertexArrays) in deleteVertexArrays() argument
652 m_allocatedVaos.erase(vertexArrays[i]); in deleteVertexArrays()
653 m_wrapper->glDeleteVertexArrays(numArrays, vertexArrays); in deleteVertexArrays()

12