/external/deqp/modules/gles31/functional/ |
es31fNegativeAdvancedBlendEquationTests.cpp | 134 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); 149 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); 175 ctx.isExtensionSupported("GL_KHR_blend_equation_advanced") || contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)), 181 glu::ShaderProgram program(ctx.getRenderContext(), generateProgramSources(ctx, s_equations[ndx])); 211 ctx.isExtensionSupported("GL_KHR_blend_equation_advanced") || contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)), 230 glu::ShaderProgram program(ctx.getRenderContext(), generateProgramSources(ctx, s_equations[ndx]));
|
es31fMultisampleShaderRenderCase.cpp | 99 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 101 const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)); 212 m_textureSamplerProgram = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() 295 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(genVertexSource(m_numTargetSamples)) << glu::FragmentSource(genFragmentSource(m_numTargetSamples))); 307 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_buffer); 313 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_resolveBuffer); 322 m_context.getRenderContext().getFunctions().deleteFramebuffers(1, &m_fbo); 328 m_context.getRenderContext().getFunctions().deleteTextures(1, &m_fboTexture); 337 m_context.getRenderContext().getFunctions().deleteRenderbuffers(1, &m_fboRbo); 343 m_context.getRenderContext().getFunctions().deleteFramebuffers(1, &m_resolveFbo) [all...] |
es31fShaderMultisampleInterpolationTests.cpp | 126 if (!m_context.getContextInfo().isExtensionSupported("GL_OES_shader_multisample_interpolation") && !glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2))) 290 return specializeShader(buf.str(), m_context.getRenderContext().getType());; 343 return specializeShader(buf.str(), m_context.getRenderContext().getType()); 435 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 498 return specializeShader(buf.str(), m_context.getRenderContext().getType()); 607 return specializeShader(buf.str(), m_context.getRenderContext().getType()); 667 if (!m_context.getContextInfo().isExtensionSupported("GL_OES_shader_multisample_interpolation") && !glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2))) 698 return specializeShader(buf.str(), m_context.getRenderContext().getType()); 746 return specializeShader(buf.str(), m_context.getRenderContext().getType()); 778 if (!m_context.getContextInfo().isExtensionSupported("GL_OES_shader_multisample_interpolation") && !glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)) [all...] |
es31fSampleShadingTests.cpp | 72 if (!contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)) && !m_context.getContextInfo().isExtensionSupported("GL_OES_sample_shading")) 78 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 123 if (!contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)) && !m_context.getContextInfo().isExtensionSupported("GL_OES_sample_shading")) 129 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 190 if (!contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)) && !m_context.getContextInfo().isExtensionSupported("GL_OES_sample_shading")) 196 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 278 if (!contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)) && !m_context.getContextInfo().isExtensionSupported("GL_OES_sample_shading")) 302 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 340 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 408 const glu::GLSLVersion version = contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2) [all...] |
es31fBasicComputeShaderTests.cpp | 93 const ShaderProgram program(m_context.getRenderContext(), 100 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 148 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 149 const ShaderProgram program (m_context.getRenderContext(), ProgramSources() << ShaderSource(SHADERTYPE_COMPUTE, src.str())); 150 const Buffer inputBuffer (m_context.getRenderContext()); 151 const Buffer outputBuffer (m_context.getRenderContext()); 268 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 269 const ShaderProgram program (m_context.getRenderContext(), ProgramSources() << ShaderSource(SHADERTYPE_COMPUTE, src.str())); 270 const Buffer inputBuffer (m_context.getRenderContext()); 271 const Buffer outputBuffer (m_context.getRenderContext()); [all...] |
es31fIndexedStateQueryTests.cpp | 70 if (!contextSupports(context.getRenderContext().getType(), glu::ApiType::es(3, 2)) && !context.getContextInfo().isExtensionSupported(extensionName.c_str())) 99 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 113 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 184 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 225 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 243 glu::Buffer bufferA (m_context.getRenderContext()); 244 glu::Buffer bufferB (m_context.getRenderContext()); 309 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 328 glu::Buffer bufferA (m_context.getRenderContext()); 329 glu::Buffer bufferB (m_context.getRenderContext()); [all...] |
es31fSSBOArrayLengthTests.cpp | 92 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 96 m_shader = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(genComputeSource())); 169 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_targetBufferID); 175 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_outputBufferID); 182 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
|
es31fTextureStateQueryTests.cpp | 209 m_context.getRenderContext(), 228 m_context.getRenderContext(), 238 m_context.getRenderContext(), 248 m_context.getRenderContext(), 276 m_context.getRenderContext(),
|
es31fVertexAttributeBindingTests.cpp | 174 m_context.getRenderContext().getFunctions().genVertexArrays(1, &m_vao); 175 if (m_context.getRenderContext().getFunctions().getError() != GL_NO_ERROR) 186 m_context.getRenderContext().getFunctions().deleteVertexArrays(1, &m_vao); 311 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_buf); 320 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 372 glu::readPixels(m_context.getRenderContext(), 0, 0, dst.getAccess()); 446 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 488 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(genVertexSource()) << glu::FragmentSource(s_colorFragmentShader)); 601 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_primitiveBuf); 607 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_colorOffsetBuf) [all...] |
es31fShaderTextureSizeTests.cpp | 152 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 174 m_shader = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(s_positionVertexShaderSource) << glu::FragmentSource(genFragmentSource())); 226 m_context.getRenderContext().getFunctions().deleteTextures(1, &m_texture); 232 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_vbo); 380 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 400 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 413 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 450 glu::readPixels(m_context.getRenderContext(), 0, 0, dst.getAccess());
|
es31fGeometryShaderTests.cpp | [all...] |
/external/deqp/modules/gles31/stress/ |
es31sVertexAttributeBindingTests.cpp | 168 m_context.getRenderContext().getFunctions().genVertexArrays(1, &m_vao); 169 if (m_context.getRenderContext().getFunctions().getError() != GL_NO_ERROR) 180 m_context.getRenderContext().getFunctions().deleteVertexArrays(1, &m_vao); 305 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_buf); 314 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 366 glu::readPixels(m_context.getRenderContext(), 0, 0, dst.getAccess()); 440 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 482 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(genVertexSource()) << glu::FragmentSource(s_colorFragmentShader)); 545 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 553 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(s_vertexSource) << glu::FragmentSource(s_fragmentSou (…) [all...] |
/external/deqp/modules/gles3/functional/ |
es3fShaderBuiltinVarTests.cpp | 131 const de::UniquePtr<ShaderExecutor> shaderExecutor (createGetConstantExecutor(m_context.getRenderContext(), m_shaderType, m_varName)); 132 const int reference = m_getValue(m_context.getRenderContext().getFunctions()); 207 : ShaderRenderCase (context.getTestContext(), context.getRenderContext(), context.getContextInfo(), name, desc, isVertexCase, m_evaluator) 296 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 305 const glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources( 343 glu::draw(m_context.getRenderContext(), program.getProgram(), 1, &posBinding, 346 glu::readPixels(m_context.getRenderContext(), 0, 0, testImg.getAccess()); 393 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 403 const glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources( 438 glu::draw(m_context.getRenderContext(), program.getProgram(), 1, &posBinding [all...] |
es3fTextureSwizzleTests.cpp | 112 , m_renderer (context.getRenderContext(), context.getTestContext().getLog(), glu::GLSL_VERSION_300_ES, glu::PRECISION_HIGHP) 123 int width = de::min(128, m_context.getRenderContext().getRenderTarget().getWidth()); 124 int height = de::min(128, m_context.getRenderContext().getRenderTarget().getHeight()); 126 m_texture = (m_internalFormat == m_format) ? new glu::Texture2D(m_context.getRenderContext(), m_format, m_dataType, width, height) 127 : new glu::Texture2D(m_context.getRenderContext(), m_internalFormat, width, height); 146 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 148 RandomViewport viewport (m_context.getRenderContext().getRenderTarget(), m_texture->getRefTexture().getWidth(), m_texture->getRefTexture().getHeight(), deStringHash(getName())); 189 glu::readPixels(m_context.getRenderContext(), viewport.x, viewport.y, renderedFrame.getAccess());
|
es3fShaderPrecisionTests.cpp | 261 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 267 m_program = createFloatPrecisionEvalProgram(m_context.getRenderContext(), m_precision, m_op.c_str(), m_isVertexCase); 285 gl.bindFramebuffer(GL_FRAMEBUFFER, m_context.getRenderContext().getDefaultFramebuffer()); 297 m_context.getRenderContext().getFunctions().deleteFramebuffers(1, &m_framebuffer); 300 m_context.getRenderContext().getFunctions().deleteRenderbuffers(1, &m_renderbuffer); 365 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 400 glu::draw(m_context.getRenderContext(), prog, (int)vertexArrays.size(), &vertexArrays[0], 445 gl.bindFramebuffer(GL_FRAMEBUFFER, m_context.getRenderContext().getDefaultFramebuffer()); 514 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 520 m_program = createIntUintPrecisionEvalProgram(m_context.getRenderContext(), glu::TYPE_INT, m_precision, m_op.c_str(), m_isVertexCase) [all...] |
es3fPolygonOffsetTests.cpp | 298 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 370 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 371 const glu::ShaderProgram program (m_context.getRenderContext(), glu::makeVtxFragSources(s_shaderSourceVertex, s_shaderSourceFragment)); 416 glu::readPixels(m_context.getRenderContext(), 0, 0, testImage.getAccess()); 451 verifyImages(log, m_testCtx, m_context.getRenderContext(), testImage.getAccess(), referenceImage.getAccess()); 498 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 499 const glu::ShaderProgram program (m_context.getRenderContext(), glu::makeVtxFragSources(s_shaderSourceVertex, s_shaderSourceFragment)); 568 glu::readPixels(m_context.getRenderContext(), 0, 0, testImage.getAccess()); 576 verifyImages(log, m_testCtx, m_context.getRenderContext(), testImage.getAccess(), referenceImage.getAccess()); 617 const glw::Functions& gl = m_context.getRenderContext().getFunctions() [all...] |
/external/deqp/modules/gles2/functional/ |
es2fNegativeShaderApiTests.cpp | 311 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 341 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 372 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 426 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 498 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSource, uniformTestFragSource)); 538 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSource, uniformTestFragSource)); 586 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSource, uniformTestFragSource)); 628 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSource, uniformTestFragSource)); 659 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSource, uniformTestFragSource)); 704 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSource, uniformTestFragSource)) [all...] |
es2fShaderBuiltinVarTests.cpp | 75 : ShaderRenderCase (context.getTestContext(), context.getRenderContext(), context.getContextInfo(), name, desc, isVertexCase, evalBuiltinConstant) 196 : ShaderRenderCase (context.getTestContext(), context.getRenderContext(), context.getContextInfo(), name, desc, isVertexCase, m_evaluator) 279 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 288 const glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources( 323 glu::draw(m_context.getRenderContext(), program.getProgram(), 1, &posBinding, 326 glu::readPixels(m_context.getRenderContext(), 0, 0, testImg.getAccess()); 373 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 383 const glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources( 415 glu::draw(m_context.getRenderContext(), program.getProgram(), 1, &posBinding, 418 glu::readPixels(m_context.getRenderContext(), 0, 0, testImg.getAccess()) [all...] |
es2fFlushFinishTests.cpp | 176 m_program = new glu::ShaderProgram(m_context.getRenderContext(), 220 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 247 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 259 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 519 m_context.getRenderContext().getFunctions().flush(); 540 m_context.getRenderContext().getFunctions().flush(); 562 m_context.getRenderContext().getFunctions().finish(); 583 m_context.getRenderContext().getFunctions().finish();
|
es2fBufferTestUtil.cpp | 166 , CallLogWrapper (context.getRenderContext().getFunctions(), m_context.getTestContext().getLog()) 241 : CallLogWrapper (context.getRenderContext().getFunctions(), context.getTestContext().getLog()) 282 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::makeVtxFragSources( 305 const glw::Functions& funcs = context.getRenderContext().getFunctions(); 409 const tcu::RenderTarget& renderTarget = m_context.getRenderContext().getRenderTarget(); 467 glu::readPixels(m_context.getRenderContext(), 0, 0, rendered.getAccess()); 492 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::makeVtxFragSources( 515 const glw::Functions& funcs = context.getRenderContext().getFunctions(); 570 const tcu::RenderTarget& renderTarget = m_context.getRenderContext().getRenderTarget(); 621 glu::readPixels (m_context.getRenderContext(), 0, 0, indexBufferImg.getAccess()) [all...] |
es2fPolygonOffsetTests.cpp | 295 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 367 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 368 const glu::ShaderProgram program (m_context.getRenderContext(), glu::makeVtxFragSources(s_shaderSourceVertex, s_shaderSourceFragment)); 413 glu::readPixels(m_context.getRenderContext(), 0, 0, testImage.getAccess()); 448 verifyImages(log, m_testCtx, m_context.getRenderContext(), testImage.getAccess(), referenceImage.getAccess()); 495 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); 496 const glu::ShaderProgram program (m_context.getRenderContext(), glu::makeVtxFragSources(s_shaderSourceVertex, s_shaderSourceFragment)); 565 glu::readPixels(m_context.getRenderContext(), 0, 0, testImage.getAccess()); 573 verifyImages(log, m_testCtx, m_context.getRenderContext(), testImage.getAccess(), referenceImage.getAccess()); 614 const glw::Functions& gl = m_context.getRenderContext().getFunctions() [all...] |
/external/deqp/modules/gles2/stress/ |
es2sLongRunningTests.cpp | 118 bufferGroup->addChild(new gls::LongStressCase(m_context.getTestContext(), m_context.getRenderContext(), 186 textureGroup->addChild(new gls::LongStressCase(m_context.getTestContext(), m_context.getRenderContext(), 237 drawCallGroup->addChild(new gls::LongStressCase(m_context.getTestContext(), m_context.getRenderContext(), 274 shaderGroup->addChild(new gls::LongStressCase(m_context.getTestContext(), m_context.getRenderContext(), 304 mixedGroup->addChild(new gls::LongStressCase(m_context.getTestContext(), m_context.getRenderContext(), 327 mixedGroup->addChild(new gls::LongStressCase(m_context.getTestContext(), m_context.getRenderContext(),
|
/external/deqp/modules/gles3/stress/ |
es3sLongRunningTests.cpp | 118 bufferGroup->addChild(new gls::LongStressCase(m_context.getTestContext(), m_context.getRenderContext(), 186 textureGroup->addChild(new gls::LongStressCase(m_context.getTestContext(), m_context.getRenderContext(), 237 drawCallGroup->addChild(new gls::LongStressCase(m_context.getTestContext(), m_context.getRenderContext(), 274 shaderGroup->addChild(new gls::LongStressCase(m_context.getTestContext(), m_context.getRenderContext(), 304 mixedGroup->addChild(new gls::LongStressCase(m_context.getTestContext(), m_context.getRenderContext(), 327 mixedGroup->addChild(new gls::LongStressCase(m_context.getTestContext(), m_context.getRenderContext(),
|
/external/deqp/modules/gles2/ |
tes2TestPackage.cpp | 75 glu::resetState(m_testPackage.getContext()->getRenderContext(), m_testPackage.getContext()->getContextInfo()); 81 glu::RenderContext& renderCtx = m_testPackage.getContext()->getRenderContext();
|
/external/deqp/modules/gles3/ |
tes3TestPackage.cpp | 74 glu::resetState(m_testPackage.getContext()->getRenderContext(), m_testPackage.getContext()->getContextInfo()); 80 glu::RenderContext& renderCtx = m_testPackage.getContext()->getRenderContext();
|