Lines Matching full:result

27         sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions());  in Default()  local
28 result->fVersionDeclString = "#version 400"; in Default()
29 result->fShaderDerivativeSupport = true; in Default()
30 return result; in Default()
34 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in Version450Core() local
35 result->fVersionDeclString = "#version 450 core"; in Version450Core()
36 return result; in Version450Core()
40 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in Version110() local
41 result->fVersionDeclString = "#version 110"; in Version110()
42 result->fGLSLGeneration = GrGLSLGeneration::k110_GrGLSLGeneration; in Version110()
43 return result; in Version110()
47 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in UsesPrecisionModifiers() local
48 result->fVersionDeclString = "#version 400"; in UsesPrecisionModifiers()
49 result->fUsesPrecisionModifiers = true; in UsesPrecisionModifiers()
50 return result; in UsesPrecisionModifiers()
54 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in CannotUseMinAndAbsTogether() local
55 result->fVersionDeclString = "#version 400"; in CannotUseMinAndAbsTogether()
56 result->fCanUseMinAndAbsTogether = false; in CannotUseMinAndAbsTogether()
57 return result; in CannotUseMinAndAbsTogether()
61 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in MustForceNegatedAtanParamToFloat() local
62 result->fVersionDeclString = "#version 400"; in MustForceNegatedAtanParamToFloat()
63 result->fMustForceNegatedAtanParamToFloat = true; in MustForceNegatedAtanParamToFloat()
64 return result; in MustForceNegatedAtanParamToFloat()
68 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in ShaderDerivativeExtensionString() local
69 result->fVersionDeclString = "#version 400"; in ShaderDerivativeExtensionString()
70 result->fShaderDerivativeSupport = true; in ShaderDerivativeExtensionString()
71 result->fShaderDerivativeExtensionString = "GL_OES_standard_derivatives"; in ShaderDerivativeExtensionString()
72 return result; in ShaderDerivativeExtensionString()
76 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in FragCoordsOld() local
77 result->fVersionDeclString = "#version 110"; in FragCoordsOld()
78 result->fGLSLGeneration = GrGLSLGeneration::k110_GrGLSLGeneration; in FragCoordsOld()
79 result->fFragCoordConventionsExtensionString = "GL_ARB_fragment_coord_conventions"; in FragCoordsOld()
80 return result; in FragCoordsOld()
84 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in FragCoordsNew() local
85 result->fVersionDeclString = "#version 400"; in FragCoordsNew()
86 result->fFragCoordConventionsExtensionString = "GL_ARB_fragment_coord_conventions"; in FragCoordsNew()
87 return result; in FragCoordsNew()
91 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in VariousCaps() local
92 result->fVersionDeclString = "#version 400"; in VariousCaps()
93 result->fExternalTextureSupport = true; in VariousCaps()
94 result->fFBFetchSupport = false; in VariousCaps()
95 result->fDropsTileOnZeroDivide = true; in VariousCaps()
96 result->fTexelFetchSupport = true; in VariousCaps()
97 result->fCanUseAnyFunctionInShader = false; in VariousCaps()
98 return result; in VariousCaps()