| 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 92023155ff27f6d13a0d935e48cbdfcc8cd1a316..bb02efe001b1746bc1113b33eae28c1aa5d501fe 100644
|
| --- a/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart
|
| +++ b/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart
|
| @@ -1062,2351 +1062,70 @@ class Renderbuffer extends Interceptor {
|
| @Experimental()
|
| @Unstable()
|
| @Native("WebGLRenderingContext")
|
| -class RenderingContext extends RenderingContextBase {
|
| +class RenderingContext extends Interceptor implements CanvasRenderingContext {
|
| // To suppress missing implicit constructor warnings.
|
| 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)');
|
|
|
| + // From WebGLRenderingContextBase
|
|
|
| - /**
|
| - * Sets the currently bound texture to [data].
|
| - *
|
| - * [data] can be either an [ImageElement], a
|
| - * [CanvasElement], a [VideoElement], or an [ImageData] object.
|
| - *
|
| - * To use [texImage2d] with a TypedData object, use [texImage2dTyped].
|
| - *
|
| - */
|
| - @JSName('texImage2D')
|
| - void texImage2DUntyped(int targetTexture, int levelOfDetail,
|
| - int internalFormat, int format, int type, data) native;
|
| -
|
| - /**
|
| - * Sets the currently bound texture to [data].
|
| - */
|
| - @JSName('texImage2D')
|
| - void texImage2DTyped(int targetTexture, int levelOfDetail,
|
| - int internalFormat, int width, int height, int border, int format,
|
| - int type, TypedData data) native;
|
| -
|
| - /**
|
| - * Updates a sub-rectangle of the currently bound texture to [data].
|
| - *
|
| - * [data] can be either an [ImageElement], a
|
| - * [CanvasElement], a [VideoElement], or an [ImageData] object.
|
| - *
|
| - * To use [texSubImage2d] with a TypedData object, use [texSubImage2dTyped].
|
| - *
|
| - */
|
| - @JSName('texSubImage2D')
|
| - void texSubImage2DUntyped(int targetTexture, int levelOfDetail,
|
| - int xOffset, int yOffset, int format, int type, data) native;
|
| -
|
| - /**
|
| - * Updates a sub-rectangle of the currently bound texture to [data].
|
| - */
|
| - @JSName('texSubImage2D')
|
| - void texSubImage2DTyped(int targetTexture, int levelOfDetail,
|
| - int xOffset, int yOffset, int width, int height, int border, int format,
|
| - int type, TypedData data) 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('WebGLRenderingContextBase')
|
| -@Experimental() // untriaged
|
| -@Native("WebGLRenderingContextBase")
|
| -class RenderingContextBase extends Interceptor {
|
| - // To suppress missing implicit constructor warnings.
|
| - factory RenderingContextBase._() { throw new UnsupportedError("Not supported"); }
|
| -
|
| - @DomName('WebGLRenderingContextBase.ACTIVE_ATTRIBUTES')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int ACTIVE_ATTRIBUTES = 0x8B89;
|
| -
|
| - @DomName('WebGLRenderingContextBase.ACTIVE_TEXTURE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int ACTIVE_TEXTURE = 0x84E0;
|
| -
|
| - @DomName('WebGLRenderingContextBase.ACTIVE_UNIFORMS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int ACTIVE_UNIFORMS = 0x8B86;
|
| -
|
| - @DomName('WebGLRenderingContextBase.ALIASED_LINE_WIDTH_RANGE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int ALIASED_LINE_WIDTH_RANGE = 0x846E;
|
| -
|
| - @DomName('WebGLRenderingContextBase.ALIASED_POINT_SIZE_RANGE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int ALIASED_POINT_SIZE_RANGE = 0x846D;
|
| -
|
| - @DomName('WebGLRenderingContextBase.ALPHA')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int ALPHA = 0x1906;
|
| -
|
| - @DomName('WebGLRenderingContextBase.ALPHA_BITS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int ALPHA_BITS = 0x0D55;
|
| -
|
| - @DomName('WebGLRenderingContextBase.ALWAYS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int ALWAYS = 0x0207;
|
| -
|
| - @DomName('WebGLRenderingContextBase.ARRAY_BUFFER')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int ARRAY_BUFFER = 0x8892;
|
| -
|
| - @DomName('WebGLRenderingContextBase.ARRAY_BUFFER_BINDING')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int ARRAY_BUFFER_BINDING = 0x8894;
|
| -
|
| - @DomName('WebGLRenderingContextBase.ATTACHED_SHADERS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int ATTACHED_SHADERS = 0x8B85;
|
| -
|
| - @DomName('WebGLRenderingContextBase.BACK')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int BACK = 0x0405;
|
| -
|
| - @DomName('WebGLRenderingContextBase.BLEND')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int BLEND = 0x0BE2;
|
| -
|
| - @DomName('WebGLRenderingContextBase.BLEND_COLOR')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int BLEND_COLOR = 0x8005;
|
| -
|
| - @DomName('WebGLRenderingContextBase.BLEND_DST_ALPHA')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int BLEND_DST_ALPHA = 0x80CA;
|
| -
|
| - @DomName('WebGLRenderingContextBase.BLEND_DST_RGB')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int BLEND_DST_RGB = 0x80C8;
|
| -
|
| - @DomName('WebGLRenderingContextBase.BLEND_EQUATION')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int BLEND_EQUATION = 0x8009;
|
| -
|
| - @DomName('WebGLRenderingContextBase.BLEND_EQUATION_ALPHA')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int BLEND_EQUATION_ALPHA = 0x883D;
|
| -
|
| - @DomName('WebGLRenderingContextBase.BLEND_EQUATION_RGB')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int BLEND_EQUATION_RGB = 0x8009;
|
| -
|
| - @DomName('WebGLRenderingContextBase.BLEND_SRC_ALPHA')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int BLEND_SRC_ALPHA = 0x80CB;
|
| -
|
| - @DomName('WebGLRenderingContextBase.BLEND_SRC_RGB')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int BLEND_SRC_RGB = 0x80C9;
|
| -
|
| - @DomName('WebGLRenderingContextBase.BLUE_BITS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int BLUE_BITS = 0x0D54;
|
| -
|
| - @DomName('WebGLRenderingContextBase.BOOL')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int BOOL = 0x8B56;
|
| -
|
| - @DomName('WebGLRenderingContextBase.BOOL_VEC2')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int BOOL_VEC2 = 0x8B57;
|
| -
|
| - @DomName('WebGLRenderingContextBase.BOOL_VEC3')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int BOOL_VEC3 = 0x8B58;
|
| -
|
| - @DomName('WebGLRenderingContextBase.BOOL_VEC4')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int BOOL_VEC4 = 0x8B59;
|
| -
|
| - @DomName('WebGLRenderingContextBase.BROWSER_DEFAULT_WEBGL')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int BROWSER_DEFAULT_WEBGL = 0x9244;
|
| -
|
| - @DomName('WebGLRenderingContextBase.BUFFER_SIZE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int BUFFER_SIZE = 0x8764;
|
| -
|
| - @DomName('WebGLRenderingContextBase.BUFFER_USAGE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int BUFFER_USAGE = 0x8765;
|
| -
|
| - @DomName('WebGLRenderingContextBase.BYTE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int BYTE = 0x1400;
|
| -
|
| - @DomName('WebGLRenderingContextBase.CCW')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int CCW = 0x0901;
|
| -
|
| - @DomName('WebGLRenderingContextBase.CLAMP_TO_EDGE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int CLAMP_TO_EDGE = 0x812F;
|
| -
|
| - @DomName('WebGLRenderingContextBase.COLOR_ATTACHMENT0')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int COLOR_ATTACHMENT0 = 0x8CE0;
|
| -
|
| - @DomName('WebGLRenderingContextBase.COLOR_BUFFER_BIT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int COLOR_BUFFER_BIT = 0x00004000;
|
| -
|
| - @DomName('WebGLRenderingContextBase.COLOR_CLEAR_VALUE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int COLOR_CLEAR_VALUE = 0x0C22;
|
| -
|
| - @DomName('WebGLRenderingContextBase.COLOR_WRITEMASK')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int COLOR_WRITEMASK = 0x0C23;
|
| -
|
| - @DomName('WebGLRenderingContextBase.COMPILE_STATUS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int COMPILE_STATUS = 0x8B81;
|
| -
|
| - @DomName('WebGLRenderingContextBase.COMPRESSED_TEXTURE_FORMATS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int COMPRESSED_TEXTURE_FORMATS = 0x86A3;
|
| -
|
| - @DomName('WebGLRenderingContextBase.CONSTANT_ALPHA')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int CONSTANT_ALPHA = 0x8003;
|
| -
|
| - @DomName('WebGLRenderingContextBase.CONSTANT_COLOR')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int CONSTANT_COLOR = 0x8001;
|
| -
|
| - @DomName('WebGLRenderingContextBase.CONTEXT_LOST_WEBGL')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int CONTEXT_LOST_WEBGL = 0x9242;
|
| -
|
| - @DomName('WebGLRenderingContextBase.CULL_FACE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int CULL_FACE = 0x0B44;
|
| -
|
| - @DomName('WebGLRenderingContextBase.CULL_FACE_MODE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int CULL_FACE_MODE = 0x0B45;
|
| -
|
| - @DomName('WebGLRenderingContextBase.CURRENT_PROGRAM')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int CURRENT_PROGRAM = 0x8B8D;
|
| -
|
| - @DomName('WebGLRenderingContextBase.CURRENT_VERTEX_ATTRIB')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int CURRENT_VERTEX_ATTRIB = 0x8626;
|
| -
|
| - @DomName('WebGLRenderingContextBase.CW')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int CW = 0x0900;
|
| -
|
| - @DomName('WebGLRenderingContextBase.DECR')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int DECR = 0x1E03;
|
| -
|
| - @DomName('WebGLRenderingContextBase.DECR_WRAP')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int DECR_WRAP = 0x8508;
|
| -
|
| - @DomName('WebGLRenderingContextBase.DELETE_STATUS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int DELETE_STATUS = 0x8B80;
|
| -
|
| - @DomName('WebGLRenderingContextBase.DEPTH_ATTACHMENT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int DEPTH_ATTACHMENT = 0x8D00;
|
| -
|
| - @DomName('WebGLRenderingContextBase.DEPTH_BITS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int DEPTH_BITS = 0x0D56;
|
| -
|
| - @DomName('WebGLRenderingContextBase.DEPTH_BUFFER_BIT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int DEPTH_BUFFER_BIT = 0x00000100;
|
| -
|
| - @DomName('WebGLRenderingContextBase.DEPTH_CLEAR_VALUE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int DEPTH_CLEAR_VALUE = 0x0B73;
|
| -
|
| - @DomName('WebGLRenderingContextBase.DEPTH_COMPONENT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int DEPTH_COMPONENT = 0x1902;
|
| -
|
| - @DomName('WebGLRenderingContextBase.DEPTH_COMPONENT16')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int DEPTH_COMPONENT16 = 0x81A5;
|
| -
|
| - @DomName('WebGLRenderingContextBase.DEPTH_FUNC')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int DEPTH_FUNC = 0x0B74;
|
| -
|
| - @DomName('WebGLRenderingContextBase.DEPTH_RANGE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int DEPTH_RANGE = 0x0B70;
|
| -
|
| - @DomName('WebGLRenderingContextBase.DEPTH_STENCIL')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int DEPTH_STENCIL = 0x84F9;
|
| -
|
| - @DomName('WebGLRenderingContextBase.DEPTH_STENCIL_ATTACHMENT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int DEPTH_STENCIL_ATTACHMENT = 0x821A;
|
| -
|
| - @DomName('WebGLRenderingContextBase.DEPTH_TEST')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int DEPTH_TEST = 0x0B71;
|
| -
|
| - @DomName('WebGLRenderingContextBase.DEPTH_WRITEMASK')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int DEPTH_WRITEMASK = 0x0B72;
|
| -
|
| - @DomName('WebGLRenderingContextBase.DITHER')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int DITHER = 0x0BD0;
|
| -
|
| - @DomName('WebGLRenderingContextBase.DONT_CARE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int DONT_CARE = 0x1100;
|
| -
|
| - @DomName('WebGLRenderingContextBase.DST_ALPHA')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int DST_ALPHA = 0x0304;
|
| -
|
| - @DomName('WebGLRenderingContextBase.DST_COLOR')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int DST_COLOR = 0x0306;
|
| -
|
| - @DomName('WebGLRenderingContextBase.DYNAMIC_DRAW')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int DYNAMIC_DRAW = 0x88E8;
|
| -
|
| - @DomName('WebGLRenderingContextBase.ELEMENT_ARRAY_BUFFER')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int ELEMENT_ARRAY_BUFFER = 0x8893;
|
| -
|
| - @DomName('WebGLRenderingContextBase.ELEMENT_ARRAY_BUFFER_BINDING')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895;
|
| -
|
| - @DomName('WebGLRenderingContextBase.EQUAL')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int EQUAL = 0x0202;
|
| -
|
| - @DomName('WebGLRenderingContextBase.FASTEST')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int FASTEST = 0x1101;
|
| -
|
| - @DomName('WebGLRenderingContextBase.FLOAT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int FLOAT = 0x1406;
|
| -
|
| - @DomName('WebGLRenderingContextBase.FLOAT_MAT2')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int FLOAT_MAT2 = 0x8B5A;
|
| -
|
| - @DomName('WebGLRenderingContextBase.FLOAT_MAT3')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int FLOAT_MAT3 = 0x8B5B;
|
| -
|
| - @DomName('WebGLRenderingContextBase.FLOAT_MAT4')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int FLOAT_MAT4 = 0x8B5C;
|
| -
|
| - @DomName('WebGLRenderingContextBase.FLOAT_VEC2')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int FLOAT_VEC2 = 0x8B50;
|
| -
|
| - @DomName('WebGLRenderingContextBase.FLOAT_VEC3')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int FLOAT_VEC3 = 0x8B51;
|
| -
|
| - @DomName('WebGLRenderingContextBase.FLOAT_VEC4')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int FLOAT_VEC4 = 0x8B52;
|
| -
|
| - @DomName('WebGLRenderingContextBase.FRAGMENT_SHADER')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int FRAGMENT_SHADER = 0x8B30;
|
| -
|
| - @DomName('WebGLRenderingContextBase.FRAMEBUFFER')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int FRAMEBUFFER = 0x8D40;
|
| -
|
| - @DomName('WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1;
|
| -
|
| - @DomName('WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0;
|
| -
|
| - @DomName('WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3;
|
| -
|
| - @DomName('WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2;
|
| -
|
| - @DomName('WebGLRenderingContextBase.FRAMEBUFFER_BINDING')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int FRAMEBUFFER_BINDING = 0x8CA6;
|
| -
|
| - @DomName('WebGLRenderingContextBase.FRAMEBUFFER_COMPLETE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int FRAMEBUFFER_COMPLETE = 0x8CD5;
|
| -
|
| - @DomName('WebGLRenderingContextBase.FRAMEBUFFER_INCOMPLETE_ATTACHMENT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6;
|
| -
|
| - @DomName('WebGLRenderingContextBase.FRAMEBUFFER_INCOMPLETE_DIMENSIONS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9;
|
| -
|
| - @DomName('WebGLRenderingContextBase.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7;
|
| -
|
| - @DomName('WebGLRenderingContextBase.FRAMEBUFFER_UNSUPPORTED')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int FRAMEBUFFER_UNSUPPORTED = 0x8CDD;
|
| -
|
| - @DomName('WebGLRenderingContextBase.FRONT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int FRONT = 0x0404;
|
| -
|
| - @DomName('WebGLRenderingContextBase.FRONT_AND_BACK')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int FRONT_AND_BACK = 0x0408;
|
| -
|
| - @DomName('WebGLRenderingContextBase.FRONT_FACE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int FRONT_FACE = 0x0B46;
|
| -
|
| - @DomName('WebGLRenderingContextBase.FUNC_ADD')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int FUNC_ADD = 0x8006;
|
| -
|
| - @DomName('WebGLRenderingContextBase.FUNC_REVERSE_SUBTRACT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int FUNC_REVERSE_SUBTRACT = 0x800B;
|
| -
|
| - @DomName('WebGLRenderingContextBase.FUNC_SUBTRACT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int FUNC_SUBTRACT = 0x800A;
|
| -
|
| - @DomName('WebGLRenderingContextBase.GENERATE_MIPMAP_HINT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int GENERATE_MIPMAP_HINT = 0x8192;
|
| -
|
| - @DomName('WebGLRenderingContextBase.GEQUAL')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int GEQUAL = 0x0206;
|
| -
|
| - @DomName('WebGLRenderingContextBase.GREATER')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int GREATER = 0x0204;
|
| -
|
| - @DomName('WebGLRenderingContextBase.GREEN_BITS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int GREEN_BITS = 0x0D53;
|
| -
|
| - @DomName('WebGLRenderingContextBase.HIGH_FLOAT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int HIGH_FLOAT = 0x8DF2;
|
| -
|
| - @DomName('WebGLRenderingContextBase.HIGH_INT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int HIGH_INT = 0x8DF5;
|
| -
|
| - @DomName('WebGLRenderingContextBase.IMPLEMENTATION_COLOR_READ_FORMAT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int IMPLEMENTATION_COLOR_READ_FORMAT = 0x8B9B;
|
| -
|
| - @DomName('WebGLRenderingContextBase.IMPLEMENTATION_COLOR_READ_TYPE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int IMPLEMENTATION_COLOR_READ_TYPE = 0x8B9A;
|
| -
|
| - @DomName('WebGLRenderingContextBase.INCR')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int INCR = 0x1E02;
|
| -
|
| - @DomName('WebGLRenderingContextBase.INCR_WRAP')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int INCR_WRAP = 0x8507;
|
| -
|
| - @DomName('WebGLRenderingContextBase.INT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int INT = 0x1404;
|
| -
|
| - @DomName('WebGLRenderingContextBase.INT_VEC2')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int INT_VEC2 = 0x8B53;
|
| -
|
| - @DomName('WebGLRenderingContextBase.INT_VEC3')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int INT_VEC3 = 0x8B54;
|
| -
|
| - @DomName('WebGLRenderingContextBase.INT_VEC4')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int INT_VEC4 = 0x8B55;
|
| -
|
| - @DomName('WebGLRenderingContextBase.INVALID_ENUM')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int INVALID_ENUM = 0x0500;
|
| -
|
| - @DomName('WebGLRenderingContextBase.INVALID_FRAMEBUFFER_OPERATION')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int INVALID_FRAMEBUFFER_OPERATION = 0x0506;
|
| -
|
| - @DomName('WebGLRenderingContextBase.INVALID_OPERATION')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int INVALID_OPERATION = 0x0502;
|
| -
|
| - @DomName('WebGLRenderingContextBase.INVALID_VALUE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int INVALID_VALUE = 0x0501;
|
| -
|
| - @DomName('WebGLRenderingContextBase.INVERT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int INVERT = 0x150A;
|
| -
|
| - @DomName('WebGLRenderingContextBase.KEEP')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int KEEP = 0x1E00;
|
| -
|
| - @DomName('WebGLRenderingContextBase.LEQUAL')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int LEQUAL = 0x0203;
|
| -
|
| - @DomName('WebGLRenderingContextBase.LESS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int LESS = 0x0201;
|
| -
|
| - @DomName('WebGLRenderingContextBase.LINEAR')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int LINEAR = 0x2601;
|
| -
|
| - @DomName('WebGLRenderingContextBase.LINEAR_MIPMAP_LINEAR')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int LINEAR_MIPMAP_LINEAR = 0x2703;
|
| -
|
| - @DomName('WebGLRenderingContextBase.LINEAR_MIPMAP_NEAREST')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int LINEAR_MIPMAP_NEAREST = 0x2701;
|
| -
|
| - @DomName('WebGLRenderingContextBase.LINES')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int LINES = 0x0001;
|
| -
|
| - @DomName('WebGLRenderingContextBase.LINE_LOOP')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int LINE_LOOP = 0x0002;
|
| -
|
| - @DomName('WebGLRenderingContextBase.LINE_STRIP')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int LINE_STRIP = 0x0003;
|
| -
|
| - @DomName('WebGLRenderingContextBase.LINE_WIDTH')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int LINE_WIDTH = 0x0B21;
|
| -
|
| - @DomName('WebGLRenderingContextBase.LINK_STATUS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int LINK_STATUS = 0x8B82;
|
| -
|
| - @DomName('WebGLRenderingContextBase.LOW_FLOAT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int LOW_FLOAT = 0x8DF0;
|
| -
|
| - @DomName('WebGLRenderingContextBase.LOW_INT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int LOW_INT = 0x8DF3;
|
| -
|
| - @DomName('WebGLRenderingContextBase.LUMINANCE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int LUMINANCE = 0x1909;
|
| -
|
| - @DomName('WebGLRenderingContextBase.LUMINANCE_ALPHA')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int LUMINANCE_ALPHA = 0x190A;
|
| -
|
| - @DomName('WebGLRenderingContextBase.MAX_COMBINED_TEXTURE_IMAGE_UNITS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D;
|
| -
|
| - @DomName('WebGLRenderingContextBase.MAX_CUBE_MAP_TEXTURE_SIZE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C;
|
| -
|
| - @DomName('WebGLRenderingContextBase.MAX_FRAGMENT_UNIFORM_VECTORS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD;
|
| -
|
| - @DomName('WebGLRenderingContextBase.MAX_RENDERBUFFER_SIZE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int MAX_RENDERBUFFER_SIZE = 0x84E8;
|
| -
|
| - @DomName('WebGLRenderingContextBase.MAX_TEXTURE_IMAGE_UNITS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int MAX_TEXTURE_IMAGE_UNITS = 0x8872;
|
| -
|
| - @DomName('WebGLRenderingContextBase.MAX_TEXTURE_SIZE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int MAX_TEXTURE_SIZE = 0x0D33;
|
| -
|
| - @DomName('WebGLRenderingContextBase.MAX_VARYING_VECTORS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int MAX_VARYING_VECTORS = 0x8DFC;
|
| -
|
| - @DomName('WebGLRenderingContextBase.MAX_VERTEX_ATTRIBS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int MAX_VERTEX_ATTRIBS = 0x8869;
|
| -
|
| - @DomName('WebGLRenderingContextBase.MAX_VERTEX_TEXTURE_IMAGE_UNITS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C;
|
| -
|
| - @DomName('WebGLRenderingContextBase.MAX_VERTEX_UNIFORM_VECTORS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB;
|
| -
|
| - @DomName('WebGLRenderingContextBase.MAX_VIEWPORT_DIMS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int MAX_VIEWPORT_DIMS = 0x0D3A;
|
| -
|
| - @DomName('WebGLRenderingContextBase.MEDIUM_FLOAT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int MEDIUM_FLOAT = 0x8DF1;
|
| -
|
| - @DomName('WebGLRenderingContextBase.MEDIUM_INT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int MEDIUM_INT = 0x8DF4;
|
| -
|
| - @DomName('WebGLRenderingContextBase.MIRRORED_REPEAT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int MIRRORED_REPEAT = 0x8370;
|
| -
|
| - @DomName('WebGLRenderingContextBase.NEAREST')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int NEAREST = 0x2600;
|
| -
|
| - @DomName('WebGLRenderingContextBase.NEAREST_MIPMAP_LINEAR')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int NEAREST_MIPMAP_LINEAR = 0x2702;
|
| -
|
| - @DomName('WebGLRenderingContextBase.NEAREST_MIPMAP_NEAREST')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int NEAREST_MIPMAP_NEAREST = 0x2700;
|
| -
|
| - @DomName('WebGLRenderingContextBase.NEVER')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int NEVER = 0x0200;
|
| -
|
| - @DomName('WebGLRenderingContextBase.NICEST')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int NICEST = 0x1102;
|
| -
|
| - @DomName('WebGLRenderingContextBase.NONE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int NONE = 0;
|
| -
|
| - @DomName('WebGLRenderingContextBase.NOTEQUAL')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int NOTEQUAL = 0x0205;
|
| -
|
| - @DomName('WebGLRenderingContextBase.NO_ERROR')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int NO_ERROR = 0;
|
| -
|
| - @DomName('WebGLRenderingContextBase.ONE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int ONE = 1;
|
| -
|
| - @DomName('WebGLRenderingContextBase.ONE_MINUS_CONSTANT_ALPHA')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int ONE_MINUS_CONSTANT_ALPHA = 0x8004;
|
| -
|
| - @DomName('WebGLRenderingContextBase.ONE_MINUS_CONSTANT_COLOR')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int ONE_MINUS_CONSTANT_COLOR = 0x8002;
|
| -
|
| - @DomName('WebGLRenderingContextBase.ONE_MINUS_DST_ALPHA')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int ONE_MINUS_DST_ALPHA = 0x0305;
|
| -
|
| - @DomName('WebGLRenderingContextBase.ONE_MINUS_DST_COLOR')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int ONE_MINUS_DST_COLOR = 0x0307;
|
| -
|
| - @DomName('WebGLRenderingContextBase.ONE_MINUS_SRC_ALPHA')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int ONE_MINUS_SRC_ALPHA = 0x0303;
|
| -
|
| - @DomName('WebGLRenderingContextBase.ONE_MINUS_SRC_COLOR')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int ONE_MINUS_SRC_COLOR = 0x0301;
|
| -
|
| - @DomName('WebGLRenderingContextBase.OUT_OF_MEMORY')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int OUT_OF_MEMORY = 0x0505;
|
| -
|
| - @DomName('WebGLRenderingContextBase.PACK_ALIGNMENT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int PACK_ALIGNMENT = 0x0D05;
|
| -
|
| - @DomName('WebGLRenderingContextBase.POINTS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int POINTS = 0x0000;
|
| -
|
| - @DomName('WebGLRenderingContextBase.POLYGON_OFFSET_FACTOR')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int POLYGON_OFFSET_FACTOR = 0x8038;
|
| -
|
| - @DomName('WebGLRenderingContextBase.POLYGON_OFFSET_FILL')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int POLYGON_OFFSET_FILL = 0x8037;
|
| -
|
| - @DomName('WebGLRenderingContextBase.POLYGON_OFFSET_UNITS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int POLYGON_OFFSET_UNITS = 0x2A00;
|
| -
|
| - @DomName('WebGLRenderingContextBase.RED_BITS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int RED_BITS = 0x0D52;
|
| -
|
| - @DomName('WebGLRenderingContextBase.RENDERBUFFER')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int RENDERBUFFER = 0x8D41;
|
| -
|
| - @DomName('WebGLRenderingContextBase.RENDERBUFFER_ALPHA_SIZE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int RENDERBUFFER_ALPHA_SIZE = 0x8D53;
|
| -
|
| - @DomName('WebGLRenderingContextBase.RENDERBUFFER_BINDING')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int RENDERBUFFER_BINDING = 0x8CA7;
|
| -
|
| - @DomName('WebGLRenderingContextBase.RENDERBUFFER_BLUE_SIZE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int RENDERBUFFER_BLUE_SIZE = 0x8D52;
|
| -
|
| - @DomName('WebGLRenderingContextBase.RENDERBUFFER_DEPTH_SIZE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int RENDERBUFFER_DEPTH_SIZE = 0x8D54;
|
| -
|
| - @DomName('WebGLRenderingContextBase.RENDERBUFFER_GREEN_SIZE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int RENDERBUFFER_GREEN_SIZE = 0x8D51;
|
| -
|
| - @DomName('WebGLRenderingContextBase.RENDERBUFFER_HEIGHT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int RENDERBUFFER_HEIGHT = 0x8D43;
|
| -
|
| - @DomName('WebGLRenderingContextBase.RENDERBUFFER_INTERNAL_FORMAT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44;
|
| -
|
| - @DomName('WebGLRenderingContextBase.RENDERBUFFER_RED_SIZE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int RENDERBUFFER_RED_SIZE = 0x8D50;
|
| -
|
| - @DomName('WebGLRenderingContextBase.RENDERBUFFER_STENCIL_SIZE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int RENDERBUFFER_STENCIL_SIZE = 0x8D55;
|
| -
|
| - @DomName('WebGLRenderingContextBase.RENDERBUFFER_WIDTH')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int RENDERBUFFER_WIDTH = 0x8D42;
|
| -
|
| - @DomName('WebGLRenderingContextBase.RENDERER')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int RENDERER = 0x1F01;
|
| -
|
| - @DomName('WebGLRenderingContextBase.REPEAT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int REPEAT = 0x2901;
|
| -
|
| - @DomName('WebGLRenderingContextBase.REPLACE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int REPLACE = 0x1E01;
|
| -
|
| - @DomName('WebGLRenderingContextBase.RGB')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int RGB = 0x1907;
|
| -
|
| - @DomName('WebGLRenderingContextBase.RGB565')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int RGB565 = 0x8D62;
|
| -
|
| - @DomName('WebGLRenderingContextBase.RGB5_A1')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int RGB5_A1 = 0x8057;
|
| -
|
| - @DomName('WebGLRenderingContextBase.RGBA')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int RGBA = 0x1908;
|
| -
|
| - @DomName('WebGLRenderingContextBase.RGBA4')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int RGBA4 = 0x8056;
|
| -
|
| - @DomName('WebGLRenderingContextBase.SAMPLER_2D')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int SAMPLER_2D = 0x8B5E;
|
| -
|
| - @DomName('WebGLRenderingContextBase.SAMPLER_CUBE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int SAMPLER_CUBE = 0x8B60;
|
| -
|
| - @DomName('WebGLRenderingContextBase.SAMPLES')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int SAMPLES = 0x80A9;
|
| -
|
| - @DomName('WebGLRenderingContextBase.SAMPLE_ALPHA_TO_COVERAGE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int SAMPLE_ALPHA_TO_COVERAGE = 0x809E;
|
| -
|
| - @DomName('WebGLRenderingContextBase.SAMPLE_BUFFERS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int SAMPLE_BUFFERS = 0x80A8;
|
| -
|
| - @DomName('WebGLRenderingContextBase.SAMPLE_COVERAGE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int SAMPLE_COVERAGE = 0x80A0;
|
| -
|
| - @DomName('WebGLRenderingContextBase.SAMPLE_COVERAGE_INVERT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int SAMPLE_COVERAGE_INVERT = 0x80AB;
|
| -
|
| - @DomName('WebGLRenderingContextBase.SAMPLE_COVERAGE_VALUE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int SAMPLE_COVERAGE_VALUE = 0x80AA;
|
| -
|
| - @DomName('WebGLRenderingContextBase.SCISSOR_BOX')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int SCISSOR_BOX = 0x0C10;
|
| -
|
| - @DomName('WebGLRenderingContextBase.SCISSOR_TEST')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int SCISSOR_TEST = 0x0C11;
|
| -
|
| - @DomName('WebGLRenderingContextBase.SHADER_TYPE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int SHADER_TYPE = 0x8B4F;
|
| -
|
| - @DomName('WebGLRenderingContextBase.SHADING_LANGUAGE_VERSION')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int SHADING_LANGUAGE_VERSION = 0x8B8C;
|
| -
|
| - @DomName('WebGLRenderingContextBase.SHORT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int SHORT = 0x1402;
|
| -
|
| - @DomName('WebGLRenderingContextBase.SRC_ALPHA')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int SRC_ALPHA = 0x0302;
|
| -
|
| - @DomName('WebGLRenderingContextBase.SRC_ALPHA_SATURATE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int SRC_ALPHA_SATURATE = 0x0308;
|
| -
|
| - @DomName('WebGLRenderingContextBase.SRC_COLOR')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int SRC_COLOR = 0x0300;
|
| -
|
| - @DomName('WebGLRenderingContextBase.STATIC_DRAW')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int STATIC_DRAW = 0x88E4;
|
| -
|
| - @DomName('WebGLRenderingContextBase.STENCIL_ATTACHMENT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int STENCIL_ATTACHMENT = 0x8D20;
|
| -
|
| - @DomName('WebGLRenderingContextBase.STENCIL_BACK_FAIL')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int STENCIL_BACK_FAIL = 0x8801;
|
| -
|
| - @DomName('WebGLRenderingContextBase.STENCIL_BACK_FUNC')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int STENCIL_BACK_FUNC = 0x8800;
|
| -
|
| - @DomName('WebGLRenderingContextBase.STENCIL_BACK_PASS_DEPTH_FAIL')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802;
|
| -
|
| - @DomName('WebGLRenderingContextBase.STENCIL_BACK_PASS_DEPTH_PASS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803;
|
| -
|
| - @DomName('WebGLRenderingContextBase.STENCIL_BACK_REF')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int STENCIL_BACK_REF = 0x8CA3;
|
| -
|
| - @DomName('WebGLRenderingContextBase.STENCIL_BACK_VALUE_MASK')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int STENCIL_BACK_VALUE_MASK = 0x8CA4;
|
| -
|
| - @DomName('WebGLRenderingContextBase.STENCIL_BACK_WRITEMASK')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int STENCIL_BACK_WRITEMASK = 0x8CA5;
|
| -
|
| - @DomName('WebGLRenderingContextBase.STENCIL_BITS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int STENCIL_BITS = 0x0D57;
|
| -
|
| - @DomName('WebGLRenderingContextBase.STENCIL_BUFFER_BIT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int STENCIL_BUFFER_BIT = 0x00000400;
|
| -
|
| - @DomName('WebGLRenderingContextBase.STENCIL_CLEAR_VALUE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int STENCIL_CLEAR_VALUE = 0x0B91;
|
| -
|
| - @DomName('WebGLRenderingContextBase.STENCIL_FAIL')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int STENCIL_FAIL = 0x0B94;
|
| -
|
| - @DomName('WebGLRenderingContextBase.STENCIL_FUNC')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int STENCIL_FUNC = 0x0B92;
|
| -
|
| - @DomName('WebGLRenderingContextBase.STENCIL_INDEX')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int STENCIL_INDEX = 0x1901;
|
| -
|
| - @DomName('WebGLRenderingContextBase.STENCIL_INDEX8')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int STENCIL_INDEX8 = 0x8D48;
|
| -
|
| - @DomName('WebGLRenderingContextBase.STENCIL_PASS_DEPTH_FAIL')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int STENCIL_PASS_DEPTH_FAIL = 0x0B95;
|
| -
|
| - @DomName('WebGLRenderingContextBase.STENCIL_PASS_DEPTH_PASS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int STENCIL_PASS_DEPTH_PASS = 0x0B96;
|
| -
|
| - @DomName('WebGLRenderingContextBase.STENCIL_REF')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int STENCIL_REF = 0x0B97;
|
| -
|
| - @DomName('WebGLRenderingContextBase.STENCIL_TEST')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int STENCIL_TEST = 0x0B90;
|
| -
|
| - @DomName('WebGLRenderingContextBase.STENCIL_VALUE_MASK')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int STENCIL_VALUE_MASK = 0x0B93;
|
| -
|
| - @DomName('WebGLRenderingContextBase.STENCIL_WRITEMASK')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int STENCIL_WRITEMASK = 0x0B98;
|
| -
|
| - @DomName('WebGLRenderingContextBase.STREAM_DRAW')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int STREAM_DRAW = 0x88E0;
|
| -
|
| - @DomName('WebGLRenderingContextBase.SUBPIXEL_BITS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int SUBPIXEL_BITS = 0x0D50;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE = 0x1702;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE0')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE0 = 0x84C0;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE1')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE1 = 0x84C1;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE10')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE10 = 0x84CA;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE11')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE11 = 0x84CB;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE12')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE12 = 0x84CC;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE13')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE13 = 0x84CD;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE14')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE14 = 0x84CE;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE15')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE15 = 0x84CF;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE16')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE16 = 0x84D0;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE17')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE17 = 0x84D1;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE18')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE18 = 0x84D2;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE19')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE19 = 0x84D3;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE2')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE2 = 0x84C2;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE20')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE20 = 0x84D4;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE21')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE21 = 0x84D5;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE22')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE22 = 0x84D6;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE23')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE23 = 0x84D7;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE24')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE24 = 0x84D8;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE25')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE25 = 0x84D9;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE26')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE26 = 0x84DA;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE27')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE27 = 0x84DB;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE28')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE28 = 0x84DC;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE29')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE29 = 0x84DD;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE3')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE3 = 0x84C3;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE30')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE30 = 0x84DE;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE31')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE31 = 0x84DF;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE4')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE4 = 0x84C4;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE5')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE5 = 0x84C5;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE6')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE6 = 0x84C6;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE7')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE7 = 0x84C7;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE8')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE8 = 0x84C8;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE9')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE9 = 0x84C9;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE_2D')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE_2D = 0x0DE1;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE_BINDING_2D')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE_BINDING_2D = 0x8069;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE_BINDING_CUBE_MAP')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE_BINDING_CUBE_MAP = 0x8514;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE_CUBE_MAP = 0x8513;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_NEGATIVE_X')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_NEGATIVE_Y')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_NEGATIVE_Z')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_POSITIVE_X')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_POSITIVE_Y')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_POSITIVE_Z')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE_MAG_FILTER')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE_MAG_FILTER = 0x2800;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE_MIN_FILTER')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE_MIN_FILTER = 0x2801;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE_WRAP_S')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE_WRAP_S = 0x2802;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TEXTURE_WRAP_T')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TEXTURE_WRAP_T = 0x2803;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TRIANGLES')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TRIANGLES = 0x0004;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TRIANGLE_FAN')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TRIANGLE_FAN = 0x0006;
|
| -
|
| - @DomName('WebGLRenderingContextBase.TRIANGLE_STRIP')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int TRIANGLE_STRIP = 0x0005;
|
| -
|
| - @DomName('WebGLRenderingContextBase.UNPACK_ALIGNMENT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int UNPACK_ALIGNMENT = 0x0CF5;
|
| -
|
| - @DomName('WebGLRenderingContextBase.UNPACK_COLORSPACE_CONVERSION_WEBGL')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243;
|
| -
|
| - @DomName('WebGLRenderingContextBase.UNPACK_FLIP_Y_WEBGL')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int UNPACK_FLIP_Y_WEBGL = 0x9240;
|
| -
|
| - @DomName('WebGLRenderingContextBase.UNPACK_PREMULTIPLY_ALPHA_WEBGL')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241;
|
| -
|
| - @DomName('WebGLRenderingContextBase.UNSIGNED_BYTE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int UNSIGNED_BYTE = 0x1401;
|
| -
|
| - @DomName('WebGLRenderingContextBase.UNSIGNED_INT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int UNSIGNED_INT = 0x1405;
|
| -
|
| - @DomName('WebGLRenderingContextBase.UNSIGNED_SHORT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int UNSIGNED_SHORT = 0x1403;
|
| -
|
| - @DomName('WebGLRenderingContextBase.UNSIGNED_SHORT_4_4_4_4')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int UNSIGNED_SHORT_4_4_4_4 = 0x8033;
|
| -
|
| - @DomName('WebGLRenderingContextBase.UNSIGNED_SHORT_5_5_5_1')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int UNSIGNED_SHORT_5_5_5_1 = 0x8034;
|
| -
|
| - @DomName('WebGLRenderingContextBase.UNSIGNED_SHORT_5_6_5')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int UNSIGNED_SHORT_5_6_5 = 0x8363;
|
| -
|
| - @DomName('WebGLRenderingContextBase.VALIDATE_STATUS')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int VALIDATE_STATUS = 0x8B83;
|
| -
|
| - @DomName('WebGLRenderingContextBase.VENDOR')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int VENDOR = 0x1F00;
|
| -
|
| - @DomName('WebGLRenderingContextBase.VERSION')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int VERSION = 0x1F02;
|
| -
|
| - @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F;
|
| -
|
| - @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_ENABLED')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622;
|
| -
|
| - @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_NORMALIZED')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A;
|
| -
|
| - @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_POINTER')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645;
|
| -
|
| - @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_SIZE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623;
|
| -
|
| - @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_STRIDE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624;
|
| -
|
| - @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_TYPE')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625;
|
| -
|
| - @DomName('WebGLRenderingContextBase.VERTEX_SHADER')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int VERTEX_SHADER = 0x8B31;
|
| -
|
| - @DomName('WebGLRenderingContextBase.VIEWPORT')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int VIEWPORT = 0x0BA2;
|
| -
|
| - @DomName('WebGLRenderingContextBase.ZERO')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int ZERO = 0;
|
| -
|
| - @DomName('WebGLRenderingContextBase.canvas')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - final CanvasElement canvas;
|
| -
|
| - @DomName('WebGLRenderingContextBase.drawingBufferHeight')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - final int drawingBufferHeight;
|
| -
|
| - @DomName('WebGLRenderingContextBase.drawingBufferWidth')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - final int drawingBufferWidth;
|
| -
|
| - @DomName('WebGLRenderingContextBase.activeTexture')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void activeTexture(int texture) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.attachShader')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void attachShader(Program program, Shader shader) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.bindAttribLocation')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void bindAttribLocation(Program program, int index, String name) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.bindBuffer')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void bindBuffer(int target, Buffer buffer) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.bindFramebuffer')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void bindFramebuffer(int target, Framebuffer framebuffer) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.bindRenderbuffer')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void bindRenderbuffer(int target, Renderbuffer renderbuffer) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.bindTexture')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void bindTexture(int target, Texture texture) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.blendColor')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void blendColor(num red, num green, num blue, num alpha) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.blendEquation')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void blendEquation(int mode) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.blendEquationSeparate')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void blendEquationSeparate(int modeRGB, int modeAlpha) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.blendFunc')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void blendFunc(int sfactor, int dfactor) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.blendFuncSeparate')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.bufferData')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void bufferData(int target, data_OR_size, int usage) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.bufferSubData')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void bufferSubData(int target, int offset, data) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.checkFramebufferStatus')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - int checkFramebufferStatus(int target) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.clear')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void clear(int mask) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.clearColor')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void clearColor(num red, num green, num blue, num alpha) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.clearDepth')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void clearDepth(num depth) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.clearStencil')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void clearStencil(int s) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.colorMask')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void colorMask(bool red, bool green, bool blue, bool alpha) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.compileShader')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void compileShader(Shader shader) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.compressedTexImage2D')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void compressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, TypedData data) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.compressedTexSubImage2D')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, TypedData data) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.copyTexImage2D')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void copyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.copyTexSubImage2D')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.createBuffer')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Buffer createBuffer() native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.createFramebuffer')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Framebuffer createFramebuffer() native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.createProgram')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Program createProgram() native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.createRenderbuffer')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Renderbuffer createRenderbuffer() native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.createShader')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Shader createShader(int type) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.createTexture')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Texture createTexture() native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.cullFace')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void cullFace(int mode) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.deleteBuffer')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void deleteBuffer(Buffer buffer) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.deleteFramebuffer')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void deleteFramebuffer(Framebuffer framebuffer) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.deleteProgram')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void deleteProgram(Program program) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.deleteRenderbuffer')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void deleteRenderbuffer(Renderbuffer renderbuffer) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.deleteShader')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void deleteShader(Shader shader) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.deleteTexture')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void deleteTexture(Texture texture) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.depthFunc')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void depthFunc(int func) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.depthMask')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void depthMask(bool flag) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.depthRange')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void depthRange(num zNear, num zFar) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.detachShader')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void detachShader(Program program, Shader shader) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.disable')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void disable(int cap) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.disableVertexAttribArray')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void disableVertexAttribArray(int index) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.drawArrays')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void drawArrays(int mode, int first, int count) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.drawElements')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void drawElements(int mode, int count, int type, int offset) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.enable')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void enable(int cap) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.enableVertexAttribArray')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void enableVertexAttribArray(int index) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.finish')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void finish() native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.flush')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void flush() native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.framebufferRenderbuffer')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void framebufferRenderbuffer(int target, int attachment, int renderbuffertarget, Renderbuffer renderbuffer) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.framebufferTexture2D')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void framebufferTexture2D(int target, int attachment, int textarget, Texture texture, int level) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.frontFace')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void frontFace(int mode) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.generateMipmap')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void generateMipmap(int target) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.getActiveAttrib')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - ActiveInfo getActiveAttrib(Program program, int index) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.getActiveUniform')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - ActiveInfo getActiveUniform(Program program, int index) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.getAttachedShaders')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void getAttachedShaders(Program program) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.getAttribLocation')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - int getAttribLocation(Program program, String name) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.getBufferParameter')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Object getBufferParameter(int target, int pname) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.getContextAttributes')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - ContextAttributes getContextAttributes() {
|
| - return convertNativeToDart_ContextAttributes(_getContextAttributes_1());
|
| - }
|
| - @JSName('getContextAttributes')
|
| - @DomName('WebGLRenderingContextBase.getContextAttributes')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - _getContextAttributes_1() native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.getError')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - int getError() native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.getExtension')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Object getExtension(String name) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.getFramebufferAttachmentParameter')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Object getFramebufferAttachmentParameter(int target, int attachment, int pname) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.getParameter')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Object getParameter(int pname) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.getProgramInfoLog')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - String getProgramInfoLog(Program program) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.getProgramParameter')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Object getProgramParameter(Program program, int pname) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.getRenderbufferParameter')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Object getRenderbufferParameter(int target, int pname) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.getShaderInfoLog')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - String getShaderInfoLog(Shader shader) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.getShaderParameter')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Object getShaderParameter(Shader shader, int pname) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.getShaderPrecisionFormat')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisiontype) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.getShaderSource')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - String getShaderSource(Shader shader) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.getSupportedExtensions')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - List<String> getSupportedExtensions() native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.getTexParameter')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Object getTexParameter(int target, int pname) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.getUniform')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Object getUniform(Program program, UniformLocation location) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.getUniformLocation')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - UniformLocation getUniformLocation(Program program, String name) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.getVertexAttrib')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - Object getVertexAttrib(int index, int pname) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.getVertexAttribOffset')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - int getVertexAttribOffset(int index, int pname) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.hint')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void hint(int target, int mode) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.isBuffer')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - bool isBuffer(Buffer buffer) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.isContextLost')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - bool isContextLost() native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.isEnabled')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - bool isEnabled(int cap) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.isFramebuffer')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - bool isFramebuffer(Framebuffer framebuffer) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.isProgram')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - bool isProgram(Program program) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.isRenderbuffer')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - bool isRenderbuffer(Renderbuffer renderbuffer) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.isShader')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - bool isShader(Shader shader) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.isTexture')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - bool isTexture(Texture texture) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.lineWidth')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void lineWidth(num width) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.linkProgram')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void linkProgram(Program program) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.pixelStorei')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void pixelStorei(int pname, int param) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.polygonOffset')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void polygonOffset(num factor, num units) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.readPixels')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void readPixels(int x, int y, int width, int height, int format, int type, TypedData pixels) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.renderbufferStorage')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void renderbufferStorage(int target, int internalformat, int width, int height) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.sampleCoverage')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void sampleCoverage(num value, bool invert) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.scissor')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void scissor(int x, int y, int width, int height) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.shaderSource')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void shaderSource(Shader shader, String string) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.stencilFunc')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void stencilFunc(int func, int ref, int mask) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.stencilFuncSeparate')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void stencilFuncSeparate(int face, int func, int ref, int mask) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.stencilMask')
|
| + @DomName('WebGLRenderingContext.canvas')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - void stencilMask(int mask) native;
|
| + final CanvasElement canvas;
|
|
|
| - @DomName('WebGLRenderingContextBase.stencilMaskSeparate')
|
| + @DomName('WebGLRenderingContext.drawingBufferHeight')
|
| @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void stencilMaskSeparate(int face, int mask) native;
|
| + final int drawingBufferHeight;
|
|
|
| - @DomName('WebGLRenderingContextBase.stencilOp')
|
| + @DomName('WebGLRenderingContext.drawingBufferWidth')
|
| @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void stencilOp(int fail, int zfail, int zpass) native;
|
| + final int drawingBufferWidth;
|
|
|
| - @DomName('WebGLRenderingContextBase.stencilOpSeparate')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void stencilOpSeparate(int face, int fail, int zfail, int zpass) native;
|
|
|
| - @DomName('WebGLRenderingContextBase.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 (pixels != null && type != null && format != null && (border_OR_canvas_OR_image_OR_pixels_OR_video is int || border_OR_canvas_OR_image_OR_pixels_OR_video == null)) {
|
| - _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);
|
| - return;
|
| - }
|
| - if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement || border_OR_canvas_OR_image_OR_pixels_OR_video == null) && 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 || border_OR_canvas_OR_image_OR_pixels_OR_video == null) && 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 || border_OR_canvas_OR_image_OR_pixels_OR_video == null) && 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('WebGLRenderingContextBase.texImage2D')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void _texImage2D_1(target, level, internalformat, width, height, int border, format, type, TypedData pixels) native;
|
| - @JSName('texImage2D')
|
| - @DomName('WebGLRenderingContextBase.texImage2D')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void _texImage2D_2(target, level, internalformat, format, type, pixels) native;
|
| - @JSName('texImage2D')
|
| - @DomName('WebGLRenderingContextBase.texImage2D')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void _texImage2D_3(target, level, internalformat, format, type, ImageElement image) native;
|
| - @JSName('texImage2D')
|
| - @DomName('WebGLRenderingContextBase.texImage2D')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void _texImage2D_4(target, level, internalformat, format, type, CanvasElement canvas) native;
|
| + /**
|
| + * Sets the currently bound texture to [data].
|
| + *
|
| + * [data] can be either an [ImageElement], a
|
| + * [CanvasElement], a [VideoElement], or an [ImageData] object.
|
| + *
|
| + * To use [texImage2d] with a TypedData object, use [texImage2dTyped].
|
| + *
|
| + */
|
| @JSName('texImage2D')
|
| - @DomName('WebGLRenderingContextBase.texImage2D')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void _texImage2D_5(target, level, internalformat, format, type, VideoElement video) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.texParameterf')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void texParameterf(int target, int pname, num param) native;
|
| + void texImage2DUntyped(int targetTexture, int levelOfDetail,
|
| + int internalFormat, int format, int type, data) native;
|
|
|
| - @DomName('WebGLRenderingContextBase.texParameteri')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void texParameteri(int target, int pname, int param) native;
|
| + /**
|
| + * Sets the currently bound texture to [data].
|
| + */
|
| + @JSName('texImage2D')
|
| + void texImage2DTyped(int targetTexture, int levelOfDetail,
|
| + int internalFormat, int width, int height, int border, int format,
|
| + int type, TypedData data) native;
|
|
|
| - @DomName('WebGLRenderingContextBase.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]) {
|
| - if (pixels != null && type != null && (canvas_OR_format_OR_image_OR_pixels_OR_video is int || canvas_OR_format_OR_image_OR_pixels_OR_video == null)) {
|
| - _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);
|
| - return;
|
| - }
|
| - if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement || canvas_OR_format_OR_image_OR_pixels_OR_video == null) && 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 || canvas_OR_format_OR_image_OR_pixels_OR_video == null) && 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 || canvas_OR_format_OR_image_OR_pixels_OR_video == null) && 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('WebGLRenderingContextBase.texSubImage2D')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void _texSubImage2D_1(target, level, xoffset, yoffset, width, height, int format, type, TypedData pixels) native;
|
| - @JSName('texSubImage2D')
|
| - @DomName('WebGLRenderingContextBase.texSubImage2D')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void _texSubImage2D_2(target, level, xoffset, yoffset, format, type, pixels) native;
|
| - @JSName('texSubImage2D')
|
| - @DomName('WebGLRenderingContextBase.texSubImage2D')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void _texSubImage2D_3(target, level, xoffset, yoffset, format, type, ImageElement image) native;
|
| - @JSName('texSubImage2D')
|
| - @DomName('WebGLRenderingContextBase.texSubImage2D')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void _texSubImage2D_4(target, level, xoffset, yoffset, format, type, CanvasElement canvas) native;
|
| + /**
|
| + * Updates a sub-rectangle of the currently bound texture to [data].
|
| + *
|
| + * [data] can be either an [ImageElement], a
|
| + * [CanvasElement], a [VideoElement], or an [ImageData] object.
|
| + *
|
| + * To use [texSubImage2d] with a TypedData object, use [texSubImage2dTyped].
|
| + *
|
| + */
|
| @JSName('texSubImage2D')
|
| - @DomName('WebGLRenderingContextBase.texSubImage2D')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void _texSubImage2D_5(target, level, xoffset, yoffset, format, type, VideoElement video) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.uniform1f')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void uniform1f(UniformLocation location, num x) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.uniform1fv')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void uniform1fv(UniformLocation location, Float32List v) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.uniform1i')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void uniform1i(UniformLocation location, int x) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.uniform1iv')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void uniform1iv(UniformLocation location, Int32List v) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.uniform2f')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void uniform2f(UniformLocation location, num x, num y) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.uniform2fv')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void uniform2fv(UniformLocation location, Float32List v) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.uniform2i')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void uniform2i(UniformLocation location, int x, int y) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.uniform2iv')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void uniform2iv(UniformLocation location, Int32List v) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.uniform3f')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void uniform3f(UniformLocation location, num x, num y, num z) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.uniform3fv')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void uniform3fv(UniformLocation location, Float32List v) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.uniform3i')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void uniform3i(UniformLocation location, int x, int y, int z) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.uniform3iv')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void uniform3iv(UniformLocation location, Int32List v) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.uniform4f')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void uniform4f(UniformLocation location, num x, num y, num z, num w) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.uniform4fv')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void uniform4fv(UniformLocation location, Float32List v) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.uniform4i')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void uniform4i(UniformLocation location, int x, int y, int z, int w) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.uniform4iv')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void uniform4iv(UniformLocation location, Int32List v) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.uniformMatrix2fv')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void uniformMatrix2fv(UniformLocation location, bool transpose, Float32List array) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.uniformMatrix3fv')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void uniformMatrix3fv(UniformLocation location, bool transpose, Float32List array) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.uniformMatrix4fv')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void uniformMatrix4fv(UniformLocation location, bool transpose, Float32List array) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.useProgram')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void useProgram(Program program) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.validateProgram')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void validateProgram(Program program) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.vertexAttrib1f')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void vertexAttrib1f(int indx, num x) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.vertexAttrib1fv')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void vertexAttrib1fv(int indx, Float32List values) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.vertexAttrib2f')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void vertexAttrib2f(int indx, num x, num y) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.vertexAttrib2fv')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void vertexAttrib2fv(int indx, Float32List values) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.vertexAttrib3f')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void vertexAttrib3f(int indx, num x, num y, num z) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.vertexAttrib3fv')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void vertexAttrib3fv(int indx, Float32List values) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.vertexAttrib4f')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void vertexAttrib4f(int indx, num x, num y, num z, num w) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.vertexAttrib4fv')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void vertexAttrib4fv(int indx, Float32List values) native;
|
| -
|
| - @DomName('WebGLRenderingContextBase.vertexAttribPointer')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void vertexAttribPointer(int indx, int size, int type, bool normalized, int stride, int offset) native;
|
| + void texSubImage2DUntyped(int targetTexture, int levelOfDetail,
|
| + int xOffset, int yOffset, int format, int type, data) native;
|
|
|
| - @DomName('WebGLRenderingContextBase.viewport')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void viewport(int x, int y, int width, int height) native;
|
| + /**
|
| + * Updates a sub-rectangle of the currently bound texture to [data].
|
| + */
|
| + @JSName('texSubImage2D')
|
| + void texSubImage2DTyped(int targetTexture, int levelOfDetail,
|
| + int xOffset, int yOffset, int width, int height, int border, int format,
|
| + int type, TypedData data) 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
|
| @@ -3482,3 +1201,15 @@ class VertexArrayObject extends Interceptor {
|
| // To suppress missing implicit constructor warnings.
|
| 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('WebGLRenderingContextBase')
|
| +@Experimental() // untriaged
|
| +abstract class _WebGLRenderingContextBase extends Interceptor {
|
| + // To suppress missing implicit constructor warnings.
|
| + factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not supported"); }
|
| +}
|
|
|