Searched refs:callgl (Results 1 – 1 of 1) sorted by relevance
/external/skqp/tools/gpu/atlastext/ |
D | GLTestAtlasTextRenderer.cpp | 65 #define callgl(NAME, ...) fContext->gl()->fFunctions.f##NAME(__VA_ARGS__) macro 81 const char* versionStr = reinterpret_cast<const char*>(callgl(GetString, GR_GL_VERSION)); in GLTestAtlasTextRenderer() 97 callgl(GetIntegerv, GR_GL_CONTEXT_PROFILE_MASK, &profileMask); in GLTestAtlasTextRenderer() 104 auto vs = callgl(CreateShader, GR_GL_VERTEX_SHADER); in GLTestAtlasTextRenderer() 151 callgl(ShaderSource, vs, 2, strings, lengths); in GLTestAtlasTextRenderer() 152 callgl(CompileShader, vs); in GLTestAtlasTextRenderer() 154 callgl(GetShaderiv, vs, GR_GL_COMPILE_STATUS, &compileStatus); in GLTestAtlasTextRenderer() 157 callgl(GetShaderiv, vs, GR_GL_INFO_LOG_LENGTH, &logLength); in GLTestAtlasTextRenderer() 160 callgl(GetShaderInfoLog, vs, logLength, &logLength, log.get()); in GLTestAtlasTextRenderer() 162 callgl(DeleteShader, vs); in GLTestAtlasTextRenderer() [all …]
|