Lines Matching defs:context

204 void ShaderBallotBaseTestCase::ShaderPipeline::renderQuad(deqp::Context& context)
206 const glw::Functions& gl = context.getRenderContext().getFunctions();
214 this->use(context);
218 glu::draw(context.getRenderContext(), m_programRender->getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), vertexArrays,
224 void ShaderBallotBaseTestCase::ShaderPipeline::executeComputeShader(deqp::Context& context)
226 const glw::Functions& gl = context.getRenderContext().getFunctions();
228 const glu::Texture outputTexture(context.getRenderContext());
274 glu::ShaderProgram renderShader(context.getRenderContext(), sources);
301 glu::draw(context.getRenderContext(), renderShader.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), vertexArrays,
307 void ShaderBallotBaseTestCase::ShaderPipeline::use(deqp::Context& context)
309 const glw::Functions& gl = context.getRenderContext().getFunctions();
314 void ShaderBallotBaseTestCase::ShaderPipeline::test(deqp::Context& context)
318 executeComputeShader(context);
322 renderQuad(context);
376 bool ShaderBallotBaseTestCase::validateScreenPixels(deqp::Context& context, tcu::Vec4 desiredColor,
379 const glw::Functions& gl = context.getRenderContext().getFunctions();
380 const tcu::RenderTarget renderTarget = context.getRenderContext().getRenderTarget();
429 bool ShaderBallotBaseTestCase::validateScreenPixelsSameColor(deqp::Context& context, tcu::Vec4 ignoredColor)
431 const glw::Functions& gl = context.getRenderContext().getFunctions();
432 const tcu::RenderTarget renderTarget = context.getRenderContext().getRenderTarget();
448 return ShaderBallotBaseTestCase::validateScreenPixels(context, desiredColor, ignoredColor);
462 * @param context Rendering context
464 ShaderBallotAvailabilityTestCase::ShaderBallotAvailabilityTestCase(deqp::Context& context)
465 : ShaderBallotBaseTestCase(context, "ShaderBallotAvailability",
523 * @param context Rendering context
525 ShaderBallotBitmasksTestCase::ShaderBallotBitmasksTestCase(deqp::Context& context)
526 : ShaderBallotBaseTestCase(context, "ShaderBallotBitmasks",
603 * @param context Rendering context
605 ShaderBallotFunctionBallotTestCase::ShaderBallotFunctionBallotTestCase(deqp::Context& context)
606 : ShaderBallotBaseTestCase(context, "ShaderBallotFunctionBallot",
679 * @param context Rendering context
681 ShaderBallotFunctionReadTestCase::ShaderBallotFunctionReadTestCase(deqp::Context& context)
682 : ShaderBallotBaseTestCase(context, "ShaderBallotFunctionRead",
755 * @param context Rendering context.
757 ShaderBallotTests::ShaderBallotTests(deqp::Context& context)
758 : TestCaseGroup(context, "shader_ballot_tests", "Verify conformance of CTS_ARB_shader_ballot implementation")