Lines Matching defs:context
50 bool operator() (const RenderContext& context) const
52 ShaderProgram program(context,
67 // Detect compatible GLES context by querying GL_MAJOR_VERSION.
68 // This query does not exist on GLES2 so succeeding query implies GLES3+ context.
76 // ES2-specific context info
80 ES2ContextInfo (const RenderContext& context);
150 ES2ContextInfo::ES2ContextInfo (const RenderContext& context)
151 : glu::ContextInfo (context)
175 set<int> GetCompressedTextureFormats::operator() (const RenderContext& context) const
177 const glw::Functions& gl = context.getFunctions();
196 ContextInfo::ContextInfo (const RenderContext& context)
197 : m_context(context)
199 const glw::Functions& gl = context.getFunctions();
201 if (context.getType().getAPI() == ApiType::es(2,0))
266 ContextInfo* ContextInfo::create (const RenderContext& context)
270 if (context.getType().getAPI() == ApiType::es(2,0))
271 return new ES2ContextInfo(context);
273 return new ContextInfo(context);