Home
last modified time | relevance | path

Searched refs:renderContext (Results 1 – 25 of 29) sorted by relevance

12

/external/deqp/modules/glshared/
DglsTextureBufferCase.cpp381 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 …]
DglsMemoryStressCase.cpp98 TextureRenderer (tcu::TestLog& log, glu::RenderContext& renderContext);
177 TextureRenderer::TextureRenderer (tcu::TestLog& log, glu::RenderContext& renderContext) in TextureRenderer() argument
179 , m_renderCtx (renderContext) in TextureRenderer()
184 const glu::ContextType ctxType = renderContext.getType(); in TextureRenderer()
260 BufferRenderer (tcu::TestLog& log, glu::RenderContext& renderContext);
339 BufferRenderer::BufferRenderer (tcu::TestLog& log, glu::RenderContext& renderContext) in BufferRenderer() argument
341 , m_renderCtx (renderContext) in BufferRenderer()
346 const glu::ContextType ctxType = renderContext.getType(); in BufferRenderer()
438 …MemObjectAllocator (tcu::TestLog& log, glu::RenderContext& renderContext, MemObjectType objectType…
468 MemObjectAllocator::MemObjectAllocator (tcu::TestLog& log, glu::RenderContext& renderContext, MemOb… in MemObjectAllocator() argument
[all …]
DglsShaderConstExprTests.cpp76 glu::RenderContext& renderContext, in createTests() argument
170 renderContext, in createTests()
191 renderContext, in createTests()
224 renderContext, in createTests()
245 renderContext, in createTests()
DglsTextureStateQueryTests.cpp812 …DepthStencilModeCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const ch…
890 …TextureSRGBDecodeCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const c…
968 …TextureSwizzleCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char…
1044 …TextureWrapCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* n…
1115 …TextureFilterCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char*…
1199 …TextureLODCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* na…
1287 …TextureLevelCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const char* …
1389 …TextureCompareModeCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const …
1460 …TextureCompareFuncCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, const …
1531 …TextureImmutableLevelsCase (tcu::TestContext& testCtx, const glu::RenderContext& renderContext, co…
[all …]
DglsShaderConstExprTests.hpp71 glu::RenderContext& renderContext,
DglsMemoryStressCase.hpp61 …MemoryStressCase (tcu::TestContext& testCtx, glu::RenderContext& renderContext, deUint32 objectTy…
/external/deqp/external/openglcts/modules/common/
DglcAggressiveShaderOptimizationsTests.cpp430 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()
DglcInternalformatTests.cpp257 glu::RenderContext& renderContext = m_context.getRenderContext(); in prepareTexturingProgramSources() local
258 glu::ContextType contextType = renderContext.getType(); in prepareTexturingProgramSources()
723 glu::RenderContext& renderContext = m_context.getRenderContext(); in iterate() local
724 const Functions& gl = renderContext.getFunctions(); in iterate()
743 renderContext, in iterate()
757 glu::readPixels(renderContext, 0, 0, testSurface.getAccess()); in iterate()
762 glu::ShaderProgram referenceProgram(renderContext, referenceSources); in iterate()
775 glu::readPixels(renderContext, 0, 0, referenceSurface.getAccess()); in iterate()
815 glu::RenderContext& renderContext = m_context.getRenderContext(); in iterate() local
816 const Functions& gl = renderContext.getFunctions(); in iterate()
[all …]
DglcLayoutLocationTests.cpp427 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()
DglcPackedDepthStencilTests.cpp577 glu::RenderContext& renderContext = m_context.getRenderContext(); in createProgram() local
578 glu::ContextType contextType = renderContext.getType(); in createProgram()
751 const glu::RenderContext& renderContext = m_context.getRenderContext(); in drawQuad() local
753 glu::draw(renderContext, program, 1, depthSpanVA1, quadPrimitive); in drawQuad()
755 glu::draw(renderContext, program, 1, depthSpanVA2, quadPrimitive); in drawQuad()
757 glu::draw(renderContext, program, 2, defaultVA, quadPrimitive); in drawQuad()
763 const glu::RenderContext& renderContext = m_context.getRenderContext(); in renderToTextures() local
764 const glw::Functions& gl = renderContext.getFunctions(); in renderToTextures()
773 if (glu::isContextTypeES(renderContext.getType())) in renderToTextures()
1351 const glu::RenderContext& renderContext = m_context.getRenderContext(); in checkErrors() local
[all …]
DglcPackedPixelsTests.cpp915 glu::RenderContext& renderContext = m_context.getRenderContext(); in applyInitialStorageModes() local
916 const Functions& gl = renderContext.getFunctions(); in applyInitialStorageModes()
936 if (!isContextTypeES(renderContext.getType())) in applyInitialStorageModes()
1469 glu::RenderContext& renderContext = m_context.getRenderContext(); in isFormatValid() local
1470 glu::ContextType contextType = renderContext.getType(); in isFormatValid()
1472 const Functions& gl = renderContext.getFunctions(); in isFormatValid()
1989 glu::RenderContext& renderContext = m_context.getRenderContext(); in doRead() local
1990 const Functions& gl = renderContext.getFunctions(); in doRead()
2000 else if (glu::isContextTypeES(renderContext.getType())) in doRead()
2009 if (!validImageAttach && glu::isContextTypeES(renderContext.getType())) in doRead()
[all …]
DglcRobustnessTests.cpp246 glu::RenderContext& renderContext = context->getRenderContext(); in iterate() local
247 const Functions& gl = renderContext.getFunctions(); in iterate()
260 bool glslES320 = contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in iterate()
/external/deqp/modules/gles31/functional/
Des31fCopyImageTests.cpp1127 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 …]
Des31fFboTestCase.cpp155 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()
221 …std::vector<std::string> getEnablingExtensions (deUint32 format, glu::RenderContext& renderContext) in getEnablingExtensions() argument
223 …const bool supportsES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)… in getEnablingExtensions()
226 DE_ASSERT(!isRequiredFormat(format, renderContext)); in getEnablingExtensions()
Des31fDrawBuffersIndexedTests.cpp542 glu::RenderContext& renderContext, in verifyRenderbuffers() argument
547 const glw::Functions& gl = renderContext.getFunctions(); in verifyRenderbuffers()
563 glu::readPixels(renderContext, 0, 0, result.getAccess()); in verifyRenderbuffers()
860 glu::VertexSource genVertexSource (glu::RenderContext& renderContext) in genVertexSource() argument
862 const bool supportsES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in genVertexSource()
880 …postCommonBlendState, const vector<DrawBufferInfo>& drawBuffers, glu::RenderContext& renderContext) in genFragmentSource() argument
883 const bool supportsES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in genFragmentSource()
981 …postCommonBlendState, const vector<DrawBufferInfo>& drawBuffers, glu::RenderContext& renderContext) in genShaderSources() argument
983 …es() << genVertexSource(renderContext) << genFragmentSource(preCommonBlendState, postCommonBlendSt… in genShaderSources()
986 void renderGLQuad (glu::RenderContext& renderContext, in renderGLQuad() argument
[all …]
Des31fOpaqueTypeIndexingTests.cpp345 …t numSamplers, int numLookups, const int* lookupIndices, const RenderContext& renderContext) const;
395 …nt numSamplers, int numLookups, const int* lookupIndices, const RenderContext& renderContext) const in getShaderSpec()
403 const bool supportsES32 = contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in getShaderSpec()
715 … int numInstances, int numReads, const int* readIndices, const RenderContext& renderContext) const;
780 …, int numInstances, int numReads, const int* readIndices, const RenderContext& renderContext) const in getShaderSpec()
789 const bool supportsES32 = contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in getShaderSpec()
947 …spec, int numCounters, int numOps, const int* opIndices, const RenderContext& renderContext) const;
1015 … spec, int numCounters, int numOps, const int* opIndices, const RenderContext& renderContext) const in getShaderSpec()
1019 const bool supportsES32 = contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in getShaderSpec()
Des31fUniformLocationTests.cpp98 glu::RenderContext& renderContext,
147 glu::RenderContext& renderContext, in UniformLocationCase() argument
152 , m_renderCtx (renderContext) in UniformLocationCase()
649 glu::RenderContext& renderContext,
658 glu::RenderContext& renderContext, in MaxUniformLocationCase() argument
662 : UniformLocationCase(context, renderContext, name, desc, uniformInfo) in MaxUniformLocationCase()
Des31fShaderFramebufferFetchTests.cpp73 static bool isRequiredFormat (deUint32 format, glu::RenderContext& renderContext) in isRequiredFormat() argument
75 const bool isES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in isRequiredFormat()
203 …std::vector<std::string> getEnablingExtensions (deUint32 format, glu::RenderContext& renderContext) in getEnablingExtensions() argument
205 const bool isES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in getEnablingExtensions()
208 DE_ASSERT(!isRequiredFormat(format, renderContext)); in getEnablingExtensions()
/external/deqp/external/openglcts/modules/gl/
Dgl4cTextureFilterMinmaxTests.cpp544 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()
572renderContext, 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()
611renderContext, 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 …]
Dgl4cShaderViewportLayerArrayTests.cpp369 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()
/external/deqp/modules/gles3/functional/
Des3fFboTestCase.cpp151 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()
/external/deqp/external/openglcts/modules/gles3/
Des3cCopyTexImageConversionsTests.cpp6451 glu::RenderContext& renderContext = m_context.getRenderContext(); in iterate() local
6452 const Functions& gl = renderContext.getFunctions(); in iterate()
6707 glu::RenderContext& renderContext = m_context.getRenderContext(); in execute() local
6708 const Functions& gl = renderContext.getFunctions(); in execute()
7205 glu::RenderContext& renderContext = m_context.getRenderContext(); in bindTextureToTargetToSpecificTextureUnit() local
7206 const Functions& gl = renderContext.getFunctions(); in bindTextureToTargetToSpecificTextureUnit()
7268 glu::RenderContext& renderContext = m_context.getRenderContext(); in setUniformValues() local
7269 const Functions& gl = renderContext.getFunctions(); in setUniformValues()
7306 glu::RenderContext& renderContext = m_context.getRenderContext(); in copyDataFromBufferObject() local
7307 const Functions& gl = renderContext.getFunctions(); in copyDataFromBufferObject()
[all …]
/external/pdfium/fpdfsdk/
Dcpdfsdk_pageview.cpp100 CXFA_RenderContext renderContext(xfaView, rectClip, *pUser2Device); local
101 renderContext.DoRender(&gs);
/external/deqp/modules/gles2/functional/
Des2fFboApiTest.cpp639 const glu::RenderContext& renderContext = m_context.getRenderContext(); in init() local
640 bool defaultFboIsZero = renderContext.getDefaultFramebuffer() == 0; in init()
641 …bool isES3Compatible = gls::FboUtil::checkExtensionSupport(renderContext, "DEQP_gles3_core_compat… in init()
/external/deqp/framework/platform/lnx/X11/
DtcuLnxX11GlxPlatform.cpp228 GlxRenderContext* const renderContext = new GlxRenderContext(*this, config, sharedContext); in createContext() local
229 return renderContext; in createContext()

12