Lines Matching refs:interface
14 std::unique_ptr<GrGLContext> GrGLContext::Make(sk_sp<const GrGLInterface> interface, in Make() argument
16 if (!interface->validate()) { in Make()
21 GR_GL_CALL_RET(interface.get(), verUByte, GetString(GR_GL_VERSION)); in Make()
25 GR_GL_CALL_RET(interface.get(), rendererUByte, GetString(GR_GL_RENDERER)); in Make()
34 if (!GrGLGetGLSLGeneration(interface.get(), &args.fGLSLGeneration)) { in Make()
38 args.fVendor = GrGLGetVendor(interface.get()); in Make()
40 args.fRenderer = GrGLGetRendererFromStrings(renderer, interface->fExtensions); in Make()
61 if (kGLES_GrGLStandard == interface->fStandard && in Make()
64 interface->hasExtension("GL_OES_EGL_image_external") && in Make()
66 !interface->hasExtension("GL_OES_EGL_image_external_essl3") && in Make()
67 !interface->hasExtension("OES_EGL_image_external_essl3")) { in Make()
71 GrGLGetDriverInfo(interface->fStandard, args.fVendor, renderer, ver, in Make()
75 args.fInterface = std::move(interface); in Make()