Home
last modified time | relevance | path

Searched refs:ctxInfo (Results 1 – 25 of 31) sorted by relevance

12

/external/skia/src/gpu/gl/
DGrGLCaps.cpp19 const GrGLContextInfo& ctxInfo, in GrGLCaps() argument
21 fStandard = ctxInfo.standard(); in GrGLCaps()
61 this->init(contextOptions, ctxInfo, glInterface); in GrGLCaps()
65 const GrGLContextInfo& ctxInfo, in init() argument
67 GrGLStandard standard = ctxInfo.standard(); in init()
68 GrGLVersion version = ctxInfo.version(); in init()
98 ctxInfo.hasExtension("GL_EXT_unpack_subimage"); in init()
99 fUnpackFlipYSupport = ctxInfo.hasExtension("GL_CHROMIUM_flipy"); in init()
101 ctxInfo.hasExtension("GL_NV_pack_subimage"); in init()
103 ctxInfo.hasExtension("GL_ANGLE_pack_reverse_row_order"); in init()
[all …]
DGrGLCaps.h119 GrGLCaps(const GrContextOptions& contextOptions, const GrGLContextInfo& ctxInfo,
377 void initShaderPrecisionTable(const GrGLContextInfo& ctxInfo,
/external/deqp/modules/gles2/
Dtes2CapabilityTests.cpp105 …ExtensionCase (tcu::TestContext& testCtx, const glu::ContextInfo& ctxInfo, const char* name, co…
114 ExtensionCase::ExtensionCase (tcu::TestContext& testCtx, const glu::ContextInfo& ctxInfo, const cha… in ExtensionCase() argument
116 , m_ctxInfo (ctxInfo) in ExtensionCase()
142 const glu::ContextInfo& ctxInfo; in init() member
146 , ctxInfo (parent->getContext().getContextInfo()) in init()
154 group->addChild(new ExtensionCase(group->getTestContext(), ctxInfo, extName, "", extName)); in init()
/external/deqp/framework/opengl/
DgluStateReset.cpp57 void resetStateES (const RenderContext& renderCtx, const ContextInfo& ctxInfo) in resetStateES() argument
180 if (ctxInfo.isExtensionSupported("GL_EXT_texture_border_clamp")) in resetStateES()
213 if (ctxInfo.isExtensionSupported("GL_EXT_texture_border_clamp")) in resetStateES()
236 if (ctxInfo.isExtensionSupported("GL_EXT_texture_border_clamp")) in resetStateES()
264 if (ctxInfo.isExtensionSupported("GL_EXT_texture_border_clamp")) in resetStateES()
283 if (ctxInfo.isExtensionSupported("GL_OES_texture_storage_multisample_2d_array")) in resetStateES()
294 if (ctxInfo.isExtensionSupported("GL_EXT_texture_cube_map_array")) in resetStateES()
313 if (ctxInfo.isExtensionSupported("GL_EXT_texture_border_clamp")) in resetStateES()
332 if (ctxInfo.isExtensionSupported("GL_EXT_draw_buffers_indexed")) in resetStateES()
560 …if (contextSupports(type, ApiType::es(3,1)) && ctxInfo.isExtensionSupported("GL_OES_sample_shading… in resetStateES()
[all …]
DgluStateReset.hpp34 void resetState (const RenderContext& renderCtx, const ContextInfo& ctxInfo);
DgluES3PlusWrapperContext.cpp89 const de::UniquePtr<glu::ContextInfo> ctxInfo(glu::ContextInfo::create(ctx)); in Context() local
115 if (ctxInfo->isExtensionSupported("GL_NV_blend_equation_advanced") || in Context()
116 ctxInfo->isExtensionSupported("GL_KHR_blend_equation_advanced")) in Context()
120 if (ctxInfo->isExtensionSupported("GL_NV_blend_equation_advanced_coherent") || in Context()
121 ctxInfo->isExtensionSupported("GL_KHR_blend_equation_advanced_coherent")) in Context()
/external/deqp/modules/gles2/functional/
Des2fTextureWrapTests.cpp59 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name…
60 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name…
89 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name… in TextureWrapCase() argument
92 , m_renderCtxInfo (ctxInfo) in TextureWrapCase()
106 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name… in TextureWrapCase() argument
109 , m_renderCtxInfo (ctxInfo) in TextureWrapCase()
Des2fTextureFilteringTests.cpp63 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name…
64 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name…
117 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name… in Texture2DFilteringCase() argument
120 , m_renderCtxInfo (ctxInfo) in Texture2DFilteringCase()
134 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name… in Texture2DFilteringCase() argument
137 , m_renderCtxInfo (ctxInfo) in Texture2DFilteringCase()
326 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name…
327 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name…
380 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name… in TextureCubeFilteringCase() argument
383 , m_renderCtxInfo (ctxInfo) in TextureCubeFilteringCase()
[all …]
Des2fDebugMarkerTests.cpp46 void checkSupport (const glu::ContextInfo& ctxInfo) in checkSupport() argument
48 if (!ctxInfo.isExtensionSupported("GL_EXT_debug_marker")) in checkSupport()
Des2fTextureCompletenessTests.cpp74 static bool isExtensionSupported (const glu::ContextInfo& ctxInfo, const char* extension) in isExtensionSupported() argument
76 vector<string> extensions = ctxInfo.getExtensions(); in isExtensionSupported()
239 …ription, IVec2 size, IVec2 invalidLevelSize, int invalidLevelNdx, const glu::ContextInfo& ctxInfo);
251 …cription, IVec2 size, IVec2 invalidLevelSize, int invalidLevelNdx, const glu::ContextInfo& ctxInfo) in Incomplete2DSizeCase() argument
255 , m_ctxInfo (ctxInfo) in Incomplete2DSizeCase()
425 …st char* description, IVec2 size, deUint32 wrapT, deUint32 wrapS, const glu::ContextInfo& ctxInfo);
437 …nst char* description, IVec2 size, deUint32 wrapT, deUint32 wrapS, const glu::ContextInfo& ctxInfo) in Incomplete2DWrapModeCase() argument
441 , m_ctxInfo (ctxInfo) in Incomplete2DWrapModeCase()
782 …st char* description, IVec2 size, deUint32 wrapT, deUint32 wrapS, const glu::ContextInfo& ctxInfo);
794 …nst char* description, IVec2 size, deUint32 wrapT, deUint32 wrapS, const glu::ContextInfo& ctxInfo) in IncompleteCubeWrapModeCase() argument
[all …]
/external/deqp/modules/gles3/functional/
Des3fTextureWrapTests.cpp85 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name…
86 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name…
87 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name…
129 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name… in TextureWrapCase() argument
132 , m_renderCtxInfo (ctxInfo) in TextureWrapCase()
148 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name… in TextureWrapCase() argument
151 , m_renderCtxInfo (ctxInfo) in TextureWrapCase()
168 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name… in TextureWrapCase() argument
171 , m_renderCtxInfo (ctxInfo) in TextureWrapCase()
Des3fTextureFilteringTests.cpp66 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name…
67 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name…
119 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name… in Texture2DFilteringCase() argument
122 , m_renderCtxInfo (ctxInfo) in Texture2DFilteringCase()
135 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name… in Texture2DFilteringCase() argument
138 , m_renderCtxInfo (ctxInfo) in Texture2DFilteringCase()
342 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name…
343 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name…
396 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name… in TextureCubeFilteringCase() argument
399 , m_renderCtxInfo (ctxInfo) in TextureCubeFilteringCase()
[all …]
/external/deqp/modules/gles3/accuracy/
Des3aTextureFilteringTests.cpp52 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name…
53 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name…
82 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name… in Texture2DFilteringCase() argument
85 , m_renderCtxInfo (ctxInfo) in Texture2DFilteringCase()
97 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name… in Texture2DFilteringCase() argument
100 , m_renderCtxInfo (ctxInfo) in Texture2DFilteringCase()
306 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name…
307 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name…
337 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name… in TextureCubeFilteringCase() argument
340 , m_renderCtxInfo (ctxInfo) in TextureCubeFilteringCase()
[all …]
/external/deqp/modules/gles2/accuracy/
Des2aTextureFilteringTests.cpp56 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name…
57 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name…
88 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name… in Texture2DFilteringCase() argument
91 , m_renderCtxInfo (ctxInfo) in Texture2DFilteringCase()
104 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name… in Texture2DFilteringCase() argument
107 , m_renderCtxInfo (ctxInfo) in Texture2DFilteringCase()
317 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name…
318 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name…
349 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name… in TextureCubeFilteringCase() argument
352 , m_renderCtxInfo (ctxInfo) in TextureCubeFilteringCase()
[all …]
/external/deqp/modules/gles31/functional/
Des31fNegativeTestShared.cpp52 const glu::ContextInfo& ctxInfo, in NegativeTestContext() argument
59 , m_ctxInfo (ctxInfo) in NegativeTestContext()
Des31fNegativeTestShared.hpp60 …(ErrorCase& host, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, tcu::TestLog& lo…
Des31fCopyImageTests.cpp1005 de::UniquePtr<glu::ContextInfo> ctxInfo (glu::ContextInfo::create(renderContext)); in decompressTexture() local
1010 if (ctxInfo->isExtensionSupported("GL_KHR_texture_compression_astc_hdr")) in decompressTexture()
1012 else if (isES32 || ctxInfo->isExtensionSupported("GL_KHR_texture_compression_astc_ldr")) in decompressTexture()
1291 de::UniquePtr<glu::ContextInfo> ctxInfo (glu::ContextInfo::create(renderContext)); in renderTextureCubemap() local
1296 if (ctxInfo->isExtensionSupported("GL_KHR_texture_compression_astc_hdr")) in renderTextureCubemap()
1298 else if (isES32 || ctxInfo->isExtensionSupported("GL_KHR_texture_compression_astc_ldr")) in renderTextureCubemap()
1763 de::UniquePtr<glu::ContextInfo> ctxInfo(glu::ContextInfo::create(m_context.getRenderContext())); in init() local
1766 if (!isES32 && !ctxInfo->isExtensionSupported("GL_EXT_copy_image")) in init()
1769 …checkFormatSupport(*ctxInfo, m_srcImageInfo.getFormat(), m_srcImageInfo.getTarget(), m_context.get… in init()
1770 …checkFormatSupport(*ctxInfo, m_dstImageInfo.getFormat(), m_dstImageInfo.getTarget(), m_context.get… in init()
/external/deqp/modules/glshared/
DglsFragOpInteractionCase.hpp52 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name…
DglsShaderRenderCase.hpp207 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name…
208 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name…
DglsFboUtil.cpp186 static bool checkExtensionSupport (const ContextInfo& ctxInfo, const RenderContext& ctx, const std:… in checkExtensionSupport() argument
189 return ctxInfo.isExtensionSupported(extension.c_str()); in checkExtensionSupport()
233 const UniquePtr<ContextInfo> ctxInfo(ctx != DE_NULL ? ContextInfo::create(*ctx) : DE_NULL); in addExtFormats() local
252 if (ctxInfo) in addExtFormats()
256 if (!checkExtensionSupport(*ctxInfo, *ctx, *extIt)) in addExtFormats()
DglsShaderRenderCase.cpp346 …Case (TestContext& testCtx, RenderContext& renderCtx, const ContextInfo& ctxInfo, const char* name… in ShaderRenderCase() argument
349 , m_ctxInfo (ctxInfo) in ShaderRenderCase()
358 …Case (TestContext& testCtx, RenderContext& renderCtx, const ContextInfo& ctxInfo, const char* name… in ShaderRenderCase() argument
361 , m_ctxInfo (ctxInfo) in ShaderRenderCase()
DglsShaderLibraryCase.cpp73 const ContextInfo& ctxInfo) in checkAndSpecializeExtensions() argument
84 if (ctxInfo.isExtensionSupported(extension.alternatives[alternativeNdx].c_str())) in checkAndSpecializeExtensions()
118 const ContextInfo& ctxInfo) in checkImplementationLimits() argument
124 const int supportedValue = ctxInfo.getInt((int)pname); in checkImplementationLimits()
848 …bool isTessellationSupported (const glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo) in isTessellationSupported() argument
856 ctxInfo.isExtensionSupported("GL_EXT_tessellation_shader"); in isTessellationSupported()
DglsTextureStateQueryTests.cpp211 void RequiredExtensions::check (const glu::ContextInfo& ctxInfo) const in check()
216 if (!ctxInfo.isExtensionSupported(m_extensions[ndx])) in check()
720 const de::UniquePtr<glu::ContextInfo> ctxInfo (glu::ContextInfo::create(m_renderCtx)); in init() local
739 extensions.check(*ctxInfo); in init()
776 const de::UniquePtr<glu::ContextInfo> ctxInfo (glu::ContextInfo::create(m_renderCtx)); in init() local
783 extensions.check(*ctxInfo); in init()
1844 const de::UniquePtr<glu::ContextInfo> ctxInfo (glu::ContextInfo::create(m_renderCtx)); in init() local
1859 extensions.check(*ctxInfo); in init()
/external/skia/tests/
DGLProgramsTest.cpp417 kARM_GrGLVendor == gpu->ctxInfo().vendor()) { in get_glprograms_max_stages()
419 } else if (kTegra3_GrGLRenderer == gpu->ctxInfo().renderer() || in get_glprograms_max_stages()
420 kOther_GrGLRenderer == gpu->ctxInfo().renderer()) { in get_glprograms_max_stages()
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp68 return fGpu->ctxInfo().caps()->glslCaps(); in glslCaps()
165 bool checkLinked = kChromium_GrGLDriver != fGpu->ctxInfo().driver(); in finalize()

12