Lines Matching defs:const

44 	TryCompileProgram (const char* vertexSource, const char* fragmentSource)
50 bool operator() (const RenderContext& context) const
59 const char* m_vertexSource;
60 const char* m_fragmentSource;
65 bool IsES3Compatible(const glw::Functions& gl)
80 ES2ContextInfo (const RenderContext& context);
83 bool isVertexUniformLoopSupported (void) const { return m_vertexUniformLoopsSupported.getValue(m_context); }
84 bool isVertexDynamicLoopSupported (void) const { return m_vertexDynamicLoopsSupported.getValue(m_context); }
85 bool isFragmentHighPrecisionSupported (void) const { return m_fragmentHighPrecisionSupported.getValue(m_context); }
86 bool isFragmentUniformLoopSupported (void) const { return m_fragmentUniformLoopsSupported.getValue(m_context); }
87 bool isFragmentDynamicLoopSupported (void) const { return m_fragmentDynamicLoopsSupported.getValue(m_context); }
98 static const char* s_defaultVertexShader =
103 static const char* s_defaultFragmentShader =
108 static const char* s_vertexUniformLoopsSupported =
116 static const char* s_vertexDynamicLoopsSupported =
126 static const char* s_fragmentHighPrecisionSupported =
132 static const char* s_fragmentUniformLoopsSupported =
140 static const char* s_fragmentDynamicLoopsSupported =
150 ES2ContextInfo::ES2ContextInfo (const RenderContext& context)
160 static void split (vector<string>& dst, const string& src)
175 set<int> GetCompressedTextureFormats::operator() (const RenderContext& context) const
177 const glw::Functions& gl = context.getFunctions();
196 ContextInfo::ContextInfo (const RenderContext& context)
199 const glw::Functions& gl = context.getFunctions();
203 const char* result = (const char*)gl.getString(GL_EXTENSIONS);
217 m_extensions[ndx] = (const char*)gl.getStringi(GL_EXTENSIONS, ndx);
226 int ContextInfo::getInt (int param) const
234 bool ContextInfo::getBool (int param) const
242 const char* ContextInfo::getString (int param) const
244 const char* str = (const char*)m_context.getFunctions().getString(param);
249 bool ContextInfo::isCompressedTextureFormatSupported (int format) const
251 const set<int>& formats = m_compressedTextureFormats.getValue(m_context);
255 bool ContextInfo::isExtensionSupported (const char* name) const
257 const std::vector<std::string>& extensions = getExtensions();
261 bool ContextInfo::isES3Compatible() const
266 ContextInfo* ContextInfo::create (const RenderContext& context)