Lines Matching refs:args
18 ConstructorArgs args; in Create() local
19 args.fInterface = interface; in Create()
33 args.fGLVersion = GrGLGetVersionFromString(ver); in Create()
34 if (GR_GL_INVALID_VER == args.fGLVersion) { in Create()
38 if (!GrGLGetGLSLGeneration(interface, &args.fGLSLGeneration)) { in Create()
42 args.fVendor = GrGLGetVendor(interface); in Create()
44 args.fRenderer = GrGLGetRendererFromString(renderer); in Create()
54 if (kAdreno3xx_GrGLRenderer == args.fRenderer) { in Create()
55 args.fGLSLGeneration = k110_GrGLSLGeneration; in Create()
58 GrGLGetDriverInfo(interface->fStandard, args.fVendor, renderer, ver, in Create()
59 &args.fDriver, &args.fDriverVersion); in Create()
61 args.fContextOptions = &options; in Create()
63 return new GrGLContext(args); in Create()
66 GrGLContextInfo::GrGLContextInfo(const ConstructorArgs& args) { in GrGLContextInfo() argument
67 fInterface.reset(SkRef(args.fInterface)); in GrGLContextInfo()
68 fGLVersion = args.fGLVersion; in GrGLContextInfo()
69 fGLSLGeneration = args.fGLSLGeneration; in GrGLContextInfo()
70 fVendor = args.fVendor; in GrGLContextInfo()
71 fRenderer = args.fRenderer; in GrGLContextInfo()
72 fDriver = args.fDriver; in GrGLContextInfo()
73 fDriverVersion = args.fDriverVersion; in GrGLContextInfo()
75 fGLCaps.reset(new GrGLCaps(*args.fContextOptions, *this, fInterface)); in GrGLContextInfo()