/third_party/vk-gl-cts/modules/glshared/ |
D | glsTextureBufferCase.cpp | 381 glu::ShaderProgram* createRenderProgram (glu::RenderContext& renderContext, in createRenderProgram() argument 387 const glu::GLSLVersion glslVersion = glu::getContextTypeGLSLVersion(renderContext.getType()); in createRenderProgram() 392 …glu::ShaderProgram* const program = new glu::ShaderProgram(renderContext, glu::makeVtxFragSour… in createRenderProgram() 553 glu::RenderContext& renderContext, in modify() argument 566 modifyBufferSubData(log, rng, renderContext.getFunctions(), texture); in modify() 569 modifyMapWrite(log, rng, renderContext.getFunctions(), texture); in modify() 572 modifyMapReadWrite(log, resultCollector, rng, renderContext.getFunctions(), texture); in modify() 575 void renderGL (glu::RenderContext& renderContext, in renderGL() argument 582 const glw::Functions& gl = renderContext.getFunctions(); in renderGL() 583 const glu::VertexArray vao (renderContext); in renderGL() [all …]
|
D | glsMemoryStressCase.cpp | 91 TextureRenderer (tcu::TestLog& log, glu::RenderContext& renderContext); 170 TextureRenderer::TextureRenderer (tcu::TestLog& log, glu::RenderContext& renderContext) in TextureRenderer() argument 172 , m_renderCtx (renderContext) in TextureRenderer() 177 const glu::ContextType ctxType = renderContext.getType(); in TextureRenderer() 253 BufferRenderer (tcu::TestLog& log, glu::RenderContext& renderContext); 332 BufferRenderer::BufferRenderer (tcu::TestLog& log, glu::RenderContext& renderContext) in BufferRenderer() argument 334 , m_renderCtx (renderContext) in BufferRenderer() 339 const glu::ContextType ctxType = renderContext.getType(); in BufferRenderer() 431 …MemObjectAllocator (tcu::TestLog& log, glu::RenderContext& renderContext, MemObjectType objectType… 461 MemObjectAllocator::MemObjectAllocator (tcu::TestLog& log, glu::RenderContext& renderContext, MemOb… in MemObjectAllocator() argument [all …]
|
D | glsShaderConstExprTests.cpp | 76 glu::RenderContext& renderContext, in createTests() argument 170 renderContext, in createTests() 191 renderContext, in createTests() 224 renderContext, in createTests() 245 renderContext, in createTests()
|
D | glsTextureStateQueryTests.cpp | 876 …DepthStencilModeCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const ch… 954 …TextureSRGBDecodeCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const c… 1032 …TextureSwizzleCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char… 1108 …TextureWrapCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* n… 1179 …TextureFilterCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char*… 1282 …TextureLODCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* na… 1370 …TextureLevelCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* … 1472 …TextureCompareModeCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const … 1543 …TextureCompareFuncCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const … 1614 …TextureImmutableLevelsCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, co… [all …]
|
D | glsShaderConstExprTests.hpp | 71 glu::RenderContext& renderContext,
|
D | glsMemoryStressCase.hpp | 61 …MemoryStressCase (tcu::TestContext& testCtx, glu::RenderContext& renderContext, deUint32 objectTy…
|
/third_party/vk-gl-cts/external/openglcts/modules/gles3/ |
D | es3cNumberParsingTests.cpp | 357 const auto& renderContext = m_context.getRenderContext(); in iterate() local 358 const auto& gl = renderContext.getFunctions(); in iterate() 364 …glu::ShaderProgram program(renderContext, glu::makeVtxFragSources(m_vertexShader, m_fragmentShader… in iterate() 389 glu::draw(renderContext, program.getProgram(), in iterate() 425 const auto& renderContext = m_context.getRenderContext(); in setupRenderTarget() local 426 const auto& gl = renderContext.getFunctions(); in setupRenderTarget() 460 const auto& renderContext = m_context.getRenderContext(); in releaseRenderTarget() local 461 const auto& gl = renderContext.getFunctions(); in releaseRenderTarget()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcAggressiveShaderOptimizationsTests.cpp | 430 glu::RenderContext& renderContext = m_context.getRenderContext(); in renderAndGrabSurface() local 431 const glw::Functions& gl = renderContext.getFunctions(); in renderAndGrabSurface() 432 glu::ShaderProgram testProgram(renderContext, sources); in renderAndGrabSurface() 443 glu::draw(renderContext, testProgram.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), vertexArrays, in renderAndGrabSurface() 447 glu::readPixels(renderContext, 0, 0, result.getAccess()); in renderAndGrabSurface() 452 glu::RenderContext& renderContext = m_context.getRenderContext(); in iterate() local 453 const glw::Functions& gl = renderContext.getFunctions(); in iterate()
|
D | glcGLSLVectorConstructorTests.cpp | 459 const auto& renderContext = m_context.getRenderContext(); in iterate() local 460 const auto& gl = renderContext.getFunctions(); in iterate() 466 …glu::ShaderProgram program(renderContext, glu::makeVtxFragSources(m_vertexShader, m_fragmentShader… in iterate() 490 glu::draw(renderContext, program.getProgram(), in iterate() 526 const auto& renderContext = m_context.getRenderContext(); in setupRenderTarget() local 527 const auto& gl = renderContext.getFunctions(); in setupRenderTarget() 561 const auto& renderContext = m_context.getRenderContext(); in releaseRenderTarget() local 562 const auto& gl = renderContext.getFunctions(); in releaseRenderTarget()
|
D | glcLayoutLocationTests.cpp | 427 glu::RenderContext& renderContext = m_context.getRenderContext(); in iterate() local 428 glu::ContextType contextType = renderContext.getType(); in iterate() 430 const Functions& gl = renderContext.getFunctions(); in iterate() 508 glu::draw(renderContext, programId, DE_LENGTH_OF_ARRAY(vertexArrays), vertexArrays, in iterate() 513 glu::readPixels(renderContext, 0, 0, resultFrame.getAccess()); in iterate() 558 glu::RenderContext& renderContext = m_context.getRenderContext(); in iterate() local 559 glu::ContextType contextType = renderContext.getType(); in iterate() 561 const Functions& gl = renderContext.getFunctions(); in iterate() 650 glu::RenderContext& renderContext = m_context.getRenderContext(); in init() local 651 glu::ContextType contextType = renderContext.getType(); in init()
|
D | glcInternalformatTests.cpp | 265 glu::RenderContext& renderContext = m_context.getRenderContext(); in prepareTexturingProgramSources() local 266 glu::ContextType contextType = renderContext.getType(); in prepareTexturingProgramSources() 802 glu::RenderContext& renderContext = m_context.getRenderContext(); in iterate() local 803 const Functions& gl = renderContext.getFunctions(); in iterate() 874 renderContext, in iterate() 888 glu::readPixels(renderContext, 0, 0, testSurface.getAccess()); in iterate() 893 glu::ShaderProgram referenceProgram(renderContext, referenceSources); in iterate() 906 glu::readPixels(renderContext, 0, 0, referenceSurface.getAccess()); in iterate() 946 glu::RenderContext& renderContext = m_context.getRenderContext(); in iterate() local 947 const Functions& gl = renderContext.getFunctions(); in iterate() [all …]
|
D | glcPackedDepthStencilTests.cpp | 578 glu::RenderContext& renderContext = m_context.getRenderContext(); in createProgram() local 579 glu::ContextType contextType = renderContext.getType(); in createProgram() 752 const glu::RenderContext& renderContext = m_context.getRenderContext(); in drawQuad() local 754 glu::draw(renderContext, program, 1, depthSpanVA1, quadPrimitive); in drawQuad() 756 glu::draw(renderContext, program, 1, depthSpanVA2, quadPrimitive); in drawQuad() 758 glu::draw(renderContext, program, 2, defaultVA, quadPrimitive); in drawQuad() 764 const glu::RenderContext& renderContext = m_context.getRenderContext(); in renderToTextures() local 765 const glw::Functions& gl = renderContext.getFunctions(); in renderToTextures() 774 if (glu::isContextTypeES(renderContext.getType())) in renderToTextures() 1358 const glu::RenderContext& renderContext = m_context.getRenderContext(); in checkErrors() local [all …]
|
D | glcFramebufferCompleteness.cpp | 50 const glu::RenderContext& renderContext; member 240 if (glu::contextSupports(testContext.renderContext.getType(), apiES31)) in isDifferentTextureSampleCountsSupported() 1297 const auto& renderContext = m_context.getRenderContext(); in init() local 1298 const auto& gl = renderContext.getFunctions(); in init() 1322 const auto& renderContext = m_context.getRenderContext(); in deinit() local 1323 const auto& gl = renderContext.getFunctions(); in deinit() 1347 const auto& renderContext = m_context.getRenderContext(); in iterate() local 1348 const auto& gl = renderContext.getFunctions(); in iterate() 1351 renderContext, // const glu::RenderContext& renderContext in iterate() 1420 const auto& renderContext = m_context.getRenderContext(); in init() local [all …]
|
D | glcPackedPixelsTests.cpp | 915 glu::RenderContext& renderContext = m_context.getRenderContext(); in applyInitialStorageModes() local 916 const Functions& gl = renderContext.getFunctions(); in applyInitialStorageModes() 936 if (!isContextTypeES(renderContext.getType())) in applyInitialStorageModes() 1470 glu::RenderContext& renderContext = m_context.getRenderContext(); in isFormatValid() local 1471 glu::ContextType contextType = renderContext.getType(); in isFormatValid() 1473 const Functions& gl = renderContext.getFunctions(); in isFormatValid() 1997 glu::RenderContext& renderContext = m_context.getRenderContext(); in doRead() local 1998 const Functions& gl = renderContext.getFunctions(); in doRead() 2008 else if (glu::isContextTypeES(renderContext.getType())) in doRead() 2017 if (!validImageAttach && glu::isContextTypeES(renderContext.getType())) in doRead() [all …]
|
D | glcNearestEdgeTests.cpp | 301 const auto& renderContext = m_context.getRenderContext(); in renderQuad() local 302 const auto& gl = renderContext.getFunctions(); in renderQuad() 348 glu::draw(renderContext, program.getProgram(), in renderQuad()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fCopyImageTests.cpp | 1127 void renderTexture (glu::RenderContext& renderContext, in renderTexture() argument 1137 const tcu::RenderTarget& renderTarget = renderContext.getRenderTarget(); in renderTexture() 1139 const glw::Functions& gl = renderContext.getFunctions(); in renderTexture() 1191 …sampleTexture(tcu::SurfaceAccess(cellContents[cellsUsed].reference, renderContext.getRenderTarget(… in renderTexture() 1201 glu::readPixels(renderContext, boundingBox.x(), boundingBox.y(), renderedFrame.getAccess()); in renderTexture() 1223 glu::RenderContext& renderContext, in renderTexture2DView() argument 1233 const glw::Functions& gl = renderContext.getFunctions(); in renderTexture2DView() 1255 …renderTexture<tcu::Texture2DView>(renderContext, renderer, renderParams, results, rng, refTexture,… in renderTexture2DView() 1277 glu::RenderContext& renderContext, in decompressTexture() argument 1284 const bool isES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in decompressTexture() [all …]
|
D | es31fFboTestCase.cpp | 155 static bool isRequiredFormat (deUint32 format, glu::RenderContext& renderContext) in isRequiredFormat() argument 157 const bool supportsES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in isRequiredFormat() 158 const bool supportsGL45 = glu::contextSupports(renderContext.getType(), glu::ApiType::core(4, 5)); in isRequiredFormat() 224 …std::vector<std::string> getEnablingExtensions (deUint32 format, glu::RenderContext& renderContext) in getEnablingExtensions() argument 226 …const bool supportsES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)… in getEnablingExtensions() 229 DE_ASSERT(!isRequiredFormat(format, renderContext)); in getEnablingExtensions()
|
D | es31fVertexAttributeBindingStateQueryTests.cpp | 604 glu::RenderContext& renderContext = m_context.getRenderContext(); in test() local 605 glu::CallLogWrapper gl (renderContext.getFunctions(), m_testCtx.getLog()); in test() 606 glu::Buffer buffer (renderContext); in test() 611 if (!glu::isContextTypeES(renderContext.getType())) in test() 640 glu::RenderContext& renderContext = m_context.getRenderContext(); in test() local 641 glu::CallLogWrapper gl (renderContext.getFunctions(), m_testCtx.getLog()); in test() 642 glu::Buffer buffer (renderContext); in test() 647 if (!glu::isContextTypeES(renderContext.getType())) in test() 679 glu::RenderContext& renderContext = m_context.getRenderContext(); in test() local 680 glu::CallLogWrapper gl (renderContext.getFunctions(), m_testCtx.getLog()); in test() [all …]
|
D | es31fDrawBuffersIndexedTests.cpp | 549 glu::RenderContext& renderContext, in verifyRenderbuffers() argument 554 const glw::Functions& gl = renderContext.getFunctions(); in verifyRenderbuffers() 570 glu::readPixels(renderContext, 0, 0, result.getAccess()); in verifyRenderbuffers() 868 glu::VertexSource genVertexSource (glu::RenderContext& renderContext) in genVertexSource() argument 870 const bool supportsES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in genVertexSource() 888 …postCommonBlendState, const vector<DrawBufferInfo>& drawBuffers, glu::RenderContext& renderContext) in genFragmentSource() argument 891 const bool supportsES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in genFragmentSource() 989 …postCommonBlendState, const vector<DrawBufferInfo>& drawBuffers, glu::RenderContext& renderContext) in genShaderSources() argument 991 …es() << genVertexSource(renderContext) << genFragmentSource(preCommonBlendState, postCommonBlendSt… in genShaderSources() 994 void renderGLQuad (glu::RenderContext& renderContext, in renderGLQuad() argument [all …]
|
D | es31fOpaqueTypeIndexingTests.cpp | 345 …t numSamplers, int numLookups, const int* lookupIndices, const RenderContext& renderContext) const; 398 …nt numSamplers, int numLookups, const int* lookupIndices, const RenderContext& renderContext) const in getShaderSpec() 406 const bool supportsES32 = contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)) || in getShaderSpec() 407 …hasExtension(renderContext.getFunctions(), glu::ApiType::core(4, 5), "GL_ARB_ES3_2_compatibility"); in getShaderSpec() 719 … int numInstances, int numReads, const int* readIndices, const RenderContext& renderContext) const; 787 …, int numInstances, int numReads, const int* readIndices, const RenderContext& renderContext) const in getShaderSpec() 796 const bool supportsES32 = contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)) || in getShaderSpec() 797 …hasExtension(renderContext.getFunctions(), glu::ApiType::core(4, 5), "GL_ARB_ES3_2_compatibility"); in getShaderSpec() 955 …spec, int numCounters, int numOps, const int* opIndices, const RenderContext& renderContext) const; 1026 … spec, int numCounters, int numOps, const int* opIndices, const RenderContext& renderContext) const in getShaderSpec() [all …]
|
D | es31fAdvancedBlendTests.cpp | 211 …mSources getBlendProgramSrc (rr::BlendEquationAdvanced equation, glu::RenderContext& renderContext) in getBlendProgramSrc() argument 213 const bool supportsES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in getBlendProgramSrc() 735 const auto& renderContext = m_context.getRenderContext(); in iterate() local 736 if (!glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)) && in iterate() 737 !glu::contextSupports(renderContext.getType(), glu::ApiType::core(4, 5))) in iterate() 743 glu::CallLogWrapper gl (renderContext.getFunctions(), m_testCtx.getLog()); in iterate()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cTextureFilterMinmaxTests.cpp | 544 const glu::RenderContext& renderContext = m_context.getRenderContext(); in testReductionModeQueriesDefaultValues() local 545 de::MovePtr<glu::Sampler> sampler = de::MovePtr<glu::Sampler>(new glu::Sampler(renderContext)); in testReductionModeQueriesDefaultValues() 572 …renderContext, iter->m_format, iter->m_type, TEXTURE_FILTER_MINMAX_SIZE, TEXTURE_FILTER_MINMAX_SIZ… in testReductionModeQueriesDefaultValues() 588 const glu::RenderContext& renderContext = m_context.getRenderContext(); in testReductionModeQueries() local 589 de::MovePtr<glu::Sampler> sampler = de::MovePtr<glu::Sampler>(new glu::Sampler(renderContext)); in testReductionModeQueries() 611 …renderContext, iter->m_format, iter->m_type, TEXTURE_FILTER_MINMAX_SIZE, TEXTURE_FILTER_MINMAX_SIZ… in testReductionModeQueries() 651 const glu::RenderContext& renderContext = m_context.getRenderContext(); in iterate() local 652 const glw::Functions& gl = renderContext.getFunctions(); in iterate() 684 …textureType->generate(renderContext, tcu::IVec3(TEXTURE_FILTER_MINMAX_SIZE), dataTypeIter->m_forma… in iterate() 691 …textureType->renderToFBO(renderContext, resultTextureId, scaledTextureSize, paramIter->m_reduction… in iterate() [all …]
|
D | gl4cShaderViewportLayerArrayTests.cpp | 369 const glu::RenderContext& renderContext = m_context.getRenderContext(); in iterate() local 383 …ShaderViewportLayerArrayUtils::renderQuad(renderContext, *pipelineIter, m_currentViewport, renderC… in iterate() 484 const glu::RenderContext& renderContext = m_context.getRenderContext(); in iterate() local 500 …ShaderViewportLayerArrayUtils::renderQuad(renderContext, *pipelineIter, m_currentLayer, renderColo… in iterate()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fFboTestCase.cpp | 151 static bool isRequiredFormat (deUint32 format, glu::RenderContext& renderContext) in isRequiredFormat() argument 207 return glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in isRequiredFormat() 214 …std::vector<std::string> getEnablingExtensions (deUint32 format, glu::RenderContext& renderContext) in getEnablingExtensions() argument 216 const bool isES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in getEnablingExtensions() 219 DE_ASSERT(!isRequiredFormat(format, renderContext)); in getEnablingExtensions()
|
D | es3fDrawBuffersIndexedTests.cpp | 561 glu::RenderContext& renderContext, in verifyRenderbuffers() argument 566 const glw::Functions& gl = renderContext.getFunctions(); in verifyRenderbuffers() 582 glu::readPixels(renderContext, 0, 0, result.getAccess()); in verifyRenderbuffers() 880 glu::VertexSource genVertexSource (glu::RenderContext& renderContext) in genVertexSource() argument 882 const bool supportsES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in genVertexSource() 900 …postCommonBlendState, const vector<DrawBufferInfo>& drawBuffers, glu::RenderContext& renderContext) in genFragmentSource() argument 903 const bool supportsES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in genFragmentSource() 1001 …postCommonBlendState, const vector<DrawBufferInfo>& drawBuffers, glu::RenderContext& renderContext) in genShaderSources() argument 1003 …es() << genVertexSource(renderContext) << genFragmentSource(preCommonBlendState, postCommonBlendSt… in genShaderSources() 1006 void renderGLQuad (glu::RenderContext& renderContext, in renderGLQuad() argument [all …]
|