Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Unified Diff: sdk/lib/web_gl/dartium/web_gl_dartium.dart

Issue 1832713002: Optimize dartium dart:html bindings so real world application performance is acceptable. Improves d… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: update cached patches Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/web_audio/dartium/web_audio_dartium.dart ('k') | sdk/lib/web_sql/dartium/web_sql_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/web_gl/dartium/web_gl_dartium.dart
diff --git a/sdk/lib/web_gl/dartium/web_gl_dartium.dart b/sdk/lib/web_gl/dartium/web_gl_dartium.dart
index c376d941a3c45e02e7264c5916aa8c8b1cc16b93..31ad9e4c4ca8b33faa23c01f7c5fc40a52ab7ddb 100644
--- a/sdk/lib/web_gl/dartium/web_gl_dartium.dart
+++ b/sdk/lib/web_gl/dartium/web_gl_dartium.dart
@@ -22,97 +22,49 @@ import 'dart:js' as js;
// FIXME: Can we make this private?
@Deprecated("Internal Use Only")
final web_glBlinkMap = {
- 'ANGLEInstancedArrays': () => AngleInstancedArrays,
- 'CHROMIUMSubscribeUniform': () => ChromiumSubscribeUniform,
- 'EXTBlendMinMax': () => ExtBlendMinMax,
- 'EXTFragDepth': () => ExtFragDepth,
- 'EXTShaderTextureLOD': () => ExtShaderTextureLod,
- 'EXTTextureFilterAnisotropic': () => ExtTextureFilterAnisotropic,
- 'EXTsRGB': () => EXTsRgb,
- 'OESElementIndexUint': () => OesElementIndexUint,
- 'OESStandardDerivatives': () => OesStandardDerivatives,
- 'OESTextureFloat': () => OesTextureFloat,
- 'OESTextureFloatLinear': () => OesTextureFloatLinear,
- 'OESTextureHalfFloat': () => OesTextureHalfFloat,
- 'OESTextureHalfFloatLinear': () => OesTextureHalfFloatLinear,
- 'OESVertexArrayObject': () => OesVertexArrayObject,
- 'WebGL2RenderingContext': () => RenderingContext2,
- 'WebGL2RenderingContextBase': () => _WebGL2RenderingContextBase,
- 'WebGLActiveInfo': () => ActiveInfo,
- 'WebGLBuffer': () => Buffer,
- 'WebGLCompressedTextureATC': () => CompressedTextureAtc,
- 'WebGLCompressedTextureETC1': () => CompressedTextureETC1,
- 'WebGLCompressedTexturePVRTC': () => CompressedTexturePvrtc,
- 'WebGLCompressedTextureS3TC': () => CompressedTextureS3TC,
- 'WebGLContextEvent': () => ContextEvent,
- 'WebGLDebugRendererInfo': () => DebugRendererInfo,
- 'WebGLDebugShaders': () => DebugShaders,
- 'WebGLDepthTexture': () => DepthTexture,
- 'WebGLDrawBuffers': () => DrawBuffers,
- 'WebGLFramebuffer': () => Framebuffer,
- 'WebGLLoseContext': () => LoseContext,
- 'WebGLProgram': () => Program,
- 'WebGLQuery': () => Query,
- 'WebGLRenderbuffer': () => Renderbuffer,
- 'WebGLRenderingContext': () => RenderingContext,
- 'WebGLRenderingContextBase': () => _WebGLRenderingContextBase,
- 'WebGLSampler': () => Sampler,
- 'WebGLShader': () => Shader,
- 'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat,
- 'WebGLSync': () => Sync,
- 'WebGLTexture': () => Texture,
- 'WebGLTransformFeedback': () => TransformFeedback,
- 'WebGLUniformLocation': () => UniformLocation,
- 'WebGLVertexArrayObject': () => VertexArrayObject,
- 'WebGLVertexArrayObjectOES': () => VertexArrayObjectOes,
-
-};
-
-// FIXME: Can we make this private?
-@Deprecated("Internal Use Only")
-final web_glBlinkFunctionMap = {
- 'ANGLEInstancedArrays': () => AngleInstancedArrays.internalCreateAngleInstancedArrays,
- 'CHROMIUMSubscribeUniform': () => ChromiumSubscribeUniform.internalCreateChromiumSubscribeUniform,
- 'EXTBlendMinMax': () => ExtBlendMinMax.internalCreateExtBlendMinMax,
- 'EXTFragDepth': () => ExtFragDepth.internalCreateExtFragDepth,
- 'EXTShaderTextureLOD': () => ExtShaderTextureLod.internalCreateExtShaderTextureLod,
- 'EXTTextureFilterAnisotropic': () => ExtTextureFilterAnisotropic.internalCreateExtTextureFilterAnisotropic,
- 'EXTsRGB': () => EXTsRgb.internalCreateEXTsRgb,
- 'OESElementIndexUint': () => OesElementIndexUint.internalCreateOesElementIndexUint,
- 'OESStandardDerivatives': () => OesStandardDerivatives.internalCreateOesStandardDerivatives,
- 'OESTextureFloat': () => OesTextureFloat.internalCreateOesTextureFloat,
- 'OESTextureFloatLinear': () => OesTextureFloatLinear.internalCreateOesTextureFloatLinear,
- 'OESTextureHalfFloat': () => OesTextureHalfFloat.internalCreateOesTextureHalfFloat,
- 'OESTextureHalfFloatLinear': () => OesTextureHalfFloatLinear.internalCreateOesTextureHalfFloatLinear,
- 'OESVertexArrayObject': () => OesVertexArrayObject.internalCreateOesVertexArrayObject,
- 'WebGL2RenderingContext': () => RenderingContext2.internalCreateRenderingContext2,
- 'WebGL2RenderingContextBase': () => _WebGL2RenderingContextBase.internalCreate_WebGL2RenderingContextBase,
- 'WebGLActiveInfo': () => ActiveInfo.internalCreateActiveInfo,
- 'WebGLBuffer': () => Buffer.internalCreateBuffer,
- 'WebGLCompressedTextureATC': () => CompressedTextureAtc.internalCreateCompressedTextureAtc,
- 'WebGLCompressedTextureETC1': () => CompressedTextureETC1.internalCreateCompressedTextureETC1,
- 'WebGLCompressedTexturePVRTC': () => CompressedTexturePvrtc.internalCreateCompressedTexturePvrtc,
- 'WebGLCompressedTextureS3TC': () => CompressedTextureS3TC.internalCreateCompressedTextureS3TC,
- 'WebGLContextEvent': () => ContextEvent.internalCreateContextEvent,
- 'WebGLDebugRendererInfo': () => DebugRendererInfo.internalCreateDebugRendererInfo,
- 'WebGLDebugShaders': () => DebugShaders.internalCreateDebugShaders,
- 'WebGLDepthTexture': () => DepthTexture.internalCreateDepthTexture,
- 'WebGLDrawBuffers': () => DrawBuffers.internalCreateDrawBuffers,
- 'WebGLFramebuffer': () => Framebuffer.internalCreateFramebuffer,
- 'WebGLLoseContext': () => LoseContext.internalCreateLoseContext,
- 'WebGLProgram': () => Program.internalCreateProgram,
- 'WebGLQuery': () => Query.internalCreateQuery,
- 'WebGLRenderbuffer': () => Renderbuffer.internalCreateRenderbuffer,
- 'WebGLRenderingContext': () => RenderingContext.internalCreateRenderingContext,
- 'WebGLSampler': () => Sampler.internalCreateSampler,
- 'WebGLShader': () => Shader.internalCreateShader,
- 'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat.internalCreateShaderPrecisionFormat,
- 'WebGLSync': () => Sync.internalCreateSync,
- 'WebGLTexture': () => Texture.internalCreateTexture,
- 'WebGLTransformFeedback': () => TransformFeedback.internalCreateTransformFeedback,
- 'WebGLUniformLocation': () => UniformLocation.internalCreateUniformLocation,
- 'WebGLVertexArrayObject': () => VertexArrayObject.internalCreateVertexArrayObject,
- 'WebGLVertexArrayObjectOES': () => VertexArrayObjectOes.internalCreateVertexArrayObjectOes,
+ 'ANGLEInstancedArrays': () => AngleInstancedArrays.instanceRuntimeType,
+ 'CHROMIUMSubscribeUniform': () => ChromiumSubscribeUniform.instanceRuntimeType,
+ 'EXTBlendMinMax': () => ExtBlendMinMax.instanceRuntimeType,
+ 'EXTFragDepth': () => ExtFragDepth.instanceRuntimeType,
+ 'EXTShaderTextureLOD': () => ExtShaderTextureLod.instanceRuntimeType,
+ 'EXTTextureFilterAnisotropic': () => ExtTextureFilterAnisotropic.instanceRuntimeType,
+ 'EXTsRGB': () => EXTsRgb.instanceRuntimeType,
+ 'OESElementIndexUint': () => OesElementIndexUint.instanceRuntimeType,
+ 'OESStandardDerivatives': () => OesStandardDerivatives.instanceRuntimeType,
+ 'OESTextureFloat': () => OesTextureFloat.instanceRuntimeType,
+ 'OESTextureFloatLinear': () => OesTextureFloatLinear.instanceRuntimeType,
+ 'OESTextureHalfFloat': () => OesTextureHalfFloat.instanceRuntimeType,
+ 'OESTextureHalfFloatLinear': () => OesTextureHalfFloatLinear.instanceRuntimeType,
+ 'OESVertexArrayObject': () => OesVertexArrayObject.instanceRuntimeType,
+ 'WebGL2RenderingContext': () => RenderingContext2.instanceRuntimeType,
+ 'WebGL2RenderingContextBase': () => _WebGL2RenderingContextBase.instanceRuntimeType,
+ 'WebGLActiveInfo': () => ActiveInfo.instanceRuntimeType,
+ 'WebGLBuffer': () => Buffer.instanceRuntimeType,
+ 'WebGLCompressedTextureATC': () => CompressedTextureAtc.instanceRuntimeType,
+ 'WebGLCompressedTextureETC1': () => CompressedTextureETC1.instanceRuntimeType,
+ 'WebGLCompressedTexturePVRTC': () => CompressedTexturePvrtc.instanceRuntimeType,
+ 'WebGLCompressedTextureS3TC': () => CompressedTextureS3TC.instanceRuntimeType,
+ 'WebGLContextEvent': () => ContextEvent.instanceRuntimeType,
+ 'WebGLDebugRendererInfo': () => DebugRendererInfo.instanceRuntimeType,
+ 'WebGLDebugShaders': () => DebugShaders.instanceRuntimeType,
+ 'WebGLDepthTexture': () => DepthTexture.instanceRuntimeType,
+ 'WebGLDrawBuffers': () => DrawBuffers.instanceRuntimeType,
+ 'WebGLFramebuffer': () => Framebuffer.instanceRuntimeType,
+ 'WebGLLoseContext': () => LoseContext.instanceRuntimeType,
+ 'WebGLProgram': () => Program.instanceRuntimeType,
+ 'WebGLQuery': () => Query.instanceRuntimeType,
+ 'WebGLRenderbuffer': () => Renderbuffer.instanceRuntimeType,
+ 'WebGLRenderingContext': () => RenderingContext.instanceRuntimeType,
+ 'WebGLRenderingContextBase': () => _WebGLRenderingContextBase.instanceRuntimeType,
+ 'WebGLSampler': () => Sampler.instanceRuntimeType,
+ 'WebGLShader': () => Shader.instanceRuntimeType,
+ 'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat.instanceRuntimeType,
+ 'WebGLSync': () => Sync.instanceRuntimeType,
+ 'WebGLTexture': () => Texture.instanceRuntimeType,
+ 'WebGLTransformFeedback': () => TransformFeedback.instanceRuntimeType,
+ 'WebGLUniformLocation': () => UniformLocation.instanceRuntimeType,
+ 'WebGLVertexArrayObject': () => VertexArrayObject.instanceRuntimeType,
+ 'WebGLVertexArrayObjectOES': () => VertexArrayObjectOes.instanceRuntimeType,
};
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
@@ -430,32 +382,24 @@ class ActiveInfo extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory ActiveInfo._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static ActiveInfo internalCreateActiveInfo() {
- return new ActiveInfo._internalWrap();
- }
- factory ActiveInfo._internalWrap() {
- return new ActiveInfo.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
ActiveInfo.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('WebGLActiveInfo.name')
@DocsEditable()
- String get name => _blink.BlinkWebGLActiveInfo.instance.name_Getter_(unwrap_jso(this));
+ String get name => _blink.BlinkWebGLActiveInfo.instance.name_Getter_(this);
@DomName('WebGLActiveInfo.size')
@DocsEditable()
- int get size => _blink.BlinkWebGLActiveInfo.instance.size_Getter_(unwrap_jso(this));
+ int get size => _blink.BlinkWebGLActiveInfo.instance.size_Getter_(this);
@DomName('WebGLActiveInfo.type')
@DocsEditable()
- int get type => _blink.BlinkWebGLActiveInfo.instance.type_Getter_(unwrap_jso(this));
+ int get type => _blink.BlinkWebGLActiveInfo.instance.type_Getter_(this);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -472,21 +416,13 @@ class AngleInstancedArrays extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory AngleInstancedArrays._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static AngleInstancedArrays internalCreateAngleInstancedArrays() {
- return new AngleInstancedArrays._internalWrap();
- }
- factory AngleInstancedArrays._internalWrap() {
- return new AngleInstancedArrays.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
AngleInstancedArrays.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE')
@DocsEditable()
@Experimental() // untriaged
@@ -495,17 +431,17 @@ class AngleInstancedArrays extends DartHtmlDomObject {
@DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE')
@DocsEditable()
@Experimental() // untriaged
- void drawArraysInstancedAngle(int mode, int first, int count, int primcount) => _blink.BlinkANGLEInstancedArrays.instance.drawArraysInstancedANGLE_Callback_4_(unwrap_jso(this), mode, first, count, primcount);
+ void drawArraysInstancedAngle(int mode, int first, int count, int primcount) => _blink.BlinkANGLEInstancedArrays.instance.drawArraysInstancedANGLE_Callback_4_(this, mode, first, count, primcount);
@DomName('ANGLEInstancedArrays.drawElementsInstancedANGLE')
@DocsEditable()
@Experimental() // untriaged
- void drawElementsInstancedAngle(int mode, int count, int type, int offset, int primcount) => _blink.BlinkANGLEInstancedArrays.instance.drawElementsInstancedANGLE_Callback_5_(unwrap_jso(this), mode, count, type, offset, primcount);
+ void drawElementsInstancedAngle(int mode, int count, int type, int offset, int primcount) => _blink.BlinkANGLEInstancedArrays.instance.drawElementsInstancedANGLE_Callback_5_(this, mode, count, type, offset, primcount);
@DomName('ANGLEInstancedArrays.vertexAttribDivisorANGLE')
@DocsEditable()
@Experimental() // untriaged
- void vertexAttribDivisorAngle(int index, int divisor) => _blink.BlinkANGLEInstancedArrays.instance.vertexAttribDivisorANGLE_Callback_2_(unwrap_jso(this), index, divisor);
+ void vertexAttribDivisorAngle(int index, int divisor) => _blink.BlinkANGLEInstancedArrays.instance.vertexAttribDivisorANGLE_Callback_2_(this, index, divisor);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -522,21 +458,13 @@ class Buffer extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory Buffer._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static Buffer internalCreateBuffer() {
- return new Buffer._internalWrap();
- }
- factory Buffer._internalWrap() {
- return new Buffer.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
Buffer.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// 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
@@ -552,21 +480,13 @@ class ChromiumSubscribeUniform extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory ChromiumSubscribeUniform._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static ChromiumSubscribeUniform internalCreateChromiumSubscribeUniform() {
- return new ChromiumSubscribeUniform._internalWrap();
- }
- factory ChromiumSubscribeUniform._internalWrap() {
- return new ChromiumSubscribeUniform.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
ChromiumSubscribeUniform.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('CHROMIUMSubscribeUniform.MOUSE_POSITION_CHROMIUM')
@DocsEditable()
@Experimental() // untriaged
@@ -580,37 +500,37 @@ class ChromiumSubscribeUniform extends DartHtmlDomObject {
@DomName('CHROMIUMSubscribeUniform.bindValuebufferCHROMIUM')
@DocsEditable()
@Experimental() // untriaged
- void bindValuebufferChromium(int target, ChromiumValuebuffer buffer) => _blink.BlinkCHROMIUMSubscribeUniform.instance.bindValuebufferCHROMIUM_Callback_2_(unwrap_jso(this), target, unwrap_jso(buffer));
+ void bindValuebufferChromium(int target, ChromiumValuebuffer buffer) => _blink.BlinkCHROMIUMSubscribeUniform.instance.bindValuebufferCHROMIUM_Callback_2_(this, target, buffer);
@DomName('CHROMIUMSubscribeUniform.createValuebufferCHROMIUM')
@DocsEditable()
@Experimental() // untriaged
- ChromiumValuebuffer createValuebufferChromium() => wrap_jso(_blink.BlinkCHROMIUMSubscribeUniform.instance.createValuebufferCHROMIUM_Callback_0_(unwrap_jso(this)));
+ ChromiumValuebuffer createValuebufferChromium() => _blink.BlinkCHROMIUMSubscribeUniform.instance.createValuebufferCHROMIUM_Callback_0_(this);
@DomName('CHROMIUMSubscribeUniform.deleteValuebufferCHROMIUM')
@DocsEditable()
@Experimental() // untriaged
- void deleteValuebufferChromium(ChromiumValuebuffer buffer) => _blink.BlinkCHROMIUMSubscribeUniform.instance.deleteValuebufferCHROMIUM_Callback_1_(unwrap_jso(this), unwrap_jso(buffer));
+ void deleteValuebufferChromium(ChromiumValuebuffer buffer) => _blink.BlinkCHROMIUMSubscribeUniform.instance.deleteValuebufferCHROMIUM_Callback_1_(this, buffer);
@DomName('CHROMIUMSubscribeUniform.isValuebufferCHROMIUM')
@DocsEditable()
@Experimental() // untriaged
- bool isValuebufferChromium(ChromiumValuebuffer buffer) => _blink.BlinkCHROMIUMSubscribeUniform.instance.isValuebufferCHROMIUM_Callback_1_(unwrap_jso(this), unwrap_jso(buffer));
+ bool isValuebufferChromium(ChromiumValuebuffer buffer) => _blink.BlinkCHROMIUMSubscribeUniform.instance.isValuebufferCHROMIUM_Callback_1_(this, buffer);
@DomName('CHROMIUMSubscribeUniform.populateSubscribedValuesCHROMIUM')
@DocsEditable()
@Experimental() // untriaged
- void populateSubscribedValuesChromium(int target) => _blink.BlinkCHROMIUMSubscribeUniform.instance.populateSubscribedValuesCHROMIUM_Callback_1_(unwrap_jso(this), target);
+ void populateSubscribedValuesChromium(int target) => _blink.BlinkCHROMIUMSubscribeUniform.instance.populateSubscribedValuesCHROMIUM_Callback_1_(this, target);
@DomName('CHROMIUMSubscribeUniform.subscribeValueCHROMIUM')
@DocsEditable()
@Experimental() // untriaged
- void subscribeValueChromium(int target, int subscriptions) => _blink.BlinkCHROMIUMSubscribeUniform.instance.subscribeValueCHROMIUM_Callback_2_(unwrap_jso(this), target, subscriptions);
+ void subscribeValueChromium(int target, int subscriptions) => _blink.BlinkCHROMIUMSubscribeUniform.instance.subscribeValueCHROMIUM_Callback_2_(this, target, subscriptions);
@DomName('CHROMIUMSubscribeUniform.uniformValuebufferCHROMIUM')
@DocsEditable()
@Experimental() // untriaged
- void uniformValuebufferChromium(UniformLocation location, int target, int subscription) => _blink.BlinkCHROMIUMSubscribeUniform.instance.uniformValuebufferCHROMIUM_Callback_3_(unwrap_jso(this), unwrap_jso(location), target, subscription);
+ void uniformValuebufferChromium(UniformLocation location, int target, int subscription) => _blink.BlinkCHROMIUMSubscribeUniform.instance.uniformValuebufferCHROMIUM_Callback_3_(this, location, target, subscription);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -628,21 +548,13 @@ class CompressedTextureAtc extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory CompressedTextureAtc._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static CompressedTextureAtc internalCreateCompressedTextureAtc() {
- return new CompressedTextureAtc._internalWrap();
- }
- factory CompressedTextureAtc._internalWrap() {
- return new CompressedTextureAtc.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
CompressedTextureAtc.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL')
@DocsEditable()
static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93;
@@ -670,21 +582,13 @@ class CompressedTextureETC1 extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory CompressedTextureETC1._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static CompressedTextureETC1 internalCreateCompressedTextureETC1() {
- return new CompressedTextureETC1._internalWrap();
- }
- factory CompressedTextureETC1._internalWrap() {
- return new CompressedTextureETC1.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
CompressedTextureETC1.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('WebGLCompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL')
@DocsEditable()
@Experimental() // untriaged
@@ -706,21 +610,13 @@ class CompressedTexturePvrtc extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory CompressedTexturePvrtc._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static CompressedTexturePvrtc internalCreateCompressedTexturePvrtc() {
- return new CompressedTexturePvrtc._internalWrap();
- }
- factory CompressedTexturePvrtc._internalWrap() {
- return new CompressedTexturePvrtc.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
CompressedTexturePvrtc.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG')
@DocsEditable()
static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03;
@@ -753,21 +649,13 @@ class CompressedTextureS3TC extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory CompressedTextureS3TC._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static CompressedTextureS3TC internalCreateCompressedTextureS3TC() {
- return new CompressedTextureS3TC._internalWrap();
- }
- factory CompressedTextureS3TC._internalWrap() {
- return new CompressedTextureS3TC.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
CompressedTextureS3TC.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT')
@DocsEditable()
static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
@@ -804,18 +692,14 @@ class ContextEvent extends Event {
factory ContextEvent(String type, [Map eventInit]) {
if (eventInit != null) {
var eventInit_1 = convertDartToNative_Dictionary(eventInit);
- return wrap_jso(_blink.BlinkWebGLContextEvent.instance.constructorCallback_2_(type, eventInit_1));
+ return _blink.BlinkWebGLContextEvent.instance.constructorCallback_2_(type, eventInit_1);
}
- return wrap_jso(_blink.BlinkWebGLContextEvent.instance.constructorCallback_1_(type));
+ return _blink.BlinkWebGLContextEvent.instance.constructorCallback_1_(type);
}
@Deprecated("Internal Use Only")
- static ContextEvent internalCreateContextEvent() {
- return new ContextEvent._internalWrap();
- }
-
- external factory ContextEvent._internalWrap();
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
ContextEvent.internal_() : super.internal_();
@@ -823,7 +707,7 @@ class ContextEvent extends Event {
@DomName('WebGLContextEvent.statusMessage')
@DocsEditable()
- String get statusMessage => _blink.BlinkWebGLContextEvent.instance.statusMessage_Getter_(unwrap_jso(this));
+ String get statusMessage => _blink.BlinkWebGLContextEvent.instance.statusMessage_Getter_(this);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -841,21 +725,13 @@ class DebugRendererInfo extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory DebugRendererInfo._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static DebugRendererInfo internalCreateDebugRendererInfo() {
- return new DebugRendererInfo._internalWrap();
- }
- factory DebugRendererInfo._internalWrap() {
- return new DebugRendererInfo.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
DebugRendererInfo.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL')
@DocsEditable()
static const int UNMASKED_RENDERER_WEBGL = 0x9246;
@@ -880,24 +756,16 @@ class DebugShaders extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory DebugShaders._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static DebugShaders internalCreateDebugShaders() {
- return new DebugShaders._internalWrap();
- }
- factory DebugShaders._internalWrap() {
- return new DebugShaders.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
DebugShaders.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('WebGLDebugShaders.getTranslatedShaderSource')
@DocsEditable()
- String getTranslatedShaderSource(Shader shader) => _blink.BlinkWebGLDebugShaders.instance.getTranslatedShaderSource_Callback_1_(unwrap_jso(this), unwrap_jso(shader));
+ String getTranslatedShaderSource(Shader shader) => _blink.BlinkWebGLDebugShaders.instance.getTranslatedShaderSource_Callback_1_(this, shader);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -915,21 +783,13 @@ class DepthTexture extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory DepthTexture._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static DepthTexture internalCreateDepthTexture() {
- return new DepthTexture._internalWrap();
- }
- factory DepthTexture._internalWrap() {
- return new DepthTexture.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
DepthTexture.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL')
@DocsEditable()
static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA;
@@ -950,21 +810,13 @@ class DrawBuffers extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory DrawBuffers._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static DrawBuffers internalCreateDrawBuffers() {
- return new DrawBuffers._internalWrap();
- }
- factory DrawBuffers._internalWrap() {
- return new DrawBuffers.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
DrawBuffers.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('WebGLDrawBuffers.COLOR_ATTACHMENT0_WEBGL')
@DocsEditable()
static const int COLOR_ATTACHMENT0_WEBGL = 0x8CE0;
@@ -1103,7 +955,7 @@ class DrawBuffers extends DartHtmlDomObject {
@DomName('WebGLDrawBuffers.drawBuffersWEBGL')
@DocsEditable()
- void drawBuffersWebgl(List<int> buffers) => _blink.BlinkWebGLDrawBuffers.instance.drawBuffersWEBGL_Callback_1_(unwrap_jso(this), buffers);
+ void drawBuffersWebgl(List<int> buffers) => _blink.BlinkWebGLDrawBuffers.instance.drawBuffersWEBGL_Callback_1_(this, buffers);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -1120,21 +972,13 @@ class EXTsRgb extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory EXTsRgb._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static EXTsRgb internalCreateEXTsRgb() {
- return new EXTsRgb._internalWrap();
- }
- factory EXTsRgb._internalWrap() {
- return new EXTsRgb.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
EXTsRgb.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('EXTsRGB.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT')
@DocsEditable()
@Experimental() // untriaged
@@ -1170,21 +1014,13 @@ class ExtBlendMinMax extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory ExtBlendMinMax._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static ExtBlendMinMax internalCreateExtBlendMinMax() {
- return new ExtBlendMinMax._internalWrap();
- }
- factory ExtBlendMinMax._internalWrap() {
- return new ExtBlendMinMax.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
ExtBlendMinMax.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('EXTBlendMinMax.MAX_EXT')
@DocsEditable()
@Experimental() // untriaged
@@ -1211,21 +1047,13 @@ class ExtFragDepth extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory ExtFragDepth._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static ExtFragDepth internalCreateExtFragDepth() {
- return new ExtFragDepth._internalWrap();
- }
- factory ExtFragDepth._internalWrap() {
- return new ExtFragDepth.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
ExtFragDepth.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// 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
@@ -1241,21 +1069,13 @@ class ExtShaderTextureLod extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory ExtShaderTextureLod._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static ExtShaderTextureLod internalCreateExtShaderTextureLod() {
- return new ExtShaderTextureLod._internalWrap();
- }
- factory ExtShaderTextureLod._internalWrap() {
- return new ExtShaderTextureLod.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
ExtShaderTextureLod.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// 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
@@ -1272,21 +1092,13 @@ class ExtTextureFilterAnisotropic extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory ExtTextureFilterAnisotropic._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static ExtTextureFilterAnisotropic internalCreateExtTextureFilterAnisotropic() {
- return new ExtTextureFilterAnisotropic._internalWrap();
- }
- factory ExtTextureFilterAnisotropic._internalWrap() {
- return new ExtTextureFilterAnisotropic.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
ExtTextureFilterAnisotropic.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT')
@DocsEditable()
static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;
@@ -1310,21 +1122,13 @@ class Framebuffer extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory Framebuffer._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static Framebuffer internalCreateFramebuffer() {
- return new Framebuffer._internalWrap();
- }
- factory Framebuffer._internalWrap() {
- return new Framebuffer.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
Framebuffer.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// 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
@@ -1341,28 +1145,20 @@ class LoseContext extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory LoseContext._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static LoseContext internalCreateLoseContext() {
- return new LoseContext._internalWrap();
- }
- factory LoseContext._internalWrap() {
- return new LoseContext.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
LoseContext.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('WebGLLoseContext.loseContext')
@DocsEditable()
- void loseContext() => _blink.BlinkWebGLLoseContext.instance.loseContext_Callback_0_(unwrap_jso(this));
+ void loseContext() => _blink.BlinkWebGLLoseContext.instance.loseContext_Callback_0_(this);
@DomName('WebGLLoseContext.restoreContext')
@DocsEditable()
- void restoreContext() => _blink.BlinkWebGLLoseContext.instance.restoreContext_Callback_0_(unwrap_jso(this));
+ void restoreContext() => _blink.BlinkWebGLLoseContext.instance.restoreContext_Callback_0_(this);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -1380,21 +1176,13 @@ class OesElementIndexUint extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory OesElementIndexUint._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static OesElementIndexUint internalCreateOesElementIndexUint() {
- return new OesElementIndexUint._internalWrap();
- }
- factory OesElementIndexUint._internalWrap() {
- return new OesElementIndexUint.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
OesElementIndexUint.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// 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
@@ -1411,21 +1199,13 @@ class OesStandardDerivatives extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory OesStandardDerivatives._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static OesStandardDerivatives internalCreateOesStandardDerivatives() {
- return new OesStandardDerivatives._internalWrap();
- }
- factory OesStandardDerivatives._internalWrap() {
- return new OesStandardDerivatives.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
OesStandardDerivatives.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES')
@DocsEditable()
static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B;
@@ -1446,21 +1226,13 @@ class OesTextureFloat extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory OesTextureFloat._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static OesTextureFloat internalCreateOesTextureFloat() {
- return new OesTextureFloat._internalWrap();
- }
- factory OesTextureFloat._internalWrap() {
- return new OesTextureFloat.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
OesTextureFloat.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// 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
@@ -1477,21 +1249,13 @@ class OesTextureFloatLinear extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory OesTextureFloatLinear._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static OesTextureFloatLinear internalCreateOesTextureFloatLinear() {
- return new OesTextureFloatLinear._internalWrap();
- }
- factory OesTextureFloatLinear._internalWrap() {
- return new OesTextureFloatLinear.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
OesTextureFloatLinear.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// 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
@@ -1508,21 +1272,13 @@ class OesTextureHalfFloat extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory OesTextureHalfFloat._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static OesTextureHalfFloat internalCreateOesTextureHalfFloat() {
- return new OesTextureHalfFloat._internalWrap();
- }
- factory OesTextureHalfFloat._internalWrap() {
- return new OesTextureHalfFloat.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
OesTextureHalfFloat.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('OESTextureHalfFloat.HALF_FLOAT_OES')
@DocsEditable()
static const int HALF_FLOAT_OES = 0x8D61;
@@ -1543,21 +1299,13 @@ class OesTextureHalfFloatLinear extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory OesTextureHalfFloatLinear._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static OesTextureHalfFloatLinear internalCreateOesTextureHalfFloatLinear() {
- return new OesTextureHalfFloatLinear._internalWrap();
- }
- factory OesTextureHalfFloatLinear._internalWrap() {
- return new OesTextureHalfFloatLinear.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
OesTextureHalfFloatLinear.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// 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
@@ -1574,40 +1322,32 @@ class OesVertexArrayObject extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static OesVertexArrayObject internalCreateOesVertexArrayObject() {
- return new OesVertexArrayObject._internalWrap();
- }
- factory OesVertexArrayObject._internalWrap() {
- return new OesVertexArrayObject.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
OesVertexArrayObject.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES')
@DocsEditable()
static const int VERTEX_ARRAY_BINDING_OES = 0x85B5;
@DomName('OESVertexArrayObject.bindVertexArrayOES')
@DocsEditable()
- void bindVertexArray(VertexArrayObjectOes arrayObject) => _blink.BlinkOESVertexArrayObject.instance.bindVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_jso(arrayObject));
+ void bindVertexArray(VertexArrayObjectOes arrayObject) => _blink.BlinkOESVertexArrayObject.instance.bindVertexArrayOES_Callback_1_(this, arrayObject);
@DomName('OESVertexArrayObject.createVertexArrayOES')
@DocsEditable()
- VertexArrayObjectOes createVertexArray() => wrap_jso(_blink.BlinkOESVertexArrayObject.instance.createVertexArrayOES_Callback_0_(unwrap_jso(this)));
+ VertexArrayObjectOes createVertexArray() => _blink.BlinkOESVertexArrayObject.instance.createVertexArrayOES_Callback_0_(this);
@DomName('OESVertexArrayObject.deleteVertexArrayOES')
@DocsEditable()
- void deleteVertexArray(VertexArrayObjectOes arrayObject) => _blink.BlinkOESVertexArrayObject.instance.deleteVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_jso(arrayObject));
+ void deleteVertexArray(VertexArrayObjectOes arrayObject) => _blink.BlinkOESVertexArrayObject.instance.deleteVertexArrayOES_Callback_1_(this, arrayObject);
@DomName('OESVertexArrayObject.isVertexArrayOES')
@DocsEditable()
- bool isVertexArray(VertexArrayObjectOes arrayObject) => _blink.BlinkOESVertexArrayObject.instance.isVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_jso(arrayObject));
+ bool isVertexArray(VertexArrayObjectOes arrayObject) => _blink.BlinkOESVertexArrayObject.instance.isVertexArrayOES_Callback_1_(this, arrayObject);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -1624,21 +1364,13 @@ class Program extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory Program._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static Program internalCreateProgram() {
- return new Program._internalWrap();
- }
- factory Program._internalWrap() {
- return new Program.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
Program.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// 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
@@ -1654,21 +1386,13 @@ class Query extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory Query._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static Query internalCreateQuery() {
- return new Query._internalWrap();
- }
- factory Query._internalWrap() {
- return new Query.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
Query.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// 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
@@ -1684,21 +1408,13 @@ class Renderbuffer extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory Renderbuffer._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static Renderbuffer internalCreateRenderbuffer() {
- return new Renderbuffer._internalWrap();
- }
- factory Renderbuffer._internalWrap() {
- return new Renderbuffer.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
Renderbuffer.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// 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
@@ -1714,21 +1430,13 @@ class RenderingContext extends DartHtmlDomObject implements CanvasRenderingConte
// To suppress missing implicit constructor warnings.
factory RenderingContext._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static RenderingContext internalCreateRenderingContext() {
- return new RenderingContext._internalWrap();
- }
- factory RenderingContext._internalWrap() {
- return new RenderingContext.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
RenderingContext.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
/// Checks if this type is supported on the current platform.
static bool get supported => true;
@@ -2925,75 +2633,75 @@ class RenderingContext extends DartHtmlDomObject implements CanvasRenderingConte
@DomName('WebGLRenderingContext.canvas')
@DocsEditable()
@Experimental() // untriaged
- CanvasElement get canvas => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.canvas_Getter_(unwrap_jso(this)));
+ CanvasElement get canvas => _blink.BlinkWebGLRenderingContext.instance.canvas_Getter_(this);
@DomName('WebGLRenderingContext.drawingBufferHeight')
@DocsEditable()
- int get drawingBufferHeight => _blink.BlinkWebGLRenderingContext.instance.drawingBufferHeight_Getter_(unwrap_jso(this));
+ int get drawingBufferHeight => _blink.BlinkWebGLRenderingContext.instance.drawingBufferHeight_Getter_(this);
@DomName('WebGLRenderingContext.drawingBufferWidth')
@DocsEditable()
- int get drawingBufferWidth => _blink.BlinkWebGLRenderingContext.instance.drawingBufferWidth_Getter_(unwrap_jso(this));
+ int get drawingBufferWidth => _blink.BlinkWebGLRenderingContext.instance.drawingBufferWidth_Getter_(this);
@DomName('WebGLRenderingContext.activeTexture')
@DocsEditable()
- void activeTexture(int texture) => _blink.BlinkWebGLRenderingContext.instance.activeTexture_Callback_1_(unwrap_jso(this), texture);
+ void activeTexture(int texture) => _blink.BlinkWebGLRenderingContext.instance.activeTexture_Callback_1_(this, texture);
@DomName('WebGLRenderingContext.attachShader')
@DocsEditable()
- void attachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderingContext.instance.attachShader_Callback_2_(unwrap_jso(this), unwrap_jso(program), unwrap_jso(shader));
+ void attachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderingContext.instance.attachShader_Callback_2_(this, program, shader);
@DomName('WebGLRenderingContext.bindAttribLocation')
@DocsEditable()
- void bindAttribLocation(Program program, int index, String name) => _blink.BlinkWebGLRenderingContext.instance.bindAttribLocation_Callback_3_(unwrap_jso(this), unwrap_jso(program), index, name);
+ void bindAttribLocation(Program program, int index, String name) => _blink.BlinkWebGLRenderingContext.instance.bindAttribLocation_Callback_3_(this, program, index, name);
@DomName('WebGLRenderingContext.bindBuffer')
@DocsEditable()
- void bindBuffer(int target, Buffer buffer) => _blink.BlinkWebGLRenderingContext.instance.bindBuffer_Callback_2_(unwrap_jso(this), target, unwrap_jso(buffer));
+ void bindBuffer(int target, Buffer buffer) => _blink.BlinkWebGLRenderingContext.instance.bindBuffer_Callback_2_(this, target, buffer);
@DomName('WebGLRenderingContext.bindFramebuffer')
@DocsEditable()
- void bindFramebuffer(int target, Framebuffer framebuffer) => _blink.BlinkWebGLRenderingContext.instance.bindFramebuffer_Callback_2_(unwrap_jso(this), target, unwrap_jso(framebuffer));
+ void bindFramebuffer(int target, Framebuffer framebuffer) => _blink.BlinkWebGLRenderingContext.instance.bindFramebuffer_Callback_2_(this, target, framebuffer);
@DomName('WebGLRenderingContext.bindRenderbuffer')
@DocsEditable()
- void bindRenderbuffer(int target, Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingContext.instance.bindRenderbuffer_Callback_2_(unwrap_jso(this), target, unwrap_jso(renderbuffer));
+ void bindRenderbuffer(int target, Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingContext.instance.bindRenderbuffer_Callback_2_(this, target, renderbuffer);
@DomName('WebGLRenderingContext.bindTexture')
@DocsEditable()
- void bindTexture(int target, Texture texture) => _blink.BlinkWebGLRenderingContext.instance.bindTexture_Callback_2_(unwrap_jso(this), target, unwrap_jso(texture));
+ void bindTexture(int target, Texture texture) => _blink.BlinkWebGLRenderingContext.instance.bindTexture_Callback_2_(this, target, texture);
@DomName('WebGLRenderingContext.blendColor')
@DocsEditable()
- void blendColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGLRenderingContext.instance.blendColor_Callback_4_(unwrap_jso(this), red, green, blue, alpha);
+ void blendColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGLRenderingContext.instance.blendColor_Callback_4_(this, red, green, blue, alpha);
@DomName('WebGLRenderingContext.blendEquation')
@DocsEditable()
- void blendEquation(int mode) => _blink.BlinkWebGLRenderingContext.instance.blendEquation_Callback_1_(unwrap_jso(this), mode);
+ void blendEquation(int mode) => _blink.BlinkWebGLRenderingContext.instance.blendEquation_Callback_1_(this, mode);
@DomName('WebGLRenderingContext.blendEquationSeparate')
@DocsEditable()
- void blendEquationSeparate(int modeRGB, int modeAlpha) => _blink.BlinkWebGLRenderingContext.instance.blendEquationSeparate_Callback_2_(unwrap_jso(this), modeRGB, modeAlpha);
+ void blendEquationSeparate(int modeRGB, int modeAlpha) => _blink.BlinkWebGLRenderingContext.instance.blendEquationSeparate_Callback_2_(this, modeRGB, modeAlpha);
@DomName('WebGLRenderingContext.blendFunc')
@DocsEditable()
- void blendFunc(int sfactor, int dfactor) => _blink.BlinkWebGLRenderingContext.instance.blendFunc_Callback_2_(unwrap_jso(this), sfactor, dfactor);
+ void blendFunc(int sfactor, int dfactor) => _blink.BlinkWebGLRenderingContext.instance.blendFunc_Callback_2_(this, sfactor, dfactor);
@DomName('WebGLRenderingContext.blendFuncSeparate')
@DocsEditable()
- void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) => _blink.BlinkWebGLRenderingContext.instance.blendFuncSeparate_Callback_4_(unwrap_jso(this), srcRGB, dstRGB, srcAlpha, dstAlpha);
+ void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) => _blink.BlinkWebGLRenderingContext.instance.blendFuncSeparate_Callback_4_(this, srcRGB, dstRGB, srcAlpha, dstAlpha);
void bufferData(int target, data_OR_size, int usage) {
if ((usage is int) && (data_OR_size is int) && (target is int)) {
- _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(unwrap_jso(this), target, unwrap_jso(data_OR_size), usage);
+ _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(this, target, data_OR_size, usage);
return;
}
if ((usage is int) && (data_OR_size is TypedData) && (target is int)) {
- _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(unwrap_jso(this), target, unwrap_jso(data_OR_size), usage);
+ _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(this, target, data_OR_size, usage);
return;
}
if ((usage is int) && (data_OR_size is ByteBuffer || data_OR_size == null) && (target is int)) {
- _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(unwrap_jso(this), target, unwrap_jso(data_OR_size), usage);
+ _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(this, target, data_OR_size, usage);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -3001,11 +2709,11 @@ class RenderingContext extends DartHtmlDomObject implements CanvasRenderingConte
void bufferSubData(int target, int offset, data) {
if ((data is TypedData) && (offset is int) && (target is int)) {
- _blink.BlinkWebGLRenderingContext.instance.bufferSubData_Callback_3_(unwrap_jso(this), target, offset, unwrap_jso(data));
+ _blink.BlinkWebGLRenderingContext.instance.bufferSubData_Callback_3_(this, target, offset, data);
return;
}
if ((data is ByteBuffer || data == null) && (offset is int) && (target is int)) {
- _blink.BlinkWebGLRenderingContext.instance.bufferSubData_Callback_3_(unwrap_jso(this), target, offset, unwrap_jso(data));
+ _blink.BlinkWebGLRenderingContext.instance.bufferSubData_Callback_3_(this, target, offset, data);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -3013,371 +2721,371 @@ class RenderingContext extends DartHtmlDomObject implements CanvasRenderingConte
@DomName('WebGLRenderingContext.checkFramebufferStatus')
@DocsEditable()
- int checkFramebufferStatus(int target) => _blink.BlinkWebGLRenderingContext.instance.checkFramebufferStatus_Callback_1_(unwrap_jso(this), target);
+ int checkFramebufferStatus(int target) => _blink.BlinkWebGLRenderingContext.instance.checkFramebufferStatus_Callback_1_(this, target);
@DomName('WebGLRenderingContext.clear')
@DocsEditable()
- void clear(int mask) => _blink.BlinkWebGLRenderingContext.instance.clear_Callback_1_(unwrap_jso(this), mask);
+ void clear(int mask) => _blink.BlinkWebGLRenderingContext.instance.clear_Callback_1_(this, mask);
@DomName('WebGLRenderingContext.clearColor')
@DocsEditable()
- void clearColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGLRenderingContext.instance.clearColor_Callback_4_(unwrap_jso(this), red, green, blue, alpha);
+ void clearColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGLRenderingContext.instance.clearColor_Callback_4_(this, red, green, blue, alpha);
@DomName('WebGLRenderingContext.clearDepth')
@DocsEditable()
- void clearDepth(num depth) => _blink.BlinkWebGLRenderingContext.instance.clearDepth_Callback_1_(unwrap_jso(this), depth);
+ void clearDepth(num depth) => _blink.BlinkWebGLRenderingContext.instance.clearDepth_Callback_1_(this, depth);
@DomName('WebGLRenderingContext.clearStencil')
@DocsEditable()
- void clearStencil(int s) => _blink.BlinkWebGLRenderingContext.instance.clearStencil_Callback_1_(unwrap_jso(this), s);
+ void clearStencil(int s) => _blink.BlinkWebGLRenderingContext.instance.clearStencil_Callback_1_(this, s);
@DomName('WebGLRenderingContext.colorMask')
@DocsEditable()
- void colorMask(bool red, bool green, bool blue, bool alpha) => _blink.BlinkWebGLRenderingContext.instance.colorMask_Callback_4_(unwrap_jso(this), red, green, blue, alpha);
+ void colorMask(bool red, bool green, bool blue, bool alpha) => _blink.BlinkWebGLRenderingContext.instance.colorMask_Callback_4_(this, red, green, blue, alpha);
@DomName('WebGLRenderingContext.compileShader')
@DocsEditable()
- void compileShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instance.compileShader_Callback_1_(unwrap_jso(this), unwrap_jso(shader));
+ void compileShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instance.compileShader_Callback_1_(this, shader);
@DomName('WebGLRenderingContext.compressedTexImage2D')
@DocsEditable()
- void compressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, TypedData data) => _blink.BlinkWebGLRenderingContext.instance.compressedTexImage2D_Callback_7_(unwrap_jso(this), target, level, internalformat, width, height, border, unwrap_jso(data));
+ void compressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, TypedData data) => _blink.BlinkWebGLRenderingContext.instance.compressedTexImage2D_Callback_7_(this, target, level, internalformat, width, height, border, data);
@DomName('WebGLRenderingContext.compressedTexSubImage2D')
@DocsEditable()
- void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, TypedData data) => _blink.BlinkWebGLRenderingContext.instance.compressedTexSubImage2D_Callback_8_(unwrap_jso(this), target, level, xoffset, yoffset, width, height, format, unwrap_jso(data));
+ void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, TypedData data) => _blink.BlinkWebGLRenderingContext.instance.compressedTexSubImage2D_Callback_8_(this, target, level, xoffset, yoffset, width, height, format, data);
@DomName('WebGLRenderingContext.copyTexImage2D')
@DocsEditable()
- void copyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border) => _blink.BlinkWebGLRenderingContext.instance.copyTexImage2D_Callback_8_(unwrap_jso(this), target, level, internalformat, x, y, width, height, border);
+ void copyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border) => _blink.BlinkWebGLRenderingContext.instance.copyTexImage2D_Callback_8_(this, target, level, internalformat, x, y, width, height, border);
@DomName('WebGLRenderingContext.copyTexSubImage2D')
@DocsEditable()
- void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) => _blink.BlinkWebGLRenderingContext.instance.copyTexSubImage2D_Callback_8_(unwrap_jso(this), target, level, xoffset, yoffset, x, y, width, height);
+ void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) => _blink.BlinkWebGLRenderingContext.instance.copyTexSubImage2D_Callback_8_(this, target, level, xoffset, yoffset, x, y, width, height);
@DomName('WebGLRenderingContext.createBuffer')
@DocsEditable()
- Buffer createBuffer() => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.createBuffer_Callback_0_(unwrap_jso(this)));
+ Buffer createBuffer() => _blink.BlinkWebGLRenderingContext.instance.createBuffer_Callback_0_(this);
@DomName('WebGLRenderingContext.createFramebuffer')
@DocsEditable()
- Framebuffer createFramebuffer() => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.createFramebuffer_Callback_0_(unwrap_jso(this)));
+ Framebuffer createFramebuffer() => _blink.BlinkWebGLRenderingContext.instance.createFramebuffer_Callback_0_(this);
@DomName('WebGLRenderingContext.createProgram')
@DocsEditable()
- Program createProgram() => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.createProgram_Callback_0_(unwrap_jso(this)));
+ Program createProgram() => _blink.BlinkWebGLRenderingContext.instance.createProgram_Callback_0_(this);
@DomName('WebGLRenderingContext.createRenderbuffer')
@DocsEditable()
- Renderbuffer createRenderbuffer() => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.createRenderbuffer_Callback_0_(unwrap_jso(this)));
+ Renderbuffer createRenderbuffer() => _blink.BlinkWebGLRenderingContext.instance.createRenderbuffer_Callback_0_(this);
@DomName('WebGLRenderingContext.createShader')
@DocsEditable()
- Shader createShader(int type) => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.createShader_Callback_1_(unwrap_jso(this), type));
+ Shader createShader(int type) => _blink.BlinkWebGLRenderingContext.instance.createShader_Callback_1_(this, type);
@DomName('WebGLRenderingContext.createTexture')
@DocsEditable()
- Texture createTexture() => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.createTexture_Callback_0_(unwrap_jso(this)));
+ Texture createTexture() => _blink.BlinkWebGLRenderingContext.instance.createTexture_Callback_0_(this);
@DomName('WebGLRenderingContext.cullFace')
@DocsEditable()
- void cullFace(int mode) => _blink.BlinkWebGLRenderingContext.instance.cullFace_Callback_1_(unwrap_jso(this), mode);
+ void cullFace(int mode) => _blink.BlinkWebGLRenderingContext.instance.cullFace_Callback_1_(this, mode);
@DomName('WebGLRenderingContext.deleteBuffer')
@DocsEditable()
- void deleteBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.instance.deleteBuffer_Callback_1_(unwrap_jso(this), unwrap_jso(buffer));
+ void deleteBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.instance.deleteBuffer_Callback_1_(this, buffer);
@DomName('WebGLRenderingContext.deleteFramebuffer')
@DocsEditable()
- void deleteFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGLRenderingContext.instance.deleteFramebuffer_Callback_1_(unwrap_jso(this), unwrap_jso(framebuffer));
+ void deleteFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGLRenderingContext.instance.deleteFramebuffer_Callback_1_(this, framebuffer);
@DomName('WebGLRenderingContext.deleteProgram')
@DocsEditable()
- void deleteProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance.deleteProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program));
+ void deleteProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance.deleteProgram_Callback_1_(this, program);
@DomName('WebGLRenderingContext.deleteRenderbuffer')
@DocsEditable()
- void deleteRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingContext.instance.deleteRenderbuffer_Callback_1_(unwrap_jso(this), unwrap_jso(renderbuffer));
+ void deleteRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingContext.instance.deleteRenderbuffer_Callback_1_(this, renderbuffer);
@DomName('WebGLRenderingContext.deleteShader')
@DocsEditable()
- void deleteShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instance.deleteShader_Callback_1_(unwrap_jso(this), unwrap_jso(shader));
+ void deleteShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instance.deleteShader_Callback_1_(this, shader);
@DomName('WebGLRenderingContext.deleteTexture')
@DocsEditable()
- void deleteTexture(Texture texture) => _blink.BlinkWebGLRenderingContext.instance.deleteTexture_Callback_1_(unwrap_jso(this), unwrap_jso(texture));
+ void deleteTexture(Texture texture) => _blink.BlinkWebGLRenderingContext.instance.deleteTexture_Callback_1_(this, texture);
@DomName('WebGLRenderingContext.depthFunc')
@DocsEditable()
- void depthFunc(int func) => _blink.BlinkWebGLRenderingContext.instance.depthFunc_Callback_1_(unwrap_jso(this), func);
+ void depthFunc(int func) => _blink.BlinkWebGLRenderingContext.instance.depthFunc_Callback_1_(this, func);
@DomName('WebGLRenderingContext.depthMask')
@DocsEditable()
- void depthMask(bool flag) => _blink.BlinkWebGLRenderingContext.instance.depthMask_Callback_1_(unwrap_jso(this), flag);
+ void depthMask(bool flag) => _blink.BlinkWebGLRenderingContext.instance.depthMask_Callback_1_(this, flag);
@DomName('WebGLRenderingContext.depthRange')
@DocsEditable()
- void depthRange(num zNear, num zFar) => _blink.BlinkWebGLRenderingContext.instance.depthRange_Callback_2_(unwrap_jso(this), zNear, zFar);
+ void depthRange(num zNear, num zFar) => _blink.BlinkWebGLRenderingContext.instance.depthRange_Callback_2_(this, zNear, zFar);
@DomName('WebGLRenderingContext.detachShader')
@DocsEditable()
- void detachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderingContext.instance.detachShader_Callback_2_(unwrap_jso(this), unwrap_jso(program), unwrap_jso(shader));
+ void detachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderingContext.instance.detachShader_Callback_2_(this, program, shader);
@DomName('WebGLRenderingContext.disable')
@DocsEditable()
- void disable(int cap) => _blink.BlinkWebGLRenderingContext.instance.disable_Callback_1_(unwrap_jso(this), cap);
+ void disable(int cap) => _blink.BlinkWebGLRenderingContext.instance.disable_Callback_1_(this, cap);
@DomName('WebGLRenderingContext.disableVertexAttribArray')
@DocsEditable()
- void disableVertexAttribArray(int index) => _blink.BlinkWebGLRenderingContext.instance.disableVertexAttribArray_Callback_1_(unwrap_jso(this), index);
+ void disableVertexAttribArray(int index) => _blink.BlinkWebGLRenderingContext.instance.disableVertexAttribArray_Callback_1_(this, index);
@DomName('WebGLRenderingContext.drawArrays')
@DocsEditable()
- void drawArrays(int mode, int first, int count) => _blink.BlinkWebGLRenderingContext.instance.drawArrays_Callback_3_(unwrap_jso(this), mode, first, count);
+ void drawArrays(int mode, int first, int count) => _blink.BlinkWebGLRenderingContext.instance.drawArrays_Callback_3_(this, mode, first, count);
@DomName('WebGLRenderingContext.drawElements')
@DocsEditable()
- void drawElements(int mode, int count, int type, int offset) => _blink.BlinkWebGLRenderingContext.instance.drawElements_Callback_4_(unwrap_jso(this), mode, count, type, offset);
+ void drawElements(int mode, int count, int type, int offset) => _blink.BlinkWebGLRenderingContext.instance.drawElements_Callback_4_(this, mode, count, type, offset);
@DomName('WebGLRenderingContext.enable')
@DocsEditable()
- void enable(int cap) => _blink.BlinkWebGLRenderingContext.instance.enable_Callback_1_(unwrap_jso(this), cap);
+ void enable(int cap) => _blink.BlinkWebGLRenderingContext.instance.enable_Callback_1_(this, cap);
@DomName('WebGLRenderingContext.enableVertexAttribArray')
@DocsEditable()
- void enableVertexAttribArray(int index) => _blink.BlinkWebGLRenderingContext.instance.enableVertexAttribArray_Callback_1_(unwrap_jso(this), index);
+ void enableVertexAttribArray(int index) => _blink.BlinkWebGLRenderingContext.instance.enableVertexAttribArray_Callback_1_(this, index);
@DomName('WebGLRenderingContext.finish')
@DocsEditable()
- void finish() => _blink.BlinkWebGLRenderingContext.instance.finish_Callback_0_(unwrap_jso(this));
+ void finish() => _blink.BlinkWebGLRenderingContext.instance.finish_Callback_0_(this);
@DomName('WebGLRenderingContext.flush')
@DocsEditable()
- void flush() => _blink.BlinkWebGLRenderingContext.instance.flush_Callback_0_(unwrap_jso(this));
+ void flush() => _blink.BlinkWebGLRenderingContext.instance.flush_Callback_0_(this);
@DomName('WebGLRenderingContext.framebufferRenderbuffer')
@DocsEditable()
- void framebufferRenderbuffer(int target, int attachment, int renderbuffertarget, Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingContext.instance.framebufferRenderbuffer_Callback_4_(unwrap_jso(this), target, attachment, renderbuffertarget, unwrap_jso(renderbuffer));
+ void framebufferRenderbuffer(int target, int attachment, int renderbuffertarget, Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingContext.instance.framebufferRenderbuffer_Callback_4_(this, target, attachment, renderbuffertarget, renderbuffer);
@DomName('WebGLRenderingContext.framebufferTexture2D')
@DocsEditable()
- void framebufferTexture2D(int target, int attachment, int textarget, Texture texture, int level) => _blink.BlinkWebGLRenderingContext.instance.framebufferTexture2D_Callback_5_(unwrap_jso(this), target, attachment, textarget, unwrap_jso(texture), level);
+ void framebufferTexture2D(int target, int attachment, int textarget, Texture texture, int level) => _blink.BlinkWebGLRenderingContext.instance.framebufferTexture2D_Callback_5_(this, target, attachment, textarget, texture, level);
@DomName('WebGLRenderingContext.frontFace')
@DocsEditable()
- void frontFace(int mode) => _blink.BlinkWebGLRenderingContext.instance.frontFace_Callback_1_(unwrap_jso(this), mode);
+ void frontFace(int mode) => _blink.BlinkWebGLRenderingContext.instance.frontFace_Callback_1_(this, mode);
@DomName('WebGLRenderingContext.generateMipmap')
@DocsEditable()
- void generateMipmap(int target) => _blink.BlinkWebGLRenderingContext.instance.generateMipmap_Callback_1_(unwrap_jso(this), target);
+ void generateMipmap(int target) => _blink.BlinkWebGLRenderingContext.instance.generateMipmap_Callback_1_(this, target);
@DomName('WebGLRenderingContext.getActiveAttrib')
@DocsEditable()
- ActiveInfo getActiveAttrib(Program program, int index) => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.getActiveAttrib_Callback_2_(unwrap_jso(this), unwrap_jso(program), index));
+ ActiveInfo getActiveAttrib(Program program, int index) => _blink.BlinkWebGLRenderingContext.instance.getActiveAttrib_Callback_2_(this, program, index);
@DomName('WebGLRenderingContext.getActiveUniform')
@DocsEditable()
- ActiveInfo getActiveUniform(Program program, int index) => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.getActiveUniform_Callback_2_(unwrap_jso(this), unwrap_jso(program), index));
+ ActiveInfo getActiveUniform(Program program, int index) => _blink.BlinkWebGLRenderingContext.instance.getActiveUniform_Callback_2_(this, program, index);
@DomName('WebGLRenderingContext.getAttachedShaders')
@DocsEditable()
- List<Shader> getAttachedShaders(Program program) => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.getAttachedShaders_Callback_1_(unwrap_jso(this), unwrap_jso(program)));
+ List<Shader> getAttachedShaders(Program program) => _blink.BlinkWebGLRenderingContext.instance.getAttachedShaders_Callback_1_(this, program);
@DomName('WebGLRenderingContext.getAttribLocation')
@DocsEditable()
- int getAttribLocation(Program program, String name) => _blink.BlinkWebGLRenderingContext.instance.getAttribLocation_Callback_2_(unwrap_jso(this), unwrap_jso(program), name);
+ int getAttribLocation(Program program, String name) => _blink.BlinkWebGLRenderingContext.instance.getAttribLocation_Callback_2_(this, program, name);
@DomName('WebGLRenderingContext.getBufferParameter')
@DocsEditable()
- Object getBufferParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.getBufferParameter_Callback_2_(unwrap_jso(this), target, pname));
+ Object getBufferParameter(int target, int pname) => (_blink.BlinkWebGLRenderingContext.instance.getBufferParameter_Callback_2_(this, target, pname));
@DomName('WebGLRenderingContext.getContextAttributes')
@DocsEditable()
- getContextAttributes() => convertNativeDictionaryToDartDictionary(wrap_jso(_blink.BlinkWebGLRenderingContext.instance.getContextAttributes_Callback_0_(unwrap_jso(this))));
+ getContextAttributes() => convertNativeDictionaryToDartDictionary((_blink.BlinkWebGLRenderingContext.instance.getContextAttributes_Callback_0_(this)));
@DomName('WebGLRenderingContext.getError')
@DocsEditable()
- int getError() => _blink.BlinkWebGLRenderingContext.instance.getError_Callback_0_(unwrap_jso(this));
+ int getError() => _blink.BlinkWebGLRenderingContext.instance.getError_Callback_0_(this);
@DomName('WebGLRenderingContext.getExtension')
@DocsEditable()
- Object getExtension(String name) => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.getExtension_Callback_1_(unwrap_jso(this), name));
+ Object getExtension(String name) => (_blink.BlinkWebGLRenderingContext.instance.getExtension_Callback_1_(this, name));
@DomName('WebGLRenderingContext.getFramebufferAttachmentParameter')
@DocsEditable()
- Object getFramebufferAttachmentParameter(int target, int attachment, int pname) => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.getFramebufferAttachmentParameter_Callback_3_(unwrap_jso(this), target, attachment, pname));
+ Object getFramebufferAttachmentParameter(int target, int attachment, int pname) => (_blink.BlinkWebGLRenderingContext.instance.getFramebufferAttachmentParameter_Callback_3_(this, target, attachment, pname));
@DomName('WebGLRenderingContext.getParameter')
@DocsEditable()
- Object getParameter(int pname) => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.getParameter_Callback_1_(unwrap_jso(this), pname));
+ Object getParameter(int pname) => (_blink.BlinkWebGLRenderingContext.instance.getParameter_Callback_1_(this, pname));
@DomName('WebGLRenderingContext.getProgramInfoLog')
@DocsEditable()
- String getProgramInfoLog(Program program) => _blink.BlinkWebGLRenderingContext.instance.getProgramInfoLog_Callback_1_(unwrap_jso(this), unwrap_jso(program));
+ String getProgramInfoLog(Program program) => _blink.BlinkWebGLRenderingContext.instance.getProgramInfoLog_Callback_1_(this, program);
@DomName('WebGLRenderingContext.getProgramParameter')
@DocsEditable()
- Object getProgramParameter(Program program, int pname) => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.getProgramParameter_Callback_2_(unwrap_jso(this), unwrap_jso(program), pname));
+ Object getProgramParameter(Program program, int pname) => (_blink.BlinkWebGLRenderingContext.instance.getProgramParameter_Callback_2_(this, program, pname));
@DomName('WebGLRenderingContext.getRenderbufferParameter')
@DocsEditable()
- Object getRenderbufferParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.getRenderbufferParameter_Callback_2_(unwrap_jso(this), target, pname));
+ Object getRenderbufferParameter(int target, int pname) => (_blink.BlinkWebGLRenderingContext.instance.getRenderbufferParameter_Callback_2_(this, target, pname));
@DomName('WebGLRenderingContext.getShaderInfoLog')
@DocsEditable()
- String getShaderInfoLog(Shader shader) => _blink.BlinkWebGLRenderingContext.instance.getShaderInfoLog_Callback_1_(unwrap_jso(this), unwrap_jso(shader));
+ String getShaderInfoLog(Shader shader) => _blink.BlinkWebGLRenderingContext.instance.getShaderInfoLog_Callback_1_(this, shader);
@DomName('WebGLRenderingContext.getShaderParameter')
@DocsEditable()
- Object getShaderParameter(Shader shader, int pname) => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.getShaderParameter_Callback_2_(unwrap_jso(this), unwrap_jso(shader), pname));
+ Object getShaderParameter(Shader shader, int pname) => (_blink.BlinkWebGLRenderingContext.instance.getShaderParameter_Callback_2_(this, shader, pname));
@DomName('WebGLRenderingContext.getShaderPrecisionFormat')
@DocsEditable()
- ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisiontype) => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.getShaderPrecisionFormat_Callback_2_(unwrap_jso(this), shadertype, precisiontype));
+ ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisiontype) => _blink.BlinkWebGLRenderingContext.instance.getShaderPrecisionFormat_Callback_2_(this, shadertype, precisiontype);
@DomName('WebGLRenderingContext.getShaderSource')
@DocsEditable()
- String getShaderSource(Shader shader) => _blink.BlinkWebGLRenderingContext.instance.getShaderSource_Callback_1_(unwrap_jso(this), unwrap_jso(shader));
+ String getShaderSource(Shader shader) => _blink.BlinkWebGLRenderingContext.instance.getShaderSource_Callback_1_(this, shader);
@DomName('WebGLRenderingContext.getSupportedExtensions')
@DocsEditable()
- List<String> getSupportedExtensions() => _blink.BlinkWebGLRenderingContext.instance.getSupportedExtensions_Callback_0_(unwrap_jso(this));
+ List<String> getSupportedExtensions() => _blink.BlinkWebGLRenderingContext.instance.getSupportedExtensions_Callback_0_(this);
@DomName('WebGLRenderingContext.getTexParameter')
@DocsEditable()
- Object getTexParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.getTexParameter_Callback_2_(unwrap_jso(this), target, pname));
+ Object getTexParameter(int target, int pname) => (_blink.BlinkWebGLRenderingContext.instance.getTexParameter_Callback_2_(this, target, pname));
@DomName('WebGLRenderingContext.getUniform')
@DocsEditable()
- Object getUniform(Program program, UniformLocation location) => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.getUniform_Callback_2_(unwrap_jso(this), unwrap_jso(program), unwrap_jso(location)));
+ Object getUniform(Program program, UniformLocation location) => (_blink.BlinkWebGLRenderingContext.instance.getUniform_Callback_2_(this, program, location));
@DomName('WebGLRenderingContext.getUniformLocation')
@DocsEditable()
- UniformLocation getUniformLocation(Program program, String name) => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.getUniformLocation_Callback_2_(unwrap_jso(this), unwrap_jso(program), name));
+ UniformLocation getUniformLocation(Program program, String name) => _blink.BlinkWebGLRenderingContext.instance.getUniformLocation_Callback_2_(this, program, name);
@DomName('WebGLRenderingContext.getVertexAttrib')
@DocsEditable()
- Object getVertexAttrib(int index, int pname) => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.getVertexAttrib_Callback_2_(unwrap_jso(this), index, pname));
+ Object getVertexAttrib(int index, int pname) => (_blink.BlinkWebGLRenderingContext.instance.getVertexAttrib_Callback_2_(this, index, pname));
@DomName('WebGLRenderingContext.getVertexAttribOffset')
@DocsEditable()
- int getVertexAttribOffset(int index, int pname) => _blink.BlinkWebGLRenderingContext.instance.getVertexAttribOffset_Callback_2_(unwrap_jso(this), index, pname);
+ int getVertexAttribOffset(int index, int pname) => _blink.BlinkWebGLRenderingContext.instance.getVertexAttribOffset_Callback_2_(this, index, pname);
@DomName('WebGLRenderingContext.hint')
@DocsEditable()
- void hint(int target, int mode) => _blink.BlinkWebGLRenderingContext.instance.hint_Callback_2_(unwrap_jso(this), target, mode);
+ void hint(int target, int mode) => _blink.BlinkWebGLRenderingContext.instance.hint_Callback_2_(this, target, mode);
@DomName('WebGLRenderingContext.isBuffer')
@DocsEditable()
- bool isBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.instance.isBuffer_Callback_1_(unwrap_jso(this), unwrap_jso(buffer));
+ bool isBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.instance.isBuffer_Callback_1_(this, buffer);
@DomName('WebGLRenderingContext.isContextLost')
@DocsEditable()
- bool isContextLost() => _blink.BlinkWebGLRenderingContext.instance.isContextLost_Callback_0_(unwrap_jso(this));
+ bool isContextLost() => _blink.BlinkWebGLRenderingContext.instance.isContextLost_Callback_0_(this);
@DomName('WebGLRenderingContext.isEnabled')
@DocsEditable()
- bool isEnabled(int cap) => _blink.BlinkWebGLRenderingContext.instance.isEnabled_Callback_1_(unwrap_jso(this), cap);
+ bool isEnabled(int cap) => _blink.BlinkWebGLRenderingContext.instance.isEnabled_Callback_1_(this, cap);
@DomName('WebGLRenderingContext.isFramebuffer')
@DocsEditable()
- bool isFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGLRenderingContext.instance.isFramebuffer_Callback_1_(unwrap_jso(this), unwrap_jso(framebuffer));
+ bool isFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGLRenderingContext.instance.isFramebuffer_Callback_1_(this, framebuffer);
@DomName('WebGLRenderingContext.isProgram')
@DocsEditable()
- bool isProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance.isProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program));
+ bool isProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance.isProgram_Callback_1_(this, program);
@DomName('WebGLRenderingContext.isRenderbuffer')
@DocsEditable()
- bool isRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingContext.instance.isRenderbuffer_Callback_1_(unwrap_jso(this), unwrap_jso(renderbuffer));
+ bool isRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingContext.instance.isRenderbuffer_Callback_1_(this, renderbuffer);
@DomName('WebGLRenderingContext.isShader')
@DocsEditable()
- bool isShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instance.isShader_Callback_1_(unwrap_jso(this), unwrap_jso(shader));
+ bool isShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instance.isShader_Callback_1_(this, shader);
@DomName('WebGLRenderingContext.isTexture')
@DocsEditable()
- bool isTexture(Texture texture) => _blink.BlinkWebGLRenderingContext.instance.isTexture_Callback_1_(unwrap_jso(this), unwrap_jso(texture));
+ bool isTexture(Texture texture) => _blink.BlinkWebGLRenderingContext.instance.isTexture_Callback_1_(this, texture);
@DomName('WebGLRenderingContext.lineWidth')
@DocsEditable()
- void lineWidth(num width) => _blink.BlinkWebGLRenderingContext.instance.lineWidth_Callback_1_(unwrap_jso(this), width);
+ void lineWidth(num width) => _blink.BlinkWebGLRenderingContext.instance.lineWidth_Callback_1_(this, width);
@DomName('WebGLRenderingContext.linkProgram')
@DocsEditable()
- void linkProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance.linkProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program));
+ void linkProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance.linkProgram_Callback_1_(this, program);
@DomName('WebGLRenderingContext.pixelStorei')
@DocsEditable()
- void pixelStorei(int pname, int param) => _blink.BlinkWebGLRenderingContext.instance.pixelStorei_Callback_2_(unwrap_jso(this), pname, param);
+ void pixelStorei(int pname, int param) => _blink.BlinkWebGLRenderingContext.instance.pixelStorei_Callback_2_(this, pname, param);
@DomName('WebGLRenderingContext.polygonOffset')
@DocsEditable()
- void polygonOffset(num factor, num units) => _blink.BlinkWebGLRenderingContext.instance.polygonOffset_Callback_2_(unwrap_jso(this), factor, units);
+ void polygonOffset(num factor, num units) => _blink.BlinkWebGLRenderingContext.instance.polygonOffset_Callback_2_(this, factor, units);
@DomName('WebGLRenderingContext.readPixels')
@DocsEditable()
- void readPixels(int x, int y, int width, int height, int format, int type, TypedData pixels) => _blink.BlinkWebGLRenderingContext.instance.readPixels_Callback_7_(unwrap_jso(this), x, y, width, height, format, type, unwrap_jso(pixels));
+ void readPixels(int x, int y, int width, int height, int format, int type, TypedData pixels) => _blink.BlinkWebGLRenderingContext.instance.readPixels_Callback_7_(this, x, y, width, height, format, type, pixels);
@DomName('WebGLRenderingContext.renderbufferStorage')
@DocsEditable()
- void renderbufferStorage(int target, int internalformat, int width, int height) => _blink.BlinkWebGLRenderingContext.instance.renderbufferStorage_Callback_4_(unwrap_jso(this), target, internalformat, width, height);
+ void renderbufferStorage(int target, int internalformat, int width, int height) => _blink.BlinkWebGLRenderingContext.instance.renderbufferStorage_Callback_4_(this, target, internalformat, width, height);
@DomName('WebGLRenderingContext.sampleCoverage')
@DocsEditable()
- void sampleCoverage(num value, bool invert) => _blink.BlinkWebGLRenderingContext.instance.sampleCoverage_Callback_2_(unwrap_jso(this), value, invert);
+ void sampleCoverage(num value, bool invert) => _blink.BlinkWebGLRenderingContext.instance.sampleCoverage_Callback_2_(this, value, invert);
@DomName('WebGLRenderingContext.scissor')
@DocsEditable()
- void scissor(int x, int y, int width, int height) => _blink.BlinkWebGLRenderingContext.instance.scissor_Callback_4_(unwrap_jso(this), x, y, width, height);
+ void scissor(int x, int y, int width, int height) => _blink.BlinkWebGLRenderingContext.instance.scissor_Callback_4_(this, x, y, width, height);
@DomName('WebGLRenderingContext.shaderSource')
@DocsEditable()
- void shaderSource(Shader shader, String string) => _blink.BlinkWebGLRenderingContext.instance.shaderSource_Callback_2_(unwrap_jso(this), unwrap_jso(shader), string);
+ void shaderSource(Shader shader, String string) => _blink.BlinkWebGLRenderingContext.instance.shaderSource_Callback_2_(this, shader, string);
@DomName('WebGLRenderingContext.stencilFunc')
@DocsEditable()
- void stencilFunc(int func, int ref, int mask) => _blink.BlinkWebGLRenderingContext.instance.stencilFunc_Callback_3_(unwrap_jso(this), func, ref, mask);
+ void stencilFunc(int func, int ref, int mask) => _blink.BlinkWebGLRenderingContext.instance.stencilFunc_Callback_3_(this, func, ref, mask);
@DomName('WebGLRenderingContext.stencilFuncSeparate')
@DocsEditable()
- void stencilFuncSeparate(int face, int func, int ref, int mask) => _blink.BlinkWebGLRenderingContext.instance.stencilFuncSeparate_Callback_4_(unwrap_jso(this), face, func, ref, mask);
+ void stencilFuncSeparate(int face, int func, int ref, int mask) => _blink.BlinkWebGLRenderingContext.instance.stencilFuncSeparate_Callback_4_(this, face, func, ref, mask);
@DomName('WebGLRenderingContext.stencilMask')
@DocsEditable()
- void stencilMask(int mask) => _blink.BlinkWebGLRenderingContext.instance.stencilMask_Callback_1_(unwrap_jso(this), mask);
+ void stencilMask(int mask) => _blink.BlinkWebGLRenderingContext.instance.stencilMask_Callback_1_(this, mask);
@DomName('WebGLRenderingContext.stencilMaskSeparate')
@DocsEditable()
- void stencilMaskSeparate(int face, int mask) => _blink.BlinkWebGLRenderingContext.instance.stencilMaskSeparate_Callback_2_(unwrap_jso(this), face, mask);
+ void stencilMaskSeparate(int face, int mask) => _blink.BlinkWebGLRenderingContext.instance.stencilMaskSeparate_Callback_2_(this, face, mask);
@DomName('WebGLRenderingContext.stencilOp')
@DocsEditable()
- void stencilOp(int fail, int zfail, int zpass) => _blink.BlinkWebGLRenderingContext.instance.stencilOp_Callback_3_(unwrap_jso(this), fail, zfail, zpass);
+ void stencilOp(int fail, int zfail, int zpass) => _blink.BlinkWebGLRenderingContext.instance.stencilOp_Callback_3_(this, fail, zfail, zpass);
@DomName('WebGLRenderingContext.stencilOpSeparate')
@DocsEditable()
- void stencilOpSeparate(int face, int fail, int zfail, int zpass) => _blink.BlinkWebGLRenderingContext.instance.stencilOpSeparate_Callback_4_(unwrap_jso(this), face, fail, zfail, zpass);
+ void stencilOpSeparate(int face, int fail, int zfail, int zpass) => _blink.BlinkWebGLRenderingContext.instance.stencilOpSeparate_Callback_4_(this, face, fail, zfail, zpass);
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 is TypedData || pixels == null) && (type is int) && (format is int) && (border_OR_canvas_OR_image_OR_pixels_OR_video is int) && (height_OR_type is int) && (format_OR_width is int) && (internalformat is int) && (level is int) && (target is int)) {
- _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_9_(unwrap_jso(this), target, level, internalformat, format_OR_width, height_OR_type, unwrap_jso(border_OR_canvas_OR_image_OR_pixels_OR_video), format, type, unwrap_jso(pixels));
+ _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_9_(this, 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) && (height_OR_type is int) && (format_OR_width is int) && (internalformat is int) && (level is int) && (target is int) && format == null && type == null && pixels == null) {
- _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_(unwrap_jso(this), target, level, internalformat, format_OR_width, height_OR_type, unwrap_jso(border_OR_canvas_OR_image_OR_pixels_OR_video));
+ _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_(this, 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 ImageElement) && (height_OR_type is int) && (format_OR_width is int) && (internalformat is int) && (level is int) && (target is int) && format == null && type == null && pixels == null) {
- _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_(unwrap_jso(this), target, level, internalformat, format_OR_width, height_OR_type, unwrap_jso(border_OR_canvas_OR_image_OR_pixels_OR_video));
+ _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_(this, 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) && (height_OR_type is int) && (format_OR_width is int) && (internalformat is int) && (level is int) && (target is int) && format == null && type == null && pixels == null) {
- _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_(unwrap_jso(this), target, level, internalformat, format_OR_width, height_OR_type, unwrap_jso(border_OR_canvas_OR_image_OR_pixels_OR_video));
+ _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_(this, 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) && (height_OR_type is int) && (format_OR_width is int) && (internalformat is int) && (level is int) && (target is int) && format == null && type == null && pixels == null) {
- _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_(unwrap_jso(this), target, level, internalformat, format_OR_width, height_OR_type, unwrap_jso(border_OR_canvas_OR_image_OR_pixels_OR_video));
+ _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_(this, 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");
@@ -3385,31 +3093,31 @@ class RenderingContext extends DartHtmlDomObject implements CanvasRenderingConte
@DomName('WebGLRenderingContext.texParameterf')
@DocsEditable()
- void texParameterf(int target, int pname, num param) => _blink.BlinkWebGLRenderingContext.instance.texParameterf_Callback_3_(unwrap_jso(this), target, pname, param);
+ void texParameterf(int target, int pname, num param) => _blink.BlinkWebGLRenderingContext.instance.texParameterf_Callback_3_(this, target, pname, param);
@DomName('WebGLRenderingContext.texParameteri')
@DocsEditable()
- void texParameteri(int target, int pname, int param) => _blink.BlinkWebGLRenderingContext.instance.texParameteri_Callback_3_(unwrap_jso(this), target, pname, param);
+ void texParameteri(int target, int pname, int param) => _blink.BlinkWebGLRenderingContext.instance.texParameteri_Callback_3_(this, target, pname, param);
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 is TypedData || pixels == null) && (type is int) && (canvas_OR_format_OR_image_OR_pixels_OR_video is int) && (height_OR_type is int) && (format_OR_width is int) && (yoffset is int) && (xoffset is int) && (level is int) && (target is int)) {
- _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_9_(unwrap_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type, unwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video), type, unwrap_jso(pixels));
+ _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_9_(this, 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) && (height_OR_type is int) && (format_OR_width is int) && (yoffset is int) && (xoffset is int) && (level is int) && (target is int) && type == null && pixels == null) {
- _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_(unwrap_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type, unwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video));
+ _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_(this, 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 ImageElement) && (height_OR_type is int) && (format_OR_width is int) && (yoffset is int) && (xoffset is int) && (level is int) && (target is int) && type == null && pixels == null) {
- _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_(unwrap_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type, unwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video));
+ _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_(this, 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) && (height_OR_type is int) && (format_OR_width is int) && (yoffset is int) && (xoffset is int) && (level is int) && (target is int) && type == null && pixels == null) {
- _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_(unwrap_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type, unwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video));
+ _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_(this, 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) && (height_OR_type is int) && (format_OR_width is int) && (yoffset is int) && (xoffset is int) && (level is int) && (target is int) && type == null && pixels == null) {
- _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_(unwrap_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type, unwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video));
+ _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_(this, 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");
@@ -3417,15 +3125,15 @@ class RenderingContext extends DartHtmlDomObject implements CanvasRenderingConte
@DomName('WebGLRenderingContext.uniform1f')
@DocsEditable()
- void uniform1f(UniformLocation location, num x) => _blink.BlinkWebGLRenderingContext.instance.uniform1f_Callback_2_(unwrap_jso(this), unwrap_jso(location), x);
+ void uniform1f(UniformLocation location, num x) => _blink.BlinkWebGLRenderingContext.instance.uniform1f_Callback_2_(this, location, x);
void uniform1fv(UniformLocation location, v) {
if ((v is Float32List) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGLRenderingContext.instance.uniform1fv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGLRenderingContext.instance.uniform1fv_Callback_2_(this, location, v);
return;
}
if ((v is List<num>) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGLRenderingContext.instance.uniform1fv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGLRenderingContext.instance.uniform1fv_Callback_2_(this, location, v);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -3433,15 +3141,15 @@ class RenderingContext extends DartHtmlDomObject implements CanvasRenderingConte
@DomName('WebGLRenderingContext.uniform1i')
@DocsEditable()
- void uniform1i(UniformLocation location, int x) => _blink.BlinkWebGLRenderingContext.instance.uniform1i_Callback_2_(unwrap_jso(this), unwrap_jso(location), x);
+ void uniform1i(UniformLocation location, int x) => _blink.BlinkWebGLRenderingContext.instance.uniform1i_Callback_2_(this, location, x);
void uniform1iv(UniformLocation location, v) {
if ((v is Int32List) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGLRenderingContext.instance.uniform1iv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGLRenderingContext.instance.uniform1iv_Callback_2_(this, location, v);
return;
}
if ((v is List<int>) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGLRenderingContext.instance.uniform1iv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGLRenderingContext.instance.uniform1iv_Callback_2_(this, location, v);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -3449,15 +3157,15 @@ class RenderingContext extends DartHtmlDomObject implements CanvasRenderingConte
@DomName('WebGLRenderingContext.uniform2f')
@DocsEditable()
- void uniform2f(UniformLocation location, num x, num y) => _blink.BlinkWebGLRenderingContext.instance.uniform2f_Callback_3_(unwrap_jso(this), unwrap_jso(location), x, y);
+ void uniform2f(UniformLocation location, num x, num y) => _blink.BlinkWebGLRenderingContext.instance.uniform2f_Callback_3_(this, location, x, y);
void uniform2fv(UniformLocation location, v) {
if ((v is Float32List) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGLRenderingContext.instance.uniform2fv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGLRenderingContext.instance.uniform2fv_Callback_2_(this, location, v);
return;
}
if ((v is List<num>) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGLRenderingContext.instance.uniform2fv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGLRenderingContext.instance.uniform2fv_Callback_2_(this, location, v);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -3465,15 +3173,15 @@ class RenderingContext extends DartHtmlDomObject implements CanvasRenderingConte
@DomName('WebGLRenderingContext.uniform2i')
@DocsEditable()
- void uniform2i(UniformLocation location, int x, int y) => _blink.BlinkWebGLRenderingContext.instance.uniform2i_Callback_3_(unwrap_jso(this), unwrap_jso(location), x, y);
+ void uniform2i(UniformLocation location, int x, int y) => _blink.BlinkWebGLRenderingContext.instance.uniform2i_Callback_3_(this, location, x, y);
void uniform2iv(UniformLocation location, v) {
if ((v is Int32List) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGLRenderingContext.instance.uniform2iv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGLRenderingContext.instance.uniform2iv_Callback_2_(this, location, v);
return;
}
if ((v is List<int>) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGLRenderingContext.instance.uniform2iv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGLRenderingContext.instance.uniform2iv_Callback_2_(this, location, v);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -3481,15 +3189,15 @@ class RenderingContext extends DartHtmlDomObject implements CanvasRenderingConte
@DomName('WebGLRenderingContext.uniform3f')
@DocsEditable()
- void uniform3f(UniformLocation location, num x, num y, num z) => _blink.BlinkWebGLRenderingContext.instance.uniform3f_Callback_4_(unwrap_jso(this), unwrap_jso(location), x, y, z);
+ void uniform3f(UniformLocation location, num x, num y, num z) => _blink.BlinkWebGLRenderingContext.instance.uniform3f_Callback_4_(this, location, x, y, z);
void uniform3fv(UniformLocation location, v) {
if ((v is Float32List) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGLRenderingContext.instance.uniform3fv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGLRenderingContext.instance.uniform3fv_Callback_2_(this, location, v);
return;
}
if ((v is List<num>) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGLRenderingContext.instance.uniform3fv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGLRenderingContext.instance.uniform3fv_Callback_2_(this, location, v);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -3497,15 +3205,15 @@ class RenderingContext extends DartHtmlDomObject implements CanvasRenderingConte
@DomName('WebGLRenderingContext.uniform3i')
@DocsEditable()
- void uniform3i(UniformLocation location, int x, int y, int z) => _blink.BlinkWebGLRenderingContext.instance.uniform3i_Callback_4_(unwrap_jso(this), unwrap_jso(location), x, y, z);
+ void uniform3i(UniformLocation location, int x, int y, int z) => _blink.BlinkWebGLRenderingContext.instance.uniform3i_Callback_4_(this, location, x, y, z);
void uniform3iv(UniformLocation location, v) {
if ((v is Int32List) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGLRenderingContext.instance.uniform3iv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGLRenderingContext.instance.uniform3iv_Callback_2_(this, location, v);
return;
}
if ((v is List<int>) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGLRenderingContext.instance.uniform3iv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGLRenderingContext.instance.uniform3iv_Callback_2_(this, location, v);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -3513,15 +3221,15 @@ class RenderingContext extends DartHtmlDomObject implements CanvasRenderingConte
@DomName('WebGLRenderingContext.uniform4f')
@DocsEditable()
- void uniform4f(UniformLocation location, num x, num y, num z, num w) => _blink.BlinkWebGLRenderingContext.instance.uniform4f_Callback_5_(unwrap_jso(this), unwrap_jso(location), x, y, z, w);
+ void uniform4f(UniformLocation location, num x, num y, num z, num w) => _blink.BlinkWebGLRenderingContext.instance.uniform4f_Callback_5_(this, location, x, y, z, w);
void uniform4fv(UniformLocation location, v) {
if ((v is Float32List) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGLRenderingContext.instance.uniform4fv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGLRenderingContext.instance.uniform4fv_Callback_2_(this, location, v);
return;
}
if ((v is List<num>) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGLRenderingContext.instance.uniform4fv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGLRenderingContext.instance.uniform4fv_Callback_2_(this, location, v);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -3529,15 +3237,15 @@ class RenderingContext extends DartHtmlDomObject implements CanvasRenderingConte
@DomName('WebGLRenderingContext.uniform4i')
@DocsEditable()
- void uniform4i(UniformLocation location, int x, int y, int z, int w) => _blink.BlinkWebGLRenderingContext.instance.uniform4i_Callback_5_(unwrap_jso(this), unwrap_jso(location), x, y, z, w);
+ void uniform4i(UniformLocation location, int x, int y, int z, int w) => _blink.BlinkWebGLRenderingContext.instance.uniform4i_Callback_5_(this, location, x, y, z, w);
void uniform4iv(UniformLocation location, v) {
if ((v is Int32List) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGLRenderingContext.instance.uniform4iv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGLRenderingContext.instance.uniform4iv_Callback_2_(this, location, v);
return;
}
if ((v is List<int>) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGLRenderingContext.instance.uniform4iv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGLRenderingContext.instance.uniform4iv_Callback_2_(this, location, v);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -3545,11 +3253,11 @@ class RenderingContext extends DartHtmlDomObject implements CanvasRenderingConte
void uniformMatrix2fv(UniformLocation location, bool transpose, array) {
if ((array is Float32List) && (transpose is bool) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGLRenderingContext.instance.uniformMatrix2fv_Callback_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array));
+ _blink.BlinkWebGLRenderingContext.instance.uniformMatrix2fv_Callback_3_(this, location, transpose, array);
return;
}
if ((array is List<num>) && (transpose is bool) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGLRenderingContext.instance.uniformMatrix2fv_Callback_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array));
+ _blink.BlinkWebGLRenderingContext.instance.uniformMatrix2fv_Callback_3_(this, location, transpose, array);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -3557,11 +3265,11 @@ class RenderingContext extends DartHtmlDomObject implements CanvasRenderingConte
void uniformMatrix3fv(UniformLocation location, bool transpose, array) {
if ((array is Float32List) && (transpose is bool) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGLRenderingContext.instance.uniformMatrix3fv_Callback_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array));
+ _blink.BlinkWebGLRenderingContext.instance.uniformMatrix3fv_Callback_3_(this, location, transpose, array);
return;
}
if ((array is List<num>) && (transpose is bool) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGLRenderingContext.instance.uniformMatrix3fv_Callback_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array));
+ _blink.BlinkWebGLRenderingContext.instance.uniformMatrix3fv_Callback_3_(this, location, transpose, array);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -3569,11 +3277,11 @@ class RenderingContext extends DartHtmlDomObject implements CanvasRenderingConte
void uniformMatrix4fv(UniformLocation location, bool transpose, array) {
if ((array is Float32List) && (transpose is bool) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGLRenderingContext.instance.uniformMatrix4fv_Callback_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array));
+ _blink.BlinkWebGLRenderingContext.instance.uniformMatrix4fv_Callback_3_(this, location, transpose, array);
return;
}
if ((array is List<num>) && (transpose is bool) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGLRenderingContext.instance.uniformMatrix4fv_Callback_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array));
+ _blink.BlinkWebGLRenderingContext.instance.uniformMatrix4fv_Callback_3_(this, location, transpose, array);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -3581,23 +3289,23 @@ class RenderingContext extends DartHtmlDomObject implements CanvasRenderingConte
@DomName('WebGLRenderingContext.useProgram')
@DocsEditable()
- void useProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance.useProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program));
+ void useProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance.useProgram_Callback_1_(this, program);
@DomName('WebGLRenderingContext.validateProgram')
@DocsEditable()
- void validateProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance.validateProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program));
+ void validateProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance.validateProgram_Callback_1_(this, program);
@DomName('WebGLRenderingContext.vertexAttrib1f')
@DocsEditable()
- void vertexAttrib1f(int indx, num x) => _blink.BlinkWebGLRenderingContext.instance.vertexAttrib1f_Callback_2_(unwrap_jso(this), indx, x);
+ void vertexAttrib1f(int indx, num x) => _blink.BlinkWebGLRenderingContext.instance.vertexAttrib1f_Callback_2_(this, indx, x);
void vertexAttrib1fv(int indx, values) {
if ((values is Float32List) && (indx is int)) {
- _blink.BlinkWebGLRenderingContext.instance.vertexAttrib1fv_Callback_2_(unwrap_jso(this), indx, unwrap_jso(values));
+ _blink.BlinkWebGLRenderingContext.instance.vertexAttrib1fv_Callback_2_(this, indx, values);
return;
}
if ((values is List<num>) && (indx is int)) {
- _blink.BlinkWebGLRenderingContext.instance.vertexAttrib1fv_Callback_2_(unwrap_jso(this), indx, unwrap_jso(values));
+ _blink.BlinkWebGLRenderingContext.instance.vertexAttrib1fv_Callback_2_(this, indx, values);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -3605,15 +3313,15 @@ class RenderingContext extends DartHtmlDomObject implements CanvasRenderingConte
@DomName('WebGLRenderingContext.vertexAttrib2f')
@DocsEditable()
- void vertexAttrib2f(int indx, num x, num y) => _blink.BlinkWebGLRenderingContext.instance.vertexAttrib2f_Callback_3_(unwrap_jso(this), indx, x, y);
+ void vertexAttrib2f(int indx, num x, num y) => _blink.BlinkWebGLRenderingContext.instance.vertexAttrib2f_Callback_3_(this, indx, x, y);
void vertexAttrib2fv(int indx, values) {
if ((values is Float32List) && (indx is int)) {
- _blink.BlinkWebGLRenderingContext.instance.vertexAttrib2fv_Callback_2_(unwrap_jso(this), indx, unwrap_jso(values));
+ _blink.BlinkWebGLRenderingContext.instance.vertexAttrib2fv_Callback_2_(this, indx, values);
return;
}
if ((values is List<num>) && (indx is int)) {
- _blink.BlinkWebGLRenderingContext.instance.vertexAttrib2fv_Callback_2_(unwrap_jso(this), indx, unwrap_jso(values));
+ _blink.BlinkWebGLRenderingContext.instance.vertexAttrib2fv_Callback_2_(this, indx, values);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -3621,15 +3329,15 @@ class RenderingContext extends DartHtmlDomObject implements CanvasRenderingConte
@DomName('WebGLRenderingContext.vertexAttrib3f')
@DocsEditable()
- void vertexAttrib3f(int indx, num x, num y, num z) => _blink.BlinkWebGLRenderingContext.instance.vertexAttrib3f_Callback_4_(unwrap_jso(this), indx, x, y, z);
+ void vertexAttrib3f(int indx, num x, num y, num z) => _blink.BlinkWebGLRenderingContext.instance.vertexAttrib3f_Callback_4_(this, indx, x, y, z);
void vertexAttrib3fv(int indx, values) {
if ((values is Float32List) && (indx is int)) {
- _blink.BlinkWebGLRenderingContext.instance.vertexAttrib3fv_Callback_2_(unwrap_jso(this), indx, unwrap_jso(values));
+ _blink.BlinkWebGLRenderingContext.instance.vertexAttrib3fv_Callback_2_(this, indx, values);
return;
}
if ((values is List<num>) && (indx is int)) {
- _blink.BlinkWebGLRenderingContext.instance.vertexAttrib3fv_Callback_2_(unwrap_jso(this), indx, unwrap_jso(values));
+ _blink.BlinkWebGLRenderingContext.instance.vertexAttrib3fv_Callback_2_(this, indx, values);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -3637,15 +3345,15 @@ class RenderingContext extends DartHtmlDomObject implements CanvasRenderingConte
@DomName('WebGLRenderingContext.vertexAttrib4f')
@DocsEditable()
- void vertexAttrib4f(int indx, num x, num y, num z, num w) => _blink.BlinkWebGLRenderingContext.instance.vertexAttrib4f_Callback_5_(unwrap_jso(this), indx, x, y, z, w);
+ void vertexAttrib4f(int indx, num x, num y, num z, num w) => _blink.BlinkWebGLRenderingContext.instance.vertexAttrib4f_Callback_5_(this, indx, x, y, z, w);
void vertexAttrib4fv(int indx, values) {
if ((values is Float32List) && (indx is int)) {
- _blink.BlinkWebGLRenderingContext.instance.vertexAttrib4fv_Callback_2_(unwrap_jso(this), indx, unwrap_jso(values));
+ _blink.BlinkWebGLRenderingContext.instance.vertexAttrib4fv_Callback_2_(this, indx, values);
return;
}
if ((values is List<num>) && (indx is int)) {
- _blink.BlinkWebGLRenderingContext.instance.vertexAttrib4fv_Callback_2_(unwrap_jso(this), indx, unwrap_jso(values));
+ _blink.BlinkWebGLRenderingContext.instance.vertexAttrib4fv_Callback_2_(this, indx, values);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -3653,11 +3361,11 @@ class RenderingContext extends DartHtmlDomObject implements CanvasRenderingConte
@DomName('WebGLRenderingContext.vertexAttribPointer')
@DocsEditable()
- void vertexAttribPointer(int indx, int size, int type, bool normalized, int stride, int offset) => _blink.BlinkWebGLRenderingContext.instance.vertexAttribPointer_Callback_6_(unwrap_jso(this), indx, size, type, normalized, stride, offset);
+ void vertexAttribPointer(int indx, int size, int type, bool normalized, int stride, int offset) => _blink.BlinkWebGLRenderingContext.instance.vertexAttribPointer_Callback_6_(this, indx, size, type, normalized, stride, offset);
@DomName('WebGLRenderingContext.viewport')
@DocsEditable()
- void viewport(int x, int y, int width, int height) => _blink.BlinkWebGLRenderingContext.instance.viewport_Callback_4_(unwrap_jso(this), x, y, width, height);
+ void viewport(int x, int y, int width, int height) => _blink.BlinkWebGLRenderingContext.instance.viewport_Callback_4_(this, x, y, width, height);
/**
@@ -3743,21 +3451,13 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
// To suppress missing implicit constructor warnings.
factory RenderingContext2._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static RenderingContext2 internalCreateRenderingContext2() {
- return new RenderingContext2._internalWrap();
- }
- factory RenderingContext2._internalWrap() {
- return new RenderingContext2.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
RenderingContext2.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('WebGL2RenderingContext.ACTIVE_ATTRIBUTES')
@DocsEditable()
@Experimental() // untriaged
@@ -5246,55 +4946,55 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
@DomName('WebGL2RenderingContext.beginQuery')
@DocsEditable()
@Experimental() // untriaged
- void beginQuery(int target, Query query) => _blink.BlinkWebGL2RenderingContext.instance.beginQuery_Callback_2_(unwrap_jso(this), target, unwrap_jso(query));
+ void beginQuery(int target, Query query) => _blink.BlinkWebGL2RenderingContext.instance.beginQuery_Callback_2_(this, target, query);
@DomName('WebGL2RenderingContext.beginTransformFeedback')
@DocsEditable()
@Experimental() // untriaged
- void beginTransformFeedback(int primitiveMode) => _blink.BlinkWebGL2RenderingContext.instance.beginTransformFeedback_Callback_1_(unwrap_jso(this), primitiveMode);
+ void beginTransformFeedback(int primitiveMode) => _blink.BlinkWebGL2RenderingContext.instance.beginTransformFeedback_Callback_1_(this, primitiveMode);
@DomName('WebGL2RenderingContext.bindBufferBase')
@DocsEditable()
@Experimental() // untriaged
- void bindBufferBase(int target, int index, Buffer buffer) => _blink.BlinkWebGL2RenderingContext.instance.bindBufferBase_Callback_3_(unwrap_jso(this), target, index, unwrap_jso(buffer));
+ void bindBufferBase(int target, int index, Buffer buffer) => _blink.BlinkWebGL2RenderingContext.instance.bindBufferBase_Callback_3_(this, target, index, buffer);
@DomName('WebGL2RenderingContext.bindBufferRange')
@DocsEditable()
@Experimental() // untriaged
- void bindBufferRange(int target, int index, Buffer buffer, int offset, int size) => _blink.BlinkWebGL2RenderingContext.instance.bindBufferRange_Callback_5_(unwrap_jso(this), target, index, unwrap_jso(buffer), offset, size);
+ void bindBufferRange(int target, int index, Buffer buffer, int offset, int size) => _blink.BlinkWebGL2RenderingContext.instance.bindBufferRange_Callback_5_(this, target, index, buffer, offset, size);
@DomName('WebGL2RenderingContext.bindSampler')
@DocsEditable()
@Experimental() // untriaged
- void bindSampler(int unit, Sampler sampler) => _blink.BlinkWebGL2RenderingContext.instance.bindSampler_Callback_2_(unwrap_jso(this), unit, unwrap_jso(sampler));
+ void bindSampler(int unit, Sampler sampler) => _blink.BlinkWebGL2RenderingContext.instance.bindSampler_Callback_2_(this, unit, sampler);
@DomName('WebGL2RenderingContext.bindTransformFeedback')
@DocsEditable()
@Experimental() // untriaged
- void bindTransformFeedback(int target, TransformFeedback feedback) => _blink.BlinkWebGL2RenderingContext.instance.bindTransformFeedback_Callback_2_(unwrap_jso(this), target, unwrap_jso(feedback));
+ void bindTransformFeedback(int target, TransformFeedback feedback) => _blink.BlinkWebGL2RenderingContext.instance.bindTransformFeedback_Callback_2_(this, target, feedback);
@DomName('WebGL2RenderingContext.bindVertexArray')
@DocsEditable()
@Experimental() // untriaged
- void bindVertexArray(VertexArrayObject vertexArray) => _blink.BlinkWebGL2RenderingContext.instance.bindVertexArray_Callback_1_(unwrap_jso(this), unwrap_jso(vertexArray));
+ void bindVertexArray(VertexArrayObject vertexArray) => _blink.BlinkWebGL2RenderingContext.instance.bindVertexArray_Callback_1_(this, vertexArray);
@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) => _blink.BlinkWebGL2RenderingContext.instance.blitFramebuffer_Callback_10_(unwrap_jso(this), srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
+ void blitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter) => _blink.BlinkWebGL2RenderingContext.instance.blitFramebuffer_Callback_10_(this, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
@DomName('WebGL2RenderingContext.clearBufferfi')
@DocsEditable()
@Experimental() // untriaged
- void clearBufferfi(int buffer, int drawbuffer, num depth, int stencil) => _blink.BlinkWebGL2RenderingContext.instance.clearBufferfi_Callback_4_(unwrap_jso(this), buffer, drawbuffer, depth, stencil);
+ void clearBufferfi(int buffer, int drawbuffer, num depth, int stencil) => _blink.BlinkWebGL2RenderingContext.instance.clearBufferfi_Callback_4_(this, buffer, drawbuffer, depth, stencil);
void clearBufferfv(int buffer, int drawbuffer, value) {
if ((value is Float32List) && (drawbuffer is int) && (buffer is int)) {
- _blink.BlinkWebGL2RenderingContext.instance.clearBufferfv_Callback_3_(unwrap_jso(this), buffer, drawbuffer, unwrap_jso(value));
+ _blink.BlinkWebGL2RenderingContext.instance.clearBufferfv_Callback_3_(this, buffer, drawbuffer, value);
return;
}
if ((value is List<num>) && (drawbuffer is int) && (buffer is int)) {
- _blink.BlinkWebGL2RenderingContext.instance.clearBufferfv_Callback_3_(unwrap_jso(this), buffer, drawbuffer, unwrap_jso(value));
+ _blink.BlinkWebGL2RenderingContext.instance.clearBufferfv_Callback_3_(this, buffer, drawbuffer, value);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -5302,11 +5002,11 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
void clearBufferiv(int buffer, int drawbuffer, value) {
if ((value is Int32List) && (drawbuffer is int) && (buffer is int)) {
- _blink.BlinkWebGL2RenderingContext.instance.clearBufferiv_Callback_3_(unwrap_jso(this), buffer, drawbuffer, unwrap_jso(value));
+ _blink.BlinkWebGL2RenderingContext.instance.clearBufferiv_Callback_3_(this, buffer, drawbuffer, value);
return;
}
if ((value is List<int>) && (drawbuffer is int) && (buffer is int)) {
- _blink.BlinkWebGL2RenderingContext.instance.clearBufferiv_Callback_3_(unwrap_jso(this), buffer, drawbuffer, unwrap_jso(value));
+ _blink.BlinkWebGL2RenderingContext.instance.clearBufferiv_Callback_3_(this, buffer, drawbuffer, value);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -5314,11 +5014,11 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
void clearBufferuiv(int buffer, int drawbuffer, value) {
if ((value is Uint32List) && (drawbuffer is int) && (buffer is int)) {
- _blink.BlinkWebGL2RenderingContext.instance.clearBufferuiv_Callback_3_(unwrap_jso(this), buffer, drawbuffer, unwrap_jso(value));
+ _blink.BlinkWebGL2RenderingContext.instance.clearBufferuiv_Callback_3_(this, buffer, drawbuffer, value);
return;
}
if ((value is List<int>) && (drawbuffer is int) && (buffer is int)) {
- _blink.BlinkWebGL2RenderingContext.instance.clearBufferuiv_Callback_3_(unwrap_jso(this), buffer, drawbuffer, unwrap_jso(value));
+ _blink.BlinkWebGL2RenderingContext.instance.clearBufferuiv_Callback_3_(this, buffer, drawbuffer, value);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -5327,282 +5027,282 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
@DomName('WebGL2RenderingContext.clientWaitSync')
@DocsEditable()
@Experimental() // untriaged
- int clientWaitSync(Sync sync, int flags, int timeout) => _blink.BlinkWebGL2RenderingContext.instance.clientWaitSync_Callback_3_(unwrap_jso(this), unwrap_jso(sync), flags, timeout);
+ int clientWaitSync(Sync sync, int flags, int timeout) => _blink.BlinkWebGL2RenderingContext.instance.clientWaitSync_Callback_3_(this, sync, flags, timeout);
@DomName('WebGL2RenderingContext.compressedTexImage3D')
@DocsEditable()
@Experimental() // untriaged
- void compressedTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, TypedData data) => _blink.BlinkWebGL2RenderingContext.instance.compressedTexImage3D_Callback_8_(unwrap_jso(this), target, level, internalformat, width, height, depth, border, unwrap_jso(data));
+ void compressedTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, TypedData data) => _blink.BlinkWebGL2RenderingContext.instance.compressedTexImage3D_Callback_8_(this, target, level, internalformat, width, height, depth, border, data);
@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) => _blink.BlinkWebGL2RenderingContext.instance.compressedTexSubImage3D_Callback_10_(unwrap_jso(this), target, level, xoffset, yoffset, zoffset, width, height, depth, format, unwrap_jso(data));
+ void compressedTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, TypedData data) => _blink.BlinkWebGL2RenderingContext.instance.compressedTexSubImage3D_Callback_10_(this, target, level, xoffset, yoffset, zoffset, width, height, depth, format, data);
@DomName('WebGL2RenderingContext.copyBufferSubData')
@DocsEditable()
@Experimental() // untriaged
- void copyBufferSubData(int readTarget, int writeTarget, int readOffset, int writeOffset, int size) => _blink.BlinkWebGL2RenderingContext.instance.copyBufferSubData_Callback_5_(unwrap_jso(this), readTarget, writeTarget, readOffset, writeOffset, size);
+ void copyBufferSubData(int readTarget, int writeTarget, int readOffset, int writeOffset, int size) => _blink.BlinkWebGL2RenderingContext.instance.copyBufferSubData_Callback_5_(this, readTarget, writeTarget, readOffset, writeOffset, size);
@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) => _blink.BlinkWebGL2RenderingContext.instance.copyTexSubImage3D_Callback_9_(unwrap_jso(this), target, level, xoffset, yoffset, zoffset, x, y, width, height);
+ void copyTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height) => _blink.BlinkWebGL2RenderingContext.instance.copyTexSubImage3D_Callback_9_(this, target, level, xoffset, yoffset, zoffset, x, y, width, height);
@DomName('WebGL2RenderingContext.createQuery')
@DocsEditable()
@Experimental() // untriaged
- Query createQuery() => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.createQuery_Callback_0_(unwrap_jso(this)));
+ Query createQuery() => _blink.BlinkWebGL2RenderingContext.instance.createQuery_Callback_0_(this);
@DomName('WebGL2RenderingContext.createSampler')
@DocsEditable()
@Experimental() // untriaged
- Sampler createSampler() => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.createSampler_Callback_0_(unwrap_jso(this)));
+ Sampler createSampler() => _blink.BlinkWebGL2RenderingContext.instance.createSampler_Callback_0_(this);
@DomName('WebGL2RenderingContext.createTransformFeedback')
@DocsEditable()
@Experimental() // untriaged
- TransformFeedback createTransformFeedback() => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.createTransformFeedback_Callback_0_(unwrap_jso(this)));
+ TransformFeedback createTransformFeedback() => _blink.BlinkWebGL2RenderingContext.instance.createTransformFeedback_Callback_0_(this);
@DomName('WebGL2RenderingContext.createVertexArray')
@DocsEditable()
@Experimental() // untriaged
- VertexArrayObject createVertexArray() => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.createVertexArray_Callback_0_(unwrap_jso(this)));
+ VertexArrayObject createVertexArray() => _blink.BlinkWebGL2RenderingContext.instance.createVertexArray_Callback_0_(this);
@DomName('WebGL2RenderingContext.deleteQuery')
@DocsEditable()
@Experimental() // untriaged
- void deleteQuery(Query query) => _blink.BlinkWebGL2RenderingContext.instance.deleteQuery_Callback_1_(unwrap_jso(this), unwrap_jso(query));
+ void deleteQuery(Query query) => _blink.BlinkWebGL2RenderingContext.instance.deleteQuery_Callback_1_(this, query);
@DomName('WebGL2RenderingContext.deleteSampler')
@DocsEditable()
@Experimental() // untriaged
- void deleteSampler(Sampler sampler) => _blink.BlinkWebGL2RenderingContext.instance.deleteSampler_Callback_1_(unwrap_jso(this), unwrap_jso(sampler));
+ void deleteSampler(Sampler sampler) => _blink.BlinkWebGL2RenderingContext.instance.deleteSampler_Callback_1_(this, sampler);
@DomName('WebGL2RenderingContext.deleteSync')
@DocsEditable()
@Experimental() // untriaged
- void deleteSync(Sync sync) => _blink.BlinkWebGL2RenderingContext.instance.deleteSync_Callback_1_(unwrap_jso(this), unwrap_jso(sync));
+ void deleteSync(Sync sync) => _blink.BlinkWebGL2RenderingContext.instance.deleteSync_Callback_1_(this, sync);
@DomName('WebGL2RenderingContext.deleteTransformFeedback')
@DocsEditable()
@Experimental() // untriaged
- void deleteTransformFeedback(TransformFeedback feedback) => _blink.BlinkWebGL2RenderingContext.instance.deleteTransformFeedback_Callback_1_(unwrap_jso(this), unwrap_jso(feedback));
+ void deleteTransformFeedback(TransformFeedback feedback) => _blink.BlinkWebGL2RenderingContext.instance.deleteTransformFeedback_Callback_1_(this, feedback);
@DomName('WebGL2RenderingContext.deleteVertexArray')
@DocsEditable()
@Experimental() // untriaged
- void deleteVertexArray(VertexArrayObject vertexArray) => _blink.BlinkWebGL2RenderingContext.instance.deleteVertexArray_Callback_1_(unwrap_jso(this), unwrap_jso(vertexArray));
+ void deleteVertexArray(VertexArrayObject vertexArray) => _blink.BlinkWebGL2RenderingContext.instance.deleteVertexArray_Callback_1_(this, vertexArray);
@DomName('WebGL2RenderingContext.drawArraysInstanced')
@DocsEditable()
@Experimental() // untriaged
- void drawArraysInstanced(int mode, int first, int count, int instanceCount) => _blink.BlinkWebGL2RenderingContext.instance.drawArraysInstanced_Callback_4_(unwrap_jso(this), mode, first, count, instanceCount);
+ void drawArraysInstanced(int mode, int first, int count, int instanceCount) => _blink.BlinkWebGL2RenderingContext.instance.drawArraysInstanced_Callback_4_(this, mode, first, count, instanceCount);
@DomName('WebGL2RenderingContext.drawBuffers')
@DocsEditable()
@Experimental() // untriaged
- void drawBuffers(List<int> buffers) => _blink.BlinkWebGL2RenderingContext.instance.drawBuffers_Callback_1_(unwrap_jso(this), buffers);
+ void drawBuffers(List<int> buffers) => _blink.BlinkWebGL2RenderingContext.instance.drawBuffers_Callback_1_(this, buffers);
@DomName('WebGL2RenderingContext.drawElementsInstanced')
@DocsEditable()
@Experimental() // untriaged
- void drawElementsInstanced(int mode, int count, int type, int offset, int instanceCount) => _blink.BlinkWebGL2RenderingContext.instance.drawElementsInstanced_Callback_5_(unwrap_jso(this), mode, count, type, offset, instanceCount);
+ void drawElementsInstanced(int mode, int count, int type, int offset, int instanceCount) => _blink.BlinkWebGL2RenderingContext.instance.drawElementsInstanced_Callback_5_(this, mode, count, type, offset, instanceCount);
@DomName('WebGL2RenderingContext.drawRangeElements')
@DocsEditable()
@Experimental() // untriaged
- void drawRangeElements(int mode, int start, int end, int count, int type, int offset) => _blink.BlinkWebGL2RenderingContext.instance.drawRangeElements_Callback_6_(unwrap_jso(this), mode, start, end, count, type, offset);
+ void drawRangeElements(int mode, int start, int end, int count, int type, int offset) => _blink.BlinkWebGL2RenderingContext.instance.drawRangeElements_Callback_6_(this, mode, start, end, count, type, offset);
@DomName('WebGL2RenderingContext.endQuery')
@DocsEditable()
@Experimental() // untriaged
- void endQuery(int target) => _blink.BlinkWebGL2RenderingContext.instance.endQuery_Callback_1_(unwrap_jso(this), target);
+ void endQuery(int target) => _blink.BlinkWebGL2RenderingContext.instance.endQuery_Callback_1_(this, target);
@DomName('WebGL2RenderingContext.endTransformFeedback')
@DocsEditable()
@Experimental() // untriaged
- void endTransformFeedback() => _blink.BlinkWebGL2RenderingContext.instance.endTransformFeedback_Callback_0_(unwrap_jso(this));
+ void endTransformFeedback() => _blink.BlinkWebGL2RenderingContext.instance.endTransformFeedback_Callback_0_(this);
@DomName('WebGL2RenderingContext.fenceSync')
@DocsEditable()
@Experimental() // untriaged
- Sync fenceSync(int condition, int flags) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.fenceSync_Callback_2_(unwrap_jso(this), condition, flags));
+ Sync fenceSync(int condition, int flags) => _blink.BlinkWebGL2RenderingContext.instance.fenceSync_Callback_2_(this, condition, flags);
@DomName('WebGL2RenderingContext.framebufferTextureLayer')
@DocsEditable()
@Experimental() // untriaged
- void framebufferTextureLayer(int target, int attachment, Texture texture, int level, int layer) => _blink.BlinkWebGL2RenderingContext.instance.framebufferTextureLayer_Callback_5_(unwrap_jso(this), target, attachment, unwrap_jso(texture), level, layer);
+ void framebufferTextureLayer(int target, int attachment, Texture texture, int level, int layer) => _blink.BlinkWebGL2RenderingContext.instance.framebufferTextureLayer_Callback_5_(this, target, attachment, texture, level, layer);
@DomName('WebGL2RenderingContext.getActiveUniformBlockName')
@DocsEditable()
@Experimental() // untriaged
- String getActiveUniformBlockName(Program program, int uniformBlockIndex) => _blink.BlinkWebGL2RenderingContext.instance.getActiveUniformBlockName_Callback_2_(unwrap_jso(this), unwrap_jso(program), uniformBlockIndex);
+ String getActiveUniformBlockName(Program program, int uniformBlockIndex) => _blink.BlinkWebGL2RenderingContext.instance.getActiveUniformBlockName_Callback_2_(this, program, uniformBlockIndex);
@DomName('WebGL2RenderingContext.getActiveUniformBlockParameter')
@DocsEditable()
@Experimental() // untriaged
- Object getActiveUniformBlockParameter(Program program, int uniformBlockIndex, int pname) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getActiveUniformBlockParameter_Callback_3_(unwrap_jso(this), unwrap_jso(program), uniformBlockIndex, pname));
+ Object getActiveUniformBlockParameter(Program program, int uniformBlockIndex, int pname) => (_blink.BlinkWebGL2RenderingContext.instance.getActiveUniformBlockParameter_Callback_3_(this, program, uniformBlockIndex, pname));
@DomName('WebGL2RenderingContext.getActiveUniforms')
@DocsEditable()
@Experimental() // untriaged
- List<int> getActiveUniforms(Program program, List<int> uniformIndices, int pname) => _blink.BlinkWebGL2RenderingContext.instance.getActiveUniforms_Callback_3_(unwrap_jso(this), unwrap_jso(program), uniformIndices, pname);
+ List<int> getActiveUniforms(Program program, List<int> uniformIndices, int pname) => _blink.BlinkWebGL2RenderingContext.instance.getActiveUniforms_Callback_3_(this, program, uniformIndices, pname);
@DomName('WebGL2RenderingContext.getBufferSubData')
@DocsEditable()
@Experimental() // untriaged
- void getBufferSubData(int target, int offset, ByteBuffer returnedData) => _blink.BlinkWebGL2RenderingContext.instance.getBufferSubData_Callback_3_(unwrap_jso(this), target, offset, unwrap_jso(returnedData));
+ void getBufferSubData(int target, int offset, ByteBuffer returnedData) => _blink.BlinkWebGL2RenderingContext.instance.getBufferSubData_Callback_3_(this, target, offset, returnedData);
@DomName('WebGL2RenderingContext.getFragDataLocation')
@DocsEditable()
@Experimental() // untriaged
- int getFragDataLocation(Program program, String name) => _blink.BlinkWebGL2RenderingContext.instance.getFragDataLocation_Callback_2_(unwrap_jso(this), unwrap_jso(program), name);
+ int getFragDataLocation(Program program, String name) => _blink.BlinkWebGL2RenderingContext.instance.getFragDataLocation_Callback_2_(this, program, name);
@DomName('WebGL2RenderingContext.getIndexedParameter')
@DocsEditable()
@Experimental() // untriaged
- Object getIndexedParameter(int target, int index) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getIndexedParameter_Callback_2_(unwrap_jso(this), target, index));
+ Object getIndexedParameter(int target, int index) => (_blink.BlinkWebGL2RenderingContext.instance.getIndexedParameter_Callback_2_(this, target, index));
@DomName('WebGL2RenderingContext.getInternalformatParameter')
@DocsEditable()
@Experimental() // untriaged
- Object getInternalformatParameter(int target, int internalformat, int pname) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getInternalformatParameter_Callback_3_(unwrap_jso(this), target, internalformat, pname));
+ Object getInternalformatParameter(int target, int internalformat, int pname) => (_blink.BlinkWebGL2RenderingContext.instance.getInternalformatParameter_Callback_3_(this, target, internalformat, pname));
@DomName('WebGL2RenderingContext.getQuery')
@DocsEditable()
@Experimental() // untriaged
- Query getQuery(int target, int pname) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getQuery_Callback_2_(unwrap_jso(this), target, pname));
+ Query getQuery(int target, int pname) => _blink.BlinkWebGL2RenderingContext.instance.getQuery_Callback_2_(this, target, pname);
@DomName('WebGL2RenderingContext.getQueryParameter')
@DocsEditable()
@Experimental() // untriaged
- Object getQueryParameter(Query query, int pname) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getQueryParameter_Callback_2_(unwrap_jso(this), unwrap_jso(query), pname));
+ Object getQueryParameter(Query query, int pname) => (_blink.BlinkWebGL2RenderingContext.instance.getQueryParameter_Callback_2_(this, query, pname));
@DomName('WebGL2RenderingContext.getSamplerParameter')
@DocsEditable()
@Experimental() // untriaged
- Object getSamplerParameter(Sampler sampler, int pname) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getSamplerParameter_Callback_2_(unwrap_jso(this), unwrap_jso(sampler), pname));
+ Object getSamplerParameter(Sampler sampler, int pname) => (_blink.BlinkWebGL2RenderingContext.instance.getSamplerParameter_Callback_2_(this, sampler, pname));
@DomName('WebGL2RenderingContext.getSyncParameter')
@DocsEditable()
@Experimental() // untriaged
- Object getSyncParameter(Sync sync, int pname) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getSyncParameter_Callback_2_(unwrap_jso(this), unwrap_jso(sync), pname));
+ Object getSyncParameter(Sync sync, int pname) => (_blink.BlinkWebGL2RenderingContext.instance.getSyncParameter_Callback_2_(this, sync, pname));
@DomName('WebGL2RenderingContext.getTransformFeedbackVarying')
@DocsEditable()
@Experimental() // untriaged
- ActiveInfo getTransformFeedbackVarying(Program program, int index) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getTransformFeedbackVarying_Callback_2_(unwrap_jso(this), unwrap_jso(program), index));
+ ActiveInfo getTransformFeedbackVarying(Program program, int index) => _blink.BlinkWebGL2RenderingContext.instance.getTransformFeedbackVarying_Callback_2_(this, program, index);
@DomName('WebGL2RenderingContext.getUniformBlockIndex')
@DocsEditable()
@Experimental() // untriaged
- int getUniformBlockIndex(Program program, String uniformBlockName) => _blink.BlinkWebGL2RenderingContext.instance.getUniformBlockIndex_Callback_2_(unwrap_jso(this), unwrap_jso(program), uniformBlockName);
+ int getUniformBlockIndex(Program program, String uniformBlockName) => _blink.BlinkWebGL2RenderingContext.instance.getUniformBlockIndex_Callback_2_(this, program, uniformBlockName);
@DomName('WebGL2RenderingContext.getUniformIndices')
@DocsEditable()
@Experimental() // untriaged
- List<int> getUniformIndices(Program program, List<String> uniformNames) => _blink.BlinkWebGL2RenderingContext.instance.getUniformIndices_Callback_2_(unwrap_jso(this), unwrap_jso(program), uniformNames);
+ List<int> getUniformIndices(Program program, List<String> uniformNames) => _blink.BlinkWebGL2RenderingContext.instance.getUniformIndices_Callback_2_(this, program, uniformNames);
@DomName('WebGL2RenderingContext.invalidateFramebuffer')
@DocsEditable()
@Experimental() // untriaged
- void invalidateFramebuffer(int target, List<int> attachments) => _blink.BlinkWebGL2RenderingContext.instance.invalidateFramebuffer_Callback_2_(unwrap_jso(this), target, attachments);
+ void invalidateFramebuffer(int target, List<int> attachments) => _blink.BlinkWebGL2RenderingContext.instance.invalidateFramebuffer_Callback_2_(this, target, attachments);
@DomName('WebGL2RenderingContext.invalidateSubFramebuffer')
@DocsEditable()
@Experimental() // untriaged
- void invalidateSubFramebuffer(int target, List<int> attachments, int x, int y, int width, int height) => _blink.BlinkWebGL2RenderingContext.instance.invalidateSubFramebuffer_Callback_6_(unwrap_jso(this), target, attachments, x, y, width, height);
+ void invalidateSubFramebuffer(int target, List<int> attachments, int x, int y, int width, int height) => _blink.BlinkWebGL2RenderingContext.instance.invalidateSubFramebuffer_Callback_6_(this, target, attachments, x, y, width, height);
@DomName('WebGL2RenderingContext.isQuery')
@DocsEditable()
@Experimental() // untriaged
- bool isQuery(Query query) => _blink.BlinkWebGL2RenderingContext.instance.isQuery_Callback_1_(unwrap_jso(this), unwrap_jso(query));
+ bool isQuery(Query query) => _blink.BlinkWebGL2RenderingContext.instance.isQuery_Callback_1_(this, query);
@DomName('WebGL2RenderingContext.isSampler')
@DocsEditable()
@Experimental() // untriaged
- bool isSampler(Sampler sampler) => _blink.BlinkWebGL2RenderingContext.instance.isSampler_Callback_1_(unwrap_jso(this), unwrap_jso(sampler));
+ bool isSampler(Sampler sampler) => _blink.BlinkWebGL2RenderingContext.instance.isSampler_Callback_1_(this, sampler);
@DomName('WebGL2RenderingContext.isSync')
@DocsEditable()
@Experimental() // untriaged
- bool isSync(Sync sync) => _blink.BlinkWebGL2RenderingContext.instance.isSync_Callback_1_(unwrap_jso(this), unwrap_jso(sync));
+ bool isSync(Sync sync) => _blink.BlinkWebGL2RenderingContext.instance.isSync_Callback_1_(this, sync);
@DomName('WebGL2RenderingContext.isTransformFeedback')
@DocsEditable()
@Experimental() // untriaged
- bool isTransformFeedback(TransformFeedback feedback) => _blink.BlinkWebGL2RenderingContext.instance.isTransformFeedback_Callback_1_(unwrap_jso(this), unwrap_jso(feedback));
+ bool isTransformFeedback(TransformFeedback feedback) => _blink.BlinkWebGL2RenderingContext.instance.isTransformFeedback_Callback_1_(this, feedback);
@DomName('WebGL2RenderingContext.isVertexArray')
@DocsEditable()
@Experimental() // untriaged
- bool isVertexArray(VertexArrayObject vertexArray) => _blink.BlinkWebGL2RenderingContext.instance.isVertexArray_Callback_1_(unwrap_jso(this), unwrap_jso(vertexArray));
+ bool isVertexArray(VertexArrayObject vertexArray) => _blink.BlinkWebGL2RenderingContext.instance.isVertexArray_Callback_1_(this, vertexArray);
@DomName('WebGL2RenderingContext.pauseTransformFeedback')
@DocsEditable()
@Experimental() // untriaged
- void pauseTransformFeedback() => _blink.BlinkWebGL2RenderingContext.instance.pauseTransformFeedback_Callback_0_(unwrap_jso(this));
+ void pauseTransformFeedback() => _blink.BlinkWebGL2RenderingContext.instance.pauseTransformFeedback_Callback_0_(this);
@DomName('WebGL2RenderingContext.readBuffer')
@DocsEditable()
@Experimental() // untriaged
- void readBuffer(int mode) => _blink.BlinkWebGL2RenderingContext.instance.readBuffer_Callback_1_(unwrap_jso(this), mode);
+ void readBuffer(int mode) => _blink.BlinkWebGL2RenderingContext.instance.readBuffer_Callback_1_(this, mode);
@DomName('WebGL2RenderingContext.renderbufferStorageMultisample')
@DocsEditable()
@Experimental() // untriaged
- void renderbufferStorageMultisample(int target, int samples, int internalformat, int width, int height) => _blink.BlinkWebGL2RenderingContext.instance.renderbufferStorageMultisample_Callback_5_(unwrap_jso(this), target, samples, internalformat, width, height);
+ void renderbufferStorageMultisample(int target, int samples, int internalformat, int width, int height) => _blink.BlinkWebGL2RenderingContext.instance.renderbufferStorageMultisample_Callback_5_(this, target, samples, internalformat, width, height);
@DomName('WebGL2RenderingContext.resumeTransformFeedback')
@DocsEditable()
@Experimental() // untriaged
- void resumeTransformFeedback() => _blink.BlinkWebGL2RenderingContext.instance.resumeTransformFeedback_Callback_0_(unwrap_jso(this));
+ void resumeTransformFeedback() => _blink.BlinkWebGL2RenderingContext.instance.resumeTransformFeedback_Callback_0_(this);
@DomName('WebGL2RenderingContext.samplerParameterf')
@DocsEditable()
@Experimental() // untriaged
- void samplerParameterf(Sampler sampler, int pname, num param) => _blink.BlinkWebGL2RenderingContext.instance.samplerParameterf_Callback_3_(unwrap_jso(this), unwrap_jso(sampler), pname, param);
+ void samplerParameterf(Sampler sampler, int pname, num param) => _blink.BlinkWebGL2RenderingContext.instance.samplerParameterf_Callback_3_(this, sampler, pname, param);
@DomName('WebGL2RenderingContext.samplerParameteri')
@DocsEditable()
@Experimental() // untriaged
- void samplerParameteri(Sampler sampler, int pname, int param) => _blink.BlinkWebGL2RenderingContext.instance.samplerParameteri_Callback_3_(unwrap_jso(this), unwrap_jso(sampler), pname, param);
+ void samplerParameteri(Sampler sampler, int pname, int param) => _blink.BlinkWebGL2RenderingContext.instance.samplerParameteri_Callback_3_(this, sampler, pname, param);
@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) => _blink.BlinkWebGL2RenderingContext.instance.texImage3D_Callback_10_(unwrap_jso(this), target, level, internalformat, width, height, depth, border, format, type, unwrap_jso(pixels));
+ void texImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, TypedData pixels) => _blink.BlinkWebGL2RenderingContext.instance.texImage3D_Callback_10_(this, target, level, internalformat, width, height, depth, border, format, type, pixels);
@DomName('WebGL2RenderingContext.texStorage2D')
@DocsEditable()
@Experimental() // untriaged
- void texStorage2D(int target, int levels, int internalformat, int width, int height) => _blink.BlinkWebGL2RenderingContext.instance.texStorage2D_Callback_5_(unwrap_jso(this), target, levels, internalformat, width, height);
+ void texStorage2D(int target, int levels, int internalformat, int width, int height) => _blink.BlinkWebGL2RenderingContext.instance.texStorage2D_Callback_5_(this, target, levels, internalformat, width, height);
@DomName('WebGL2RenderingContext.texStorage3D')
@DocsEditable()
@Experimental() // untriaged
- void texStorage3D(int target, int levels, int internalformat, int width, int height, int depth) => _blink.BlinkWebGL2RenderingContext.instance.texStorage3D_Callback_6_(unwrap_jso(this), target, levels, internalformat, width, height, depth);
+ void texStorage3D(int target, int levels, int internalformat, int width, int height, int depth) => _blink.BlinkWebGL2RenderingContext.instance.texStorage3D_Callback_6_(this, target, levels, internalformat, width, height, depth);
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 ((pixels is TypedData || pixels == null) && (type is int) && (format is int) && (canvas_OR_data_OR_depth_OR_image_OR_video is int) && (height_OR_type is int) && (format_OR_width is int) && (zoffset is int) && (yoffset is int) && (xoffset is int) && (level is int) && (target is int)) {
- _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_11_(unwrap_jso(this), target, level, xoffset, yoffset, zoffset, format_OR_width, height_OR_type, unwrap_jso(canvas_OR_data_OR_depth_OR_image_OR_video), format, type, unwrap_jso(pixels));
+ _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_11_(this, 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) && (height_OR_type is int) && (format_OR_width is int) && (zoffset is int) && (yoffset is int) && (xoffset is int) && (level is int) && (target is int) && format == null && type == null && pixels == null) {
- _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_(unwrap_jso(this), target, level, xoffset, yoffset, zoffset, format_OR_width, height_OR_type, unwrap_jso(canvas_OR_data_OR_depth_OR_image_OR_video));
+ _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_(this, 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 ImageElement || canvas_OR_data_OR_depth_OR_image_OR_video == null) && (height_OR_type is int) && (format_OR_width is int) && (zoffset is int) && (yoffset is int) && (xoffset is int) && (level is int) && (target is int) && format == null && type == null && pixels == null) {
- _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_(unwrap_jso(this), target, level, xoffset, yoffset, zoffset, format_OR_width, height_OR_type, unwrap_jso(canvas_OR_data_OR_depth_OR_image_OR_video));
+ _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_(this, 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) && (height_OR_type is int) && (format_OR_width is int) && (zoffset is int) && (yoffset is int) && (xoffset is int) && (level is int) && (target is int) && format == null && type == null && pixels == null) {
- _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_(unwrap_jso(this), target, level, xoffset, yoffset, zoffset, format_OR_width, height_OR_type, unwrap_jso(canvas_OR_data_OR_depth_OR_image_OR_video));
+ _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_(this, 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) && (height_OR_type is int) && (format_OR_width is int) && (zoffset is int) && (yoffset is int) && (xoffset is int) && (level is int) && (target is int) && format == null && type == null && pixels == null) {
- _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_(unwrap_jso(this), target, level, xoffset, yoffset, zoffset, format_OR_width, height_OR_type, unwrap_jso(canvas_OR_data_OR_depth_OR_image_OR_video));
+ _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_(this, 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");
@@ -5611,60 +5311,60 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
@DomName('WebGL2RenderingContext.transformFeedbackVaryings')
@DocsEditable()
@Experimental() // untriaged
- void transformFeedbackVaryings(Program program, List<String> varyings, int bufferMode) => _blink.BlinkWebGL2RenderingContext.instance.transformFeedbackVaryings_Callback_3_(unwrap_jso(this), unwrap_jso(program), varyings, bufferMode);
+ void transformFeedbackVaryings(Program program, List<String> varyings, int bufferMode) => _blink.BlinkWebGL2RenderingContext.instance.transformFeedbackVaryings_Callback_3_(this, program, varyings, bufferMode);
@DomName('WebGL2RenderingContext.uniform1ui')
@DocsEditable()
@Experimental() // untriaged
- void uniform1ui(UniformLocation location, int v0) => _blink.BlinkWebGL2RenderingContext.instance.uniform1ui_Callback_2_(unwrap_jso(this), unwrap_jso(location), v0);
+ void uniform1ui(UniformLocation location, int v0) => _blink.BlinkWebGL2RenderingContext.instance.uniform1ui_Callback_2_(this, location, v0);
@DomName('WebGL2RenderingContext.uniform1uiv')
@DocsEditable()
@Experimental() // untriaged
- void uniform1uiv(UniformLocation location, List<int> value) => _blink.BlinkWebGL2RenderingContext.instance.uniform1uiv_Callback_2_(unwrap_jso(this), unwrap_jso(location), value);
+ void uniform1uiv(UniformLocation location, List<int> value) => _blink.BlinkWebGL2RenderingContext.instance.uniform1uiv_Callback_2_(this, location, value);
@DomName('WebGL2RenderingContext.uniform2ui')
@DocsEditable()
@Experimental() // untriaged
- void uniform2ui(UniformLocation location, int v0, int v1) => _blink.BlinkWebGL2RenderingContext.instance.uniform2ui_Callback_3_(unwrap_jso(this), unwrap_jso(location), v0, v1);
+ void uniform2ui(UniformLocation location, int v0, int v1) => _blink.BlinkWebGL2RenderingContext.instance.uniform2ui_Callback_3_(this, location, v0, v1);
@DomName('WebGL2RenderingContext.uniform2uiv')
@DocsEditable()
@Experimental() // untriaged
- void uniform2uiv(UniformLocation location, List<int> value) => _blink.BlinkWebGL2RenderingContext.instance.uniform2uiv_Callback_2_(unwrap_jso(this), unwrap_jso(location), value);
+ void uniform2uiv(UniformLocation location, List<int> value) => _blink.BlinkWebGL2RenderingContext.instance.uniform2uiv_Callback_2_(this, location, value);
@DomName('WebGL2RenderingContext.uniform3ui')
@DocsEditable()
@Experimental() // untriaged
- void uniform3ui(UniformLocation location, int v0, int v1, int v2) => _blink.BlinkWebGL2RenderingContext.instance.uniform3ui_Callback_4_(unwrap_jso(this), unwrap_jso(location), v0, v1, v2);
+ void uniform3ui(UniformLocation location, int v0, int v1, int v2) => _blink.BlinkWebGL2RenderingContext.instance.uniform3ui_Callback_4_(this, location, v0, v1, v2);
@DomName('WebGL2RenderingContext.uniform3uiv')
@DocsEditable()
@Experimental() // untriaged
- void uniform3uiv(UniformLocation location, List<int> value) => _blink.BlinkWebGL2RenderingContext.instance.uniform3uiv_Callback_2_(unwrap_jso(this), unwrap_jso(location), value);
+ void uniform3uiv(UniformLocation location, List<int> value) => _blink.BlinkWebGL2RenderingContext.instance.uniform3uiv_Callback_2_(this, location, value);
@DomName('WebGL2RenderingContext.uniform4ui')
@DocsEditable()
@Experimental() // untriaged
- void uniform4ui(UniformLocation location, int v0, int v1, int v2, int v3) => _blink.BlinkWebGL2RenderingContext.instance.uniform4ui_Callback_5_(unwrap_jso(this), unwrap_jso(location), v0, v1, v2, v3);
+ void uniform4ui(UniformLocation location, int v0, int v1, int v2, int v3) => _blink.BlinkWebGL2RenderingContext.instance.uniform4ui_Callback_5_(this, location, v0, v1, v2, v3);
@DomName('WebGL2RenderingContext.uniform4uiv')
@DocsEditable()
@Experimental() // untriaged
- void uniform4uiv(UniformLocation location, List<int> value) => _blink.BlinkWebGL2RenderingContext.instance.uniform4uiv_Callback_2_(unwrap_jso(this), unwrap_jso(location), value);
+ void uniform4uiv(UniformLocation location, List<int> value) => _blink.BlinkWebGL2RenderingContext.instance.uniform4uiv_Callback_2_(this, location, value);
@DomName('WebGL2RenderingContext.uniformBlockBinding')
@DocsEditable()
@Experimental() // untriaged
- void uniformBlockBinding(Program program, int uniformBlockIndex, int uniformBlockBinding) => _blink.BlinkWebGL2RenderingContext.instance.uniformBlockBinding_Callback_3_(unwrap_jso(this), unwrap_jso(program), uniformBlockIndex, uniformBlockBinding);
+ void uniformBlockBinding(Program program, int uniformBlockIndex, int uniformBlockBinding) => _blink.BlinkWebGL2RenderingContext.instance.uniformBlockBinding_Callback_3_(this, program, uniformBlockIndex, uniformBlockBinding);
void uniformMatrix2x3fv(UniformLocation location, bool transpose, value) {
if ((value is Float32List) && (transpose is bool) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2x3fv_Callback_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value));
+ _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2x3fv_Callback_3_(this, location, transpose, value);
return;
}
if ((value is List<num>) && (transpose is bool) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2x3fv_Callback_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value));
+ _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2x3fv_Callback_3_(this, location, transpose, value);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -5672,11 +5372,11 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
void uniformMatrix2x4fv(UniformLocation location, bool transpose, value) {
if ((value is Float32List) && (transpose is bool) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2x4fv_Callback_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value));
+ _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2x4fv_Callback_3_(this, location, transpose, value);
return;
}
if ((value is List<num>) && (transpose is bool) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2x4fv_Callback_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value));
+ _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2x4fv_Callback_3_(this, location, transpose, value);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -5684,11 +5384,11 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
void uniformMatrix3x2fv(UniformLocation location, bool transpose, value) {
if ((value is Float32List) && (transpose is bool) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3x2fv_Callback_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value));
+ _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3x2fv_Callback_3_(this, location, transpose, value);
return;
}
if ((value is List<num>) && (transpose is bool) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3x2fv_Callback_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value));
+ _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3x2fv_Callback_3_(this, location, transpose, value);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -5696,11 +5396,11 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
void uniformMatrix3x4fv(UniformLocation location, bool transpose, value) {
if ((value is Float32List) && (transpose is bool) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3x4fv_Callback_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value));
+ _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3x4fv_Callback_3_(this, location, transpose, value);
return;
}
if ((value is List<num>) && (transpose is bool) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3x4fv_Callback_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value));
+ _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3x4fv_Callback_3_(this, location, transpose, value);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -5708,11 +5408,11 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
void uniformMatrix4x2fv(UniformLocation location, bool transpose, value) {
if ((value is Float32List) && (transpose is bool) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4x2fv_Callback_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value));
+ _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4x2fv_Callback_3_(this, location, transpose, value);
return;
}
if ((value is List<num>) && (transpose is bool) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4x2fv_Callback_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value));
+ _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4x2fv_Callback_3_(this, location, transpose, value);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -5720,11 +5420,11 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
void uniformMatrix4x3fv(UniformLocation location, bool transpose, value) {
if ((value is Float32List) && (transpose is bool) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4x3fv_Callback_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value));
+ _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4x3fv_Callback_3_(this, location, transpose, value);
return;
}
if ((value is List<num>) && (transpose is bool) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4x3fv_Callback_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value));
+ _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4x3fv_Callback_3_(this, location, transpose, value);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -5733,124 +5433,124 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
@DomName('WebGL2RenderingContext.vertexAttribDivisor')
@DocsEditable()
@Experimental() // untriaged
- void vertexAttribDivisor(int index, int divisor) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttribDivisor_Callback_2_(unwrap_jso(this), index, divisor);
+ void vertexAttribDivisor(int index, int divisor) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttribDivisor_Callback_2_(this, index, divisor);
@DomName('WebGL2RenderingContext.vertexAttribI4i')
@DocsEditable()
@Experimental() // untriaged
- void vertexAttribI4i(int index, int x, int y, int z, int w) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttribI4i_Callback_5_(unwrap_jso(this), index, x, y, z, w);
+ void vertexAttribI4i(int index, int x, int y, int z, int w) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttribI4i_Callback_5_(this, index, x, y, z, w);
@DomName('WebGL2RenderingContext.vertexAttribI4iv')
@DocsEditable()
@Experimental() // untriaged
- void vertexAttribI4iv(int index, List<int> v) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttribI4iv_Callback_2_(unwrap_jso(this), index, v);
+ void vertexAttribI4iv(int index, List<int> v) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttribI4iv_Callback_2_(this, index, v);
@DomName('WebGL2RenderingContext.vertexAttribI4ui')
@DocsEditable()
@Experimental() // untriaged
- void vertexAttribI4ui(int index, int x, int y, int z, int w) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttribI4ui_Callback_5_(unwrap_jso(this), index, x, y, z, w);
+ void vertexAttribI4ui(int index, int x, int y, int z, int w) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttribI4ui_Callback_5_(this, index, x, y, z, w);
@DomName('WebGL2RenderingContext.vertexAttribI4uiv')
@DocsEditable()
@Experimental() // untriaged
- void vertexAttribI4uiv(int index, List<int> v) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttribI4uiv_Callback_2_(unwrap_jso(this), index, v);
+ void vertexAttribI4uiv(int index, List<int> v) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttribI4uiv_Callback_2_(this, index, v);
@DomName('WebGL2RenderingContext.vertexAttribIPointer')
@DocsEditable()
@Experimental() // untriaged
- void vertexAttribIPointer(int index, int size, int type, int stride, int offset) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttribIPointer_Callback_5_(unwrap_jso(this), index, size, type, stride, offset);
+ void vertexAttribIPointer(int index, int size, int type, int stride, int offset) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttribIPointer_Callback_5_(this, index, size, type, stride, offset);
@DomName('WebGL2RenderingContext.waitSync')
@DocsEditable()
@Experimental() // untriaged
- void waitSync(Sync sync, int flags, int timeout) => _blink.BlinkWebGL2RenderingContext.instance.waitSync_Callback_3_(unwrap_jso(this), unwrap_jso(sync), flags, timeout);
+ void waitSync(Sync sync, int flags, int timeout) => _blink.BlinkWebGL2RenderingContext.instance.waitSync_Callback_3_(this, sync, flags, timeout);
@DomName('WebGL2RenderingContext.canvas')
@DocsEditable()
@Experimental() // untriaged
- CanvasElement get canvas => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.canvas_Getter_(unwrap_jso(this)));
+ CanvasElement get canvas => _blink.BlinkWebGL2RenderingContext.instance.canvas_Getter_(this);
@DomName('WebGL2RenderingContext.drawingBufferHeight')
@DocsEditable()
@Experimental() // untriaged
- int get drawingBufferHeight => _blink.BlinkWebGL2RenderingContext.instance.drawingBufferHeight_Getter_(unwrap_jso(this));
+ int get drawingBufferHeight => _blink.BlinkWebGL2RenderingContext.instance.drawingBufferHeight_Getter_(this);
@DomName('WebGL2RenderingContext.drawingBufferWidth')
@DocsEditable()
@Experimental() // untriaged
- int get drawingBufferWidth => _blink.BlinkWebGL2RenderingContext.instance.drawingBufferWidth_Getter_(unwrap_jso(this));
+ int get drawingBufferWidth => _blink.BlinkWebGL2RenderingContext.instance.drawingBufferWidth_Getter_(this);
@DomName('WebGL2RenderingContext.activeTexture')
@DocsEditable()
@Experimental() // untriaged
- void activeTexture(int texture) => _blink.BlinkWebGL2RenderingContext.instance.activeTexture_Callback_1_(unwrap_jso(this), texture);
+ void activeTexture(int texture) => _blink.BlinkWebGL2RenderingContext.instance.activeTexture_Callback_1_(this, texture);
@DomName('WebGL2RenderingContext.attachShader')
@DocsEditable()
@Experimental() // untriaged
- void attachShader(Program program, Shader shader) => _blink.BlinkWebGL2RenderingContext.instance.attachShader_Callback_2_(unwrap_jso(this), unwrap_jso(program), unwrap_jso(shader));
+ void attachShader(Program program, Shader shader) => _blink.BlinkWebGL2RenderingContext.instance.attachShader_Callback_2_(this, program, shader);
@DomName('WebGL2RenderingContext.bindAttribLocation')
@DocsEditable()
@Experimental() // untriaged
- void bindAttribLocation(Program program, int index, String name) => _blink.BlinkWebGL2RenderingContext.instance.bindAttribLocation_Callback_3_(unwrap_jso(this), unwrap_jso(program), index, name);
+ void bindAttribLocation(Program program, int index, String name) => _blink.BlinkWebGL2RenderingContext.instance.bindAttribLocation_Callback_3_(this, program, index, name);
@DomName('WebGL2RenderingContext.bindBuffer')
@DocsEditable()
@Experimental() // untriaged
- void bindBuffer(int target, Buffer buffer) => _blink.BlinkWebGL2RenderingContext.instance.bindBuffer_Callback_2_(unwrap_jso(this), target, unwrap_jso(buffer));
+ void bindBuffer(int target, Buffer buffer) => _blink.BlinkWebGL2RenderingContext.instance.bindBuffer_Callback_2_(this, target, buffer);
@DomName('WebGL2RenderingContext.bindFramebuffer')
@DocsEditable()
@Experimental() // untriaged
- void bindFramebuffer(int target, Framebuffer framebuffer) => _blink.BlinkWebGL2RenderingContext.instance.bindFramebuffer_Callback_2_(unwrap_jso(this), target, unwrap_jso(framebuffer));
+ void bindFramebuffer(int target, Framebuffer framebuffer) => _blink.BlinkWebGL2RenderingContext.instance.bindFramebuffer_Callback_2_(this, target, framebuffer);
@DomName('WebGL2RenderingContext.bindRenderbuffer')
@DocsEditable()
@Experimental() // untriaged
- void bindRenderbuffer(int target, Renderbuffer renderbuffer) => _blink.BlinkWebGL2RenderingContext.instance.bindRenderbuffer_Callback_2_(unwrap_jso(this), target, unwrap_jso(renderbuffer));
+ void bindRenderbuffer(int target, Renderbuffer renderbuffer) => _blink.BlinkWebGL2RenderingContext.instance.bindRenderbuffer_Callback_2_(this, target, renderbuffer);
@DomName('WebGL2RenderingContext.bindTexture')
@DocsEditable()
@Experimental() // untriaged
- void bindTexture(int target, Texture texture) => _blink.BlinkWebGL2RenderingContext.instance.bindTexture_Callback_2_(unwrap_jso(this), target, unwrap_jso(texture));
+ void bindTexture(int target, Texture texture) => _blink.BlinkWebGL2RenderingContext.instance.bindTexture_Callback_2_(this, target, texture);
@DomName('WebGL2RenderingContext.blendColor')
@DocsEditable()
@Experimental() // untriaged
- void blendColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGL2RenderingContext.instance.blendColor_Callback_4_(unwrap_jso(this), red, green, blue, alpha);
+ void blendColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGL2RenderingContext.instance.blendColor_Callback_4_(this, red, green, blue, alpha);
@DomName('WebGL2RenderingContext.blendEquation')
@DocsEditable()
@Experimental() // untriaged
- void blendEquation(int mode) => _blink.BlinkWebGL2RenderingContext.instance.blendEquation_Callback_1_(unwrap_jso(this), mode);
+ void blendEquation(int mode) => _blink.BlinkWebGL2RenderingContext.instance.blendEquation_Callback_1_(this, mode);
@DomName('WebGL2RenderingContext.blendEquationSeparate')
@DocsEditable()
@Experimental() // untriaged
- void blendEquationSeparate(int modeRGB, int modeAlpha) => _blink.BlinkWebGL2RenderingContext.instance.blendEquationSeparate_Callback_2_(unwrap_jso(this), modeRGB, modeAlpha);
+ void blendEquationSeparate(int modeRGB, int modeAlpha) => _blink.BlinkWebGL2RenderingContext.instance.blendEquationSeparate_Callback_2_(this, modeRGB, modeAlpha);
@DomName('WebGL2RenderingContext.blendFunc')
@DocsEditable()
@Experimental() // untriaged
- void blendFunc(int sfactor, int dfactor) => _blink.BlinkWebGL2RenderingContext.instance.blendFunc_Callback_2_(unwrap_jso(this), sfactor, dfactor);
+ void blendFunc(int sfactor, int dfactor) => _blink.BlinkWebGL2RenderingContext.instance.blendFunc_Callback_2_(this, sfactor, dfactor);
@DomName('WebGL2RenderingContext.blendFuncSeparate')
@DocsEditable()
@Experimental() // untriaged
- void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) => _blink.BlinkWebGL2RenderingContext.instance.blendFuncSeparate_Callback_4_(unwrap_jso(this), srcRGB, dstRGB, srcAlpha, dstAlpha);
+ void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) => _blink.BlinkWebGL2RenderingContext.instance.blendFuncSeparate_Callback_4_(this, srcRGB, dstRGB, srcAlpha, dstAlpha);
void bufferData(int target, data_OR_size, int usage) {
if ((usage is int) && (data_OR_size is int) && (target is int)) {
- _blink.BlinkWebGL2RenderingContext.instance.bufferData_Callback_3_(unwrap_jso(this), target, unwrap_jso(data_OR_size), usage);
+ _blink.BlinkWebGL2RenderingContext.instance.bufferData_Callback_3_(this, target, data_OR_size, usage);
return;
}
if ((usage is int) && (data_OR_size is TypedData) && (target is int)) {
- _blink.BlinkWebGL2RenderingContext.instance.bufferData_Callback_3_(unwrap_jso(this), target, unwrap_jso(data_OR_size), usage);
+ _blink.BlinkWebGL2RenderingContext.instance.bufferData_Callback_3_(this, target, data_OR_size, usage);
return;
}
if ((usage is int) && (data_OR_size is ByteBuffer || data_OR_size == null) && (target is int)) {
- _blink.BlinkWebGL2RenderingContext.instance.bufferData_Callback_3_(unwrap_jso(this), target, unwrap_jso(data_OR_size), usage);
+ _blink.BlinkWebGL2RenderingContext.instance.bufferData_Callback_3_(this, target, data_OR_size, usage);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -5858,11 +5558,11 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
void bufferSubData(int target, int offset, data) {
if ((data is TypedData) && (offset is int) && (target is int)) {
- _blink.BlinkWebGL2RenderingContext.instance.bufferSubData_Callback_3_(unwrap_jso(this), target, offset, unwrap_jso(data));
+ _blink.BlinkWebGL2RenderingContext.instance.bufferSubData_Callback_3_(this, target, offset, data);
return;
}
if ((data is ByteBuffer || data == null) && (offset is int) && (target is int)) {
- _blink.BlinkWebGL2RenderingContext.instance.bufferSubData_Callback_3_(unwrap_jso(this), target, offset, unwrap_jso(data));
+ _blink.BlinkWebGL2RenderingContext.instance.bufferSubData_Callback_3_(this, target, offset, data);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -5871,457 +5571,457 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
@DomName('WebGL2RenderingContext.checkFramebufferStatus')
@DocsEditable()
@Experimental() // untriaged
- int checkFramebufferStatus(int target) => _blink.BlinkWebGL2RenderingContext.instance.checkFramebufferStatus_Callback_1_(unwrap_jso(this), target);
+ int checkFramebufferStatus(int target) => _blink.BlinkWebGL2RenderingContext.instance.checkFramebufferStatus_Callback_1_(this, target);
@DomName('WebGL2RenderingContext.clear')
@DocsEditable()
@Experimental() // untriaged
- void clear(int mask) => _blink.BlinkWebGL2RenderingContext.instance.clear_Callback_1_(unwrap_jso(this), mask);
+ void clear(int mask) => _blink.BlinkWebGL2RenderingContext.instance.clear_Callback_1_(this, mask);
@DomName('WebGL2RenderingContext.clearColor')
@DocsEditable()
@Experimental() // untriaged
- void clearColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGL2RenderingContext.instance.clearColor_Callback_4_(unwrap_jso(this), red, green, blue, alpha);
+ void clearColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGL2RenderingContext.instance.clearColor_Callback_4_(this, red, green, blue, alpha);
@DomName('WebGL2RenderingContext.clearDepth')
@DocsEditable()
@Experimental() // untriaged
- void clearDepth(num depth) => _blink.BlinkWebGL2RenderingContext.instance.clearDepth_Callback_1_(unwrap_jso(this), depth);
+ void clearDepth(num depth) => _blink.BlinkWebGL2RenderingContext.instance.clearDepth_Callback_1_(this, depth);
@DomName('WebGL2RenderingContext.clearStencil')
@DocsEditable()
@Experimental() // untriaged
- void clearStencil(int s) => _blink.BlinkWebGL2RenderingContext.instance.clearStencil_Callback_1_(unwrap_jso(this), s);
+ void clearStencil(int s) => _blink.BlinkWebGL2RenderingContext.instance.clearStencil_Callback_1_(this, s);
@DomName('WebGL2RenderingContext.colorMask')
@DocsEditable()
@Experimental() // untriaged
- void colorMask(bool red, bool green, bool blue, bool alpha) => _blink.BlinkWebGL2RenderingContext.instance.colorMask_Callback_4_(unwrap_jso(this), red, green, blue, alpha);
+ void colorMask(bool red, bool green, bool blue, bool alpha) => _blink.BlinkWebGL2RenderingContext.instance.colorMask_Callback_4_(this, red, green, blue, alpha);
@DomName('WebGL2RenderingContext.compileShader')
@DocsEditable()
@Experimental() // untriaged
- void compileShader(Shader shader) => _blink.BlinkWebGL2RenderingContext.instance.compileShader_Callback_1_(unwrap_jso(this), unwrap_jso(shader));
+ void compileShader(Shader shader) => _blink.BlinkWebGL2RenderingContext.instance.compileShader_Callback_1_(this, shader);
@DomName('WebGL2RenderingContext.compressedTexImage2D')
@DocsEditable()
@Experimental() // untriaged
- void compressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, TypedData data) => _blink.BlinkWebGL2RenderingContext.instance.compressedTexImage2D_Callback_7_(unwrap_jso(this), target, level, internalformat, width, height, border, unwrap_jso(data));
+ void compressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, TypedData data) => _blink.BlinkWebGL2RenderingContext.instance.compressedTexImage2D_Callback_7_(this, target, level, internalformat, width, height, border, data);
@DomName('WebGL2RenderingContext.compressedTexSubImage2D')
@DocsEditable()
@Experimental() // untriaged
- void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, TypedData data) => _blink.BlinkWebGL2RenderingContext.instance.compressedTexSubImage2D_Callback_8_(unwrap_jso(this), target, level, xoffset, yoffset, width, height, format, unwrap_jso(data));
+ void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, TypedData data) => _blink.BlinkWebGL2RenderingContext.instance.compressedTexSubImage2D_Callback_8_(this, target, level, xoffset, yoffset, width, height, format, data);
@DomName('WebGL2RenderingContext.copyTexImage2D')
@DocsEditable()
@Experimental() // untriaged
- void copyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border) => _blink.BlinkWebGL2RenderingContext.instance.copyTexImage2D_Callback_8_(unwrap_jso(this), target, level, internalformat, x, y, width, height, border);
+ void copyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border) => _blink.BlinkWebGL2RenderingContext.instance.copyTexImage2D_Callback_8_(this, target, level, internalformat, x, y, width, height, border);
@DomName('WebGL2RenderingContext.copyTexSubImage2D')
@DocsEditable()
@Experimental() // untriaged
- void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) => _blink.BlinkWebGL2RenderingContext.instance.copyTexSubImage2D_Callback_8_(unwrap_jso(this), target, level, xoffset, yoffset, x, y, width, height);
+ void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) => _blink.BlinkWebGL2RenderingContext.instance.copyTexSubImage2D_Callback_8_(this, target, level, xoffset, yoffset, x, y, width, height);
@DomName('WebGL2RenderingContext.createBuffer')
@DocsEditable()
@Experimental() // untriaged
- Buffer createBuffer() => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.createBuffer_Callback_0_(unwrap_jso(this)));
+ Buffer createBuffer() => _blink.BlinkWebGL2RenderingContext.instance.createBuffer_Callback_0_(this);
@DomName('WebGL2RenderingContext.createFramebuffer')
@DocsEditable()
@Experimental() // untriaged
- Framebuffer createFramebuffer() => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.createFramebuffer_Callback_0_(unwrap_jso(this)));
+ Framebuffer createFramebuffer() => _blink.BlinkWebGL2RenderingContext.instance.createFramebuffer_Callback_0_(this);
@DomName('WebGL2RenderingContext.createProgram')
@DocsEditable()
@Experimental() // untriaged
- Program createProgram() => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.createProgram_Callback_0_(unwrap_jso(this)));
+ Program createProgram() => _blink.BlinkWebGL2RenderingContext.instance.createProgram_Callback_0_(this);
@DomName('WebGL2RenderingContext.createRenderbuffer')
@DocsEditable()
@Experimental() // untriaged
- Renderbuffer createRenderbuffer() => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.createRenderbuffer_Callback_0_(unwrap_jso(this)));
+ Renderbuffer createRenderbuffer() => _blink.BlinkWebGL2RenderingContext.instance.createRenderbuffer_Callback_0_(this);
@DomName('WebGL2RenderingContext.createShader')
@DocsEditable()
@Experimental() // untriaged
- Shader createShader(int type) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.createShader_Callback_1_(unwrap_jso(this), type));
+ Shader createShader(int type) => _blink.BlinkWebGL2RenderingContext.instance.createShader_Callback_1_(this, type);
@DomName('WebGL2RenderingContext.createTexture')
@DocsEditable()
@Experimental() // untriaged
- Texture createTexture() => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.createTexture_Callback_0_(unwrap_jso(this)));
+ Texture createTexture() => _blink.BlinkWebGL2RenderingContext.instance.createTexture_Callback_0_(this);
@DomName('WebGL2RenderingContext.cullFace')
@DocsEditable()
@Experimental() // untriaged
- void cullFace(int mode) => _blink.BlinkWebGL2RenderingContext.instance.cullFace_Callback_1_(unwrap_jso(this), mode);
+ void cullFace(int mode) => _blink.BlinkWebGL2RenderingContext.instance.cullFace_Callback_1_(this, mode);
@DomName('WebGL2RenderingContext.deleteBuffer')
@DocsEditable()
@Experimental() // untriaged
- void deleteBuffer(Buffer buffer) => _blink.BlinkWebGL2RenderingContext.instance.deleteBuffer_Callback_1_(unwrap_jso(this), unwrap_jso(buffer));
+ void deleteBuffer(Buffer buffer) => _blink.BlinkWebGL2RenderingContext.instance.deleteBuffer_Callback_1_(this, buffer);
@DomName('WebGL2RenderingContext.deleteFramebuffer')
@DocsEditable()
@Experimental() // untriaged
- void deleteFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGL2RenderingContext.instance.deleteFramebuffer_Callback_1_(unwrap_jso(this), unwrap_jso(framebuffer));
+ void deleteFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGL2RenderingContext.instance.deleteFramebuffer_Callback_1_(this, framebuffer);
@DomName('WebGL2RenderingContext.deleteProgram')
@DocsEditable()
@Experimental() // untriaged
- void deleteProgram(Program program) => _blink.BlinkWebGL2RenderingContext.instance.deleteProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program));
+ void deleteProgram(Program program) => _blink.BlinkWebGL2RenderingContext.instance.deleteProgram_Callback_1_(this, program);
@DomName('WebGL2RenderingContext.deleteRenderbuffer')
@DocsEditable()
@Experimental() // untriaged
- void deleteRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGL2RenderingContext.instance.deleteRenderbuffer_Callback_1_(unwrap_jso(this), unwrap_jso(renderbuffer));
+ void deleteRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGL2RenderingContext.instance.deleteRenderbuffer_Callback_1_(this, renderbuffer);
@DomName('WebGL2RenderingContext.deleteShader')
@DocsEditable()
@Experimental() // untriaged
- void deleteShader(Shader shader) => _blink.BlinkWebGL2RenderingContext.instance.deleteShader_Callback_1_(unwrap_jso(this), unwrap_jso(shader));
+ void deleteShader(Shader shader) => _blink.BlinkWebGL2RenderingContext.instance.deleteShader_Callback_1_(this, shader);
@DomName('WebGL2RenderingContext.deleteTexture')
@DocsEditable()
@Experimental() // untriaged
- void deleteTexture(Texture texture) => _blink.BlinkWebGL2RenderingContext.instance.deleteTexture_Callback_1_(unwrap_jso(this), unwrap_jso(texture));
+ void deleteTexture(Texture texture) => _blink.BlinkWebGL2RenderingContext.instance.deleteTexture_Callback_1_(this, texture);
@DomName('WebGL2RenderingContext.depthFunc')
@DocsEditable()
@Experimental() // untriaged
- void depthFunc(int func) => _blink.BlinkWebGL2RenderingContext.instance.depthFunc_Callback_1_(unwrap_jso(this), func);
+ void depthFunc(int func) => _blink.BlinkWebGL2RenderingContext.instance.depthFunc_Callback_1_(this, func);
@DomName('WebGL2RenderingContext.depthMask')
@DocsEditable()
@Experimental() // untriaged
- void depthMask(bool flag) => _blink.BlinkWebGL2RenderingContext.instance.depthMask_Callback_1_(unwrap_jso(this), flag);
+ void depthMask(bool flag) => _blink.BlinkWebGL2RenderingContext.instance.depthMask_Callback_1_(this, flag);
@DomName('WebGL2RenderingContext.depthRange')
@DocsEditable()
@Experimental() // untriaged
- void depthRange(num zNear, num zFar) => _blink.BlinkWebGL2RenderingContext.instance.depthRange_Callback_2_(unwrap_jso(this), zNear, zFar);
+ void depthRange(num zNear, num zFar) => _blink.BlinkWebGL2RenderingContext.instance.depthRange_Callback_2_(this, zNear, zFar);
@DomName('WebGL2RenderingContext.detachShader')
@DocsEditable()
@Experimental() // untriaged
- void detachShader(Program program, Shader shader) => _blink.BlinkWebGL2RenderingContext.instance.detachShader_Callback_2_(unwrap_jso(this), unwrap_jso(program), unwrap_jso(shader));
+ void detachShader(Program program, Shader shader) => _blink.BlinkWebGL2RenderingContext.instance.detachShader_Callback_2_(this, program, shader);
@DomName('WebGL2RenderingContext.disable')
@DocsEditable()
@Experimental() // untriaged
- void disable(int cap) => _blink.BlinkWebGL2RenderingContext.instance.disable_Callback_1_(unwrap_jso(this), cap);
+ void disable(int cap) => _blink.BlinkWebGL2RenderingContext.instance.disable_Callback_1_(this, cap);
@DomName('WebGL2RenderingContext.disableVertexAttribArray')
@DocsEditable()
@Experimental() // untriaged
- void disableVertexAttribArray(int index) => _blink.BlinkWebGL2RenderingContext.instance.disableVertexAttribArray_Callback_1_(unwrap_jso(this), index);
+ void disableVertexAttribArray(int index) => _blink.BlinkWebGL2RenderingContext.instance.disableVertexAttribArray_Callback_1_(this, index);
@DomName('WebGL2RenderingContext.drawArrays')
@DocsEditable()
@Experimental() // untriaged
- void drawArrays(int mode, int first, int count) => _blink.BlinkWebGL2RenderingContext.instance.drawArrays_Callback_3_(unwrap_jso(this), mode, first, count);
+ void drawArrays(int mode, int first, int count) => _blink.BlinkWebGL2RenderingContext.instance.drawArrays_Callback_3_(this, mode, first, count);
@DomName('WebGL2RenderingContext.drawElements')
@DocsEditable()
@Experimental() // untriaged
- void drawElements(int mode, int count, int type, int offset) => _blink.BlinkWebGL2RenderingContext.instance.drawElements_Callback_4_(unwrap_jso(this), mode, count, type, offset);
+ void drawElements(int mode, int count, int type, int offset) => _blink.BlinkWebGL2RenderingContext.instance.drawElements_Callback_4_(this, mode, count, type, offset);
@DomName('WebGL2RenderingContext.enable')
@DocsEditable()
@Experimental() // untriaged
- void enable(int cap) => _blink.BlinkWebGL2RenderingContext.instance.enable_Callback_1_(unwrap_jso(this), cap);
+ void enable(int cap) => _blink.BlinkWebGL2RenderingContext.instance.enable_Callback_1_(this, cap);
@DomName('WebGL2RenderingContext.enableVertexAttribArray')
@DocsEditable()
@Experimental() // untriaged
- void enableVertexAttribArray(int index) => _blink.BlinkWebGL2RenderingContext.instance.enableVertexAttribArray_Callback_1_(unwrap_jso(this), index);
+ void enableVertexAttribArray(int index) => _blink.BlinkWebGL2RenderingContext.instance.enableVertexAttribArray_Callback_1_(this, index);
@DomName('WebGL2RenderingContext.finish')
@DocsEditable()
@Experimental() // untriaged
- void finish() => _blink.BlinkWebGL2RenderingContext.instance.finish_Callback_0_(unwrap_jso(this));
+ void finish() => _blink.BlinkWebGL2RenderingContext.instance.finish_Callback_0_(this);
@DomName('WebGL2RenderingContext.flush')
@DocsEditable()
@Experimental() // untriaged
- void flush() => _blink.BlinkWebGL2RenderingContext.instance.flush_Callback_0_(unwrap_jso(this));
+ void flush() => _blink.BlinkWebGL2RenderingContext.instance.flush_Callback_0_(this);
@DomName('WebGL2RenderingContext.framebufferRenderbuffer')
@DocsEditable()
@Experimental() // untriaged
- void framebufferRenderbuffer(int target, int attachment, int renderbuffertarget, Renderbuffer renderbuffer) => _blink.BlinkWebGL2RenderingContext.instance.framebufferRenderbuffer_Callback_4_(unwrap_jso(this), target, attachment, renderbuffertarget, unwrap_jso(renderbuffer));
+ void framebufferRenderbuffer(int target, int attachment, int renderbuffertarget, Renderbuffer renderbuffer) => _blink.BlinkWebGL2RenderingContext.instance.framebufferRenderbuffer_Callback_4_(this, target, attachment, renderbuffertarget, renderbuffer);
@DomName('WebGL2RenderingContext.framebufferTexture2D')
@DocsEditable()
@Experimental() // untriaged
- void framebufferTexture2D(int target, int attachment, int textarget, Texture texture, int level) => _blink.BlinkWebGL2RenderingContext.instance.framebufferTexture2D_Callback_5_(unwrap_jso(this), target, attachment, textarget, unwrap_jso(texture), level);
+ void framebufferTexture2D(int target, int attachment, int textarget, Texture texture, int level) => _blink.BlinkWebGL2RenderingContext.instance.framebufferTexture2D_Callback_5_(this, target, attachment, textarget, texture, level);
@DomName('WebGL2RenderingContext.frontFace')
@DocsEditable()
@Experimental() // untriaged
- void frontFace(int mode) => _blink.BlinkWebGL2RenderingContext.instance.frontFace_Callback_1_(unwrap_jso(this), mode);
+ void frontFace(int mode) => _blink.BlinkWebGL2RenderingContext.instance.frontFace_Callback_1_(this, mode);
@DomName('WebGL2RenderingContext.generateMipmap')
@DocsEditable()
@Experimental() // untriaged
- void generateMipmap(int target) => _blink.BlinkWebGL2RenderingContext.instance.generateMipmap_Callback_1_(unwrap_jso(this), target);
+ void generateMipmap(int target) => _blink.BlinkWebGL2RenderingContext.instance.generateMipmap_Callback_1_(this, target);
@DomName('WebGL2RenderingContext.getActiveAttrib')
@DocsEditable()
@Experimental() // untriaged
- ActiveInfo getActiveAttrib(Program program, int index) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getActiveAttrib_Callback_2_(unwrap_jso(this), unwrap_jso(program), index));
+ ActiveInfo getActiveAttrib(Program program, int index) => _blink.BlinkWebGL2RenderingContext.instance.getActiveAttrib_Callback_2_(this, program, index);
@DomName('WebGL2RenderingContext.getActiveUniform')
@DocsEditable()
@Experimental() // untriaged
- ActiveInfo getActiveUniform(Program program, int index) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getActiveUniform_Callback_2_(unwrap_jso(this), unwrap_jso(program), index));
+ ActiveInfo getActiveUniform(Program program, int index) => _blink.BlinkWebGL2RenderingContext.instance.getActiveUniform_Callback_2_(this, program, index);
@DomName('WebGL2RenderingContext.getAttachedShaders')
@DocsEditable()
@Experimental() // untriaged
- List<Shader> getAttachedShaders(Program program) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getAttachedShaders_Callback_1_(unwrap_jso(this), unwrap_jso(program)));
+ List<Shader> getAttachedShaders(Program program) => _blink.BlinkWebGL2RenderingContext.instance.getAttachedShaders_Callback_1_(this, program);
@DomName('WebGL2RenderingContext.getAttribLocation')
@DocsEditable()
@Experimental() // untriaged
- int getAttribLocation(Program program, String name) => _blink.BlinkWebGL2RenderingContext.instance.getAttribLocation_Callback_2_(unwrap_jso(this), unwrap_jso(program), name);
+ int getAttribLocation(Program program, String name) => _blink.BlinkWebGL2RenderingContext.instance.getAttribLocation_Callback_2_(this, program, name);
@DomName('WebGL2RenderingContext.getBufferParameter')
@DocsEditable()
@Experimental() // untriaged
- Object getBufferParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getBufferParameter_Callback_2_(unwrap_jso(this), target, pname));
+ Object getBufferParameter(int target, int pname) => (_blink.BlinkWebGL2RenderingContext.instance.getBufferParameter_Callback_2_(this, target, pname));
@DomName('WebGL2RenderingContext.getContextAttributes')
@DocsEditable()
@Experimental() // untriaged
- getContextAttributes() => convertNativeDictionaryToDartDictionary(wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getContextAttributes_Callback_0_(unwrap_jso(this))));
+ getContextAttributes() => convertNativeDictionaryToDartDictionary((_blink.BlinkWebGL2RenderingContext.instance.getContextAttributes_Callback_0_(this)));
@DomName('WebGL2RenderingContext.getError')
@DocsEditable()
@Experimental() // untriaged
- int getError() => _blink.BlinkWebGL2RenderingContext.instance.getError_Callback_0_(unwrap_jso(this));
+ int getError() => _blink.BlinkWebGL2RenderingContext.instance.getError_Callback_0_(this);
@DomName('WebGL2RenderingContext.getExtension')
@DocsEditable()
@Experimental() // untriaged
- Object getExtension(String name) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getExtension_Callback_1_(unwrap_jso(this), name));
+ Object getExtension(String name) => (_blink.BlinkWebGL2RenderingContext.instance.getExtension_Callback_1_(this, name));
@DomName('WebGL2RenderingContext.getFramebufferAttachmentParameter')
@DocsEditable()
@Experimental() // untriaged
- Object getFramebufferAttachmentParameter(int target, int attachment, int pname) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getFramebufferAttachmentParameter_Callback_3_(unwrap_jso(this), target, attachment, pname));
+ Object getFramebufferAttachmentParameter(int target, int attachment, int pname) => (_blink.BlinkWebGL2RenderingContext.instance.getFramebufferAttachmentParameter_Callback_3_(this, target, attachment, pname));
@DomName('WebGL2RenderingContext.getParameter')
@DocsEditable()
@Experimental() // untriaged
- Object getParameter(int pname) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getParameter_Callback_1_(unwrap_jso(this), pname));
+ Object getParameter(int pname) => (_blink.BlinkWebGL2RenderingContext.instance.getParameter_Callback_1_(this, pname));
@DomName('WebGL2RenderingContext.getProgramInfoLog')
@DocsEditable()
@Experimental() // untriaged
- String getProgramInfoLog(Program program) => _blink.BlinkWebGL2RenderingContext.instance.getProgramInfoLog_Callback_1_(unwrap_jso(this), unwrap_jso(program));
+ String getProgramInfoLog(Program program) => _blink.BlinkWebGL2RenderingContext.instance.getProgramInfoLog_Callback_1_(this, program);
@DomName('WebGL2RenderingContext.getProgramParameter')
@DocsEditable()
@Experimental() // untriaged
- Object getProgramParameter(Program program, int pname) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getProgramParameter_Callback_2_(unwrap_jso(this), unwrap_jso(program), pname));
+ Object getProgramParameter(Program program, int pname) => (_blink.BlinkWebGL2RenderingContext.instance.getProgramParameter_Callback_2_(this, program, pname));
@DomName('WebGL2RenderingContext.getRenderbufferParameter')
@DocsEditable()
@Experimental() // untriaged
- Object getRenderbufferParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getRenderbufferParameter_Callback_2_(unwrap_jso(this), target, pname));
+ Object getRenderbufferParameter(int target, int pname) => (_blink.BlinkWebGL2RenderingContext.instance.getRenderbufferParameter_Callback_2_(this, target, pname));
@DomName('WebGL2RenderingContext.getShaderInfoLog')
@DocsEditable()
@Experimental() // untriaged
- String getShaderInfoLog(Shader shader) => _blink.BlinkWebGL2RenderingContext.instance.getShaderInfoLog_Callback_1_(unwrap_jso(this), unwrap_jso(shader));
+ String getShaderInfoLog(Shader shader) => _blink.BlinkWebGL2RenderingContext.instance.getShaderInfoLog_Callback_1_(this, shader);
@DomName('WebGL2RenderingContext.getShaderParameter')
@DocsEditable()
@Experimental() // untriaged
- Object getShaderParameter(Shader shader, int pname) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getShaderParameter_Callback_2_(unwrap_jso(this), unwrap_jso(shader), pname));
+ Object getShaderParameter(Shader shader, int pname) => (_blink.BlinkWebGL2RenderingContext.instance.getShaderParameter_Callback_2_(this, shader, pname));
@DomName('WebGL2RenderingContext.getShaderPrecisionFormat')
@DocsEditable()
@Experimental() // untriaged
- ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisiontype) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getShaderPrecisionFormat_Callback_2_(unwrap_jso(this), shadertype, precisiontype));
+ ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisiontype) => _blink.BlinkWebGL2RenderingContext.instance.getShaderPrecisionFormat_Callback_2_(this, shadertype, precisiontype);
@DomName('WebGL2RenderingContext.getShaderSource')
@DocsEditable()
@Experimental() // untriaged
- String getShaderSource(Shader shader) => _blink.BlinkWebGL2RenderingContext.instance.getShaderSource_Callback_1_(unwrap_jso(this), unwrap_jso(shader));
+ String getShaderSource(Shader shader) => _blink.BlinkWebGL2RenderingContext.instance.getShaderSource_Callback_1_(this, shader);
@DomName('WebGL2RenderingContext.getSupportedExtensions')
@DocsEditable()
@Experimental() // untriaged
- List<String> getSupportedExtensions() => _blink.BlinkWebGL2RenderingContext.instance.getSupportedExtensions_Callback_0_(unwrap_jso(this));
+ List<String> getSupportedExtensions() => _blink.BlinkWebGL2RenderingContext.instance.getSupportedExtensions_Callback_0_(this);
@DomName('WebGL2RenderingContext.getTexParameter')
@DocsEditable()
@Experimental() // untriaged
- Object getTexParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getTexParameter_Callback_2_(unwrap_jso(this), target, pname));
+ Object getTexParameter(int target, int pname) => (_blink.BlinkWebGL2RenderingContext.instance.getTexParameter_Callback_2_(this, target, pname));
@DomName('WebGL2RenderingContext.getUniform')
@DocsEditable()
@Experimental() // untriaged
- Object getUniform(Program program, UniformLocation location) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getUniform_Callback_2_(unwrap_jso(this), unwrap_jso(program), unwrap_jso(location)));
+ Object getUniform(Program program, UniformLocation location) => (_blink.BlinkWebGL2RenderingContext.instance.getUniform_Callback_2_(this, program, location));
@DomName('WebGL2RenderingContext.getUniformLocation')
@DocsEditable()
@Experimental() // untriaged
- UniformLocation getUniformLocation(Program program, String name) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getUniformLocation_Callback_2_(unwrap_jso(this), unwrap_jso(program), name));
+ UniformLocation getUniformLocation(Program program, String name) => _blink.BlinkWebGL2RenderingContext.instance.getUniformLocation_Callback_2_(this, program, name);
@DomName('WebGL2RenderingContext.getVertexAttrib')
@DocsEditable()
@Experimental() // untriaged
- Object getVertexAttrib(int index, int pname) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getVertexAttrib_Callback_2_(unwrap_jso(this), index, pname));
+ Object getVertexAttrib(int index, int pname) => (_blink.BlinkWebGL2RenderingContext.instance.getVertexAttrib_Callback_2_(this, index, pname));
@DomName('WebGL2RenderingContext.getVertexAttribOffset')
@DocsEditable()
@Experimental() // untriaged
- int getVertexAttribOffset(int index, int pname) => _blink.BlinkWebGL2RenderingContext.instance.getVertexAttribOffset_Callback_2_(unwrap_jso(this), index, pname);
+ int getVertexAttribOffset(int index, int pname) => _blink.BlinkWebGL2RenderingContext.instance.getVertexAttribOffset_Callback_2_(this, index, pname);
@DomName('WebGL2RenderingContext.hint')
@DocsEditable()
@Experimental() // untriaged
- void hint(int target, int mode) => _blink.BlinkWebGL2RenderingContext.instance.hint_Callback_2_(unwrap_jso(this), target, mode);
+ void hint(int target, int mode) => _blink.BlinkWebGL2RenderingContext.instance.hint_Callback_2_(this, target, mode);
@DomName('WebGL2RenderingContext.isBuffer')
@DocsEditable()
@Experimental() // untriaged
- bool isBuffer(Buffer buffer) => _blink.BlinkWebGL2RenderingContext.instance.isBuffer_Callback_1_(unwrap_jso(this), unwrap_jso(buffer));
+ bool isBuffer(Buffer buffer) => _blink.BlinkWebGL2RenderingContext.instance.isBuffer_Callback_1_(this, buffer);
@DomName('WebGL2RenderingContext.isContextLost')
@DocsEditable()
@Experimental() // untriaged
- bool isContextLost() => _blink.BlinkWebGL2RenderingContext.instance.isContextLost_Callback_0_(unwrap_jso(this));
+ bool isContextLost() => _blink.BlinkWebGL2RenderingContext.instance.isContextLost_Callback_0_(this);
@DomName('WebGL2RenderingContext.isEnabled')
@DocsEditable()
@Experimental() // untriaged
- bool isEnabled(int cap) => _blink.BlinkWebGL2RenderingContext.instance.isEnabled_Callback_1_(unwrap_jso(this), cap);
+ bool isEnabled(int cap) => _blink.BlinkWebGL2RenderingContext.instance.isEnabled_Callback_1_(this, cap);
@DomName('WebGL2RenderingContext.isFramebuffer')
@DocsEditable()
@Experimental() // untriaged
- bool isFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGL2RenderingContext.instance.isFramebuffer_Callback_1_(unwrap_jso(this), unwrap_jso(framebuffer));
+ bool isFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGL2RenderingContext.instance.isFramebuffer_Callback_1_(this, framebuffer);
@DomName('WebGL2RenderingContext.isProgram')
@DocsEditable()
@Experimental() // untriaged
- bool isProgram(Program program) => _blink.BlinkWebGL2RenderingContext.instance.isProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program));
+ bool isProgram(Program program) => _blink.BlinkWebGL2RenderingContext.instance.isProgram_Callback_1_(this, program);
@DomName('WebGL2RenderingContext.isRenderbuffer')
@DocsEditable()
@Experimental() // untriaged
- bool isRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGL2RenderingContext.instance.isRenderbuffer_Callback_1_(unwrap_jso(this), unwrap_jso(renderbuffer));
+ bool isRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGL2RenderingContext.instance.isRenderbuffer_Callback_1_(this, renderbuffer);
@DomName('WebGL2RenderingContext.isShader')
@DocsEditable()
@Experimental() // untriaged
- bool isShader(Shader shader) => _blink.BlinkWebGL2RenderingContext.instance.isShader_Callback_1_(unwrap_jso(this), unwrap_jso(shader));
+ bool isShader(Shader shader) => _blink.BlinkWebGL2RenderingContext.instance.isShader_Callback_1_(this, shader);
@DomName('WebGL2RenderingContext.isTexture')
@DocsEditable()
@Experimental() // untriaged
- bool isTexture(Texture texture) => _blink.BlinkWebGL2RenderingContext.instance.isTexture_Callback_1_(unwrap_jso(this), unwrap_jso(texture));
+ bool isTexture(Texture texture) => _blink.BlinkWebGL2RenderingContext.instance.isTexture_Callback_1_(this, texture);
@DomName('WebGL2RenderingContext.lineWidth')
@DocsEditable()
@Experimental() // untriaged
- void lineWidth(num width) => _blink.BlinkWebGL2RenderingContext.instance.lineWidth_Callback_1_(unwrap_jso(this), width);
+ void lineWidth(num width) => _blink.BlinkWebGL2RenderingContext.instance.lineWidth_Callback_1_(this, width);
@DomName('WebGL2RenderingContext.linkProgram')
@DocsEditable()
@Experimental() // untriaged
- void linkProgram(Program program) => _blink.BlinkWebGL2RenderingContext.instance.linkProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program));
+ void linkProgram(Program program) => _blink.BlinkWebGL2RenderingContext.instance.linkProgram_Callback_1_(this, program);
@DomName('WebGL2RenderingContext.pixelStorei')
@DocsEditable()
@Experimental() // untriaged
- void pixelStorei(int pname, int param) => _blink.BlinkWebGL2RenderingContext.instance.pixelStorei_Callback_2_(unwrap_jso(this), pname, param);
+ void pixelStorei(int pname, int param) => _blink.BlinkWebGL2RenderingContext.instance.pixelStorei_Callback_2_(this, pname, param);
@DomName('WebGL2RenderingContext.polygonOffset')
@DocsEditable()
@Experimental() // untriaged
- void polygonOffset(num factor, num units) => _blink.BlinkWebGL2RenderingContext.instance.polygonOffset_Callback_2_(unwrap_jso(this), factor, units);
+ void polygonOffset(num factor, num units) => _blink.BlinkWebGL2RenderingContext.instance.polygonOffset_Callback_2_(this, factor, units);
@DomName('WebGL2RenderingContext.readPixels')
@DocsEditable()
@Experimental() // untriaged
- void readPixels(int x, int y, int width, int height, int format, int type, TypedData pixels) => _blink.BlinkWebGL2RenderingContext.instance.readPixels_Callback_7_(unwrap_jso(this), x, y, width, height, format, type, unwrap_jso(pixels));
+ void readPixels(int x, int y, int width, int height, int format, int type, TypedData pixels) => _blink.BlinkWebGL2RenderingContext.instance.readPixels_Callback_7_(this, x, y, width, height, format, type, pixels);
@DomName('WebGL2RenderingContext.renderbufferStorage')
@DocsEditable()
@Experimental() // untriaged
- void renderbufferStorage(int target, int internalformat, int width, int height) => _blink.BlinkWebGL2RenderingContext.instance.renderbufferStorage_Callback_4_(unwrap_jso(this), target, internalformat, width, height);
+ void renderbufferStorage(int target, int internalformat, int width, int height) => _blink.BlinkWebGL2RenderingContext.instance.renderbufferStorage_Callback_4_(this, target, internalformat, width, height);
@DomName('WebGL2RenderingContext.sampleCoverage')
@DocsEditable()
@Experimental() // untriaged
- void sampleCoverage(num value, bool invert) => _blink.BlinkWebGL2RenderingContext.instance.sampleCoverage_Callback_2_(unwrap_jso(this), value, invert);
+ void sampleCoverage(num value, bool invert) => _blink.BlinkWebGL2RenderingContext.instance.sampleCoverage_Callback_2_(this, value, invert);
@DomName('WebGL2RenderingContext.scissor')
@DocsEditable()
@Experimental() // untriaged
- void scissor(int x, int y, int width, int height) => _blink.BlinkWebGL2RenderingContext.instance.scissor_Callback_4_(unwrap_jso(this), x, y, width, height);
+ void scissor(int x, int y, int width, int height) => _blink.BlinkWebGL2RenderingContext.instance.scissor_Callback_4_(this, x, y, width, height);
@DomName('WebGL2RenderingContext.shaderSource')
@DocsEditable()
@Experimental() // untriaged
- void shaderSource(Shader shader, String string) => _blink.BlinkWebGL2RenderingContext.instance.shaderSource_Callback_2_(unwrap_jso(this), unwrap_jso(shader), string);
+ void shaderSource(Shader shader, String string) => _blink.BlinkWebGL2RenderingContext.instance.shaderSource_Callback_2_(this, shader, string);
@DomName('WebGL2RenderingContext.stencilFunc')
@DocsEditable()
@Experimental() // untriaged
- void stencilFunc(int func, int ref, int mask) => _blink.BlinkWebGL2RenderingContext.instance.stencilFunc_Callback_3_(unwrap_jso(this), func, ref, mask);
+ void stencilFunc(int func, int ref, int mask) => _blink.BlinkWebGL2RenderingContext.instance.stencilFunc_Callback_3_(this, func, ref, mask);
@DomName('WebGL2RenderingContext.stencilFuncSeparate')
@DocsEditable()
@Experimental() // untriaged
- void stencilFuncSeparate(int face, int func, int ref, int mask) => _blink.BlinkWebGL2RenderingContext.instance.stencilFuncSeparate_Callback_4_(unwrap_jso(this), face, func, ref, mask);
+ void stencilFuncSeparate(int face, int func, int ref, int mask) => _blink.BlinkWebGL2RenderingContext.instance.stencilFuncSeparate_Callback_4_(this, face, func, ref, mask);
@DomName('WebGL2RenderingContext.stencilMask')
@DocsEditable()
@Experimental() // untriaged
- void stencilMask(int mask) => _blink.BlinkWebGL2RenderingContext.instance.stencilMask_Callback_1_(unwrap_jso(this), mask);
+ void stencilMask(int mask) => _blink.BlinkWebGL2RenderingContext.instance.stencilMask_Callback_1_(this, mask);
@DomName('WebGL2RenderingContext.stencilMaskSeparate')
@DocsEditable()
@Experimental() // untriaged
- void stencilMaskSeparate(int face, int mask) => _blink.BlinkWebGL2RenderingContext.instance.stencilMaskSeparate_Callback_2_(unwrap_jso(this), face, mask);
+ void stencilMaskSeparate(int face, int mask) => _blink.BlinkWebGL2RenderingContext.instance.stencilMaskSeparate_Callback_2_(this, face, mask);
@DomName('WebGL2RenderingContext.stencilOp')
@DocsEditable()
@Experimental() // untriaged
- void stencilOp(int fail, int zfail, int zpass) => _blink.BlinkWebGL2RenderingContext.instance.stencilOp_Callback_3_(unwrap_jso(this), fail, zfail, zpass);
+ void stencilOp(int fail, int zfail, int zpass) => _blink.BlinkWebGL2RenderingContext.instance.stencilOp_Callback_3_(this, fail, zfail, zpass);
@DomName('WebGL2RenderingContext.stencilOpSeparate')
@DocsEditable()
@Experimental() // untriaged
- void stencilOpSeparate(int face, int fail, int zfail, int zpass) => _blink.BlinkWebGL2RenderingContext.instance.stencilOpSeparate_Callback_4_(unwrap_jso(this), face, fail, zfail, zpass);
+ void stencilOpSeparate(int face, int fail, int zfail, int zpass) => _blink.BlinkWebGL2RenderingContext.instance.stencilOpSeparate_Callback_4_(this, face, fail, zfail, zpass);
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 is TypedData || pixels == null) && (type is int) && (format is int) && (border_OR_canvas_OR_image_OR_pixels_OR_video is int) && (height_OR_type is int) && (format_OR_width is int) && (internalformat is int) && (level is int) && (target is int)) {
- _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_9_(unwrap_jso(this), target, level, internalformat, format_OR_width, height_OR_type, unwrap_jso(border_OR_canvas_OR_image_OR_pixels_OR_video), format, type, unwrap_jso(pixels));
+ _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_9_(this, 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) && (height_OR_type is int) && (format_OR_width is int) && (internalformat is int) && (level is int) && (target is int) && format == null && type == null && pixels == null) {
- _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_(unwrap_jso(this), target, level, internalformat, format_OR_width, height_OR_type, unwrap_jso(border_OR_canvas_OR_image_OR_pixels_OR_video));
+ _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_(this, 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 ImageElement) && (height_OR_type is int) && (format_OR_width is int) && (internalformat is int) && (level is int) && (target is int) && format == null && type == null && pixels == null) {
- _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_(unwrap_jso(this), target, level, internalformat, format_OR_width, height_OR_type, unwrap_jso(border_OR_canvas_OR_image_OR_pixels_OR_video));
+ _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_(this, 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) && (height_OR_type is int) && (format_OR_width is int) && (internalformat is int) && (level is int) && (target is int) && format == null && type == null && pixels == null) {
- _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_(unwrap_jso(this), target, level, internalformat, format_OR_width, height_OR_type, unwrap_jso(border_OR_canvas_OR_image_OR_pixels_OR_video));
+ _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_(this, 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) && (height_OR_type is int) && (format_OR_width is int) && (internalformat is int) && (level is int) && (target is int) && format == null && type == null && pixels == null) {
- _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_(unwrap_jso(this), target, level, internalformat, format_OR_width, height_OR_type, unwrap_jso(border_OR_canvas_OR_image_OR_pixels_OR_video));
+ _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_(this, 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");
@@ -6330,32 +6030,32 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
@DomName('WebGL2RenderingContext.texParameterf')
@DocsEditable()
@Experimental() // untriaged
- void texParameterf(int target, int pname, num param) => _blink.BlinkWebGL2RenderingContext.instance.texParameterf_Callback_3_(unwrap_jso(this), target, pname, param);
+ void texParameterf(int target, int pname, num param) => _blink.BlinkWebGL2RenderingContext.instance.texParameterf_Callback_3_(this, target, pname, param);
@DomName('WebGL2RenderingContext.texParameteri')
@DocsEditable()
@Experimental() // untriaged
- void texParameteri(int target, int pname, int param) => _blink.BlinkWebGL2RenderingContext.instance.texParameteri_Callback_3_(unwrap_jso(this), target, pname, param);
+ void texParameteri(int target, int pname, int param) => _blink.BlinkWebGL2RenderingContext.instance.texParameteri_Callback_3_(this, target, pname, param);
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 is TypedData || pixels == null) && (type is int) && (canvas_OR_format_OR_image_OR_pixels_OR_video is int) && (height_OR_type is int) && (format_OR_width is int) && (yoffset is int) && (xoffset is int) && (level is int) && (target is int)) {
- _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_9_(unwrap_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type, unwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video), type, unwrap_jso(pixels));
+ _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_9_(this, 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) && (height_OR_type is int) && (format_OR_width is int) && (yoffset is int) && (xoffset is int) && (level is int) && (target is int) && type == null && pixels == null) {
- _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_(unwrap_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type, unwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video));
+ _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_(this, 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 ImageElement) && (height_OR_type is int) && (format_OR_width is int) && (yoffset is int) && (xoffset is int) && (level is int) && (target is int) && type == null && pixels == null) {
- _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_(unwrap_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type, unwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video));
+ _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_(this, 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) && (height_OR_type is int) && (format_OR_width is int) && (yoffset is int) && (xoffset is int) && (level is int) && (target is int) && type == null && pixels == null) {
- _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_(unwrap_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type, unwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video));
+ _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_(this, 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) && (height_OR_type is int) && (format_OR_width is int) && (yoffset is int) && (xoffset is int) && (level is int) && (target is int) && type == null && pixels == null) {
- _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_(unwrap_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type, unwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video));
+ _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_(this, 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");
@@ -6364,15 +6064,15 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
@DomName('WebGL2RenderingContext.uniform1f')
@DocsEditable()
@Experimental() // untriaged
- void uniform1f(UniformLocation location, num x) => _blink.BlinkWebGL2RenderingContext.instance.uniform1f_Callback_2_(unwrap_jso(this), unwrap_jso(location), x);
+ void uniform1f(UniformLocation location, num x) => _blink.BlinkWebGL2RenderingContext.instance.uniform1f_Callback_2_(this, location, x);
void uniform1fv(UniformLocation location, v) {
if ((v is Float32List) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniform1fv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGL2RenderingContext.instance.uniform1fv_Callback_2_(this, location, v);
return;
}
if ((v is List<num>) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniform1fv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGL2RenderingContext.instance.uniform1fv_Callback_2_(this, location, v);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -6381,15 +6081,15 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
@DomName('WebGL2RenderingContext.uniform1i')
@DocsEditable()
@Experimental() // untriaged
- void uniform1i(UniformLocation location, int x) => _blink.BlinkWebGL2RenderingContext.instance.uniform1i_Callback_2_(unwrap_jso(this), unwrap_jso(location), x);
+ void uniform1i(UniformLocation location, int x) => _blink.BlinkWebGL2RenderingContext.instance.uniform1i_Callback_2_(this, location, x);
void uniform1iv(UniformLocation location, v) {
if ((v is Int32List) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniform1iv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGL2RenderingContext.instance.uniform1iv_Callback_2_(this, location, v);
return;
}
if ((v is List<int>) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniform1iv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGL2RenderingContext.instance.uniform1iv_Callback_2_(this, location, v);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -6398,15 +6098,15 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
@DomName('WebGL2RenderingContext.uniform2f')
@DocsEditable()
@Experimental() // untriaged
- void uniform2f(UniformLocation location, num x, num y) => _blink.BlinkWebGL2RenderingContext.instance.uniform2f_Callback_3_(unwrap_jso(this), unwrap_jso(location), x, y);
+ void uniform2f(UniformLocation location, num x, num y) => _blink.BlinkWebGL2RenderingContext.instance.uniform2f_Callback_3_(this, location, x, y);
void uniform2fv(UniformLocation location, v) {
if ((v is Float32List) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniform2fv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGL2RenderingContext.instance.uniform2fv_Callback_2_(this, location, v);
return;
}
if ((v is List<num>) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniform2fv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGL2RenderingContext.instance.uniform2fv_Callback_2_(this, location, v);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -6415,15 +6115,15 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
@DomName('WebGL2RenderingContext.uniform2i')
@DocsEditable()
@Experimental() // untriaged
- void uniform2i(UniformLocation location, int x, int y) => _blink.BlinkWebGL2RenderingContext.instance.uniform2i_Callback_3_(unwrap_jso(this), unwrap_jso(location), x, y);
+ void uniform2i(UniformLocation location, int x, int y) => _blink.BlinkWebGL2RenderingContext.instance.uniform2i_Callback_3_(this, location, x, y);
void uniform2iv(UniformLocation location, v) {
if ((v is Int32List) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniform2iv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGL2RenderingContext.instance.uniform2iv_Callback_2_(this, location, v);
return;
}
if ((v is List<int>) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniform2iv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGL2RenderingContext.instance.uniform2iv_Callback_2_(this, location, v);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -6432,15 +6132,15 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
@DomName('WebGL2RenderingContext.uniform3f')
@DocsEditable()
@Experimental() // untriaged
- void uniform3f(UniformLocation location, num x, num y, num z) => _blink.BlinkWebGL2RenderingContext.instance.uniform3f_Callback_4_(unwrap_jso(this), unwrap_jso(location), x, y, z);
+ void uniform3f(UniformLocation location, num x, num y, num z) => _blink.BlinkWebGL2RenderingContext.instance.uniform3f_Callback_4_(this, location, x, y, z);
void uniform3fv(UniformLocation location, v) {
if ((v is Float32List) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniform3fv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGL2RenderingContext.instance.uniform3fv_Callback_2_(this, location, v);
return;
}
if ((v is List<num>) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniform3fv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGL2RenderingContext.instance.uniform3fv_Callback_2_(this, location, v);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -6449,15 +6149,15 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
@DomName('WebGL2RenderingContext.uniform3i')
@DocsEditable()
@Experimental() // untriaged
- void uniform3i(UniformLocation location, int x, int y, int z) => _blink.BlinkWebGL2RenderingContext.instance.uniform3i_Callback_4_(unwrap_jso(this), unwrap_jso(location), x, y, z);
+ void uniform3i(UniformLocation location, int x, int y, int z) => _blink.BlinkWebGL2RenderingContext.instance.uniform3i_Callback_4_(this, location, x, y, z);
void uniform3iv(UniformLocation location, v) {
if ((v is Int32List) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniform3iv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGL2RenderingContext.instance.uniform3iv_Callback_2_(this, location, v);
return;
}
if ((v is List<int>) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniform3iv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGL2RenderingContext.instance.uniform3iv_Callback_2_(this, location, v);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -6466,15 +6166,15 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
@DomName('WebGL2RenderingContext.uniform4f')
@DocsEditable()
@Experimental() // untriaged
- void uniform4f(UniformLocation location, num x, num y, num z, num w) => _blink.BlinkWebGL2RenderingContext.instance.uniform4f_Callback_5_(unwrap_jso(this), unwrap_jso(location), x, y, z, w);
+ void uniform4f(UniformLocation location, num x, num y, num z, num w) => _blink.BlinkWebGL2RenderingContext.instance.uniform4f_Callback_5_(this, location, x, y, z, w);
void uniform4fv(UniformLocation location, v) {
if ((v is Float32List) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniform4fv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGL2RenderingContext.instance.uniform4fv_Callback_2_(this, location, v);
return;
}
if ((v is List<num>) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniform4fv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGL2RenderingContext.instance.uniform4fv_Callback_2_(this, location, v);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -6483,15 +6183,15 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
@DomName('WebGL2RenderingContext.uniform4i')
@DocsEditable()
@Experimental() // untriaged
- void uniform4i(UniformLocation location, int x, int y, int z, int w) => _blink.BlinkWebGL2RenderingContext.instance.uniform4i_Callback_5_(unwrap_jso(this), unwrap_jso(location), x, y, z, w);
+ void uniform4i(UniformLocation location, int x, int y, int z, int w) => _blink.BlinkWebGL2RenderingContext.instance.uniform4i_Callback_5_(this, location, x, y, z, w);
void uniform4iv(UniformLocation location, v) {
if ((v is Int32List) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniform4iv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGL2RenderingContext.instance.uniform4iv_Callback_2_(this, location, v);
return;
}
if ((v is List<int>) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniform4iv_Callback_2_(unwrap_jso(this), unwrap_jso(location), unwrap_jso(v));
+ _blink.BlinkWebGL2RenderingContext.instance.uniform4iv_Callback_2_(this, location, v);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -6499,11 +6199,11 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
void uniformMatrix2fv(UniformLocation location, bool transpose, array) {
if ((array is Float32List) && (transpose is bool) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2fv_Callback_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array));
+ _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2fv_Callback_3_(this, location, transpose, array);
return;
}
if ((array is List<num>) && (transpose is bool) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2fv_Callback_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array));
+ _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2fv_Callback_3_(this, location, transpose, array);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -6511,11 +6211,11 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
void uniformMatrix3fv(UniformLocation location, bool transpose, array) {
if ((array is Float32List) && (transpose is bool) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3fv_Callback_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array));
+ _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3fv_Callback_3_(this, location, transpose, array);
return;
}
if ((array is List<num>) && (transpose is bool) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3fv_Callback_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array));
+ _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3fv_Callback_3_(this, location, transpose, array);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -6523,11 +6223,11 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
void uniformMatrix4fv(UniformLocation location, bool transpose, array) {
if ((array is Float32List) && (transpose is bool) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4fv_Callback_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array));
+ _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4fv_Callback_3_(this, location, transpose, array);
return;
}
if ((array is List<num>) && (transpose is bool) && (location is UniformLocation || location == null)) {
- _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4fv_Callback_3_(unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array));
+ _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4fv_Callback_3_(this, location, transpose, array);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -6536,25 +6236,25 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
@DomName('WebGL2RenderingContext.useProgram')
@DocsEditable()
@Experimental() // untriaged
- void useProgram(Program program) => _blink.BlinkWebGL2RenderingContext.instance.useProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program));
+ void useProgram(Program program) => _blink.BlinkWebGL2RenderingContext.instance.useProgram_Callback_1_(this, program);
@DomName('WebGL2RenderingContext.validateProgram')
@DocsEditable()
@Experimental() // untriaged
- void validateProgram(Program program) => _blink.BlinkWebGL2RenderingContext.instance.validateProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program));
+ void validateProgram(Program program) => _blink.BlinkWebGL2RenderingContext.instance.validateProgram_Callback_1_(this, program);
@DomName('WebGL2RenderingContext.vertexAttrib1f')
@DocsEditable()
@Experimental() // untriaged
- void vertexAttrib1f(int indx, num x) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib1f_Callback_2_(unwrap_jso(this), indx, x);
+ void vertexAttrib1f(int indx, num x) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib1f_Callback_2_(this, indx, x);
void vertexAttrib1fv(int indx, values) {
if ((values is Float32List) && (indx is int)) {
- _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib1fv_Callback_2_(unwrap_jso(this), indx, unwrap_jso(values));
+ _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib1fv_Callback_2_(this, indx, values);
return;
}
if ((values is List<num>) && (indx is int)) {
- _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib1fv_Callback_2_(unwrap_jso(this), indx, unwrap_jso(values));
+ _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib1fv_Callback_2_(this, indx, values);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -6563,15 +6263,15 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
@DomName('WebGL2RenderingContext.vertexAttrib2f')
@DocsEditable()
@Experimental() // untriaged
- void vertexAttrib2f(int indx, num x, num y) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib2f_Callback_3_(unwrap_jso(this), indx, x, y);
+ void vertexAttrib2f(int indx, num x, num y) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib2f_Callback_3_(this, indx, x, y);
void vertexAttrib2fv(int indx, values) {
if ((values is Float32List) && (indx is int)) {
- _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib2fv_Callback_2_(unwrap_jso(this), indx, unwrap_jso(values));
+ _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib2fv_Callback_2_(this, indx, values);
return;
}
if ((values is List<num>) && (indx is int)) {
- _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib2fv_Callback_2_(unwrap_jso(this), indx, unwrap_jso(values));
+ _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib2fv_Callback_2_(this, indx, values);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -6580,15 +6280,15 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
@DomName('WebGL2RenderingContext.vertexAttrib3f')
@DocsEditable()
@Experimental() // untriaged
- void vertexAttrib3f(int indx, num x, num y, num z) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib3f_Callback_4_(unwrap_jso(this), indx, x, y, z);
+ void vertexAttrib3f(int indx, num x, num y, num z) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib3f_Callback_4_(this, indx, x, y, z);
void vertexAttrib3fv(int indx, values) {
if ((values is Float32List) && (indx is int)) {
- _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib3fv_Callback_2_(unwrap_jso(this), indx, unwrap_jso(values));
+ _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib3fv_Callback_2_(this, indx, values);
return;
}
if ((values is List<num>) && (indx is int)) {
- _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib3fv_Callback_2_(unwrap_jso(this), indx, unwrap_jso(values));
+ _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib3fv_Callback_2_(this, indx, values);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -6597,15 +6297,15 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
@DomName('WebGL2RenderingContext.vertexAttrib4f')
@DocsEditable()
@Experimental() // untriaged
- void vertexAttrib4f(int indx, num x, num y, num z, num w) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib4f_Callback_5_(unwrap_jso(this), indx, x, y, z, w);
+ void vertexAttrib4f(int indx, num x, num y, num z, num w) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib4f_Callback_5_(this, indx, x, y, z, w);
void vertexAttrib4fv(int indx, values) {
if ((values is Float32List) && (indx is int)) {
- _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib4fv_Callback_2_(unwrap_jso(this), indx, unwrap_jso(values));
+ _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib4fv_Callback_2_(this, indx, values);
return;
}
if ((values is List<num>) && (indx is int)) {
- _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib4fv_Callback_2_(unwrap_jso(this), indx, unwrap_jso(values));
+ _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib4fv_Callback_2_(this, indx, values);
return;
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -6614,12 +6314,12 @@ class RenderingContext2 extends DartHtmlDomObject implements _WebGL2RenderingCon
@DomName('WebGL2RenderingContext.vertexAttribPointer')
@DocsEditable()
@Experimental() // untriaged
- void vertexAttribPointer(int indx, int size, int type, bool normalized, int stride, int offset) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttribPointer_Callback_6_(unwrap_jso(this), indx, size, type, normalized, stride, offset);
+ void vertexAttribPointer(int indx, int size, int type, bool normalized, int stride, int offset) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttribPointer_Callback_6_(this, indx, size, type, normalized, stride, offset);
@DomName('WebGL2RenderingContext.viewport')
@DocsEditable()
@Experimental() // untriaged
- void viewport(int x, int y, int width, int height) => _blink.BlinkWebGL2RenderingContext.instance.viewport_Callback_4_(unwrap_jso(this), x, y, width, height);
+ void viewport(int x, int y, int width, int height) => _blink.BlinkWebGL2RenderingContext.instance.viewport_Callback_4_(this, x, y, width, height);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -6636,21 +6336,13 @@ class Sampler extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory Sampler._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static Sampler internalCreateSampler() {
- return new Sampler._internalWrap();
- }
- factory Sampler._internalWrap() {
- return new Sampler.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
Sampler.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// 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
@@ -6665,21 +6357,13 @@ class Shader extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory Shader._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static Shader internalCreateShader() {
- return new Shader._internalWrap();
- }
- factory Shader._internalWrap() {
- return new Shader.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
Shader.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// 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
@@ -6694,32 +6378,24 @@ class ShaderPrecisionFormat extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory ShaderPrecisionFormat._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static ShaderPrecisionFormat internalCreateShaderPrecisionFormat() {
- return new ShaderPrecisionFormat._internalWrap();
- }
- factory ShaderPrecisionFormat._internalWrap() {
- return new ShaderPrecisionFormat.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
ShaderPrecisionFormat.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
@DomName('WebGLShaderPrecisionFormat.precision')
@DocsEditable()
- int get precision => _blink.BlinkWebGLShaderPrecisionFormat.instance.precision_Getter_(unwrap_jso(this));
+ int get precision => _blink.BlinkWebGLShaderPrecisionFormat.instance.precision_Getter_(this);
@DomName('WebGLShaderPrecisionFormat.rangeMax')
@DocsEditable()
- int get rangeMax => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMax_Getter_(unwrap_jso(this));
+ int get rangeMax => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMax_Getter_(this);
@DomName('WebGLShaderPrecisionFormat.rangeMin')
@DocsEditable()
- int get rangeMin => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMin_Getter_(unwrap_jso(this));
+ int get rangeMin => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMin_Getter_(this);
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -6736,21 +6412,13 @@ class Sync extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory Sync._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static Sync internalCreateSync() {
- return new Sync._internalWrap();
- }
- factory Sync._internalWrap() {
- return new Sync.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
Sync.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// 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
@@ -6765,21 +6433,13 @@ class Texture extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory Texture._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static Texture internalCreateTexture() {
- return new Texture._internalWrap();
- }
- factory Texture._internalWrap() {
- return new Texture.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
Texture.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// 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
@@ -6795,21 +6455,13 @@ class TransformFeedback extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory TransformFeedback._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static TransformFeedback internalCreateTransformFeedback() {
- return new TransformFeedback._internalWrap();
- }
- factory TransformFeedback._internalWrap() {
- return new TransformFeedback.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
TransformFeedback.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// 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
@@ -6824,21 +6476,13 @@ class UniformLocation extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory UniformLocation._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static UniformLocation internalCreateUniformLocation() {
- return new UniformLocation._internalWrap();
- }
- factory UniformLocation._internalWrap() {
- return new UniformLocation.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
UniformLocation.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// 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
@@ -6854,21 +6498,13 @@ class VertexArrayObject extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static VertexArrayObject internalCreateVertexArrayObject() {
- return new VertexArrayObject._internalWrap();
- }
- factory VertexArrayObject._internalWrap() {
- return new VertexArrayObject.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
VertexArrayObject.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// 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
@@ -6885,21 +6521,13 @@ class VertexArrayObjectOes extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
factory VertexArrayObjectOes._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static VertexArrayObjectOes internalCreateVertexArrayObjectOes() {
- return new VertexArrayObjectOes._internalWrap();
- }
- factory VertexArrayObjectOes._internalWrap() {
- return new VertexArrayObjectOes.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
VertexArrayObjectOes.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// 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
@@ -6915,21 +6543,13 @@ class _WebGL2RenderingContextBase extends DartHtmlDomObject implements _WebGLRen
// To suppress missing implicit constructor warnings.
factory _WebGL2RenderingContextBase._() { throw new UnsupportedError("Not supported"); }
- @Deprecated("Internal Use Only")
- static _WebGL2RenderingContextBase internalCreate_WebGL2RenderingContextBase() {
- return new _WebGL2RenderingContextBase._internalWrap();
- }
- factory _WebGL2RenderingContextBase._internalWrap() {
- return new _WebGL2RenderingContextBase.internal_();
- }
+ @Deprecated("Internal Use Only")
+ external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
_WebGL2RenderingContextBase.internal_() { }
- bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(this, other);
- int get hashCode => unwrap_jso(this).hashCode;
-
}
// 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
« no previous file with comments | « sdk/lib/web_audio/dartium/web_audio_dartium.dart ('k') | sdk/lib/web_sql/dartium/web_sql_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698