Lines Matching refs:result
227 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in Default() local
228 result->fVersionDeclString = "#version 400"; in Default()
229 result->fShaderDerivativeSupport = true; in Default()
230 return result; in Default()
234 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in Version450Core() local
235 result->fVersionDeclString = "#version 450 core"; in Version450Core()
236 return result; in Version450Core()
240 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in Version110() local
241 result->fVersionDeclString = "#version 110"; in Version110()
242 result->fGLSLGeneration = GrGLSLGeneration::k110_GrGLSLGeneration; in Version110()
243 return result; in Version110()
247 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in UsesPrecisionModifiers() local
248 result->fVersionDeclString = "#version 400"; in UsesPrecisionModifiers()
249 result->fUsesPrecisionModifiers = true; in UsesPrecisionModifiers()
250 return result; in UsesPrecisionModifiers()
254 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in CannotUseMinAndAbsTogether() local
255 result->fVersionDeclString = "#version 400"; in CannotUseMinAndAbsTogether()
256 result->fCanUseMinAndAbsTogether = false; in CannotUseMinAndAbsTogether()
257 return result; in CannotUseMinAndAbsTogether()
261 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in CannotUseFractForNegativeValues() local
262 result->fVersionDeclString = "#version 400"; in CannotUseFractForNegativeValues()
263 result->fCanUseFractForNegativeValues = false; in CannotUseFractForNegativeValues()
264 return result; in CannotUseFractForNegativeValues()
268 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in MustForceNegatedAtanParamToFloat() local
269 result->fVersionDeclString = "#version 400"; in MustForceNegatedAtanParamToFloat()
270 result->fMustForceNegatedAtanParamToFloat = true; in MustForceNegatedAtanParamToFloat()
271 return result; in MustForceNegatedAtanParamToFloat()
275 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in ShaderDerivativeExtensionString() local
276 result->fVersionDeclString = "#version 400"; in ShaderDerivativeExtensionString()
277 result->fShaderDerivativeSupport = true; in ShaderDerivativeExtensionString()
278 result->fShaderDerivativeExtensionString = "GL_OES_standard_derivatives"; in ShaderDerivativeExtensionString()
279 result->fUsesPrecisionModifiers = true; in ShaderDerivativeExtensionString()
280 return result; in ShaderDerivativeExtensionString()
284 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in FragCoordsOld() local
285 result->fVersionDeclString = "#version 110"; in FragCoordsOld()
286 result->fGLSLGeneration = GrGLSLGeneration::k110_GrGLSLGeneration; in FragCoordsOld()
287 result->fFragCoordConventionsExtensionString = "GL_ARB_fragment_coord_conventions"; in FragCoordsOld()
288 return result; in FragCoordsOld()
292 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in FragCoordsNew() local
293 result->fVersionDeclString = "#version 400"; in FragCoordsNew()
294 result->fFragCoordConventionsExtensionString = "GL_ARB_fragment_coord_conventions"; in FragCoordsNew()
295 return result; in FragCoordsNew()
299 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in GeometryShaderSupport() local
300 result->fVersionDeclString = "#version 400"; in GeometryShaderSupport()
301 result->fGeometryShaderSupport = true; in GeometryShaderSupport()
302 result->fGSInvocationsSupport = true; in GeometryShaderSupport()
303 return result; in GeometryShaderSupport()
307 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in NoGSInvocationsSupport() local
308 result->fVersionDeclString = "#version 400"; in NoGSInvocationsSupport()
309 result->fGeometryShaderSupport = true; in NoGSInvocationsSupport()
310 result->fGSInvocationsSupport = false; in NoGSInvocationsSupport()
311 return result; in NoGSInvocationsSupport()
315 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in GeometryShaderExtensionString() local
316 result->fVersionDeclString = "#version 310es"; in GeometryShaderExtensionString()
317 result->fGeometryShaderSupport = true; in GeometryShaderExtensionString()
318 result->fGeometryShaderExtensionString = "GL_EXT_geometry_shader"; in GeometryShaderExtensionString()
319 result->fGSInvocationsSupport = true; in GeometryShaderExtensionString()
320 return result; in GeometryShaderExtensionString()
324 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in GSInvocationsExtensionString() local
325 result->fVersionDeclString = "#version 400"; in GSInvocationsExtensionString()
326 result->fGeometryShaderSupport = true; in GSInvocationsExtensionString()
327 result->fGSInvocationsSupport = true; in GSInvocationsExtensionString()
328 result->fGSInvocationsExtensionString = "GL_ARB_gpu_shader5"; in GSInvocationsExtensionString()
329 return result; in GSInvocationsExtensionString()
333 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in VariousCaps() local
334 result->fVersionDeclString = "#version 400"; in VariousCaps()
335 result->fExternalTextureSupport = true; in VariousCaps()
336 result->fFBFetchSupport = false; in VariousCaps()
337 result->fDropsTileOnZeroDivide = true; in VariousCaps()
338 result->fCanUseAnyFunctionInShader = false; in VariousCaps()
339 return result; in VariousCaps()
343 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in CannotUseFragCoord() local
344 result->fVersionDeclString = "#version 400"; in CannotUseFragCoord()
345 result->fCanUseFragCoord = false; in CannotUseFragCoord()
346 return result; in CannotUseFragCoord()
350 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in IncompleteShortIntPrecision() local
351 result->fVersionDeclString = "#version 310es"; in IncompleteShortIntPrecision()
352 result->fUsesPrecisionModifiers = true; in IncompleteShortIntPrecision()
353 result->fIncompleteShortIntPrecision = true; in IncompleteShortIntPrecision()
354 return result; in IncompleteShortIntPrecision()
358 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in AddAndTrueToLoopCondition() local
359 result->fVersionDeclString = "#version 400"; in AddAndTrueToLoopCondition()
360 result->fAddAndTrueToLoopCondition = true; in AddAndTrueToLoopCondition()
361 return result; in AddAndTrueToLoopCondition()
365 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in UnfoldShortCircuitAsTernary() local
366 result->fVersionDeclString = "#version 400"; in UnfoldShortCircuitAsTernary()
367 result->fUnfoldShortCircuitAsTernary = true; in UnfoldShortCircuitAsTernary()
368 return result; in UnfoldShortCircuitAsTernary()
372 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in EmulateAbsIntFunction() local
373 result->fVersionDeclString = "#version 400"; in EmulateAbsIntFunction()
374 result->fEmulateAbsIntFunction = true; in EmulateAbsIntFunction()
375 return result; in EmulateAbsIntFunction()
379 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in RewriteDoWhileLoops() local
380 result->fVersionDeclString = "#version 400"; in RewriteDoWhileLoops()
381 result->fRewriteDoWhileLoops = true; in RewriteDoWhileLoops()
382 return result; in RewriteDoWhileLoops()
386 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); in RemovePowWithConstantExponent() local
387 result->fVersionDeclString = "#version 400"; in RemovePowWithConstantExponent()
388 result->fRemovePowWithConstantExponent = true; in RemovePowWithConstantExponent()
389 return result; in RemovePowWithConstantExponent()