Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/gl/
DGrGLCaps.cpp93 bool GrGLCaps::init(const GrGLContextInfo& ctxInfo, const GrGLInterface* gli) { in init() argument
96 if (!ctxInfo.isInitialized()) { in init()
100 GrGLStandard standard = ctxInfo.standard(); in init()
101 GrGLVersion version = ctxInfo.version(); in init()
133 ctxInfo.hasExtension("GL_OES_rgb8_rgba8") || in init()
134 ctxInfo.hasExtension("GL_ARM_rgba8"); in init()
139 ctxInfo.hasExtension("GL_ARB_texture_swizzle"); in init()
151 ctxInfo.hasExtension("GL_EXT_unpack_subimage"); in init()
152 fUnpackFlipYSupport = ctxInfo.hasExtension("GL_CHROMIUM_flipy"); in init()
154 ctxInfo.hasExtension("GL_NV_pack_subimage"); in init()
[all …]
DGrGLShaderBuilder.cpp546 args[i].appendDecl(this->ctxInfo(), &fFSFunctions); in fsEmitFunction()
584 vars[i].appendDecl(this->ctxInfo(), out); in appendDecls()
593 fUniforms[i].fVariable.appendDecl(this->ctxInfo(), out); in appendUniformDecls()
682 bool checkLinked = !fGpu->ctxInfo().isChromium(); in finish()
782 SkString fragShaderSrc(GrGetGLSLVersionDecl(this->ctxInfo())); in compileAndAttachShaders()
816 const GrGLContextInfo& GrGLShaderBuilder::ctxInfo() const { in ctxInfo() function in GrGLShaderBuilder
817 return fGpu->ctxInfo(); in ctxInfo()
989 SkString vertShaderSrc(GrGetGLSLVersionDecl(this->ctxInfo())); in compileAndAttachShaders()
1004 SkASSERT(this->ctxInfo().glslGeneration() >= k150_GrGLSLGeneration); in compileAndAttachShaders()
1005 SkString geomShaderSrc(GrGetGLSLVersionDecl(this->ctxInfo())); in compileAndAttachShaders()
DGrGLShaderVar.h259 void appendDecl(const GrGLContextInfo& ctxInfo, SkString* out) const { in appendDecl() argument
267 ctxInfo.glslGeneration())); in appendDecl()
270 out->append(PrecisionString(fPrecision, ctxInfo.standard())); in appendDecl()
DGrGLCaps.h117 bool init(const GrGLContextInfo& ctxInfo, const GrGLInterface* interface);
/external/chromium_org/third_party/skia/src/gpu/gl/
DGrGLCaps.cpp93 bool GrGLCaps::init(const GrGLContextInfo& ctxInfo, const GrGLInterface* gli) { in init() argument
96 if (!ctxInfo.isInitialized()) { in init()
100 GrGLStandard standard = ctxInfo.standard(); in init()
101 GrGLVersion version = ctxInfo.version(); in init()
133 ctxInfo.hasExtension("GL_OES_rgb8_rgba8") || in init()
134 ctxInfo.hasExtension("GL_ARM_rgba8"); in init()
139 ctxInfo.hasExtension("GL_ARB_texture_swizzle"); in init()
151 ctxInfo.hasExtension("GL_EXT_unpack_subimage"); in init()
152 fUnpackFlipYSupport = ctxInfo.hasExtension("GL_CHROMIUM_flipy"); in init()
154 ctxInfo.hasExtension("GL_NV_pack_subimage"); in init()
[all …]
DGrGLShaderBuilder.cpp546 args[i].appendDecl(this->ctxInfo(), &fFSFunctions); in fsEmitFunction()
584 vars[i].appendDecl(this->ctxInfo(), out); in appendDecls()
593 fUniforms[i].fVariable.appendDecl(this->ctxInfo(), out); in appendUniformDecls()
682 bool checkLinked = !fGpu->ctxInfo().isChromium(); in finish()
782 SkString fragShaderSrc(GrGetGLSLVersionDecl(this->ctxInfo())); in compileAndAttachShaders()
816 const GrGLContextInfo& GrGLShaderBuilder::ctxInfo() const { in ctxInfo() function in GrGLShaderBuilder
817 return fGpu->ctxInfo(); in ctxInfo()
989 SkString vertShaderSrc(GrGetGLSLVersionDecl(this->ctxInfo())); in compileAndAttachShaders()
1004 SkASSERT(this->ctxInfo().glslGeneration() >= k150_GrGLSLGeneration); in compileAndAttachShaders()
1005 SkString geomShaderSrc(GrGetGLSLVersionDecl(this->ctxInfo())); in compileAndAttachShaders()
DGrGLShaderVar.h259 void appendDecl(const GrGLContextInfo& ctxInfo, SkString* out) const { in appendDecl() argument
267 ctxInfo.glslGeneration())); in appendDecl()
270 out->append(PrecisionString(fPrecision, ctxInfo.standard())); in appendDecl()
DGrGLCaps.h117 bool init(const GrGLContextInfo& ctxInfo, const GrGLInterface* interface);
/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/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 …]
Des2fTextureCompletenessTests.cpp77 static bool isExtensionSupported (const glu::ContextInfo& ctxInfo, const char* extension) in isExtensionSupported() argument
79 vector<string> extensions = ctxInfo.getExtensions(); in isExtensionSupported()
242 …ription, IVec2 size, IVec2 invalidLevelSize, int invalidLevelNdx, const glu::ContextInfo& ctxInfo);
254 …cription, IVec2 size, IVec2 invalidLevelSize, int invalidLevelNdx, const glu::ContextInfo& ctxInfo) in Incomplete2DSizeCase() argument
258 , m_ctxInfo (ctxInfo) in Incomplete2DSizeCase()
415 …st char* description, IVec2 size, deUint32 wrapT, deUint32 wrapS, const glu::ContextInfo& ctxInfo);
427 …nst char* description, IVec2 size, deUint32 wrapT, deUint32 wrapS, const glu::ContextInfo& ctxInfo) in Incomplete2DWrapModeCase() argument
431 , m_ctxInfo (ctxInfo) in Incomplete2DWrapModeCase()
775 …st char* description, IVec2 size, deUint32 wrapT, deUint32 wrapS, const glu::ContextInfo& ctxInfo);
787 …nst char* description, IVec2 size, deUint32 wrapT, deUint32 wrapS, const glu::ContextInfo& ctxInfo) in IncompleteCubeWrapModeCase() argument
[all …]
/external/deqp/modules/gles3/functional/
Des3fTextureWrapTests.cpp84 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name…
85 …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…
128 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name… in TextureWrapCase() argument
131 , m_renderCtxInfo (ctxInfo) in TextureWrapCase()
147 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name… in TextureWrapCase() argument
150 , m_renderCtxInfo (ctxInfo) in TextureWrapCase()
167 …Context& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name… in TextureWrapCase() argument
170 , 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/gles31/functional/
Des31fNegativeTestShared.cpp49 const glu::ContextInfo& ctxInfo, in NegativeTestContext() argument
55 , m_ctxInfo (ctxInfo) in NegativeTestContext()
Des31fNegativeTestShared.hpp53 …(ErrorCase& host, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, tcu::TestLog& lo…
/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/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/chromium_org/third_party/skia/src/effects/gradients/
DSkSweepGradient.cpp268 const GrGLContextInfo ctxInfo = builder->ctxInfo(); in emitCode() local
273 if (kIntel_GrGLVendor != ctxInfo.vendor()){ in emitCode()
/external/skia/src/effects/gradients/
DSkSweepGradient.cpp268 const GrGLContextInfo ctxInfo = builder->ctxInfo(); in emitCode() local
273 if (kIntel_GrGLVendor != ctxInfo.vendor()){ in emitCode()
/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.cpp101 const UniquePtr<ContextInfo> ctxInfo(ctx != DE_NULL ? ContextInfo::create(*ctx) : DE_NULL); in addExtFormats() local
105 if (ctxInfo) in addExtFormats()
112 if (!ctxInfo->isExtensionSupported(tokens->c_str())) in addExtFormats()
DglsShaderRenderCase.cpp362 …Case (TestContext& testCtx, RenderContext& renderCtx, const ContextInfo& ctxInfo, const char* name… in ShaderRenderCase() argument
365 , m_ctxInfo (ctxInfo) in ShaderRenderCase()
374 …Case (TestContext& testCtx, RenderContext& renderCtx, const ContextInfo& ctxInfo, const char* name… in ShaderRenderCase() argument
377 , m_ctxInfo (ctxInfo) in ShaderRenderCase()
/external/deqp/framework/opengl/
DgluStateReset.cpp39 const de::UniquePtr<glu::ContextInfo> ctxInfo (glu::ContextInfo::create(renderCtx)); in resetStateES() local
241 if (ctxInfo->isExtensionSupported("GL_OES_texture_storage_multisample_2d_array")) in resetStateES()
456 …if (contextSupports(type, ApiType::es(3,1)) && ctxInfo->isExtensionSupported("GL_OES_sample_shadin… in resetStateES()
465 if (ctxInfo->isExtensionSupported("GL_KHR_debug")) in resetStateES()
489 const de::UniquePtr<glu::ContextInfo> ctxInfo (glu::ContextInfo::create(renderCtx)); in resetStateGLCore() local
981 if (ctxInfo->isExtensionSupported("GL_KHR_debug")) in resetStateGLCore()

12