| Index: sdk/lib/web_gl/dart2js/web_gl_dart2js.dart
|
| diff --git a/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart b/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart
|
| index 3dd54a86420ce4bef7c720103467b7c23f7d8eaf..695a1f5767659cc7cd2551c0b7c2ef13241c2838 100644
|
| --- a/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart
|
| +++ b/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart
|
| @@ -9,22 +9,18 @@ import 'dart:html';
|
| import 'dart:html_common';
|
| import 'dart:_native_typed_data';
|
| import 'dart:typed_data';
|
| -import 'dart:_js_helper' show Creates, JSName, Native, Returns, convertDartClosureToJS;
|
| +import 'dart:_js_helper'
|
| + show Creates, JSName, Native, Returns, convertDartClosureToJS;
|
| import 'dart:_foreign_helper' show JS;
|
| import 'dart:_interceptors' show Interceptor, JSExtendableArray;
|
| // DO NOT EDIT - unless you are editing documentation as per:
|
| // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation
|
| // Auto-generated dart:web_gl library.
|
|
|
| -
|
| -
|
| -
|
| -
|
| // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| const int ACTIVE_ATTRIBUTES = RenderingContext.ACTIVE_ATTRIBUTES;
|
| const int ACTIVE_TEXTURE = RenderingContext.ACTIVE_TEXTURE;
|
| const int ACTIVE_UNIFORMS = RenderingContext.ACTIVE_UNIFORMS;
|
| @@ -62,7 +58,8 @@ const int COLOR_BUFFER_BIT = RenderingContext.COLOR_BUFFER_BIT;
|
| const int COLOR_CLEAR_VALUE = RenderingContext.COLOR_CLEAR_VALUE;
|
| const int COLOR_WRITEMASK = RenderingContext.COLOR_WRITEMASK;
|
| const int COMPILE_STATUS = RenderingContext.COMPILE_STATUS;
|
| -const int COMPRESSED_TEXTURE_FORMATS = RenderingContext.COMPRESSED_TEXTURE_FORMATS;
|
| +const int COMPRESSED_TEXTURE_FORMATS =
|
| + RenderingContext.COMPRESSED_TEXTURE_FORMATS;
|
| const int CONSTANT_ALPHA = RenderingContext.CONSTANT_ALPHA;
|
| const int CONSTANT_COLOR = RenderingContext.CONSTANT_COLOR;
|
| const int CONTEXT_LOST_WEBGL = RenderingContext.CONTEXT_LOST_WEBGL;
|
| @@ -92,7 +89,8 @@ const int DST_ALPHA = RenderingContext.DST_ALPHA;
|
| const int DST_COLOR = RenderingContext.DST_COLOR;
|
| const int DYNAMIC_DRAW = RenderingContext.DYNAMIC_DRAW;
|
| const int ELEMENT_ARRAY_BUFFER = RenderingContext.ELEMENT_ARRAY_BUFFER;
|
| -const int ELEMENT_ARRAY_BUFFER_BINDING = RenderingContext.ELEMENT_ARRAY_BUFFER_BINDING;
|
| +const int ELEMENT_ARRAY_BUFFER_BINDING =
|
| + RenderingContext.ELEMENT_ARRAY_BUFFER_BINDING;
|
| const int EQUAL = RenderingContext.EQUAL;
|
| const int FASTEST = RenderingContext.FASTEST;
|
| const int FLOAT = RenderingContext.FLOAT;
|
| @@ -104,15 +102,22 @@ const int FLOAT_VEC3 = RenderingContext.FLOAT_VEC3;
|
| const int FLOAT_VEC4 = RenderingContext.FLOAT_VEC4;
|
| const int FRAGMENT_SHADER = RenderingContext.FRAGMENT_SHADER;
|
| const int FRAMEBUFFER = RenderingContext.FRAMEBUFFER;
|
| -const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME;
|
| -const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE;
|
| -const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE;
|
| -const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL;
|
| +const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME =
|
| + RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME;
|
| +const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE =
|
| + RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE;
|
| +const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE =
|
| + RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE;
|
| +const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL =
|
| + RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL;
|
| const int FRAMEBUFFER_BINDING = RenderingContext.FRAMEBUFFER_BINDING;
|
| const int FRAMEBUFFER_COMPLETE = RenderingContext.FRAMEBUFFER_COMPLETE;
|
| -const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = RenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT;
|
| -const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = RenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS;
|
| -const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = RenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT;
|
| +const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT =
|
| + RenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT;
|
| +const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS =
|
| + RenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS;
|
| +const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT =
|
| + RenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT;
|
| const int FRAMEBUFFER_UNSUPPORTED = RenderingContext.FRAMEBUFFER_UNSUPPORTED;
|
| const int FRONT = RenderingContext.FRONT;
|
| const int FRONT_AND_BACK = RenderingContext.FRONT_AND_BACK;
|
| @@ -134,7 +139,8 @@ const int INT_VEC2 = RenderingContext.INT_VEC2;
|
| const int INT_VEC3 = RenderingContext.INT_VEC3;
|
| const int INT_VEC4 = RenderingContext.INT_VEC4;
|
| const int INVALID_ENUM = RenderingContext.INVALID_ENUM;
|
| -const int INVALID_FRAMEBUFFER_OPERATION = RenderingContext.INVALID_FRAMEBUFFER_OPERATION;
|
| +const int INVALID_FRAMEBUFFER_OPERATION =
|
| + RenderingContext.INVALID_FRAMEBUFFER_OPERATION;
|
| const int INVALID_OPERATION = RenderingContext.INVALID_OPERATION;
|
| const int INVALID_VALUE = RenderingContext.INVALID_VALUE;
|
| const int INVERT = RenderingContext.INVERT;
|
| @@ -153,16 +159,21 @@ const int LOW_FLOAT = RenderingContext.LOW_FLOAT;
|
| const int LOW_INT = RenderingContext.LOW_INT;
|
| const int LUMINANCE = RenderingContext.LUMINANCE;
|
| const int LUMINANCE_ALPHA = RenderingContext.LUMINANCE_ALPHA;
|
| -const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS;
|
| -const int MAX_CUBE_MAP_TEXTURE_SIZE = RenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE;
|
| -const int MAX_FRAGMENT_UNIFORM_VECTORS = RenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS;
|
| +const int MAX_COMBINED_TEXTURE_IMAGE_UNITS =
|
| + RenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS;
|
| +const int MAX_CUBE_MAP_TEXTURE_SIZE =
|
| + RenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE;
|
| +const int MAX_FRAGMENT_UNIFORM_VECTORS =
|
| + RenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS;
|
| const int MAX_RENDERBUFFER_SIZE = RenderingContext.MAX_RENDERBUFFER_SIZE;
|
| const int MAX_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_TEXTURE_IMAGE_UNITS;
|
| const int MAX_TEXTURE_SIZE = RenderingContext.MAX_TEXTURE_SIZE;
|
| const int MAX_VARYING_VECTORS = RenderingContext.MAX_VARYING_VECTORS;
|
| const int MAX_VERTEX_ATTRIBS = RenderingContext.MAX_VERTEX_ATTRIBS;
|
| -const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS;
|
| -const int MAX_VERTEX_UNIFORM_VECTORS = RenderingContext.MAX_VERTEX_UNIFORM_VECTORS;
|
| +const int MAX_VERTEX_TEXTURE_IMAGE_UNITS =
|
| + RenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS;
|
| +const int MAX_VERTEX_UNIFORM_VECTORS =
|
| + RenderingContext.MAX_VERTEX_UNIFORM_VECTORS;
|
| const int MAX_VIEWPORT_DIMS = RenderingContext.MAX_VIEWPORT_DIMS;
|
| const int MEDIUM_FLOAT = RenderingContext.MEDIUM_FLOAT;
|
| const int MEDIUM_INT = RenderingContext.MEDIUM_INT;
|
| @@ -196,9 +207,11 @@ const int RENDERBUFFER_BLUE_SIZE = RenderingContext.RENDERBUFFER_BLUE_SIZE;
|
| const int RENDERBUFFER_DEPTH_SIZE = RenderingContext.RENDERBUFFER_DEPTH_SIZE;
|
| const int RENDERBUFFER_GREEN_SIZE = RenderingContext.RENDERBUFFER_GREEN_SIZE;
|
| const int RENDERBUFFER_HEIGHT = RenderingContext.RENDERBUFFER_HEIGHT;
|
| -const int RENDERBUFFER_INTERNAL_FORMAT = RenderingContext.RENDERBUFFER_INTERNAL_FORMAT;
|
| +const int RENDERBUFFER_INTERNAL_FORMAT =
|
| + RenderingContext.RENDERBUFFER_INTERNAL_FORMAT;
|
| const int RENDERBUFFER_RED_SIZE = RenderingContext.RENDERBUFFER_RED_SIZE;
|
| -const int RENDERBUFFER_STENCIL_SIZE = RenderingContext.RENDERBUFFER_STENCIL_SIZE;
|
| +const int RENDERBUFFER_STENCIL_SIZE =
|
| + RenderingContext.RENDERBUFFER_STENCIL_SIZE;
|
| const int RENDERBUFFER_WIDTH = RenderingContext.RENDERBUFFER_WIDTH;
|
| const int RENDERER = RenderingContext.RENDERER;
|
| const int REPEAT = RenderingContext.REPEAT;
|
| @@ -228,8 +241,10 @@ const int STATIC_DRAW = RenderingContext.STATIC_DRAW;
|
| const int STENCIL_ATTACHMENT = RenderingContext.STENCIL_ATTACHMENT;
|
| const int STENCIL_BACK_FAIL = RenderingContext.STENCIL_BACK_FAIL;
|
| const int STENCIL_BACK_FUNC = RenderingContext.STENCIL_BACK_FUNC;
|
| -const int STENCIL_BACK_PASS_DEPTH_FAIL = RenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL;
|
| -const int STENCIL_BACK_PASS_DEPTH_PASS = RenderingContext.STENCIL_BACK_PASS_DEPTH_PASS;
|
| +const int STENCIL_BACK_PASS_DEPTH_FAIL =
|
| + RenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL;
|
| +const int STENCIL_BACK_PASS_DEPTH_PASS =
|
| + RenderingContext.STENCIL_BACK_PASS_DEPTH_PASS;
|
| const int STENCIL_BACK_REF = RenderingContext.STENCIL_BACK_REF;
|
| const int STENCIL_BACK_VALUE_MASK = RenderingContext.STENCIL_BACK_VALUE_MASK;
|
| const int STENCIL_BACK_WRITEMASK = RenderingContext.STENCIL_BACK_WRITEMASK;
|
| @@ -285,12 +300,18 @@ const int TEXTURE_2D = RenderingContext.TEXTURE_2D;
|
| const int TEXTURE_BINDING_2D = RenderingContext.TEXTURE_BINDING_2D;
|
| const int TEXTURE_BINDING_CUBE_MAP = RenderingContext.TEXTURE_BINDING_CUBE_MAP;
|
| const int TEXTURE_CUBE_MAP = RenderingContext.TEXTURE_CUBE_MAP;
|
| -const int TEXTURE_CUBE_MAP_NEGATIVE_X = RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X;
|
| -const int TEXTURE_CUBE_MAP_NEGATIVE_Y = RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y;
|
| -const int TEXTURE_CUBE_MAP_NEGATIVE_Z = RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z;
|
| -const int TEXTURE_CUBE_MAP_POSITIVE_X = RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X;
|
| -const int TEXTURE_CUBE_MAP_POSITIVE_Y = RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y;
|
| -const int TEXTURE_CUBE_MAP_POSITIVE_Z = RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z;
|
| +const int TEXTURE_CUBE_MAP_NEGATIVE_X =
|
| + RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X;
|
| +const int TEXTURE_CUBE_MAP_NEGATIVE_Y =
|
| + RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y;
|
| +const int TEXTURE_CUBE_MAP_NEGATIVE_Z =
|
| + RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z;
|
| +const int TEXTURE_CUBE_MAP_POSITIVE_X =
|
| + RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X;
|
| +const int TEXTURE_CUBE_MAP_POSITIVE_Y =
|
| + RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y;
|
| +const int TEXTURE_CUBE_MAP_POSITIVE_Z =
|
| + RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z;
|
| const int TEXTURE_MAG_FILTER = RenderingContext.TEXTURE_MAG_FILTER;
|
| const int TEXTURE_MIN_FILTER = RenderingContext.TEXTURE_MIN_FILTER;
|
| const int TEXTURE_WRAP_S = RenderingContext.TEXTURE_WRAP_S;
|
| @@ -299,9 +320,11 @@ const int TRIANGLES = RenderingContext.TRIANGLES;
|
| const int TRIANGLE_FAN = RenderingContext.TRIANGLE_FAN;
|
| const int TRIANGLE_STRIP = RenderingContext.TRIANGLE_STRIP;
|
| const int UNPACK_ALIGNMENT = RenderingContext.UNPACK_ALIGNMENT;
|
| -const int UNPACK_COLORSPACE_CONVERSION_WEBGL = RenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL;
|
| +const int UNPACK_COLORSPACE_CONVERSION_WEBGL =
|
| + RenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL;
|
| const int UNPACK_FLIP_Y_WEBGL = RenderingContext.UNPACK_FLIP_Y_WEBGL;
|
| -const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = RenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL;
|
| +const int UNPACK_PREMULTIPLY_ALPHA_WEBGL =
|
| + RenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL;
|
| const int UNSIGNED_BYTE = RenderingContext.UNSIGNED_BYTE;
|
| const int UNSIGNED_INT = RenderingContext.UNSIGNED_INT;
|
| const int UNSIGNED_SHORT = RenderingContext.UNSIGNED_SHORT;
|
| @@ -311,12 +334,17 @@ const int UNSIGNED_SHORT_5_6_5 = RenderingContext.UNSIGNED_SHORT_5_6_5;
|
| const int VALIDATE_STATUS = RenderingContext.VALIDATE_STATUS;
|
| const int VENDOR = RenderingContext.VENDOR;
|
| const int VERSION = RenderingContext.VERSION;
|
| -const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = RenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING;
|
| -const int VERTEX_ATTRIB_ARRAY_ENABLED = RenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED;
|
| -const int VERTEX_ATTRIB_ARRAY_NORMALIZED = RenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED;
|
| -const int VERTEX_ATTRIB_ARRAY_POINTER = RenderingContext.VERTEX_ATTRIB_ARRAY_POINTER;
|
| +const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING =
|
| + RenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING;
|
| +const int VERTEX_ATTRIB_ARRAY_ENABLED =
|
| + RenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED;
|
| +const int VERTEX_ATTRIB_ARRAY_NORMALIZED =
|
| + RenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED;
|
| +const int VERTEX_ATTRIB_ARRAY_POINTER =
|
| + RenderingContext.VERTEX_ATTRIB_ARRAY_POINTER;
|
| const int VERTEX_ATTRIB_ARRAY_SIZE = RenderingContext.VERTEX_ATTRIB_ARRAY_SIZE;
|
| -const int VERTEX_ATTRIB_ARRAY_STRIDE = RenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE;
|
| +const int VERTEX_ATTRIB_ARRAY_STRIDE =
|
| + RenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE;
|
| const int VERTEX_ATTRIB_ARRAY_TYPE = RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE;
|
| const int VERTEX_SHADER = RenderingContext.VERTEX_SHADER;
|
| const int VIEWPORT = RenderingContext.VIEWPORT;
|
| @@ -325,14 +353,15 @@ const int ZERO = RenderingContext.ZERO;
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGLActiveInfo')
|
| @Unstable()
|
| @Native("WebGLActiveInfo")
|
| class ActiveInfo extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory ActiveInfo._() { throw new UnsupportedError("Not supported"); }
|
| + factory ActiveInfo._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
|
|
| @DomName('WebGLActiveInfo.name')
|
| @DocsEditable()
|
| @@ -350,14 +379,15 @@ class ActiveInfo extends Interceptor {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('ANGLEInstancedArrays')
|
| @Experimental() // untriaged
|
| @Native("ANGLEInstancedArrays,ANGLE_instanced_arrays")
|
| class AngleInstancedArrays extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory AngleInstancedArrays._() { throw new UnsupportedError("Not supported"); }
|
| + factory AngleInstancedArrays._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
|
|
| @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE')
|
| @DocsEditable()
|
| @@ -368,45 +398,49 @@ class AngleInstancedArrays extends Interceptor {
|
| @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void drawArraysInstancedAngle(int mode, int first, int count, int primcount) native;
|
| + void drawArraysInstancedAngle(int mode, int first, int count, int primcount)
|
| + native ;
|
|
|
| @JSName('drawElementsInstancedANGLE')
|
| @DomName('ANGLEInstancedArrays.drawElementsInstancedANGLE')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void drawElementsInstancedAngle(int mode, int count, int type, int offset, int primcount) native;
|
| + void drawElementsInstancedAngle(
|
| + int mode, int count, int type, int offset, int primcount) native ;
|
|
|
| @JSName('vertexAttribDivisorANGLE')
|
| @DomName('ANGLEInstancedArrays.vertexAttribDivisorANGLE')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void vertexAttribDivisorAngle(int index, int divisor) native;
|
| + void vertexAttribDivisorAngle(int index, int divisor) native ;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGLBuffer')
|
| @Unstable()
|
| @Native("WebGLBuffer")
|
| class Buffer extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory Buffer._() { throw new UnsupportedError("Not supported"); }
|
| + factory Buffer._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('CHROMIUMSubscribeUniform')
|
| @Experimental() // untriaged
|
| @Native("CHROMIUMSubscribeUniform")
|
| class ChromiumSubscribeUniform extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory ChromiumSubscribeUniform._() { throw new UnsupportedError("Not supported"); }
|
| + factory ChromiumSubscribeUniform._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
|
|
| @DomName('CHROMIUMSubscribeUniform.MOUSE_POSITION_CHROMIUM')
|
| @DocsEditable()
|
| @@ -422,49 +456,49 @@ class ChromiumSubscribeUniform extends Interceptor {
|
| @DomName('CHROMIUMSubscribeUniform.bindValuebufferCHROMIUM')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void bindValuebufferChromium(int target, ChromiumValuebuffer buffer) native;
|
| + void bindValuebufferChromium(int target, ChromiumValuebuffer buffer) native ;
|
|
|
| @JSName('createValuebufferCHROMIUM')
|
| @DomName('CHROMIUMSubscribeUniform.createValuebufferCHROMIUM')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - ChromiumValuebuffer createValuebufferChromium() native;
|
| + ChromiumValuebuffer createValuebufferChromium() native ;
|
|
|
| @JSName('deleteValuebufferCHROMIUM')
|
| @DomName('CHROMIUMSubscribeUniform.deleteValuebufferCHROMIUM')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void deleteValuebufferChromium(ChromiumValuebuffer buffer) native;
|
| + void deleteValuebufferChromium(ChromiumValuebuffer buffer) native ;
|
|
|
| @JSName('isValuebufferCHROMIUM')
|
| @DomName('CHROMIUMSubscribeUniform.isValuebufferCHROMIUM')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - bool isValuebufferChromium(ChromiumValuebuffer buffer) native;
|
| + bool isValuebufferChromium(ChromiumValuebuffer buffer) native ;
|
|
|
| @JSName('populateSubscribedValuesCHROMIUM')
|
| @DomName('CHROMIUMSubscribeUniform.populateSubscribedValuesCHROMIUM')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void populateSubscribedValuesChromium(int target) native;
|
| + void populateSubscribedValuesChromium(int target) native ;
|
|
|
| @JSName('subscribeValueCHROMIUM')
|
| @DomName('CHROMIUMSubscribeUniform.subscribeValueCHROMIUM')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void subscribeValueChromium(int target, int subscriptions) native;
|
| + void subscribeValueChromium(int target, int subscriptions) native ;
|
|
|
| @JSName('uniformValuebufferCHROMIUM')
|
| @DomName('CHROMIUMSubscribeUniform.uniformValuebufferCHROMIUM')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniformValuebufferChromium(UniformLocation location, int target, int subscription) native;
|
| + void uniformValuebufferChromium(
|
| + UniformLocation location, int target, int subscription) native ;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGLCompressedTextureATC')
|
| // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc/
|
| @@ -472,13 +506,16 @@ class ChromiumSubscribeUniform extends Interceptor {
|
| @Native("WebGLCompressedTextureATC,WEBGL_compressed_texture_atc")
|
| class CompressedTextureAtc extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory CompressedTextureAtc._() { throw new UnsupportedError("Not supported"); }
|
| + factory CompressedTextureAtc._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
|
|
| @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL')
|
| @DocsEditable()
|
| static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93;
|
|
|
| - @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL')
|
| + @DomName(
|
| + 'WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL')
|
| @DocsEditable()
|
| static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE;
|
|
|
| @@ -490,14 +527,15 @@ class CompressedTextureAtc extends Interceptor {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGLCompressedTextureETC1')
|
| @Experimental() // untriaged
|
| @Native("WebGLCompressedTextureETC1,WEBGL_compressed_texture_etc1")
|
| class CompressedTextureETC1 extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory CompressedTextureETC1._() { throw new UnsupportedError("Not supported"); }
|
| + factory CompressedTextureETC1._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
|
|
| @DomName('WebGLCompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL')
|
| @DocsEditable()
|
| @@ -508,7 +546,6 @@ class CompressedTextureETC1 extends Interceptor {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGLCompressedTexturePVRTC')
|
| // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvrtc/
|
| @@ -516,7 +553,9 @@ class CompressedTextureETC1 extends Interceptor {
|
| @Native("WebGLCompressedTexturePVRTC,WEBGL_compressed_texture_pvrtc")
|
| class CompressedTexturePvrtc extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory CompressedTexturePvrtc._() { throw new UnsupportedError("Not supported"); }
|
| + factory CompressedTexturePvrtc._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
|
|
| @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG')
|
| @DocsEditable()
|
| @@ -538,7 +577,6 @@ class CompressedTexturePvrtc extends Interceptor {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGLCompressedTextureS3TC')
|
| // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3tc/
|
| @@ -546,7 +584,9 @@ class CompressedTexturePvrtc extends Interceptor {
|
| @Native("WebGLCompressedTextureS3TC,WEBGL_compressed_texture_s3tc")
|
| class CompressedTextureS3TC extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory CompressedTextureS3TC._() { throw new UnsupportedError("Not supported"); }
|
| + factory CompressedTextureS3TC._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
|
|
| @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT')
|
| @DocsEditable()
|
| @@ -568,14 +608,15 @@ class CompressedTextureS3TC extends Interceptor {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGLContextEvent')
|
| @Unstable()
|
| @Native("WebGLContextEvent")
|
| class ContextEvent extends Event {
|
| // To suppress missing implicit constructor warnings.
|
| - factory ContextEvent._() { throw new UnsupportedError("Not supported"); }
|
| + factory ContextEvent._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
|
|
| @DomName('WebGLContextEvent.WebGLContextEvent')
|
| @DocsEditable()
|
| @@ -586,8 +627,10 @@ class ContextEvent extends Event {
|
| }
|
| return ContextEvent._create_2(type);
|
| }
|
| - static ContextEvent _create_1(type, eventInit) => JS('ContextEvent', 'new WebGLContextEvent(#,#)', type, eventInit);
|
| - static ContextEvent _create_2(type) => JS('ContextEvent', 'new WebGLContextEvent(#)', type);
|
| + static ContextEvent _create_1(type, eventInit) =>
|
| + JS('ContextEvent', 'new WebGLContextEvent(#,#)', type, eventInit);
|
| + static ContextEvent _create_2(type) =>
|
| + JS('ContextEvent', 'new WebGLContextEvent(#)', type);
|
|
|
| @DomName('WebGLContextEvent.statusMessage')
|
| @DocsEditable()
|
| @@ -597,7 +640,6 @@ class ContextEvent extends Event {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGLDebugRendererInfo')
|
| // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/
|
| @@ -605,7 +647,9 @@ class ContextEvent extends Event {
|
| @Native("WebGLDebugRendererInfo,WEBGL_debug_renderer_info")
|
| class DebugRendererInfo extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory DebugRendererInfo._() { throw new UnsupportedError("Not supported"); }
|
| + factory DebugRendererInfo._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
|
|
| @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL')
|
| @DocsEditable()
|
| @@ -619,7 +663,6 @@ class DebugRendererInfo extends Interceptor {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGLDebugShaders')
|
| // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/
|
| @@ -627,17 +670,18 @@ class DebugRendererInfo extends Interceptor {
|
| @Native("WebGLDebugShaders,WEBGL_debug_shaders")
|
| class DebugShaders extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory DebugShaders._() { throw new UnsupportedError("Not supported"); }
|
| + factory DebugShaders._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
|
|
| @DomName('WebGLDebugShaders.getTranslatedShaderSource')
|
| @DocsEditable()
|
| - String getTranslatedShaderSource(Shader shader) native;
|
| + String getTranslatedShaderSource(Shader shader) native ;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGLDepthTexture')
|
| // http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/
|
| @@ -645,7 +689,9 @@ class DebugShaders extends Interceptor {
|
| @Native("WebGLDepthTexture,WEBGL_depth_texture")
|
| class DepthTexture extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory DepthTexture._() { throw new UnsupportedError("Not supported"); }
|
| + factory DepthTexture._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
|
|
| @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL')
|
| @DocsEditable()
|
| @@ -655,7 +701,6 @@ class DepthTexture extends Interceptor {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGLDrawBuffers')
|
| // http://www.khronos.org/registry/webgl/specs/latest/
|
| @@ -663,7 +708,9 @@ class DepthTexture extends Interceptor {
|
| @Native("WebGLDrawBuffers,WEBGL_draw_buffers")
|
| class DrawBuffers extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory DrawBuffers._() { throw new UnsupportedError("Not supported"); }
|
| + factory DrawBuffers._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
|
|
| @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT0_WEBGL')
|
| @DocsEditable()
|
| @@ -804,20 +851,21 @@ class DrawBuffers extends Interceptor {
|
| @JSName('drawBuffersWEBGL')
|
| @DomName('WebGLDrawBuffers.drawBuffersWEBGL')
|
| @DocsEditable()
|
| - void drawBuffersWebgl(List<int> buffers) native;
|
| + void drawBuffersWebgl(List<int> buffers) native ;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('EXTsRGB')
|
| @Experimental() // untriaged
|
| @Native("EXTsRGB,EXT_sRGB")
|
| class EXTsRgb extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory EXTsRgb._() { throw new UnsupportedError("Not supported"); }
|
| + factory EXTsRgb._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
|
|
| @DomName('EXTsRGB.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT')
|
| @DocsEditable()
|
| @@ -843,14 +891,15 @@ class EXTsRgb extends Interceptor {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('EXTBlendMinMax')
|
| @Experimental() // untriaged
|
| @Native("EXTBlendMinMax,EXT_blend_minmax")
|
| class ExtBlendMinMax extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory ExtBlendMinMax._() { throw new UnsupportedError("Not supported"); }
|
| + factory ExtBlendMinMax._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
|
|
| @DomName('EXTBlendMinMax.MAX_EXT')
|
| @DocsEditable()
|
| @@ -866,7 +915,6 @@ class ExtBlendMinMax extends Interceptor {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('EXTFragDepth')
|
| // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/
|
| @@ -874,26 +922,28 @@ class ExtBlendMinMax extends Interceptor {
|
| @Native("EXTFragDepth,EXT_frag_depth")
|
| class ExtFragDepth extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory ExtFragDepth._() { throw new UnsupportedError("Not supported"); }
|
| + factory ExtFragDepth._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('EXTShaderTextureLOD')
|
| @Experimental() // untriaged
|
| @Native("EXTShaderTextureLOD,EXT_shader_texture_lod")
|
| class ExtShaderTextureLod extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory ExtShaderTextureLod._() { throw new UnsupportedError("Not supported"); }
|
| + factory ExtShaderTextureLod._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('EXTTextureFilterAnisotropic')
|
| // http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotropic/
|
| @@ -901,7 +951,9 @@ class ExtShaderTextureLod extends Interceptor {
|
| @Native("EXTTextureFilterAnisotropic,EXT_texture_filter_anisotropic")
|
| class ExtTextureFilterAnisotropic extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory ExtTextureFilterAnisotropic._() { throw new UnsupportedError("Not supported"); }
|
| + factory ExtTextureFilterAnisotropic._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
|
|
| @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT')
|
| @DocsEditable()
|
| @@ -915,20 +967,20 @@ class ExtTextureFilterAnisotropic extends Interceptor {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGLFramebuffer')
|
| @Unstable()
|
| @Native("WebGLFramebuffer")
|
| class Framebuffer extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory Framebuffer._() { throw new UnsupportedError("Not supported"); }
|
| + factory Framebuffer._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGLLoseContext')
|
| // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/
|
| @@ -936,21 +988,22 @@ class Framebuffer extends Interceptor {
|
| @Native("WebGLLoseContext,WebGLExtensionLoseContext,WEBGL_lose_context")
|
| class LoseContext extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory LoseContext._() { throw new UnsupportedError("Not supported"); }
|
| + factory LoseContext._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
|
|
| @DomName('WebGLLoseContext.loseContext')
|
| @DocsEditable()
|
| - void loseContext() native;
|
| + void loseContext() native ;
|
|
|
| @DomName('WebGLLoseContext.restoreContext')
|
| @DocsEditable()
|
| - void restoreContext() native;
|
| + void restoreContext() native ;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('OESElementIndexUint')
|
| // http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/
|
| @@ -958,13 +1011,14 @@ class LoseContext extends Interceptor {
|
| @Native("OESElementIndexUint,OES_element_index_uint")
|
| class OesElementIndexUint extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory OesElementIndexUint._() { throw new UnsupportedError("Not supported"); }
|
| + factory OesElementIndexUint._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('OESStandardDerivatives')
|
| // http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/
|
| @@ -972,7 +1026,9 @@ class OesElementIndexUint extends Interceptor {
|
| @Native("OESStandardDerivatives,OES_standard_derivatives")
|
| class OesStandardDerivatives extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory OesStandardDerivatives._() { throw new UnsupportedError("Not supported"); }
|
| + factory OesStandardDerivatives._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
|
|
| @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES')
|
| @DocsEditable()
|
| @@ -982,7 +1038,6 @@ class OesStandardDerivatives extends Interceptor {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('OESTextureFloat')
|
| // http://www.khronos.org/registry/webgl/extensions/OES_texture_float/
|
| @@ -990,13 +1045,14 @@ class OesStandardDerivatives extends Interceptor {
|
| @Native("OESTextureFloat,OES_texture_float")
|
| class OesTextureFloat extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory OesTextureFloat._() { throw new UnsupportedError("Not supported"); }
|
| + factory OesTextureFloat._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('OESTextureFloatLinear')
|
| // http://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/
|
| @@ -1004,13 +1060,14 @@ class OesTextureFloat extends Interceptor {
|
| @Native("OESTextureFloatLinear,OES_texture_float_linear")
|
| class OesTextureFloatLinear extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory OesTextureFloatLinear._() { throw new UnsupportedError("Not supported"); }
|
| + factory OesTextureFloatLinear._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('OESTextureHalfFloat')
|
| // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/
|
| @@ -1018,7 +1075,9 @@ class OesTextureFloatLinear extends Interceptor {
|
| @Native("OESTextureHalfFloat,OES_texture_half_float")
|
| class OesTextureHalfFloat extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory OesTextureHalfFloat._() { throw new UnsupportedError("Not supported"); }
|
| + factory OesTextureHalfFloat._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
|
|
| @DomName('OESTextureHalfFloat.HALF_FLOAT_OES')
|
| @DocsEditable()
|
| @@ -1028,7 +1087,6 @@ class OesTextureHalfFloat extends Interceptor {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('OESTextureHalfFloatLinear')
|
| // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float_linear/
|
| @@ -1036,13 +1094,14 @@ class OesTextureHalfFloat extends Interceptor {
|
| @Native("OESTextureHalfFloatLinear,OES_texture_half_float_linear")
|
| class OesTextureHalfFloatLinear extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory OesTextureHalfFloatLinear._() { throw new UnsupportedError("Not supported"); }
|
| + factory OesTextureHalfFloatLinear._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('OESVertexArrayObject')
|
| // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
|
| @@ -1050,7 +1109,9 @@ class OesTextureHalfFloatLinear extends Interceptor {
|
| @Native("OESVertexArrayObject,OES_vertex_array_object")
|
| class OesVertexArrayObject extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported"); }
|
| + factory OesVertexArrayObject._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
|
|
| @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES')
|
| @DocsEditable()
|
| @@ -1059,67 +1120,69 @@ class OesVertexArrayObject extends Interceptor {
|
| @JSName('bindVertexArrayOES')
|
| @DomName('OESVertexArrayObject.bindVertexArrayOES')
|
| @DocsEditable()
|
| - void bindVertexArray(VertexArrayObjectOes arrayObject) native;
|
| + void bindVertexArray(VertexArrayObjectOes arrayObject) native ;
|
|
|
| @JSName('createVertexArrayOES')
|
| @DomName('OESVertexArrayObject.createVertexArrayOES')
|
| @DocsEditable()
|
| - VertexArrayObjectOes createVertexArray() native;
|
| + VertexArrayObjectOes createVertexArray() native ;
|
|
|
| @JSName('deleteVertexArrayOES')
|
| @DomName('OESVertexArrayObject.deleteVertexArrayOES')
|
| @DocsEditable()
|
| - void deleteVertexArray(VertexArrayObjectOes arrayObject) native;
|
| + void deleteVertexArray(VertexArrayObjectOes arrayObject) native ;
|
|
|
| @JSName('isVertexArrayOES')
|
| @DomName('OESVertexArrayObject.isVertexArrayOES')
|
| @DocsEditable()
|
| - bool isVertexArray(VertexArrayObjectOes arrayObject) native;
|
| + bool isVertexArray(VertexArrayObjectOes arrayObject) native ;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGLProgram')
|
| @Unstable()
|
| @Native("WebGLProgram")
|
| class Program extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory Program._() { throw new UnsupportedError("Not supported"); }
|
| + factory Program._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGLQuery')
|
| @Experimental() // untriaged
|
| @Native("WebGLQuery")
|
| class Query extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory Query._() { throw new UnsupportedError("Not supported"); }
|
| + factory Query._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGLRenderbuffer')
|
| @Unstable()
|
| @Native("WebGLRenderbuffer")
|
| class Renderbuffer extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory Renderbuffer._() { throw new UnsupportedError("Not supported"); }
|
| + factory Renderbuffer._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
| }
|
| // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DomName('WebGLRenderingContext')
|
| @SupportedBrowser(SupportedBrowser.CHROME)
|
| @SupportedBrowser(SupportedBrowser.FIREFOX)
|
| @@ -1128,7 +1191,9 @@ class Renderbuffer extends Interceptor {
|
| @Native("WebGLRenderingContext")
|
| class RenderingContext extends Interceptor implements CanvasRenderingContext {
|
| // To suppress missing implicit constructor warnings.
|
| - factory RenderingContext._() { throw new UnsupportedError("Not supported"); }
|
| + factory RenderingContext._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
|
|
| /// Checks if this type is supported on the current platform.
|
| static bool get supported => JS('bool', '!!(window.WebGLRenderingContext)');
|
| @@ -2340,241 +2405,248 @@ class RenderingContext extends Interceptor implements CanvasRenderingContext {
|
|
|
| @DomName('WebGLRenderingContext.activeTexture')
|
| @DocsEditable()
|
| - void activeTexture(int texture) native;
|
| + void activeTexture(int texture) native ;
|
|
|
| @DomName('WebGLRenderingContext.attachShader')
|
| @DocsEditable()
|
| - void attachShader(Program program, Shader shader) native;
|
| + void attachShader(Program program, Shader shader) native ;
|
|
|
| @DomName('WebGLRenderingContext.bindAttribLocation')
|
| @DocsEditable()
|
| - void bindAttribLocation(Program program, int index, String name) native;
|
| + void bindAttribLocation(Program program, int index, String name) native ;
|
|
|
| @DomName('WebGLRenderingContext.bindBuffer')
|
| @DocsEditable()
|
| - void bindBuffer(int target, Buffer buffer) native;
|
| + void bindBuffer(int target, Buffer buffer) native ;
|
|
|
| @DomName('WebGLRenderingContext.bindFramebuffer')
|
| @DocsEditable()
|
| - void bindFramebuffer(int target, Framebuffer framebuffer) native;
|
| + void bindFramebuffer(int target, Framebuffer framebuffer) native ;
|
|
|
| @DomName('WebGLRenderingContext.bindRenderbuffer')
|
| @DocsEditable()
|
| - void bindRenderbuffer(int target, Renderbuffer renderbuffer) native;
|
| + void bindRenderbuffer(int target, Renderbuffer renderbuffer) native ;
|
|
|
| @DomName('WebGLRenderingContext.bindTexture')
|
| @DocsEditable()
|
| - void bindTexture(int target, Texture texture) native;
|
| + void bindTexture(int target, Texture texture) native ;
|
|
|
| @DomName('WebGLRenderingContext.blendColor')
|
| @DocsEditable()
|
| - void blendColor(num red, num green, num blue, num alpha) native;
|
| + void blendColor(num red, num green, num blue, num alpha) native ;
|
|
|
| @DomName('WebGLRenderingContext.blendEquation')
|
| @DocsEditable()
|
| - void blendEquation(int mode) native;
|
| + void blendEquation(int mode) native ;
|
|
|
| @DomName('WebGLRenderingContext.blendEquationSeparate')
|
| @DocsEditable()
|
| - void blendEquationSeparate(int modeRGB, int modeAlpha) native;
|
| + void blendEquationSeparate(int modeRGB, int modeAlpha) native ;
|
|
|
| @DomName('WebGLRenderingContext.blendFunc')
|
| @DocsEditable()
|
| - void blendFunc(int sfactor, int dfactor) native;
|
| + void blendFunc(int sfactor, int dfactor) native ;
|
|
|
| @DomName('WebGLRenderingContext.blendFuncSeparate')
|
| @DocsEditable()
|
| - void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) native;
|
| + void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha)
|
| + native ;
|
|
|
| @DomName('WebGLRenderingContext.bufferData')
|
| @DocsEditable()
|
| - void bufferData(int target, data_OR_size, int usage) native;
|
| + void bufferData(int target, data_OR_size, int usage) native ;
|
|
|
| @DomName('WebGLRenderingContext.bufferSubData')
|
| @DocsEditable()
|
| - void bufferSubData(int target, int offset, data) native;
|
| + void bufferSubData(int target, int offset, data) native ;
|
|
|
| @DomName('WebGLRenderingContext.checkFramebufferStatus')
|
| @DocsEditable()
|
| - int checkFramebufferStatus(int target) native;
|
| + int checkFramebufferStatus(int target) native ;
|
|
|
| @DomName('WebGLRenderingContext.clear')
|
| @DocsEditable()
|
| - void clear(int mask) native;
|
| + void clear(int mask) native ;
|
|
|
| @DomName('WebGLRenderingContext.clearColor')
|
| @DocsEditable()
|
| - void clearColor(num red, num green, num blue, num alpha) native;
|
| + void clearColor(num red, num green, num blue, num alpha) native ;
|
|
|
| @DomName('WebGLRenderingContext.clearDepth')
|
| @DocsEditable()
|
| - void clearDepth(num depth) native;
|
| + void clearDepth(num depth) native ;
|
|
|
| @DomName('WebGLRenderingContext.clearStencil')
|
| @DocsEditable()
|
| - void clearStencil(int s) native;
|
| + void clearStencil(int s) native ;
|
|
|
| @DomName('WebGLRenderingContext.colorMask')
|
| @DocsEditable()
|
| - void colorMask(bool red, bool green, bool blue, bool alpha) native;
|
| + void colorMask(bool red, bool green, bool blue, bool alpha) native ;
|
|
|
| @DomName('WebGLRenderingContext.compileShader')
|
| @DocsEditable()
|
| - void compileShader(Shader shader) native;
|
| + void compileShader(Shader shader) native ;
|
|
|
| @DomName('WebGLRenderingContext.compressedTexImage2D')
|
| @DocsEditable()
|
| - void compressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, TypedData data) native;
|
| + void compressedTexImage2D(int target, int level, int internalformat,
|
| + int width, int height, int border, TypedData data) native ;
|
|
|
| @DomName('WebGLRenderingContext.compressedTexSubImage2D')
|
| @DocsEditable()
|
| - void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, TypedData data) native;
|
| + void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset,
|
| + int width, int height, int format, TypedData data) native ;
|
|
|
| @DomName('WebGLRenderingContext.copyTexImage2D')
|
| @DocsEditable()
|
| - void copyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border) native;
|
| + void copyTexImage2D(int target, int level, int internalformat, int x, int y,
|
| + int width, int height, int border) native ;
|
|
|
| @DomName('WebGLRenderingContext.copyTexSubImage2D')
|
| @DocsEditable()
|
| - void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) native;
|
| + void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
|
| + int y, int width, int height) native ;
|
|
|
| @DomName('WebGLRenderingContext.createBuffer')
|
| @DocsEditable()
|
| - Buffer createBuffer() native;
|
| + Buffer createBuffer() native ;
|
|
|
| @DomName('WebGLRenderingContext.createFramebuffer')
|
| @DocsEditable()
|
| - Framebuffer createFramebuffer() native;
|
| + Framebuffer createFramebuffer() native ;
|
|
|
| @DomName('WebGLRenderingContext.createProgram')
|
| @DocsEditable()
|
| - Program createProgram() native;
|
| + Program createProgram() native ;
|
|
|
| @DomName('WebGLRenderingContext.createRenderbuffer')
|
| @DocsEditable()
|
| - Renderbuffer createRenderbuffer() native;
|
| + Renderbuffer createRenderbuffer() native ;
|
|
|
| @DomName('WebGLRenderingContext.createShader')
|
| @DocsEditable()
|
| - Shader createShader(int type) native;
|
| + Shader createShader(int type) native ;
|
|
|
| @DomName('WebGLRenderingContext.createTexture')
|
| @DocsEditable()
|
| - Texture createTexture() native;
|
| + Texture createTexture() native ;
|
|
|
| @DomName('WebGLRenderingContext.cullFace')
|
| @DocsEditable()
|
| - void cullFace(int mode) native;
|
| + void cullFace(int mode) native ;
|
|
|
| @DomName('WebGLRenderingContext.deleteBuffer')
|
| @DocsEditable()
|
| - void deleteBuffer(Buffer buffer) native;
|
| + void deleteBuffer(Buffer buffer) native ;
|
|
|
| @DomName('WebGLRenderingContext.deleteFramebuffer')
|
| @DocsEditable()
|
| - void deleteFramebuffer(Framebuffer framebuffer) native;
|
| + void deleteFramebuffer(Framebuffer framebuffer) native ;
|
|
|
| @DomName('WebGLRenderingContext.deleteProgram')
|
| @DocsEditable()
|
| - void deleteProgram(Program program) native;
|
| + void deleteProgram(Program program) native ;
|
|
|
| @DomName('WebGLRenderingContext.deleteRenderbuffer')
|
| @DocsEditable()
|
| - void deleteRenderbuffer(Renderbuffer renderbuffer) native;
|
| + void deleteRenderbuffer(Renderbuffer renderbuffer) native ;
|
|
|
| @DomName('WebGLRenderingContext.deleteShader')
|
| @DocsEditable()
|
| - void deleteShader(Shader shader) native;
|
| + void deleteShader(Shader shader) native ;
|
|
|
| @DomName('WebGLRenderingContext.deleteTexture')
|
| @DocsEditable()
|
| - void deleteTexture(Texture texture) native;
|
| + void deleteTexture(Texture texture) native ;
|
|
|
| @DomName('WebGLRenderingContext.depthFunc')
|
| @DocsEditable()
|
| - void depthFunc(int func) native;
|
| + void depthFunc(int func) native ;
|
|
|
| @DomName('WebGLRenderingContext.depthMask')
|
| @DocsEditable()
|
| - void depthMask(bool flag) native;
|
| + void depthMask(bool flag) native ;
|
|
|
| @DomName('WebGLRenderingContext.depthRange')
|
| @DocsEditable()
|
| - void depthRange(num zNear, num zFar) native;
|
| + void depthRange(num zNear, num zFar) native ;
|
|
|
| @DomName('WebGLRenderingContext.detachShader')
|
| @DocsEditable()
|
| - void detachShader(Program program, Shader shader) native;
|
| + void detachShader(Program program, Shader shader) native ;
|
|
|
| @DomName('WebGLRenderingContext.disable')
|
| @DocsEditable()
|
| - void disable(int cap) native;
|
| + void disable(int cap) native ;
|
|
|
| @DomName('WebGLRenderingContext.disableVertexAttribArray')
|
| @DocsEditable()
|
| - void disableVertexAttribArray(int index) native;
|
| + void disableVertexAttribArray(int index) native ;
|
|
|
| @DomName('WebGLRenderingContext.drawArrays')
|
| @DocsEditable()
|
| - void drawArrays(int mode, int first, int count) native;
|
| + void drawArrays(int mode, int first, int count) native ;
|
|
|
| @DomName('WebGLRenderingContext.drawElements')
|
| @DocsEditable()
|
| - void drawElements(int mode, int count, int type, int offset) native;
|
| + void drawElements(int mode, int count, int type, int offset) native ;
|
|
|
| @DomName('WebGLRenderingContext.enable')
|
| @DocsEditable()
|
| - void enable(int cap) native;
|
| + void enable(int cap) native ;
|
|
|
| @DomName('WebGLRenderingContext.enableVertexAttribArray')
|
| @DocsEditable()
|
| - void enableVertexAttribArray(int index) native;
|
| + void enableVertexAttribArray(int index) native ;
|
|
|
| @DomName('WebGLRenderingContext.finish')
|
| @DocsEditable()
|
| - void finish() native;
|
| + void finish() native ;
|
|
|
| @DomName('WebGLRenderingContext.flush')
|
| @DocsEditable()
|
| - void flush() native;
|
| + void flush() native ;
|
|
|
| @DomName('WebGLRenderingContext.framebufferRenderbuffer')
|
| @DocsEditable()
|
| - void framebufferRenderbuffer(int target, int attachment, int renderbuffertarget, Renderbuffer renderbuffer) native;
|
| + void framebufferRenderbuffer(int target, int attachment,
|
| + int renderbuffertarget, Renderbuffer renderbuffer) native ;
|
|
|
| @DomName('WebGLRenderingContext.framebufferTexture2D')
|
| @DocsEditable()
|
| - void framebufferTexture2D(int target, int attachment, int textarget, Texture texture, int level) native;
|
| + void framebufferTexture2D(int target, int attachment, int textarget,
|
| + Texture texture, int level) native ;
|
|
|
| @DomName('WebGLRenderingContext.frontFace')
|
| @DocsEditable()
|
| - void frontFace(int mode) native;
|
| + void frontFace(int mode) native ;
|
|
|
| @DomName('WebGLRenderingContext.generateMipmap')
|
| @DocsEditable()
|
| - void generateMipmap(int target) native;
|
| + void generateMipmap(int target) native ;
|
|
|
| @DomName('WebGLRenderingContext.getActiveAttrib')
|
| @DocsEditable()
|
| - ActiveInfo getActiveAttrib(Program program, int index) native;
|
| + ActiveInfo getActiveAttrib(Program program, int index) native ;
|
|
|
| @DomName('WebGLRenderingContext.getActiveUniform')
|
| @DocsEditable()
|
| - ActiveInfo getActiveUniform(Program program, int index) native;
|
| + ActiveInfo getActiveUniform(Program program, int index) native ;
|
|
|
| @DomName('WebGLRenderingContext.getAttachedShaders')
|
| @DocsEditable()
|
| - List<Shader> getAttachedShaders(Program program) native;
|
| + List<Shader> getAttachedShaders(Program program) native ;
|
|
|
| @DomName('WebGLRenderingContext.getAttribLocation')
|
| @DocsEditable()
|
| - int getAttribLocation(Program program, String name) native;
|
| + int getAttribLocation(Program program, String name) native ;
|
|
|
| @DomName('WebGLRenderingContext.getBufferParameter')
|
| @DocsEditable()
|
| @Creates('int|Null')
|
| @Returns('int|Null')
|
| - Object getBufferParameter(int target, int pname) native;
|
| + Object getBufferParameter(int target, int pname) native ;
|
|
|
| @DomName('WebGLRenderingContext.getContextAttributes')
|
| @DocsEditable()
|
| @@ -2582,418 +2654,512 @@ class RenderingContext extends Interceptor implements CanvasRenderingContext {
|
| Map getContextAttributes() {
|
| return convertNativeToDart_Dictionary(_getContextAttributes_1());
|
| }
|
| +
|
| @JSName('getContextAttributes')
|
| @DomName('WebGLRenderingContext.getContextAttributes')
|
| @DocsEditable()
|
| @Creates('ContextAttributes|Null')
|
| - _getContextAttributes_1() native;
|
| + _getContextAttributes_1() native ;
|
|
|
| @DomName('WebGLRenderingContext.getError')
|
| @DocsEditable()
|
| - int getError() native;
|
| + int getError() native ;
|
|
|
| @DomName('WebGLRenderingContext.getExtension')
|
| @DocsEditable()
|
| - Object getExtension(String name) native;
|
| + Object getExtension(String name) native ;
|
|
|
| @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter')
|
| @DocsEditable()
|
| @Creates('int|Renderbuffer|Texture|Null')
|
| @Returns('int|Renderbuffer|Texture|Null')
|
| - Object getFramebufferAttachmentParameter(int target, int attachment, int pname) native;
|
| + Object getFramebufferAttachmentParameter(
|
| + int target, int attachment, int pname) native ;
|
|
|
| @DomName('WebGLRenderingContext.getParameter')
|
| @DocsEditable()
|
| - @Creates('Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|NativeUint32List|Framebuffer|Renderbuffer|Texture')
|
| - @Returns('Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|NativeUint32List|Framebuffer|Renderbuffer|Texture')
|
| - Object getParameter(int pname) native;
|
| + @Creates(
|
| + 'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|NativeUint32List|Framebuffer|Renderbuffer|Texture')
|
| + @Returns(
|
| + 'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|NativeUint32List|Framebuffer|Renderbuffer|Texture')
|
| + Object getParameter(int pname) native ;
|
|
|
| @DomName('WebGLRenderingContext.getProgramInfoLog')
|
| @DocsEditable()
|
| - String getProgramInfoLog(Program program) native;
|
| + String getProgramInfoLog(Program program) native ;
|
|
|
| @DomName('WebGLRenderingContext.getProgramParameter')
|
| @DocsEditable()
|
| @Creates('int|bool|Null')
|
| @Returns('int|bool|Null')
|
| - Object getProgramParameter(Program program, int pname) native;
|
| + Object getProgramParameter(Program program, int pname) native ;
|
|
|
| @DomName('WebGLRenderingContext.getRenderbufferParameter')
|
| @DocsEditable()
|
| @Creates('int|Null')
|
| @Returns('int|Null')
|
| - Object getRenderbufferParameter(int target, int pname) native;
|
| + Object getRenderbufferParameter(int target, int pname) native ;
|
|
|
| @DomName('WebGLRenderingContext.getShaderInfoLog')
|
| @DocsEditable()
|
| - String getShaderInfoLog(Shader shader) native;
|
| + String getShaderInfoLog(Shader shader) native ;
|
|
|
| @DomName('WebGLRenderingContext.getShaderParameter')
|
| @DocsEditable()
|
| @Creates('int|bool|Null')
|
| @Returns('int|bool|Null')
|
| - Object getShaderParameter(Shader shader, int pname) native;
|
| + Object getShaderParameter(Shader shader, int pname) native ;
|
|
|
| @DomName('WebGLRenderingContext.getShaderPrecisionFormat')
|
| @DocsEditable()
|
| - ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisiontype) native;
|
| + ShaderPrecisionFormat getShaderPrecisionFormat(
|
| + int shadertype, int precisiontype) native ;
|
|
|
| @DomName('WebGLRenderingContext.getShaderSource')
|
| @DocsEditable()
|
| - String getShaderSource(Shader shader) native;
|
| + String getShaderSource(Shader shader) native ;
|
|
|
| @DomName('WebGLRenderingContext.getSupportedExtensions')
|
| @DocsEditable()
|
| - List<String> getSupportedExtensions() native;
|
| + List<String> getSupportedExtensions() native ;
|
|
|
| @DomName('WebGLRenderingContext.getTexParameter')
|
| @DocsEditable()
|
| @Creates('int|Null')
|
| @Returns('int|Null')
|
| - Object getTexParameter(int target, int pname) native;
|
| + Object getTexParameter(int target, int pname) native ;
|
|
|
| @DomName('WebGLRenderingContext.getUniform')
|
| @DocsEditable()
|
| - @Creates('Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|NativeUint32List')
|
| - @Returns('Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|NativeUint32List')
|
| - Object getUniform(Program program, UniformLocation location) native;
|
| + @Creates(
|
| + 'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|NativeUint32List')
|
| + @Returns(
|
| + 'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|NativeUint32List')
|
| + Object getUniform(Program program, UniformLocation location) native ;
|
|
|
| @DomName('WebGLRenderingContext.getUniformLocation')
|
| @DocsEditable()
|
| - UniformLocation getUniformLocation(Program program, String name) native;
|
| + UniformLocation getUniformLocation(Program program, String name) native ;
|
|
|
| @DomName('WebGLRenderingContext.getVertexAttrib')
|
| @DocsEditable()
|
| @Creates('Null|num|bool|NativeFloat32List|Buffer')
|
| @Returns('Null|num|bool|NativeFloat32List|Buffer')
|
| - Object getVertexAttrib(int index, int pname) native;
|
| + Object getVertexAttrib(int index, int pname) native ;
|
|
|
| @DomName('WebGLRenderingContext.getVertexAttribOffset')
|
| @DocsEditable()
|
| - int getVertexAttribOffset(int index, int pname) native;
|
| + int getVertexAttribOffset(int index, int pname) native ;
|
|
|
| @DomName('WebGLRenderingContext.hint')
|
| @DocsEditable()
|
| - void hint(int target, int mode) native;
|
| + void hint(int target, int mode) native ;
|
|
|
| @DomName('WebGLRenderingContext.isBuffer')
|
| @DocsEditable()
|
| - bool isBuffer(Buffer buffer) native;
|
| + bool isBuffer(Buffer buffer) native ;
|
|
|
| @DomName('WebGLRenderingContext.isContextLost')
|
| @DocsEditable()
|
| - bool isContextLost() native;
|
| + bool isContextLost() native ;
|
|
|
| @DomName('WebGLRenderingContext.isEnabled')
|
| @DocsEditable()
|
| - bool isEnabled(int cap) native;
|
| + bool isEnabled(int cap) native ;
|
|
|
| @DomName('WebGLRenderingContext.isFramebuffer')
|
| @DocsEditable()
|
| - bool isFramebuffer(Framebuffer framebuffer) native;
|
| + bool isFramebuffer(Framebuffer framebuffer) native ;
|
|
|
| @DomName('WebGLRenderingContext.isProgram')
|
| @DocsEditable()
|
| - bool isProgram(Program program) native;
|
| + bool isProgram(Program program) native ;
|
|
|
| @DomName('WebGLRenderingContext.isRenderbuffer')
|
| @DocsEditable()
|
| - bool isRenderbuffer(Renderbuffer renderbuffer) native;
|
| + bool isRenderbuffer(Renderbuffer renderbuffer) native ;
|
|
|
| @DomName('WebGLRenderingContext.isShader')
|
| @DocsEditable()
|
| - bool isShader(Shader shader) native;
|
| + bool isShader(Shader shader) native ;
|
|
|
| @DomName('WebGLRenderingContext.isTexture')
|
| @DocsEditable()
|
| - bool isTexture(Texture texture) native;
|
| + bool isTexture(Texture texture) native ;
|
|
|
| @DomName('WebGLRenderingContext.lineWidth')
|
| @DocsEditable()
|
| - void lineWidth(num width) native;
|
| + void lineWidth(num width) native ;
|
|
|
| @DomName('WebGLRenderingContext.linkProgram')
|
| @DocsEditable()
|
| - void linkProgram(Program program) native;
|
| + void linkProgram(Program program) native ;
|
|
|
| @DomName('WebGLRenderingContext.pixelStorei')
|
| @DocsEditable()
|
| - void pixelStorei(int pname, int param) native;
|
| + void pixelStorei(int pname, int param) native ;
|
|
|
| @DomName('WebGLRenderingContext.polygonOffset')
|
| @DocsEditable()
|
| - void polygonOffset(num factor, num units) native;
|
| + void polygonOffset(num factor, num units) native ;
|
|
|
| @DomName('WebGLRenderingContext.readPixels')
|
| @DocsEditable()
|
| - void readPixels(int x, int y, int width, int height, int format, int type, TypedData pixels) native;
|
| + void readPixels(int x, int y, int width, int height, int format, int type,
|
| + TypedData pixels) native ;
|
|
|
| @DomName('WebGLRenderingContext.renderbufferStorage')
|
| @DocsEditable()
|
| - void renderbufferStorage(int target, int internalformat, int width, int height) native;
|
| + void renderbufferStorage(
|
| + int target, int internalformat, int width, int height) native ;
|
|
|
| @DomName('WebGLRenderingContext.sampleCoverage')
|
| @DocsEditable()
|
| - void sampleCoverage(num value, bool invert) native;
|
| + void sampleCoverage(num value, bool invert) native ;
|
|
|
| @DomName('WebGLRenderingContext.scissor')
|
| @DocsEditable()
|
| - void scissor(int x, int y, int width, int height) native;
|
| + void scissor(int x, int y, int width, int height) native ;
|
|
|
| @DomName('WebGLRenderingContext.shaderSource')
|
| @DocsEditable()
|
| - void shaderSource(Shader shader, String string) native;
|
| + void shaderSource(Shader shader, String string) native ;
|
|
|
| @DomName('WebGLRenderingContext.stencilFunc')
|
| @DocsEditable()
|
| - void stencilFunc(int func, int ref, int mask) native;
|
| + void stencilFunc(int func, int ref, int mask) native ;
|
|
|
| @DomName('WebGLRenderingContext.stencilFuncSeparate')
|
| @DocsEditable()
|
| - void stencilFuncSeparate(int face, int func, int ref, int mask) native;
|
| + void stencilFuncSeparate(int face, int func, int ref, int mask) native ;
|
|
|
| @DomName('WebGLRenderingContext.stencilMask')
|
| @DocsEditable()
|
| - void stencilMask(int mask) native;
|
| + void stencilMask(int mask) native ;
|
|
|
| @DomName('WebGLRenderingContext.stencilMaskSeparate')
|
| @DocsEditable()
|
| - void stencilMaskSeparate(int face, int mask) native;
|
| + void stencilMaskSeparate(int face, int mask) native ;
|
|
|
| @DomName('WebGLRenderingContext.stencilOp')
|
| @DocsEditable()
|
| - void stencilOp(int fail, int zfail, int zpass) native;
|
| + void stencilOp(int fail, int zfail, int zpass) native ;
|
|
|
| @DomName('WebGLRenderingContext.stencilOpSeparate')
|
| @DocsEditable()
|
| - void stencilOpSeparate(int face, int fail, int zfail, int zpass) native;
|
| + void stencilOpSeparate(int face, int fail, int zfail, int zpass) native ;
|
|
|
| @DomName('WebGLRenderingContext.texImage2D')
|
| @DocsEditable()
|
| - void texImage2D(int target, int level, int internalformat, int format_OR_width, int height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, [int format, int type, TypedData pixels]) {
|
| - if (type != null && format != null && (border_OR_canvas_OR_image_OR_pixels_OR_video is int)) {
|
| - _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels);
|
| + void texImage2D(
|
| + int target,
|
| + int level,
|
| + int internalformat,
|
| + int format_OR_width,
|
| + int height_OR_type,
|
| + border_OR_canvas_OR_image_OR_pixels_OR_video,
|
| + [int format,
|
| + int type,
|
| + TypedData pixels]) {
|
| + if (type != null &&
|
| + format != null &&
|
| + (border_OR_canvas_OR_image_OR_pixels_OR_video is int)) {
|
| + _texImage2D_1(
|
| + target,
|
| + level,
|
| + internalformat,
|
| + format_OR_width,
|
| + height_OR_type,
|
| + border_OR_canvas_OR_image_OR_pixels_OR_video,
|
| + format,
|
| + type,
|
| + pixels);
|
| return;
|
| }
|
| - if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_canvas_OR_image_OR_pixels_OR_video == null) && format == null && type == null && pixels == null) {
|
| - var pixels_1 = convertDartToNative_ImageData(border_OR_canvas_OR_image_OR_pixels_OR_video);
|
| - _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_type, pixels_1);
|
| + if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData ||
|
| + border_OR_canvas_OR_image_OR_pixels_OR_video == null) &&
|
| + format == null &&
|
| + type == null &&
|
| + pixels == null) {
|
| + var pixels_1 = convertDartToNative_ImageData(
|
| + border_OR_canvas_OR_image_OR_pixels_OR_video);
|
| + _texImage2D_2(target, level, internalformat, format_OR_width,
|
| + height_OR_type, pixels_1);
|
| return;
|
| }
|
| - if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement) && format == null && type == null && pixels == null) {
|
| - _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
|
| + if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement) &&
|
| + format == null &&
|
| + type == null &&
|
| + pixels == null) {
|
| + _texImage2D_3(target, level, internalformat, format_OR_width,
|
| + height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
|
| return;
|
| }
|
| - if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement) && format == null && type == null && pixels == null) {
|
| - _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
|
| + if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement) &&
|
| + format == null &&
|
| + type == null &&
|
| + pixels == null) {
|
| + _texImage2D_4(target, level, internalformat, format_OR_width,
|
| + height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
|
| return;
|
| }
|
| - if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement) && format == null && type == null && pixels == null) {
|
| - _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
|
| + if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement) &&
|
| + format == null &&
|
| + type == null &&
|
| + pixels == null) {
|
| + _texImage2D_5(target, level, internalformat, format_OR_width,
|
| + height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
|
| return;
|
| }
|
| throw new ArgumentError("Incorrect number or type of arguments");
|
| }
|
| +
|
| @JSName('texImage2D')
|
| @DomName('WebGLRenderingContext.texImage2D')
|
| @DocsEditable()
|
| - void _texImage2D_1(target, level, internalformat, width, height, int border, format, type, TypedData pixels) native;
|
| + void _texImage2D_1(target, level, internalformat, width, height, int border,
|
| + format, type, TypedData pixels) native ;
|
| @JSName('texImage2D')
|
| @DomName('WebGLRenderingContext.texImage2D')
|
| @DocsEditable()
|
| - void _texImage2D_2(target, level, internalformat, format, type, pixels) native;
|
| + void _texImage2D_2(target, level, internalformat, format, type, pixels)
|
| + native ;
|
| @JSName('texImage2D')
|
| @DomName('WebGLRenderingContext.texImage2D')
|
| @DocsEditable()
|
| - void _texImage2D_3(target, level, internalformat, format, type, ImageElement image) native;
|
| + void _texImage2D_3(
|
| + target, level, internalformat, format, type, ImageElement image) native ;
|
| @JSName('texImage2D')
|
| @DomName('WebGLRenderingContext.texImage2D')
|
| @DocsEditable()
|
| - void _texImage2D_4(target, level, internalformat, format, type, CanvasElement canvas) native;
|
| + void _texImage2D_4(target, level, internalformat, format, type,
|
| + CanvasElement canvas) native ;
|
| @JSName('texImage2D')
|
| @DomName('WebGLRenderingContext.texImage2D')
|
| @DocsEditable()
|
| - void _texImage2D_5(target, level, internalformat, format, type, VideoElement video) native;
|
| + void _texImage2D_5(
|
| + target, level, internalformat, format, type, VideoElement video) native ;
|
|
|
| @DomName('WebGLRenderingContext.texParameterf')
|
| @DocsEditable()
|
| - void texParameterf(int target, int pname, num param) native;
|
| + void texParameterf(int target, int pname, num param) native ;
|
|
|
| @DomName('WebGLRenderingContext.texParameteri')
|
| @DocsEditable()
|
| - void texParameteri(int target, int pname, int param) native;
|
| + void texParameteri(int target, int pname, int param) native ;
|
|
|
| @DomName('WebGLRenderingContext.texSubImage2D')
|
| @DocsEditable()
|
| - void texSubImage2D(int target, int level, int xoffset, int yoffset, int format_OR_width, int height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [int type, TypedData pixels]) {
|
| + void texSubImage2D(
|
| + int target,
|
| + int level,
|
| + int xoffset,
|
| + int yoffset,
|
| + int format_OR_width,
|
| + int height_OR_type,
|
| + canvas_OR_format_OR_image_OR_pixels_OR_video,
|
| + [int type,
|
| + TypedData pixels]) {
|
| if (type != null && (canvas_OR_format_OR_image_OR_pixels_OR_video is int)) {
|
| - _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels);
|
| + _texSubImage2D_1(
|
| + target,
|
| + level,
|
| + xoffset,
|
| + yoffset,
|
| + format_OR_width,
|
| + height_OR_type,
|
| + canvas_OR_format_OR_image_OR_pixels_OR_video,
|
| + type,
|
| + pixels);
|
| return;
|
| }
|
| - if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || canvas_OR_format_OR_image_OR_pixels_OR_video == null) && type == null && pixels == null) {
|
| - var pixels_1 = convertDartToNative_ImageData(canvas_OR_format_OR_image_OR_pixels_OR_video);
|
| - _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height_OR_type, pixels_1);
|
| + if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData ||
|
| + canvas_OR_format_OR_image_OR_pixels_OR_video == null) &&
|
| + type == null &&
|
| + pixels == null) {
|
| + var pixels_1 = convertDartToNative_ImageData(
|
| + canvas_OR_format_OR_image_OR_pixels_OR_video);
|
| + _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width,
|
| + height_OR_type, pixels_1);
|
| return;
|
| }
|
| - if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement) && type == null && pixels == null) {
|
| - _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
|
| + if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement) &&
|
| + type == null &&
|
| + pixels == null) {
|
| + _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width,
|
| + height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
|
| return;
|
| }
|
| - if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement) && type == null && pixels == null) {
|
| - _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
|
| + if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement) &&
|
| + type == null &&
|
| + pixels == null) {
|
| + _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width,
|
| + height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
|
| return;
|
| }
|
| - if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement) && type == null && pixels == null) {
|
| - _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
|
| + if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement) &&
|
| + type == null &&
|
| + pixels == null) {
|
| + _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width,
|
| + height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
|
| return;
|
| }
|
| throw new ArgumentError("Incorrect number or type of arguments");
|
| }
|
| +
|
| @JSName('texSubImage2D')
|
| @DomName('WebGLRenderingContext.texSubImage2D')
|
| @DocsEditable()
|
| - void _texSubImage2D_1(target, level, xoffset, yoffset, width, height, int format, type, TypedData pixels) native;
|
| + void _texSubImage2D_1(target, level, xoffset, yoffset, width, height,
|
| + int format, type, TypedData pixels) native ;
|
| @JSName('texSubImage2D')
|
| @DomName('WebGLRenderingContext.texSubImage2D')
|
| @DocsEditable()
|
| - void _texSubImage2D_2(target, level, xoffset, yoffset, format, type, pixels) native;
|
| + void _texSubImage2D_2(target, level, xoffset, yoffset, format, type, pixels)
|
| + native ;
|
| @JSName('texSubImage2D')
|
| @DomName('WebGLRenderingContext.texSubImage2D')
|
| @DocsEditable()
|
| - void _texSubImage2D_3(target, level, xoffset, yoffset, format, type, ImageElement image) native;
|
| + void _texSubImage2D_3(target, level, xoffset, yoffset, format, type,
|
| + ImageElement image) native ;
|
| @JSName('texSubImage2D')
|
| @DomName('WebGLRenderingContext.texSubImage2D')
|
| @DocsEditable()
|
| - void _texSubImage2D_4(target, level, xoffset, yoffset, format, type, CanvasElement canvas) native;
|
| + void _texSubImage2D_4(target, level, xoffset, yoffset, format, type,
|
| + CanvasElement canvas) native ;
|
| @JSName('texSubImage2D')
|
| @DomName('WebGLRenderingContext.texSubImage2D')
|
| @DocsEditable()
|
| - void _texSubImage2D_5(target, level, xoffset, yoffset, format, type, VideoElement video) native;
|
| + void _texSubImage2D_5(target, level, xoffset, yoffset, format, type,
|
| + VideoElement video) native ;
|
|
|
| @DomName('WebGLRenderingContext.uniform1f')
|
| @DocsEditable()
|
| - void uniform1f(UniformLocation location, num x) native;
|
| + void uniform1f(UniformLocation location, num x) native ;
|
|
|
| @DomName('WebGLRenderingContext.uniform1fv')
|
| @DocsEditable()
|
| - void uniform1fv(UniformLocation location, v) native;
|
| + void uniform1fv(UniformLocation location, v) native ;
|
|
|
| @DomName('WebGLRenderingContext.uniform1i')
|
| @DocsEditable()
|
| - void uniform1i(UniformLocation location, int x) native;
|
| + void uniform1i(UniformLocation location, int x) native ;
|
|
|
| @DomName('WebGLRenderingContext.uniform1iv')
|
| @DocsEditable()
|
| - void uniform1iv(UniformLocation location, v) native;
|
| + void uniform1iv(UniformLocation location, v) native ;
|
|
|
| @DomName('WebGLRenderingContext.uniform2f')
|
| @DocsEditable()
|
| - void uniform2f(UniformLocation location, num x, num y) native;
|
| + void uniform2f(UniformLocation location, num x, num y) native ;
|
|
|
| @DomName('WebGLRenderingContext.uniform2fv')
|
| @DocsEditable()
|
| - void uniform2fv(UniformLocation location, v) native;
|
| + void uniform2fv(UniformLocation location, v) native ;
|
|
|
| @DomName('WebGLRenderingContext.uniform2i')
|
| @DocsEditable()
|
| - void uniform2i(UniformLocation location, int x, int y) native;
|
| + void uniform2i(UniformLocation location, int x, int y) native ;
|
|
|
| @DomName('WebGLRenderingContext.uniform2iv')
|
| @DocsEditable()
|
| - void uniform2iv(UniformLocation location, v) native;
|
| + void uniform2iv(UniformLocation location, v) native ;
|
|
|
| @DomName('WebGLRenderingContext.uniform3f')
|
| @DocsEditable()
|
| - void uniform3f(UniformLocation location, num x, num y, num z) native;
|
| + void uniform3f(UniformLocation location, num x, num y, num z) native ;
|
|
|
| @DomName('WebGLRenderingContext.uniform3fv')
|
| @DocsEditable()
|
| - void uniform3fv(UniformLocation location, v) native;
|
| + void uniform3fv(UniformLocation location, v) native ;
|
|
|
| @DomName('WebGLRenderingContext.uniform3i')
|
| @DocsEditable()
|
| - void uniform3i(UniformLocation location, int x, int y, int z) native;
|
| + void uniform3i(UniformLocation location, int x, int y, int z) native ;
|
|
|
| @DomName('WebGLRenderingContext.uniform3iv')
|
| @DocsEditable()
|
| - void uniform3iv(UniformLocation location, v) native;
|
| + void uniform3iv(UniformLocation location, v) native ;
|
|
|
| @DomName('WebGLRenderingContext.uniform4f')
|
| @DocsEditable()
|
| - void uniform4f(UniformLocation location, num x, num y, num z, num w) native;
|
| + void uniform4f(UniformLocation location, num x, num y, num z, num w) native ;
|
|
|
| @DomName('WebGLRenderingContext.uniform4fv')
|
| @DocsEditable()
|
| - void uniform4fv(UniformLocation location, v) native;
|
| + void uniform4fv(UniformLocation location, v) native ;
|
|
|
| @DomName('WebGLRenderingContext.uniform4i')
|
| @DocsEditable()
|
| - void uniform4i(UniformLocation location, int x, int y, int z, int w) native;
|
| + void uniform4i(UniformLocation location, int x, int y, int z, int w) native ;
|
|
|
| @DomName('WebGLRenderingContext.uniform4iv')
|
| @DocsEditable()
|
| - void uniform4iv(UniformLocation location, v) native;
|
| + void uniform4iv(UniformLocation location, v) native ;
|
|
|
| @DomName('WebGLRenderingContext.uniformMatrix2fv')
|
| @DocsEditable()
|
| - void uniformMatrix2fv(UniformLocation location, bool transpose, array) native;
|
| + void uniformMatrix2fv(UniformLocation location, bool transpose, array)
|
| + native ;
|
|
|
| @DomName('WebGLRenderingContext.uniformMatrix3fv')
|
| @DocsEditable()
|
| - void uniformMatrix3fv(UniformLocation location, bool transpose, array) native;
|
| + void uniformMatrix3fv(UniformLocation location, bool transpose, array)
|
| + native ;
|
|
|
| @DomName('WebGLRenderingContext.uniformMatrix4fv')
|
| @DocsEditable()
|
| - void uniformMatrix4fv(UniformLocation location, bool transpose, array) native;
|
| + void uniformMatrix4fv(UniformLocation location, bool transpose, array)
|
| + native ;
|
|
|
| @DomName('WebGLRenderingContext.useProgram')
|
| @DocsEditable()
|
| - void useProgram(Program program) native;
|
| + void useProgram(Program program) native ;
|
|
|
| @DomName('WebGLRenderingContext.validateProgram')
|
| @DocsEditable()
|
| - void validateProgram(Program program) native;
|
| + void validateProgram(Program program) native ;
|
|
|
| @DomName('WebGLRenderingContext.vertexAttrib1f')
|
| @DocsEditable()
|
| - void vertexAttrib1f(int indx, num x) native;
|
| + void vertexAttrib1f(int indx, num x) native ;
|
|
|
| @DomName('WebGLRenderingContext.vertexAttrib1fv')
|
| @DocsEditable()
|
| - void vertexAttrib1fv(int indx, values) native;
|
| + void vertexAttrib1fv(int indx, values) native ;
|
|
|
| @DomName('WebGLRenderingContext.vertexAttrib2f')
|
| @DocsEditable()
|
| - void vertexAttrib2f(int indx, num x, num y) native;
|
| + void vertexAttrib2f(int indx, num x, num y) native ;
|
|
|
| @DomName('WebGLRenderingContext.vertexAttrib2fv')
|
| @DocsEditable()
|
| - void vertexAttrib2fv(int indx, values) native;
|
| + void vertexAttrib2fv(int indx, values) native ;
|
|
|
| @DomName('WebGLRenderingContext.vertexAttrib3f')
|
| @DocsEditable()
|
| - void vertexAttrib3f(int indx, num x, num y, num z) native;
|
| + void vertexAttrib3f(int indx, num x, num y, num z) native ;
|
|
|
| @DomName('WebGLRenderingContext.vertexAttrib3fv')
|
| @DocsEditable()
|
| - void vertexAttrib3fv(int indx, values) native;
|
| + void vertexAttrib3fv(int indx, values) native ;
|
|
|
| @DomName('WebGLRenderingContext.vertexAttrib4f')
|
| @DocsEditable()
|
| - void vertexAttrib4f(int indx, num x, num y, num z, num w) native;
|
| + void vertexAttrib4f(int indx, num x, num y, num z, num w) native ;
|
|
|
| @DomName('WebGLRenderingContext.vertexAttrib4fv')
|
| @DocsEditable()
|
| - void vertexAttrib4fv(int indx, values) native;
|
| + void vertexAttrib4fv(int indx, values) native ;
|
|
|
| @DomName('WebGLRenderingContext.vertexAttribPointer')
|
| @DocsEditable()
|
| - void vertexAttribPointer(int indx, int size, int type, bool normalized, int stride, int offset) native;
|
| + void vertexAttribPointer(int indx, int size, int type, bool normalized,
|
| + int stride, int offset) native ;
|
|
|
| @DomName('WebGLRenderingContext.viewport')
|
| @DocsEditable()
|
| - void viewport(int x, int y, int width, int height) native;
|
| -
|
| + void viewport(int x, int y, int width, int height) native ;
|
|
|
| /**
|
| * Sets the currently bound texture to [data].
|
| @@ -3006,7 +3172,8 @@ class RenderingContext extends Interceptor implements CanvasRenderingContext {
|
| @Deprecated("Use texImage2D")
|
| void texImage2DUntyped(int targetTexture, int levelOfDetail,
|
| int internalFormat, int format, int type, data) {
|
| - texImage2D(targetTexture, levelOfDetail, internalFormat, format, type, data);
|
| + texImage2D(
|
| + targetTexture, levelOfDetail, internalFormat, format, type, data);
|
| }
|
|
|
| /**
|
| @@ -3017,8 +3184,8 @@ class RenderingContext extends Interceptor implements CanvasRenderingContext {
|
| @Deprecated("Use texImage2D")
|
| void texImage2DTyped(int targetTexture, int levelOfDetail, int internalFormat,
|
| int width, int height, int border, int format, int type, TypedData data) {
|
| - texImage2D(targetTexture, levelOfDetail, internalFormat,
|
| - width, height, border, format, type, data);
|
| + texImage2D(targetTexture, levelOfDetail, internalFormat, width, height,
|
| + border, format, type, data);
|
| }
|
|
|
| /**
|
| @@ -3029,21 +3196,29 @@ class RenderingContext extends Interceptor implements CanvasRenderingContext {
|
| *
|
| */
|
| @Deprecated("Use texSubImage2D")
|
| - void texSubImage2DUntyped(int targetTexture, int levelOfDetail,
|
| - int xOffset, int yOffset, int format, int type, data) {
|
| - texSubImage2D(targetTexture, levelOfDetail, xOffset, yOffset,
|
| - format, type, data);
|
| + void texSubImage2DUntyped(int targetTexture, int levelOfDetail, int xOffset,
|
| + int yOffset, int format, int type, data) {
|
| + texSubImage2D(
|
| + targetTexture, levelOfDetail, xOffset, yOffset, format, type, data);
|
| }
|
|
|
| /**
|
| * Updates a sub-rectangle of the currently bound texture to [data].
|
| */
|
| @Deprecated("Use texSubImage2D")
|
| - void texSubImage2DTyped(int targetTexture, int levelOfDetail,
|
| - int xOffset, int yOffset, int width, int height, int border, int format,
|
| - int type, TypedData data) {
|
| - texSubImage2D(targetTexture, levelOfDetail, xOffset, yOffset,
|
| - width, height, format, type, data);
|
| + void texSubImage2DTyped(
|
| + int targetTexture,
|
| + int levelOfDetail,
|
| + int xOffset,
|
| + int yOffset,
|
| + int width,
|
| + int height,
|
| + int border,
|
| + int format,
|
| + int type,
|
| + TypedData data) {
|
| + texSubImage2D(targetTexture, levelOfDetail, xOffset, yOffset, width, height,
|
| + format, type, data);
|
| }
|
|
|
| /**
|
| @@ -3066,14 +3241,16 @@ class RenderingContext extends Interceptor implements CanvasRenderingContext {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGL2RenderingContext')
|
| @Experimental() // untriaged
|
| @Native("WebGL2RenderingContext")
|
| -class RenderingContext2 extends Interceptor implements _WebGL2RenderingContextBase, _WebGLRenderingContextBase {
|
| +class RenderingContext2 extends Interceptor
|
| + implements _WebGL2RenderingContextBase, _WebGLRenderingContextBase {
|
| // To suppress missing implicit constructor warnings.
|
| - factory RenderingContext2._() { throw new UnsupportedError("Not supported"); }
|
| + factory RenderingContext2._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
|
|
| @DomName('WebGL2RenderingContext.ACTIVE_ATTRIBUTES')
|
| @DocsEditable()
|
| @@ -3480,7 +3657,8 @@ class RenderingContext2 extends Interceptor implements _WebGL2RenderingContextBa
|
| @Experimental() // untriaged
|
| static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0;
|
|
|
| - @DomName('WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE')
|
| + @DomName(
|
| + 'WebGL2RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3;
|
| @@ -4565,237 +4743,262 @@ class RenderingContext2 extends Interceptor implements _WebGL2RenderingContextBa
|
| @DomName('WebGL2RenderingContext.beginQuery')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void beginQuery(int target, Query query) native;
|
| + void beginQuery(int target, Query query) native ;
|
|
|
| @DomName('WebGL2RenderingContext.beginTransformFeedback')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void beginTransformFeedback(int primitiveMode) native;
|
| + void beginTransformFeedback(int primitiveMode) native ;
|
|
|
| @DomName('WebGL2RenderingContext.bindBufferBase')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void bindBufferBase(int target, int index, Buffer buffer) native;
|
| + void bindBufferBase(int target, int index, Buffer buffer) native ;
|
|
|
| @DomName('WebGL2RenderingContext.bindBufferRange')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void bindBufferRange(int target, int index, Buffer buffer, int offset, int size) native;
|
| + void bindBufferRange(
|
| + int target, int index, Buffer buffer, int offset, int size) native ;
|
|
|
| @DomName('WebGL2RenderingContext.bindSampler')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void bindSampler(int unit, Sampler sampler) native;
|
| + void bindSampler(int unit, Sampler sampler) native ;
|
|
|
| @DomName('WebGL2RenderingContext.bindTransformFeedback')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void bindTransformFeedback(int target, TransformFeedback feedback) native;
|
| + void bindTransformFeedback(int target, TransformFeedback feedback) native ;
|
|
|
| @DomName('WebGL2RenderingContext.bindVertexArray')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void bindVertexArray(VertexArrayObject vertexArray) native;
|
| + void bindVertexArray(VertexArrayObject vertexArray) native ;
|
|
|
| @DomName('WebGL2RenderingContext.blitFramebuffer')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void blitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter) native;
|
| + void blitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0,
|
| + int dstY0, int dstX1, int dstY1, int mask, int filter) native ;
|
|
|
| @DomName('WebGL2RenderingContext.clearBufferfi')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void clearBufferfi(int buffer, int drawbuffer, num depth, int stencil) native;
|
| + void clearBufferfi(int buffer, int drawbuffer, num depth, int stencil)
|
| + native ;
|
|
|
| @DomName('WebGL2RenderingContext.clearBufferfv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void clearBufferfv(int buffer, int drawbuffer, value) native;
|
| + void clearBufferfv(int buffer, int drawbuffer, value) native ;
|
|
|
| @DomName('WebGL2RenderingContext.clearBufferiv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void clearBufferiv(int buffer, int drawbuffer, value) native;
|
| + void clearBufferiv(int buffer, int drawbuffer, value) native ;
|
|
|
| @DomName('WebGL2RenderingContext.clearBufferuiv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void clearBufferuiv(int buffer, int drawbuffer, value) native;
|
| + void clearBufferuiv(int buffer, int drawbuffer, value) native ;
|
|
|
| @DomName('WebGL2RenderingContext.clientWaitSync')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - int clientWaitSync(Sync sync, int flags, int timeout) native;
|
| + int clientWaitSync(Sync sync, int flags, int timeout) native ;
|
|
|
| @DomName('WebGL2RenderingContext.compressedTexImage3D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void compressedTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, TypedData data) native;
|
| + void compressedTexImage3D(int target, int level, int internalformat,
|
| + int width, int height, int depth, int border, TypedData data) native ;
|
|
|
| @DomName('WebGL2RenderingContext.compressedTexSubImage3D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void compressedTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, TypedData data) native;
|
| + void compressedTexSubImage3D(
|
| + int target,
|
| + int level,
|
| + int xoffset,
|
| + int yoffset,
|
| + int zoffset,
|
| + int width,
|
| + int height,
|
| + int depth,
|
| + int format,
|
| + TypedData data) native ;
|
|
|
| @DomName('WebGL2RenderingContext.copyBufferSubData')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void copyBufferSubData(int readTarget, int writeTarget, int readOffset, int writeOffset, int size) native;
|
| + void copyBufferSubData(int readTarget, int writeTarget, int readOffset,
|
| + int writeOffset, int size) native ;
|
|
|
| @DomName('WebGL2RenderingContext.copyTexSubImage3D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void copyTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height) native;
|
| + void copyTexSubImage3D(int target, int level, int xoffset, int yoffset,
|
| + int zoffset, int x, int y, int width, int height) native ;
|
|
|
| @DomName('WebGL2RenderingContext.createQuery')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Query createQuery() native;
|
| + Query createQuery() native ;
|
|
|
| @DomName('WebGL2RenderingContext.createSampler')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Sampler createSampler() native;
|
| + Sampler createSampler() native ;
|
|
|
| @DomName('WebGL2RenderingContext.createTransformFeedback')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - TransformFeedback createTransformFeedback() native;
|
| + TransformFeedback createTransformFeedback() native ;
|
|
|
| @DomName('WebGL2RenderingContext.createVertexArray')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - VertexArrayObject createVertexArray() native;
|
| + VertexArrayObject createVertexArray() native ;
|
|
|
| @DomName('WebGL2RenderingContext.deleteQuery')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void deleteQuery(Query query) native;
|
| + void deleteQuery(Query query) native ;
|
|
|
| @DomName('WebGL2RenderingContext.deleteSampler')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void deleteSampler(Sampler sampler) native;
|
| + void deleteSampler(Sampler sampler) native ;
|
|
|
| @DomName('WebGL2RenderingContext.deleteSync')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void deleteSync(Sync sync) native;
|
| + void deleteSync(Sync sync) native ;
|
|
|
| @DomName('WebGL2RenderingContext.deleteTransformFeedback')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void deleteTransformFeedback(TransformFeedback feedback) native;
|
| + void deleteTransformFeedback(TransformFeedback feedback) native ;
|
|
|
| @DomName('WebGL2RenderingContext.deleteVertexArray')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void deleteVertexArray(VertexArrayObject vertexArray) native;
|
| + void deleteVertexArray(VertexArrayObject vertexArray) native ;
|
|
|
| @DomName('WebGL2RenderingContext.drawArraysInstanced')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void drawArraysInstanced(int mode, int first, int count, int instanceCount) native;
|
| + void drawArraysInstanced(int mode, int first, int count, int instanceCount)
|
| + native ;
|
|
|
| @DomName('WebGL2RenderingContext.drawBuffers')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void drawBuffers(List<int> buffers) native;
|
| + void drawBuffers(List<int> buffers) native ;
|
|
|
| @DomName('WebGL2RenderingContext.drawElementsInstanced')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void drawElementsInstanced(int mode, int count, int type, int offset, int instanceCount) native;
|
| + void drawElementsInstanced(
|
| + int mode, int count, int type, int offset, int instanceCount) native ;
|
|
|
| @DomName('WebGL2RenderingContext.drawRangeElements')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void drawRangeElements(int mode, int start, int end, int count, int type, int offset) native;
|
| + void drawRangeElements(
|
| + int mode, int start, int end, int count, int type, int offset) native ;
|
|
|
| @DomName('WebGL2RenderingContext.endQuery')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void endQuery(int target) native;
|
| + void endQuery(int target) native ;
|
|
|
| @DomName('WebGL2RenderingContext.endTransformFeedback')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void endTransformFeedback() native;
|
| + void endTransformFeedback() native ;
|
|
|
| @DomName('WebGL2RenderingContext.fenceSync')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Sync fenceSync(int condition, int flags) native;
|
| + Sync fenceSync(int condition, int flags) native ;
|
|
|
| @DomName('WebGL2RenderingContext.framebufferTextureLayer')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void framebufferTextureLayer(int target, int attachment, Texture texture, int level, int layer) native;
|
| + void framebufferTextureLayer(int target, int attachment, Texture texture,
|
| + int level, int layer) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getActiveUniformBlockName')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - String getActiveUniformBlockName(Program program, int uniformBlockIndex) native;
|
| + String getActiveUniformBlockName(Program program, int uniformBlockIndex)
|
| + native ;
|
|
|
| @DomName('WebGL2RenderingContext.getActiveUniformBlockParameter')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Object getActiveUniformBlockParameter(Program program, int uniformBlockIndex, int pname) native;
|
| + Object getActiveUniformBlockParameter(
|
| + Program program, int uniformBlockIndex, int pname) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getActiveUniforms')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - List<int> getActiveUniforms(Program program, List<int> uniformIndices, int pname) native;
|
| + List<int> getActiveUniforms(
|
| + Program program, List<int> uniformIndices, int pname) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getBufferSubData')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void getBufferSubData(int target, int offset, ByteBuffer returnedData) native;
|
| + void getBufferSubData(int target, int offset, ByteBuffer returnedData)
|
| + native ;
|
|
|
| @DomName('WebGL2RenderingContext.getFragDataLocation')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - int getFragDataLocation(Program program, String name) native;
|
| + int getFragDataLocation(Program program, String name) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getIndexedParameter')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Object getIndexedParameter(int target, int index) native;
|
| + Object getIndexedParameter(int target, int index) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getInternalformatParameter')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Object getInternalformatParameter(int target, int internalformat, int pname) native;
|
| + Object getInternalformatParameter(int target, int internalformat, int pname)
|
| + native ;
|
|
|
| @DomName('WebGL2RenderingContext.getQuery')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Query getQuery(int target, int pname) native;
|
| + Query getQuery(int target, int pname) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getQueryParameter')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Object getQueryParameter(Query query, int pname) native;
|
| + Object getQueryParameter(Query query, int pname) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getSamplerParameter')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Object getSamplerParameter(Sampler sampler, int pname) native;
|
| + Object getSamplerParameter(Sampler sampler, int pname) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getSyncParameter')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Object getSyncParameter(Sync sync, int pname) native;
|
| + Object getSyncParameter(Sync sync, int pname) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getTransformFeedbackVarying')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - ActiveInfo getTransformFeedbackVarying(Program program, int index) native;
|
| + ActiveInfo getTransformFeedbackVarying(Program program, int index) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getUniformBlockIndex')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - int getUniformBlockIndex(Program program, String uniformBlockName) native;
|
| + int getUniformBlockIndex(Program program, String uniformBlockName) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getUniformIndices')
|
| @DocsEditable()
|
| @@ -4804,268 +5007,367 @@ class RenderingContext2 extends Interceptor implements _WebGL2RenderingContextBa
|
| List uniformNames_1 = convertDartToNative_StringArray(uniformNames);
|
| return _getUniformIndices_1(program, uniformNames_1);
|
| }
|
| +
|
| @JSName('getUniformIndices')
|
| @DomName('WebGL2RenderingContext.getUniformIndices')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - List<int> _getUniformIndices_1(Program program, List uniformNames) native;
|
| + List<int> _getUniformIndices_1(Program program, List uniformNames) native ;
|
|
|
| @DomName('WebGL2RenderingContext.invalidateFramebuffer')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void invalidateFramebuffer(int target, List<int> attachments) native;
|
| + void invalidateFramebuffer(int target, List<int> attachments) native ;
|
|
|
| @DomName('WebGL2RenderingContext.invalidateSubFramebuffer')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void invalidateSubFramebuffer(int target, List<int> attachments, int x, int y, int width, int height) native;
|
| + void invalidateSubFramebuffer(int target, List<int> attachments, int x, int y,
|
| + int width, int height) native ;
|
|
|
| @DomName('WebGL2RenderingContext.isQuery')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - bool isQuery(Query query) native;
|
| + bool isQuery(Query query) native ;
|
|
|
| @DomName('WebGL2RenderingContext.isSampler')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - bool isSampler(Sampler sampler) native;
|
| + bool isSampler(Sampler sampler) native ;
|
|
|
| @DomName('WebGL2RenderingContext.isSync')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - bool isSync(Sync sync) native;
|
| + bool isSync(Sync sync) native ;
|
|
|
| @DomName('WebGL2RenderingContext.isTransformFeedback')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - bool isTransformFeedback(TransformFeedback feedback) native;
|
| + bool isTransformFeedback(TransformFeedback feedback) native ;
|
|
|
| @DomName('WebGL2RenderingContext.isVertexArray')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - bool isVertexArray(VertexArrayObject vertexArray) native;
|
| + bool isVertexArray(VertexArrayObject vertexArray) native ;
|
|
|
| @DomName('WebGL2RenderingContext.pauseTransformFeedback')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void pauseTransformFeedback() native;
|
| + void pauseTransformFeedback() native ;
|
|
|
| @DomName('WebGL2RenderingContext.readBuffer')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void readBuffer(int mode) native;
|
| + void readBuffer(int mode) native ;
|
|
|
| @DomName('WebGL2RenderingContext.renderbufferStorageMultisample')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void renderbufferStorageMultisample(int target, int samples, int internalformat, int width, int height) native;
|
| + void renderbufferStorageMultisample(int target, int samples,
|
| + int internalformat, int width, int height) native ;
|
|
|
| @DomName('WebGL2RenderingContext.resumeTransformFeedback')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void resumeTransformFeedback() native;
|
| + void resumeTransformFeedback() native ;
|
|
|
| @DomName('WebGL2RenderingContext.samplerParameterf')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void samplerParameterf(Sampler sampler, int pname, num param) native;
|
| + void samplerParameterf(Sampler sampler, int pname, num param) native ;
|
|
|
| @DomName('WebGL2RenderingContext.samplerParameteri')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void samplerParameteri(Sampler sampler, int pname, int param) native;
|
| + void samplerParameteri(Sampler sampler, int pname, int param) native ;
|
|
|
| @DomName('WebGL2RenderingContext.texImage3D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void texImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, TypedData pixels) native;
|
| + void texImage3D(
|
| + int target,
|
| + int level,
|
| + int internalformat,
|
| + int width,
|
| + int height,
|
| + int depth,
|
| + int border,
|
| + int format,
|
| + int type,
|
| + TypedData pixels) native ;
|
|
|
| @DomName('WebGL2RenderingContext.texStorage2D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void texStorage2D(int target, int levels, int internalformat, int width, int height) native;
|
| + void texStorage2D(int target, int levels, int internalformat, int width,
|
| + int height) native ;
|
|
|
| @DomName('WebGL2RenderingContext.texStorage3D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void texStorage3D(int target, int levels, int internalformat, int width, int height, int depth) native;
|
| + void texStorage3D(int target, int levels, int internalformat, int width,
|
| + int height, int depth) native ;
|
|
|
| @DomName('WebGL2RenderingContext.texSubImage3D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void texSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int format_OR_width, int height_OR_type, canvas_OR_data_OR_depth_OR_image_OR_video, [int format, int type, TypedData pixels]) {
|
| - if (type != null && format != null && (canvas_OR_data_OR_depth_OR_image_OR_video is int)) {
|
| - _texSubImage3D_1(target, level, xoffset, yoffset, zoffset, format_OR_width, height_OR_type, canvas_OR_data_OR_depth_OR_image_OR_video, format, type, pixels);
|
| + void texSubImage3D(
|
| + int target,
|
| + int level,
|
| + int xoffset,
|
| + int yoffset,
|
| + int zoffset,
|
| + int format_OR_width,
|
| + int height_OR_type,
|
| + canvas_OR_data_OR_depth_OR_image_OR_video,
|
| + [int format,
|
| + int type,
|
| + TypedData pixels]) {
|
| + if (type != null &&
|
| + format != null &&
|
| + (canvas_OR_data_OR_depth_OR_image_OR_video is int)) {
|
| + _texSubImage3D_1(
|
| + target,
|
| + level,
|
| + xoffset,
|
| + yoffset,
|
| + zoffset,
|
| + format_OR_width,
|
| + height_OR_type,
|
| + canvas_OR_data_OR_depth_OR_image_OR_video,
|
| + format,
|
| + type,
|
| + pixels);
|
| return;
|
| }
|
| - if ((canvas_OR_data_OR_depth_OR_image_OR_video is ImageData || canvas_OR_data_OR_depth_OR_image_OR_video == null) && format == null && type == null && pixels == null) {
|
| - var data_1 = convertDartToNative_ImageData(canvas_OR_data_OR_depth_OR_image_OR_video);
|
| - _texSubImage3D_2(target, level, xoffset, yoffset, zoffset, format_OR_width, height_OR_type, data_1);
|
| + if ((canvas_OR_data_OR_depth_OR_image_OR_video is ImageData ||
|
| + canvas_OR_data_OR_depth_OR_image_OR_video == null) &&
|
| + format == null &&
|
| + type == null &&
|
| + pixels == null) {
|
| + var data_1 = convertDartToNative_ImageData(
|
| + canvas_OR_data_OR_depth_OR_image_OR_video);
|
| + _texSubImage3D_2(target, level, xoffset, yoffset, zoffset,
|
| + format_OR_width, height_OR_type, data_1);
|
| return;
|
| }
|
| - if ((canvas_OR_data_OR_depth_OR_image_OR_video is ImageElement || canvas_OR_data_OR_depth_OR_image_OR_video == null) && format == null && type == null && pixels == null) {
|
| - _texSubImage3D_3(target, level, xoffset, yoffset, zoffset, format_OR_width, height_OR_type, canvas_OR_data_OR_depth_OR_image_OR_video);
|
| + if ((canvas_OR_data_OR_depth_OR_image_OR_video is ImageElement ||
|
| + canvas_OR_data_OR_depth_OR_image_OR_video == null) &&
|
| + format == null &&
|
| + type == null &&
|
| + pixels == null) {
|
| + _texSubImage3D_3(
|
| + target,
|
| + level,
|
| + xoffset,
|
| + yoffset,
|
| + zoffset,
|
| + format_OR_width,
|
| + height_OR_type,
|
| + canvas_OR_data_OR_depth_OR_image_OR_video);
|
| return;
|
| }
|
| - if ((canvas_OR_data_OR_depth_OR_image_OR_video is CanvasElement || canvas_OR_data_OR_depth_OR_image_OR_video == null) && format == null && type == null && pixels == null) {
|
| - _texSubImage3D_4(target, level, xoffset, yoffset, zoffset, format_OR_width, height_OR_type, canvas_OR_data_OR_depth_OR_image_OR_video);
|
| + if ((canvas_OR_data_OR_depth_OR_image_OR_video is CanvasElement ||
|
| + canvas_OR_data_OR_depth_OR_image_OR_video == null) &&
|
| + format == null &&
|
| + type == null &&
|
| + pixels == null) {
|
| + _texSubImage3D_4(
|
| + target,
|
| + level,
|
| + xoffset,
|
| + yoffset,
|
| + zoffset,
|
| + format_OR_width,
|
| + height_OR_type,
|
| + canvas_OR_data_OR_depth_OR_image_OR_video);
|
| return;
|
| }
|
| - if ((canvas_OR_data_OR_depth_OR_image_OR_video is VideoElement || canvas_OR_data_OR_depth_OR_image_OR_video == null) && format == null && type == null && pixels == null) {
|
| - _texSubImage3D_5(target, level, xoffset, yoffset, zoffset, format_OR_width, height_OR_type, canvas_OR_data_OR_depth_OR_image_OR_video);
|
| + if ((canvas_OR_data_OR_depth_OR_image_OR_video is VideoElement ||
|
| + canvas_OR_data_OR_depth_OR_image_OR_video == null) &&
|
| + format == null &&
|
| + type == null &&
|
| + pixels == null) {
|
| + _texSubImage3D_5(
|
| + target,
|
| + level,
|
| + xoffset,
|
| + yoffset,
|
| + zoffset,
|
| + format_OR_width,
|
| + height_OR_type,
|
| + canvas_OR_data_OR_depth_OR_image_OR_video);
|
| return;
|
| }
|
| throw new ArgumentError("Incorrect number or type of arguments");
|
| }
|
| +
|
| @JSName('texSubImage3D')
|
| @DomName('WebGL2RenderingContext.texSubImage3D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void _texSubImage3D_1(target, level, xoffset, yoffset, zoffset, width, height, int depth, format, type, TypedData pixels) native;
|
| + void _texSubImage3D_1(target, level, xoffset, yoffset, zoffset, width, height,
|
| + int depth, format, type, TypedData pixels) native ;
|
| @JSName('texSubImage3D')
|
| @DomName('WebGL2RenderingContext.texSubImage3D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void _texSubImage3D_2(target, level, xoffset, yoffset, zoffset, format, type, data) native;
|
| + void _texSubImage3D_2(
|
| + target, level, xoffset, yoffset, zoffset, format, type, data) native ;
|
| @JSName('texSubImage3D')
|
| @DomName('WebGL2RenderingContext.texSubImage3D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void _texSubImage3D_3(target, level, xoffset, yoffset, zoffset, format, type, ImageElement image) native;
|
| + void _texSubImage3D_3(target, level, xoffset, yoffset, zoffset, format, type,
|
| + ImageElement image) native ;
|
| @JSName('texSubImage3D')
|
| @DomName('WebGL2RenderingContext.texSubImage3D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void _texSubImage3D_4(target, level, xoffset, yoffset, zoffset, format, type, CanvasElement canvas) native;
|
| + void _texSubImage3D_4(target, level, xoffset, yoffset, zoffset, format, type,
|
| + CanvasElement canvas) native ;
|
| @JSName('texSubImage3D')
|
| @DomName('WebGL2RenderingContext.texSubImage3D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void _texSubImage3D_5(target, level, xoffset, yoffset, zoffset, format, type, VideoElement video) native;
|
| + void _texSubImage3D_5(target, level, xoffset, yoffset, zoffset, format, type,
|
| + VideoElement video) native ;
|
|
|
| @DomName('WebGL2RenderingContext.transformFeedbackVaryings')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void transformFeedbackVaryings(Program program, List<String> varyings, int bufferMode) {
|
| + void transformFeedbackVaryings(
|
| + Program program, List<String> varyings, int bufferMode) {
|
| List varyings_1 = convertDartToNative_StringArray(varyings);
|
| _transformFeedbackVaryings_1(program, varyings_1, bufferMode);
|
| return;
|
| }
|
| +
|
| @JSName('transformFeedbackVaryings')
|
| @DomName('WebGL2RenderingContext.transformFeedbackVaryings')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void _transformFeedbackVaryings_1(Program program, List varyings, bufferMode) native;
|
| + void _transformFeedbackVaryings_1(Program program, List varyings, bufferMode)
|
| + native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniform1ui')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniform1ui(UniformLocation location, int v0) native;
|
| + void uniform1ui(UniformLocation location, int v0) native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniform1uiv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniform1uiv(UniformLocation location, List<int> value) native;
|
| + void uniform1uiv(UniformLocation location, List<int> value) native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniform2ui')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniform2ui(UniformLocation location, int v0, int v1) native;
|
| + void uniform2ui(UniformLocation location, int v0, int v1) native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniform2uiv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniform2uiv(UniformLocation location, List<int> value) native;
|
| + void uniform2uiv(UniformLocation location, List<int> value) native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniform3ui')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniform3ui(UniformLocation location, int v0, int v1, int v2) native;
|
| + void uniform3ui(UniformLocation location, int v0, int v1, int v2) native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniform3uiv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniform3uiv(UniformLocation location, List<int> value) native;
|
| + void uniform3uiv(UniformLocation location, List<int> value) native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniform4ui')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniform4ui(UniformLocation location, int v0, int v1, int v2, int v3) native;
|
| + void uniform4ui(UniformLocation location, int v0, int v1, int v2, int v3)
|
| + native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniform4uiv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniform4uiv(UniformLocation location, List<int> value) native;
|
| + void uniform4uiv(UniformLocation location, List<int> value) native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniformBlockBinding')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniformBlockBinding(Program program, int uniformBlockIndex, int uniformBlockBinding) native;
|
| + void uniformBlockBinding(
|
| + Program program, int uniformBlockIndex, int uniformBlockBinding) native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniformMatrix2x3fv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniformMatrix2x3fv(UniformLocation location, bool transpose, value) native;
|
| + void uniformMatrix2x3fv(UniformLocation location, bool transpose, value)
|
| + native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniformMatrix2x4fv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniformMatrix2x4fv(UniformLocation location, bool transpose, value) native;
|
| + void uniformMatrix2x4fv(UniformLocation location, bool transpose, value)
|
| + native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniformMatrix3x2fv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniformMatrix3x2fv(UniformLocation location, bool transpose, value) native;
|
| + void uniformMatrix3x2fv(UniformLocation location, bool transpose, value)
|
| + native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniformMatrix3x4fv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniformMatrix3x4fv(UniformLocation location, bool transpose, value) native;
|
| + void uniformMatrix3x4fv(UniformLocation location, bool transpose, value)
|
| + native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniformMatrix4x2fv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniformMatrix4x2fv(UniformLocation location, bool transpose, value) native;
|
| + void uniformMatrix4x2fv(UniformLocation location, bool transpose, value)
|
| + native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniformMatrix4x3fv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniformMatrix4x3fv(UniformLocation location, bool transpose, value) native;
|
| + void uniformMatrix4x3fv(UniformLocation location, bool transpose, value)
|
| + native ;
|
|
|
| @DomName('WebGL2RenderingContext.vertexAttribDivisor')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void vertexAttribDivisor(int index, int divisor) native;
|
| + void vertexAttribDivisor(int index, int divisor) native ;
|
|
|
| @DomName('WebGL2RenderingContext.vertexAttribI4i')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void vertexAttribI4i(int index, int x, int y, int z, int w) native;
|
| + void vertexAttribI4i(int index, int x, int y, int z, int w) native ;
|
|
|
| @DomName('WebGL2RenderingContext.vertexAttribI4iv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void vertexAttribI4iv(int index, List<int> v) native;
|
| + void vertexAttribI4iv(int index, List<int> v) native ;
|
|
|
| @DomName('WebGL2RenderingContext.vertexAttribI4ui')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void vertexAttribI4ui(int index, int x, int y, int z, int w) native;
|
| + void vertexAttribI4ui(int index, int x, int y, int z, int w) native ;
|
|
|
| @DomName('WebGL2RenderingContext.vertexAttribI4uiv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void vertexAttribI4uiv(int index, List<int> v) native;
|
| + void vertexAttribI4uiv(int index, List<int> v) native ;
|
|
|
| @DomName('WebGL2RenderingContext.vertexAttribIPointer')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void vertexAttribIPointer(int index, int size, int type, int stride, int offset) native;
|
| + void vertexAttribIPointer(
|
| + int index, int size, int type, int stride, int offset) native ;
|
|
|
| @DomName('WebGL2RenderingContext.waitSync')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void waitSync(Sync sync, int flags, int timeout) native;
|
| + void waitSync(Sync sync, int flags, int timeout) native ;
|
|
|
| // From WebGLRenderingContextBase
|
|
|
| @@ -5087,297 +5389,304 @@ class RenderingContext2 extends Interceptor implements _WebGL2RenderingContextBa
|
| @DomName('WebGL2RenderingContext.activeTexture')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void activeTexture(int texture) native;
|
| + void activeTexture(int texture) native ;
|
|
|
| @DomName('WebGL2RenderingContext.attachShader')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void attachShader(Program program, Shader shader) native;
|
| + void attachShader(Program program, Shader shader) native ;
|
|
|
| @DomName('WebGL2RenderingContext.bindAttribLocation')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void bindAttribLocation(Program program, int index, String name) native;
|
| + void bindAttribLocation(Program program, int index, String name) native ;
|
|
|
| @DomName('WebGL2RenderingContext.bindBuffer')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void bindBuffer(int target, Buffer buffer) native;
|
| + void bindBuffer(int target, Buffer buffer) native ;
|
|
|
| @DomName('WebGL2RenderingContext.bindFramebuffer')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void bindFramebuffer(int target, Framebuffer framebuffer) native;
|
| + void bindFramebuffer(int target, Framebuffer framebuffer) native ;
|
|
|
| @DomName('WebGL2RenderingContext.bindRenderbuffer')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void bindRenderbuffer(int target, Renderbuffer renderbuffer) native;
|
| + void bindRenderbuffer(int target, Renderbuffer renderbuffer) native ;
|
|
|
| @DomName('WebGL2RenderingContext.bindTexture')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void bindTexture(int target, Texture texture) native;
|
| + void bindTexture(int target, Texture texture) native ;
|
|
|
| @DomName('WebGL2RenderingContext.blendColor')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void blendColor(num red, num green, num blue, num alpha) native;
|
| + void blendColor(num red, num green, num blue, num alpha) native ;
|
|
|
| @DomName('WebGL2RenderingContext.blendEquation')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void blendEquation(int mode) native;
|
| + void blendEquation(int mode) native ;
|
|
|
| @DomName('WebGL2RenderingContext.blendEquationSeparate')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void blendEquationSeparate(int modeRGB, int modeAlpha) native;
|
| + void blendEquationSeparate(int modeRGB, int modeAlpha) native ;
|
|
|
| @DomName('WebGL2RenderingContext.blendFunc')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void blendFunc(int sfactor, int dfactor) native;
|
| + void blendFunc(int sfactor, int dfactor) native ;
|
|
|
| @DomName('WebGL2RenderingContext.blendFuncSeparate')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) native;
|
| + void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha)
|
| + native ;
|
|
|
| @DomName('WebGL2RenderingContext.bufferData')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void bufferData(int target, data_OR_size, int usage) native;
|
| + void bufferData(int target, data_OR_size, int usage) native ;
|
|
|
| @DomName('WebGL2RenderingContext.bufferSubData')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void bufferSubData(int target, int offset, data) native;
|
| + void bufferSubData(int target, int offset, data) native ;
|
|
|
| @DomName('WebGL2RenderingContext.checkFramebufferStatus')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - int checkFramebufferStatus(int target) native;
|
| + int checkFramebufferStatus(int target) native ;
|
|
|
| @DomName('WebGL2RenderingContext.clear')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void clear(int mask) native;
|
| + void clear(int mask) native ;
|
|
|
| @DomName('WebGL2RenderingContext.clearColor')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void clearColor(num red, num green, num blue, num alpha) native;
|
| + void clearColor(num red, num green, num blue, num alpha) native ;
|
|
|
| @DomName('WebGL2RenderingContext.clearDepth')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void clearDepth(num depth) native;
|
| + void clearDepth(num depth) native ;
|
|
|
| @DomName('WebGL2RenderingContext.clearStencil')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void clearStencil(int s) native;
|
| + void clearStencil(int s) native ;
|
|
|
| @DomName('WebGL2RenderingContext.colorMask')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void colorMask(bool red, bool green, bool blue, bool alpha) native;
|
| + void colorMask(bool red, bool green, bool blue, bool alpha) native ;
|
|
|
| @DomName('WebGL2RenderingContext.compileShader')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void compileShader(Shader shader) native;
|
| + void compileShader(Shader shader) native ;
|
|
|
| @DomName('WebGL2RenderingContext.compressedTexImage2D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void compressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, TypedData data) native;
|
| + void compressedTexImage2D(int target, int level, int internalformat,
|
| + int width, int height, int border, TypedData data) native ;
|
|
|
| @DomName('WebGL2RenderingContext.compressedTexSubImage2D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, TypedData data) native;
|
| + void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset,
|
| + int width, int height, int format, TypedData data) native ;
|
|
|
| @DomName('WebGL2RenderingContext.copyTexImage2D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void copyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border) native;
|
| + void copyTexImage2D(int target, int level, int internalformat, int x, int y,
|
| + int width, int height, int border) native ;
|
|
|
| @DomName('WebGL2RenderingContext.copyTexSubImage2D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) native;
|
| + void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
|
| + int y, int width, int height) native ;
|
|
|
| @DomName('WebGL2RenderingContext.createBuffer')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Buffer createBuffer() native;
|
| + Buffer createBuffer() native ;
|
|
|
| @DomName('WebGL2RenderingContext.createFramebuffer')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Framebuffer createFramebuffer() native;
|
| + Framebuffer createFramebuffer() native ;
|
|
|
| @DomName('WebGL2RenderingContext.createProgram')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Program createProgram() native;
|
| + Program createProgram() native ;
|
|
|
| @DomName('WebGL2RenderingContext.createRenderbuffer')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Renderbuffer createRenderbuffer() native;
|
| + Renderbuffer createRenderbuffer() native ;
|
|
|
| @DomName('WebGL2RenderingContext.createShader')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Shader createShader(int type) native;
|
| + Shader createShader(int type) native ;
|
|
|
| @DomName('WebGL2RenderingContext.createTexture')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Texture createTexture() native;
|
| + Texture createTexture() native ;
|
|
|
| @DomName('WebGL2RenderingContext.cullFace')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void cullFace(int mode) native;
|
| + void cullFace(int mode) native ;
|
|
|
| @DomName('WebGL2RenderingContext.deleteBuffer')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void deleteBuffer(Buffer buffer) native;
|
| + void deleteBuffer(Buffer buffer) native ;
|
|
|
| @DomName('WebGL2RenderingContext.deleteFramebuffer')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void deleteFramebuffer(Framebuffer framebuffer) native;
|
| + void deleteFramebuffer(Framebuffer framebuffer) native ;
|
|
|
| @DomName('WebGL2RenderingContext.deleteProgram')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void deleteProgram(Program program) native;
|
| + void deleteProgram(Program program) native ;
|
|
|
| @DomName('WebGL2RenderingContext.deleteRenderbuffer')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void deleteRenderbuffer(Renderbuffer renderbuffer) native;
|
| + void deleteRenderbuffer(Renderbuffer renderbuffer) native ;
|
|
|
| @DomName('WebGL2RenderingContext.deleteShader')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void deleteShader(Shader shader) native;
|
| + void deleteShader(Shader shader) native ;
|
|
|
| @DomName('WebGL2RenderingContext.deleteTexture')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void deleteTexture(Texture texture) native;
|
| + void deleteTexture(Texture texture) native ;
|
|
|
| @DomName('WebGL2RenderingContext.depthFunc')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void depthFunc(int func) native;
|
| + void depthFunc(int func) native ;
|
|
|
| @DomName('WebGL2RenderingContext.depthMask')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void depthMask(bool flag) native;
|
| + void depthMask(bool flag) native ;
|
|
|
| @DomName('WebGL2RenderingContext.depthRange')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void depthRange(num zNear, num zFar) native;
|
| + void depthRange(num zNear, num zFar) native ;
|
|
|
| @DomName('WebGL2RenderingContext.detachShader')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void detachShader(Program program, Shader shader) native;
|
| + void detachShader(Program program, Shader shader) native ;
|
|
|
| @DomName('WebGL2RenderingContext.disable')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void disable(int cap) native;
|
| + void disable(int cap) native ;
|
|
|
| @DomName('WebGL2RenderingContext.disableVertexAttribArray')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void disableVertexAttribArray(int index) native;
|
| + void disableVertexAttribArray(int index) native ;
|
|
|
| @DomName('WebGL2RenderingContext.drawArrays')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void drawArrays(int mode, int first, int count) native;
|
| + void drawArrays(int mode, int first, int count) native ;
|
|
|
| @DomName('WebGL2RenderingContext.drawElements')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void drawElements(int mode, int count, int type, int offset) native;
|
| + void drawElements(int mode, int count, int type, int offset) native ;
|
|
|
| @DomName('WebGL2RenderingContext.enable')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void enable(int cap) native;
|
| + void enable(int cap) native ;
|
|
|
| @DomName('WebGL2RenderingContext.enableVertexAttribArray')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void enableVertexAttribArray(int index) native;
|
| + void enableVertexAttribArray(int index) native ;
|
|
|
| @DomName('WebGL2RenderingContext.finish')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void finish() native;
|
| + void finish() native ;
|
|
|
| @DomName('WebGL2RenderingContext.flush')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void flush() native;
|
| + void flush() native ;
|
|
|
| @DomName('WebGL2RenderingContext.framebufferRenderbuffer')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void framebufferRenderbuffer(int target, int attachment, int renderbuffertarget, Renderbuffer renderbuffer) native;
|
| + void framebufferRenderbuffer(int target, int attachment,
|
| + int renderbuffertarget, Renderbuffer renderbuffer) native ;
|
|
|
| @DomName('WebGL2RenderingContext.framebufferTexture2D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void framebufferTexture2D(int target, int attachment, int textarget, Texture texture, int level) native;
|
| + void framebufferTexture2D(int target, int attachment, int textarget,
|
| + Texture texture, int level) native ;
|
|
|
| @DomName('WebGL2RenderingContext.frontFace')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void frontFace(int mode) native;
|
| + void frontFace(int mode) native ;
|
|
|
| @DomName('WebGL2RenderingContext.generateMipmap')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void generateMipmap(int target) native;
|
| + void generateMipmap(int target) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getActiveAttrib')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - ActiveInfo getActiveAttrib(Program program, int index) native;
|
| + ActiveInfo getActiveAttrib(Program program, int index) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getActiveUniform')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - ActiveInfo getActiveUniform(Program program, int index) native;
|
| + ActiveInfo getActiveUniform(Program program, int index) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getAttachedShaders')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - List<Shader> getAttachedShaders(Program program) native;
|
| + List<Shader> getAttachedShaders(Program program) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getAttribLocation')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - int getAttribLocation(Program program, String name) native;
|
| + int getAttribLocation(Program program, String name) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getBufferParameter')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Object getBufferParameter(int target, int pname) native;
|
| + Object getBufferParameter(int target, int pname) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getContextAttributes')
|
| @DocsEditable()
|
| @@ -5385,524 +5694,618 @@ class RenderingContext2 extends Interceptor implements _WebGL2RenderingContextBa
|
| Map getContextAttributes() {
|
| return convertNativeToDart_Dictionary(_getContextAttributes_1());
|
| }
|
| +
|
| @JSName('getContextAttributes')
|
| @DomName('WebGL2RenderingContext.getContextAttributes')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - _getContextAttributes_1() native;
|
| + _getContextAttributes_1() native ;
|
|
|
| @DomName('WebGL2RenderingContext.getError')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - int getError() native;
|
| + int getError() native ;
|
|
|
| @DomName('WebGL2RenderingContext.getExtension')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Object getExtension(String name) native;
|
| + Object getExtension(String name) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getFramebufferAttachmentParameter')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Object getFramebufferAttachmentParameter(int target, int attachment, int pname) native;
|
| + Object getFramebufferAttachmentParameter(
|
| + int target, int attachment, int pname) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getParameter')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Object getParameter(int pname) native;
|
| + Object getParameter(int pname) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getProgramInfoLog')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - String getProgramInfoLog(Program program) native;
|
| + String getProgramInfoLog(Program program) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getProgramParameter')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Object getProgramParameter(Program program, int pname) native;
|
| + Object getProgramParameter(Program program, int pname) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getRenderbufferParameter')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Object getRenderbufferParameter(int target, int pname) native;
|
| + Object getRenderbufferParameter(int target, int pname) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getShaderInfoLog')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - String getShaderInfoLog(Shader shader) native;
|
| + String getShaderInfoLog(Shader shader) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getShaderParameter')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Object getShaderParameter(Shader shader, int pname) native;
|
| + Object getShaderParameter(Shader shader, int pname) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getShaderPrecisionFormat')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisiontype) native;
|
| + ShaderPrecisionFormat getShaderPrecisionFormat(
|
| + int shadertype, int precisiontype) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getShaderSource')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - String getShaderSource(Shader shader) native;
|
| + String getShaderSource(Shader shader) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getSupportedExtensions')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - List<String> getSupportedExtensions() native;
|
| + List<String> getSupportedExtensions() native ;
|
|
|
| @DomName('WebGL2RenderingContext.getTexParameter')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Object getTexParameter(int target, int pname) native;
|
| + Object getTexParameter(int target, int pname) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getUniform')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Object getUniform(Program program, UniformLocation location) native;
|
| + Object getUniform(Program program, UniformLocation location) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getUniformLocation')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - UniformLocation getUniformLocation(Program program, String name) native;
|
| + UniformLocation getUniformLocation(Program program, String name) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getVertexAttrib')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - Object getVertexAttrib(int index, int pname) native;
|
| + Object getVertexAttrib(int index, int pname) native ;
|
|
|
| @DomName('WebGL2RenderingContext.getVertexAttribOffset')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - int getVertexAttribOffset(int index, int pname) native;
|
| + int getVertexAttribOffset(int index, int pname) native ;
|
|
|
| @DomName('WebGL2RenderingContext.hint')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void hint(int target, int mode) native;
|
| + void hint(int target, int mode) native ;
|
|
|
| @DomName('WebGL2RenderingContext.isBuffer')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - bool isBuffer(Buffer buffer) native;
|
| + bool isBuffer(Buffer buffer) native ;
|
|
|
| @DomName('WebGL2RenderingContext.isContextLost')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - bool isContextLost() native;
|
| + bool isContextLost() native ;
|
|
|
| @DomName('WebGL2RenderingContext.isEnabled')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - bool isEnabled(int cap) native;
|
| + bool isEnabled(int cap) native ;
|
|
|
| @DomName('WebGL2RenderingContext.isFramebuffer')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - bool isFramebuffer(Framebuffer framebuffer) native;
|
| + bool isFramebuffer(Framebuffer framebuffer) native ;
|
|
|
| @DomName('WebGL2RenderingContext.isProgram')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - bool isProgram(Program program) native;
|
| + bool isProgram(Program program) native ;
|
|
|
| @DomName('WebGL2RenderingContext.isRenderbuffer')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - bool isRenderbuffer(Renderbuffer renderbuffer) native;
|
| + bool isRenderbuffer(Renderbuffer renderbuffer) native ;
|
|
|
| @DomName('WebGL2RenderingContext.isShader')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - bool isShader(Shader shader) native;
|
| + bool isShader(Shader shader) native ;
|
|
|
| @DomName('WebGL2RenderingContext.isTexture')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - bool isTexture(Texture texture) native;
|
| + bool isTexture(Texture texture) native ;
|
|
|
| @DomName('WebGL2RenderingContext.lineWidth')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void lineWidth(num width) native;
|
| + void lineWidth(num width) native ;
|
|
|
| @DomName('WebGL2RenderingContext.linkProgram')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void linkProgram(Program program) native;
|
| + void linkProgram(Program program) native ;
|
|
|
| @DomName('WebGL2RenderingContext.pixelStorei')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void pixelStorei(int pname, int param) native;
|
| + void pixelStorei(int pname, int param) native ;
|
|
|
| @DomName('WebGL2RenderingContext.polygonOffset')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void polygonOffset(num factor, num units) native;
|
| + void polygonOffset(num factor, num units) native ;
|
|
|
| @DomName('WebGL2RenderingContext.readPixels')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void readPixels(int x, int y, int width, int height, int format, int type, TypedData pixels) native;
|
| + void readPixels(int x, int y, int width, int height, int format, int type,
|
| + TypedData pixels) native ;
|
|
|
| @DomName('WebGL2RenderingContext.renderbufferStorage')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void renderbufferStorage(int target, int internalformat, int width, int height) native;
|
| + void renderbufferStorage(
|
| + int target, int internalformat, int width, int height) native ;
|
|
|
| @DomName('WebGL2RenderingContext.sampleCoverage')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void sampleCoverage(num value, bool invert) native;
|
| + void sampleCoverage(num value, bool invert) native ;
|
|
|
| @DomName('WebGL2RenderingContext.scissor')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void scissor(int x, int y, int width, int height) native;
|
| + void scissor(int x, int y, int width, int height) native ;
|
|
|
| @DomName('WebGL2RenderingContext.shaderSource')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void shaderSource(Shader shader, String string) native;
|
| + void shaderSource(Shader shader, String string) native ;
|
|
|
| @DomName('WebGL2RenderingContext.stencilFunc')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void stencilFunc(int func, int ref, int mask) native;
|
| + void stencilFunc(int func, int ref, int mask) native ;
|
|
|
| @DomName('WebGL2RenderingContext.stencilFuncSeparate')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void stencilFuncSeparate(int face, int func, int ref, int mask) native;
|
| + void stencilFuncSeparate(int face, int func, int ref, int mask) native ;
|
|
|
| @DomName('WebGL2RenderingContext.stencilMask')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void stencilMask(int mask) native;
|
| + void stencilMask(int mask) native ;
|
|
|
| @DomName('WebGL2RenderingContext.stencilMaskSeparate')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void stencilMaskSeparate(int face, int mask) native;
|
| + void stencilMaskSeparate(int face, int mask) native ;
|
|
|
| @DomName('WebGL2RenderingContext.stencilOp')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void stencilOp(int fail, int zfail, int zpass) native;
|
| + void stencilOp(int fail, int zfail, int zpass) native ;
|
|
|
| @DomName('WebGL2RenderingContext.stencilOpSeparate')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void stencilOpSeparate(int face, int fail, int zfail, int zpass) native;
|
| + void stencilOpSeparate(int face, int fail, int zfail, int zpass) native ;
|
|
|
| @DomName('WebGL2RenderingContext.texImage2D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void texImage2D(int target, int level, int internalformat, int format_OR_width, int height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, [int format, int type, TypedData pixels]) {
|
| - if (type != null && format != null && (border_OR_canvas_OR_image_OR_pixels_OR_video is int)) {
|
| - _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels);
|
| + void texImage2D(
|
| + int target,
|
| + int level,
|
| + int internalformat,
|
| + int format_OR_width,
|
| + int height_OR_type,
|
| + border_OR_canvas_OR_image_OR_pixels_OR_video,
|
| + [int format,
|
| + int type,
|
| + TypedData pixels]) {
|
| + if (type != null &&
|
| + format != null &&
|
| + (border_OR_canvas_OR_image_OR_pixels_OR_video is int)) {
|
| + _texImage2D_1(
|
| + target,
|
| + level,
|
| + internalformat,
|
| + format_OR_width,
|
| + height_OR_type,
|
| + border_OR_canvas_OR_image_OR_pixels_OR_video,
|
| + format,
|
| + type,
|
| + pixels);
|
| return;
|
| }
|
| - if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_canvas_OR_image_OR_pixels_OR_video == null) && format == null && type == null && pixels == null) {
|
| - var pixels_1 = convertDartToNative_ImageData(border_OR_canvas_OR_image_OR_pixels_OR_video);
|
| - _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_type, pixels_1);
|
| + if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData ||
|
| + border_OR_canvas_OR_image_OR_pixels_OR_video == null) &&
|
| + format == null &&
|
| + type == null &&
|
| + pixels == null) {
|
| + var pixels_1 = convertDartToNative_ImageData(
|
| + border_OR_canvas_OR_image_OR_pixels_OR_video);
|
| + _texImage2D_2(target, level, internalformat, format_OR_width,
|
| + height_OR_type, pixels_1);
|
| return;
|
| }
|
| - if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement) && format == null && type == null && pixels == null) {
|
| - _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
|
| + if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement) &&
|
| + format == null &&
|
| + type == null &&
|
| + pixels == null) {
|
| + _texImage2D_3(target, level, internalformat, format_OR_width,
|
| + height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
|
| return;
|
| }
|
| - if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement) && format == null && type == null && pixels == null) {
|
| - _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
|
| + if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement) &&
|
| + format == null &&
|
| + type == null &&
|
| + pixels == null) {
|
| + _texImage2D_4(target, level, internalformat, format_OR_width,
|
| + height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
|
| return;
|
| }
|
| - if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement) && format == null && type == null && pixels == null) {
|
| - _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
|
| + if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement) &&
|
| + format == null &&
|
| + type == null &&
|
| + pixels == null) {
|
| + _texImage2D_5(target, level, internalformat, format_OR_width,
|
| + height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
|
| return;
|
| }
|
| throw new ArgumentError("Incorrect number or type of arguments");
|
| }
|
| +
|
| @JSName('texImage2D')
|
| @DomName('WebGL2RenderingContext.texImage2D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void _texImage2D_1(target, level, internalformat, width, height, int border, format, type, TypedData pixels) native;
|
| + void _texImage2D_1(target, level, internalformat, width, height, int border,
|
| + format, type, TypedData pixels) native ;
|
| @JSName('texImage2D')
|
| @DomName('WebGL2RenderingContext.texImage2D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void _texImage2D_2(target, level, internalformat, format, type, pixels) native;
|
| + void _texImage2D_2(target, level, internalformat, format, type, pixels)
|
| + native ;
|
| @JSName('texImage2D')
|
| @DomName('WebGL2RenderingContext.texImage2D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void _texImage2D_3(target, level, internalformat, format, type, ImageElement image) native;
|
| + void _texImage2D_3(
|
| + target, level, internalformat, format, type, ImageElement image) native ;
|
| @JSName('texImage2D')
|
| @DomName('WebGL2RenderingContext.texImage2D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void _texImage2D_4(target, level, internalformat, format, type, CanvasElement canvas) native;
|
| + void _texImage2D_4(target, level, internalformat, format, type,
|
| + CanvasElement canvas) native ;
|
| @JSName('texImage2D')
|
| @DomName('WebGL2RenderingContext.texImage2D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void _texImage2D_5(target, level, internalformat, format, type, VideoElement video) native;
|
| + void _texImage2D_5(
|
| + target, level, internalformat, format, type, VideoElement video) native ;
|
|
|
| @DomName('WebGL2RenderingContext.texParameterf')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void texParameterf(int target, int pname, num param) native;
|
| + void texParameterf(int target, int pname, num param) native ;
|
|
|
| @DomName('WebGL2RenderingContext.texParameteri')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void texParameteri(int target, int pname, int param) native;
|
| + void texParameteri(int target, int pname, int param) native ;
|
|
|
| @DomName('WebGL2RenderingContext.texSubImage2D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void texSubImage2D(int target, int level, int xoffset, int yoffset, int format_OR_width, int height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [int type, TypedData pixels]) {
|
| + void texSubImage2D(
|
| + int target,
|
| + int level,
|
| + int xoffset,
|
| + int yoffset,
|
| + int format_OR_width,
|
| + int height_OR_type,
|
| + canvas_OR_format_OR_image_OR_pixels_OR_video,
|
| + [int type,
|
| + TypedData pixels]) {
|
| if (type != null && (canvas_OR_format_OR_image_OR_pixels_OR_video is int)) {
|
| - _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels);
|
| + _texSubImage2D_1(
|
| + target,
|
| + level,
|
| + xoffset,
|
| + yoffset,
|
| + format_OR_width,
|
| + height_OR_type,
|
| + canvas_OR_format_OR_image_OR_pixels_OR_video,
|
| + type,
|
| + pixels);
|
| return;
|
| }
|
| - if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || canvas_OR_format_OR_image_OR_pixels_OR_video == null) && type == null && pixels == null) {
|
| - var pixels_1 = convertDartToNative_ImageData(canvas_OR_format_OR_image_OR_pixels_OR_video);
|
| - _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height_OR_type, pixels_1);
|
| + if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData ||
|
| + canvas_OR_format_OR_image_OR_pixels_OR_video == null) &&
|
| + type == null &&
|
| + pixels == null) {
|
| + var pixels_1 = convertDartToNative_ImageData(
|
| + canvas_OR_format_OR_image_OR_pixels_OR_video);
|
| + _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width,
|
| + height_OR_type, pixels_1);
|
| return;
|
| }
|
| - if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement) && type == null && pixels == null) {
|
| - _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
|
| + if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement) &&
|
| + type == null &&
|
| + pixels == null) {
|
| + _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width,
|
| + height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
|
| return;
|
| }
|
| - if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement) && type == null && pixels == null) {
|
| - _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
|
| + if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement) &&
|
| + type == null &&
|
| + pixels == null) {
|
| + _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width,
|
| + height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
|
| return;
|
| }
|
| - if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement) && type == null && pixels == null) {
|
| - _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
|
| + if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement) &&
|
| + type == null &&
|
| + pixels == null) {
|
| + _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width,
|
| + height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
|
| return;
|
| }
|
| throw new ArgumentError("Incorrect number or type of arguments");
|
| }
|
| +
|
| @JSName('texSubImage2D')
|
| @DomName('WebGL2RenderingContext.texSubImage2D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void _texSubImage2D_1(target, level, xoffset, yoffset, width, height, int format, type, TypedData pixels) native;
|
| + void _texSubImage2D_1(target, level, xoffset, yoffset, width, height,
|
| + int format, type, TypedData pixels) native ;
|
| @JSName('texSubImage2D')
|
| @DomName('WebGL2RenderingContext.texSubImage2D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void _texSubImage2D_2(target, level, xoffset, yoffset, format, type, pixels) native;
|
| + void _texSubImage2D_2(target, level, xoffset, yoffset, format, type, pixels)
|
| + native ;
|
| @JSName('texSubImage2D')
|
| @DomName('WebGL2RenderingContext.texSubImage2D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void _texSubImage2D_3(target, level, xoffset, yoffset, format, type, ImageElement image) native;
|
| + void _texSubImage2D_3(target, level, xoffset, yoffset, format, type,
|
| + ImageElement image) native ;
|
| @JSName('texSubImage2D')
|
| @DomName('WebGL2RenderingContext.texSubImage2D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void _texSubImage2D_4(target, level, xoffset, yoffset, format, type, CanvasElement canvas) native;
|
| + void _texSubImage2D_4(target, level, xoffset, yoffset, format, type,
|
| + CanvasElement canvas) native ;
|
| @JSName('texSubImage2D')
|
| @DomName('WebGL2RenderingContext.texSubImage2D')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void _texSubImage2D_5(target, level, xoffset, yoffset, format, type, VideoElement video) native;
|
| + void _texSubImage2D_5(target, level, xoffset, yoffset, format, type,
|
| + VideoElement video) native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniform1f')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniform1f(UniformLocation location, num x) native;
|
| + void uniform1f(UniformLocation location, num x) native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniform1fv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniform1fv(UniformLocation location, v) native;
|
| + void uniform1fv(UniformLocation location, v) native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniform1i')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniform1i(UniformLocation location, int x) native;
|
| + void uniform1i(UniformLocation location, int x) native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniform1iv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniform1iv(UniformLocation location, v) native;
|
| + void uniform1iv(UniformLocation location, v) native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniform2f')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniform2f(UniformLocation location, num x, num y) native;
|
| + void uniform2f(UniformLocation location, num x, num y) native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniform2fv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniform2fv(UniformLocation location, v) native;
|
| + void uniform2fv(UniformLocation location, v) native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniform2i')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniform2i(UniformLocation location, int x, int y) native;
|
| + void uniform2i(UniformLocation location, int x, int y) native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniform2iv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniform2iv(UniformLocation location, v) native;
|
| + void uniform2iv(UniformLocation location, v) native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniform3f')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniform3f(UniformLocation location, num x, num y, num z) native;
|
| + void uniform3f(UniformLocation location, num x, num y, num z) native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniform3fv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniform3fv(UniformLocation location, v) native;
|
| + void uniform3fv(UniformLocation location, v) native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniform3i')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniform3i(UniformLocation location, int x, int y, int z) native;
|
| + void uniform3i(UniformLocation location, int x, int y, int z) native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniform3iv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniform3iv(UniformLocation location, v) native;
|
| + void uniform3iv(UniformLocation location, v) native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniform4f')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniform4f(UniformLocation location, num x, num y, num z, num w) native;
|
| + void uniform4f(UniformLocation location, num x, num y, num z, num w) native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniform4fv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniform4fv(UniformLocation location, v) native;
|
| + void uniform4fv(UniformLocation location, v) native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniform4i')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniform4i(UniformLocation location, int x, int y, int z, int w) native;
|
| + void uniform4i(UniformLocation location, int x, int y, int z, int w) native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniform4iv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniform4iv(UniformLocation location, v) native;
|
| + void uniform4iv(UniformLocation location, v) native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniformMatrix2fv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniformMatrix2fv(UniformLocation location, bool transpose, array) native;
|
| + void uniformMatrix2fv(UniformLocation location, bool transpose, array)
|
| + native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniformMatrix3fv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniformMatrix3fv(UniformLocation location, bool transpose, array) native;
|
| + void uniformMatrix3fv(UniformLocation location, bool transpose, array)
|
| + native ;
|
|
|
| @DomName('WebGL2RenderingContext.uniformMatrix4fv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void uniformMatrix4fv(UniformLocation location, bool transpose, array) native;
|
| + void uniformMatrix4fv(UniformLocation location, bool transpose, array)
|
| + native ;
|
|
|
| @DomName('WebGL2RenderingContext.useProgram')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void useProgram(Program program) native;
|
| + void useProgram(Program program) native ;
|
|
|
| @DomName('WebGL2RenderingContext.validateProgram')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void validateProgram(Program program) native;
|
| + void validateProgram(Program program) native ;
|
|
|
| @DomName('WebGL2RenderingContext.vertexAttrib1f')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void vertexAttrib1f(int indx, num x) native;
|
| + void vertexAttrib1f(int indx, num x) native ;
|
|
|
| @DomName('WebGL2RenderingContext.vertexAttrib1fv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void vertexAttrib1fv(int indx, values) native;
|
| + void vertexAttrib1fv(int indx, values) native ;
|
|
|
| @DomName('WebGL2RenderingContext.vertexAttrib2f')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void vertexAttrib2f(int indx, num x, num y) native;
|
| + void vertexAttrib2f(int indx, num x, num y) native ;
|
|
|
| @DomName('WebGL2RenderingContext.vertexAttrib2fv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void vertexAttrib2fv(int indx, values) native;
|
| + void vertexAttrib2fv(int indx, values) native ;
|
|
|
| @DomName('WebGL2RenderingContext.vertexAttrib3f')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void vertexAttrib3f(int indx, num x, num y, num z) native;
|
| + void vertexAttrib3f(int indx, num x, num y, num z) native ;
|
|
|
| @DomName('WebGL2RenderingContext.vertexAttrib3fv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void vertexAttrib3fv(int indx, values) native;
|
| + void vertexAttrib3fv(int indx, values) native ;
|
|
|
| @DomName('WebGL2RenderingContext.vertexAttrib4f')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void vertexAttrib4f(int indx, num x, num y, num z, num w) native;
|
| + void vertexAttrib4f(int indx, num x, num y, num z, num w) native ;
|
|
|
| @DomName('WebGL2RenderingContext.vertexAttrib4fv')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void vertexAttrib4fv(int indx, values) native;
|
| + void vertexAttrib4fv(int indx, values) native ;
|
|
|
| @DomName('WebGL2RenderingContext.vertexAttribPointer')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void vertexAttribPointer(int indx, int size, int type, bool normalized, int stride, int offset) native;
|
| + void vertexAttribPointer(int indx, int size, int type, bool normalized,
|
| + int stride, int offset) native ;
|
|
|
| @DomName('WebGL2RenderingContext.viewport')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void viewport(int x, int y, int width, int height) native;
|
| + void viewport(int x, int y, int width, int height) native ;
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGLSampler')
|
| @Experimental() // untriaged
|
| @Native("WebGLSampler")
|
| class Sampler extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory Sampler._() { throw new UnsupportedError("Not supported"); }
|
| + factory Sampler._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGLShader')
|
| @Native("WebGLShader")
|
| class Shader extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory Shader._() { throw new UnsupportedError("Not supported"); }
|
| + factory Shader._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGLShaderPrecisionFormat')
|
| @Native("WebGLShaderPrecisionFormat")
|
| class ShaderPrecisionFormat extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory ShaderPrecisionFormat._() { throw new UnsupportedError("Not supported"); }
|
| + factory ShaderPrecisionFormat._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
|
|
| @DomName('WebGLShaderPrecisionFormat.precision')
|
| @DocsEditable()
|
| @@ -5920,70 +6323,74 @@ class ShaderPrecisionFormat extends Interceptor {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGLSync')
|
| @Experimental() // untriaged
|
| @Native("WebGLSync")
|
| class Sync extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory Sync._() { throw new UnsupportedError("Not supported"); }
|
| + factory Sync._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGLTexture')
|
| @Native("WebGLTexture")
|
| class Texture extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory Texture._() { throw new UnsupportedError("Not supported"); }
|
| + factory Texture._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGLTransformFeedback')
|
| @Experimental() // untriaged
|
| @Native("WebGLTransformFeedback")
|
| class TransformFeedback extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory TransformFeedback._() { throw new UnsupportedError("Not supported"); }
|
| + factory TransformFeedback._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGLUniformLocation')
|
| @Native("WebGLUniformLocation")
|
| class UniformLocation extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory UniformLocation._() { throw new UnsupportedError("Not supported"); }
|
| + factory UniformLocation._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGLVertexArrayObject')
|
| @Experimental() // untriaged
|
| @Native("WebGLVertexArrayObject")
|
| class VertexArrayObject extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); }
|
| + factory VertexArrayObject._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGLVertexArrayObjectOES')
|
| // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
|
| @@ -5991,20 +6398,24 @@ class VertexArrayObject extends Interceptor {
|
| @Native("WebGLVertexArrayObjectOES")
|
| class VertexArrayObjectOes extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory VertexArrayObjectOes._() { throw new UnsupportedError("Not supported"); }
|
| + factory VertexArrayObjectOes._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGL2RenderingContextBase')
|
| @Experimental() // untriaged
|
| @Native("WebGL2RenderingContextBase")
|
| -abstract class _WebGL2RenderingContextBase extends Interceptor implements _WebGLRenderingContextBase {
|
| +abstract class _WebGL2RenderingContextBase extends Interceptor
|
| + implements _WebGLRenderingContextBase {
|
| // To suppress missing implicit constructor warnings.
|
| - factory _WebGL2RenderingContextBase._() { throw new UnsupportedError("Not supported"); }
|
| + factory _WebGL2RenderingContextBase._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
|
|
| // From WebGLRenderingContextBase
|
| }
|
| @@ -6012,11 +6423,12 @@ abstract class _WebGL2RenderingContextBase extends Interceptor implements _WebGL
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -
|
| @DocsEditable()
|
| @DomName('WebGLRenderingContextBase')
|
| @Experimental() // untriaged
|
| abstract class _WebGLRenderingContextBase extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| - factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not supported"); }
|
| + factory _WebGLRenderingContextBase._() {
|
| + throw new UnsupportedError("Not supported");
|
| + }
|
| }
|
|
|