Lines Matching refs:attrs
11 function makeWebGLContext(canvas, attrs) { argument
13 alpha: get(attrs, 'alpha', 1),
14 depth: get(attrs, 'depth', 1),
15 stencil: get(attrs, 'stencil', 8),
16 antialias: get(attrs, 'antialias', 1),
17 premultipliedAlpha: get(attrs, 'premultipliedAlpha', 1),
18 preserveDrawingBuffer: get(attrs, 'preserveDrawingBuffer', 0),
19 preferLowPowerToHighPerformance: get(attrs, 'preferLowPowerToHighPerformance', 0),
20 failIfMajorPerformanceCaveat: get(attrs, 'failIfMajorPerformanceCaveat', 0),
21 majorVersion: get(attrs, 'majorVersion', 2),
22 minorVersion: get(attrs, 'minorVersion', 0),
23 enableExtensionsByDefault: get(attrs, 'enableExtensionsByDefault', 1),
24 explicitSwapControl: get(attrs, 'explicitSwapControl', 0),
25 renderViaOffscreenBackBuffer: get(attrs, 'renderViaOffscreenBackBuffer', 0),
48 SkottieKit.GetWebGLContext = function(canvas, attrs) { argument
49 return makeWebGLContext(canvas, attrs);