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

Side by Side Diff: sdk/lib/web_gl/dartium/web_gl_dartium.dart

Issue 1173403004: Changed to use JSInterop (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Re-gen'd somehow diffs stopped showing up in CL Created 5 years, 5 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 unified diff | Download patch
OLDNEW
1 /** 1 /**
2 * 3D programming in the browser. 2 * 3D programming in the browser.
3 */ 3 */
4 library dart.dom.web_gl; 4 library dart.dom.web_gl;
5 5
6 import 'dart:async'; 6 import 'dart:async';
7 import 'dart:collection'; 7 import 'dart:collection';
8 import 'dart:_internal' hide deprecated; 8 import 'dart:_internal' hide deprecated;
9 import 'dart:html'; 9 import 'dart:html';
10 import 'dart:html_common'; 10 import 'dart:html_common';
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 'WebGLRenderbuffer': () => Renderbuffer, 50 'WebGLRenderbuffer': () => Renderbuffer,
51 'WebGLRenderingContext': () => RenderingContext, 51 'WebGLRenderingContext': () => RenderingContext,
52 'WebGLRenderingContextBase': () => _WebGLRenderingContextBase, 52 'WebGLRenderingContextBase': () => _WebGLRenderingContextBase,
53 'WebGLShader': () => Shader, 53 'WebGLShader': () => Shader,
54 'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat, 54 'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat,
55 'WebGLTexture': () => Texture, 55 'WebGLTexture': () => Texture,
56 'WebGLUniformLocation': () => UniformLocation, 56 'WebGLUniformLocation': () => UniformLocation,
57 'WebGLVertexArrayObjectOES': () => VertexArrayObject, 57 'WebGLVertexArrayObjectOES': () => VertexArrayObject,
58 58
59 }; 59 };
60
60 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 61 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
61 // for details. All rights reserved. Use of this source code is governed by a 62 // for details. All rights reserved. Use of this source code is governed by a
62 // BSD-style license that can be found in the LICENSE file. 63 // BSD-style license that can be found in the LICENSE file.
63 64
64 65
65 const int ACTIVE_ATTRIBUTES = RenderingContext.ACTIVE_ATTRIBUTES; 66 const int ACTIVE_ATTRIBUTES = RenderingContext.ACTIVE_ATTRIBUTES;
66 const int ACTIVE_TEXTURE = RenderingContext.ACTIVE_TEXTURE; 67 const int ACTIVE_TEXTURE = RenderingContext.ACTIVE_TEXTURE;
67 const int ACTIVE_UNIFORMS = RenderingContext.ACTIVE_UNIFORMS; 68 const int ACTIVE_UNIFORMS = RenderingContext.ACTIVE_UNIFORMS;
68 const int ALIASED_LINE_WIDTH_RANGE = RenderingContext.ALIASED_LINE_WIDTH_RANGE; 69 const int ALIASED_LINE_WIDTH_RANGE = RenderingContext.ALIASED_LINE_WIDTH_RANGE;
69 const int ALIASED_POINT_SIZE_RANGE = RenderingContext.ALIASED_POINT_SIZE_RANGE; 70 const int ALIASED_POINT_SIZE_RANGE = RenderingContext.ALIASED_POINT_SIZE_RANGE;
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 // WARNING: Do not edit - generated code. 366 // WARNING: Do not edit - generated code.
366 367
367 368
368 @DocsEditable() 369 @DocsEditable()
369 @DomName('WebGLActiveInfo') 370 @DomName('WebGLActiveInfo')
370 @Unstable() 371 @Unstable()
371 class ActiveInfo extends NativeFieldWrapperClass2 { 372 class ActiveInfo extends NativeFieldWrapperClass2 {
372 // To suppress missing implicit constructor warnings. 373 // To suppress missing implicit constructor warnings.
373 factory ActiveInfo._() { throw new UnsupportedError("Not supported"); } 374 factory ActiveInfo._() { throw new UnsupportedError("Not supported"); }
374 375
376 static ActiveInfo internalCreateActiveInfo() {
377 return new ActiveInfo._internalWrap();
378 }
379
380 JsObject blink_jsObject = null;
381
382 factory ActiveInfo._internalWrap() {
383 return new ActiveInfo._internal();
384 }
385
386 ActiveInfo._internal() { }
387
388 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
389
375 @DomName('WebGLActiveInfo.name') 390 @DomName('WebGLActiveInfo.name')
376 @DocsEditable() 391 @DocsEditable()
377 String get name => _blink.BlinkWebGLActiveInfo.instance.name_Getter_(this); 392 String get name => _blink.BlinkWebGLActiveInfo.instance.name_Getter_(unwrap_js o(this));
378 393
379 @DomName('WebGLActiveInfo.size') 394 @DomName('WebGLActiveInfo.size')
380 @DocsEditable() 395 @DocsEditable()
381 int get size => _blink.BlinkWebGLActiveInfo.instance.size_Getter_(this); 396 int get size => _blink.BlinkWebGLActiveInfo.instance.size_Getter_(unwrap_jso(t his));
382 397
383 @DomName('WebGLActiveInfo.type') 398 @DomName('WebGLActiveInfo.type')
384 @DocsEditable() 399 @DocsEditable()
385 int get type => _blink.BlinkWebGLActiveInfo.instance.type_Getter_(this); 400 int get type => _blink.BlinkWebGLActiveInfo.instance.type_Getter_(unwrap_jso(t his));
386 401
387 } 402 }
388 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 403 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
389 // for details. All rights reserved. Use of this source code is governed by a 404 // for details. All rights reserved. Use of this source code is governed by a
390 // BSD-style license that can be found in the LICENSE file. 405 // BSD-style license that can be found in the LICENSE file.
391 406
392 // WARNING: Do not edit - generated code. 407 // WARNING: Do not edit - generated code.
393 408
394 409
395 @DocsEditable() 410 @DocsEditable()
396 @DomName('ANGLEInstancedArrays') 411 @DomName('ANGLEInstancedArrays')
397 @Experimental() // untriaged 412 @Experimental() // untriaged
398 class AngleInstancedArrays extends NativeFieldWrapperClass2 { 413 class AngleInstancedArrays extends NativeFieldWrapperClass2 {
399 // To suppress missing implicit constructor warnings. 414 // To suppress missing implicit constructor warnings.
400 factory AngleInstancedArrays._() { throw new UnsupportedError("Not supported") ; } 415 factory AngleInstancedArrays._() { throw new UnsupportedError("Not supported") ; }
401 416
417 static AngleInstancedArrays internalCreateAngleInstancedArrays() {
418 return new AngleInstancedArrays._internalWrap();
419 }
420
421 JsObject blink_jsObject = null;
422
423 factory AngleInstancedArrays._internalWrap() {
424 return new AngleInstancedArrays._internal();
425 }
426
427 AngleInstancedArrays._internal() { }
428
429 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
430
402 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE') 431 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE')
403 @DocsEditable() 432 @DocsEditable()
404 @Experimental() // untriaged 433 @Experimental() // untriaged
405 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; 434 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE;
406 435
407 @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE') 436 @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE')
408 @DocsEditable() 437 @DocsEditable()
409 @Experimental() // untriaged 438 @Experimental() // untriaged
410 void drawArraysInstancedAngle(int mode, int first, int count, int primcount) = > _blink.BlinkANGLEInstancedArrays.instance.drawArraysInstancedANGLE_Callback_4_ (this, mode, first, count, primcount); 439 void drawArraysInstancedAngle(int mode, int first, int count, int primcount) = > _blink.BlinkANGLEInstancedArrays.instance.drawArraysInstancedANGLE_Callback_4_ (unwrap_jso(this), mode, first, count, primcount);
411 440
412 @DomName('ANGLEInstancedArrays.drawElementsInstancedANGLE') 441 @DomName('ANGLEInstancedArrays.drawElementsInstancedANGLE')
413 @DocsEditable() 442 @DocsEditable()
414 @Experimental() // untriaged 443 @Experimental() // untriaged
415 void drawElementsInstancedAngle(int mode, int count, int type, int offset, int primcount) => _blink.BlinkANGLEInstancedArrays.instance.drawElementsInstancedAN GLE_Callback_5_(this, mode, count, type, offset, primcount); 444 void drawElementsInstancedAngle(int mode, int count, int type, int offset, int primcount) => _blink.BlinkANGLEInstancedArrays.instance.drawElementsInstancedAN GLE_Callback_5_(unwrap_jso(this), mode, count, type, offset, primcount);
416 445
417 @DomName('ANGLEInstancedArrays.vertexAttribDivisorANGLE') 446 @DomName('ANGLEInstancedArrays.vertexAttribDivisorANGLE')
418 @DocsEditable() 447 @DocsEditable()
419 @Experimental() // untriaged 448 @Experimental() // untriaged
420 void vertexAttribDivisorAngle(int index, int divisor) => _blink.BlinkANGLEInst ancedArrays.instance.vertexAttribDivisorANGLE_Callback_2_(this, index, divisor); 449 void vertexAttribDivisorAngle(int index, int divisor) => _blink.BlinkANGLEInst ancedArrays.instance.vertexAttribDivisorANGLE_Callback_2_(unwrap_jso(this), inde x, divisor);
421 450
422 } 451 }
423 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 452 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
424 // for details. All rights reserved. Use of this source code is governed by a 453 // for details. All rights reserved. Use of this source code is governed by a
425 // BSD-style license that can be found in the LICENSE file. 454 // BSD-style license that can be found in the LICENSE file.
426 455
427 // WARNING: Do not edit - generated code. 456 // WARNING: Do not edit - generated code.
428 457
429 458
430 @DocsEditable() 459 @DocsEditable()
431 @DomName('WebGLBuffer') 460 @DomName('WebGLBuffer')
432 @Unstable() 461 @Unstable()
433 class Buffer extends NativeFieldWrapperClass2 { 462 class Buffer extends NativeFieldWrapperClass2 {
434 // To suppress missing implicit constructor warnings. 463 // To suppress missing implicit constructor warnings.
435 factory Buffer._() { throw new UnsupportedError("Not supported"); } 464 factory Buffer._() { throw new UnsupportedError("Not supported"); }
436 465
466 static Buffer internalCreateBuffer() {
467 return new Buffer._internalWrap();
468 }
469
470 JsObject blink_jsObject = null;
471
472 factory Buffer._internalWrap() {
473 return new Buffer._internal();
474 }
475
476 Buffer._internal() { }
477
478 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
479
437 } 480 }
438 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 481 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
439 // for details. All rights reserved. Use of this source code is governed by a 482 // for details. All rights reserved. Use of this source code is governed by a
440 // BSD-style license that can be found in the LICENSE file. 483 // BSD-style license that can be found in the LICENSE file.
441 484
442 // WARNING: Do not edit - generated code. 485 // WARNING: Do not edit - generated code.
443 486
444 487
445 @DocsEditable() 488 @DocsEditable()
446 @DomName('WebGLCompressedTextureATC') 489 @DomName('WebGLCompressedTextureATC')
447 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc / 490 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc /
448 @Experimental() 491 @Experimental()
449 class CompressedTextureAtc extends NativeFieldWrapperClass2 { 492 class CompressedTextureAtc extends NativeFieldWrapperClass2 {
450 // To suppress missing implicit constructor warnings. 493 // To suppress missing implicit constructor warnings.
451 factory CompressedTextureAtc._() { throw new UnsupportedError("Not supported") ; } 494 factory CompressedTextureAtc._() { throw new UnsupportedError("Not supported") ; }
452 495
496 static CompressedTextureAtc internalCreateCompressedTextureAtc() {
497 return new CompressedTextureAtc._internalWrap();
498 }
499
500 JsObject blink_jsObject = null;
501
502 factory CompressedTextureAtc._internalWrap() {
503 return new CompressedTextureAtc._internal();
504 }
505
506 CompressedTextureAtc._internal() { }
507
508 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
509
453 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL') 510 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL')
454 @DocsEditable() 511 @DocsEditable()
455 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93; 512 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93;
456 513
457 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEB GL') 514 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEB GL')
458 @DocsEditable() 515 @DocsEditable()
459 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE; 516 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE;
460 517
461 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL') 518 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL')
462 @DocsEditable() 519 @DocsEditable()
463 static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92; 520 static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92;
464 521
465 } 522 }
466 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 523 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
467 // for details. All rights reserved. Use of this source code is governed by a 524 // for details. All rights reserved. Use of this source code is governed by a
468 // BSD-style license that can be found in the LICENSE file. 525 // BSD-style license that can be found in the LICENSE file.
469 526
470 // WARNING: Do not edit - generated code. 527 // WARNING: Do not edit - generated code.
471 528
472 529
473 @DocsEditable() 530 @DocsEditable()
474 @DomName('WebGLCompressedTextureETC1') 531 @DomName('WebGLCompressedTextureETC1')
475 @Experimental() // untriaged 532 @Experimental() // untriaged
476 class CompressedTextureETC1 extends NativeFieldWrapperClass2 { 533 class CompressedTextureETC1 extends NativeFieldWrapperClass2 {
477 // To suppress missing implicit constructor warnings. 534 // To suppress missing implicit constructor warnings.
478 factory CompressedTextureETC1._() { throw new UnsupportedError("Not supported" ); } 535 factory CompressedTextureETC1._() { throw new UnsupportedError("Not supported" ); }
479 536
537 static CompressedTextureETC1 internalCreateCompressedTextureETC1() {
538 return new CompressedTextureETC1._internalWrap();
539 }
540
541 JsObject blink_jsObject = null;
542
543 factory CompressedTextureETC1._internalWrap() {
544 return new CompressedTextureETC1._internal();
545 }
546
547 CompressedTextureETC1._internal() { }
548
549 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
550
480 @DomName('WebGLCompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL') 551 @DomName('WebGLCompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL')
481 @DocsEditable() 552 @DocsEditable()
482 @Experimental() // untriaged 553 @Experimental() // untriaged
483 static const int COMPRESSED_RGB_ETC1_WEBGL = 0x8D64; 554 static const int COMPRESSED_RGB_ETC1_WEBGL = 0x8D64;
484 555
485 } 556 }
486 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 557 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
487 // for details. All rights reserved. Use of this source code is governed by a 558 // for details. All rights reserved. Use of this source code is governed by a
488 // BSD-style license that can be found in the LICENSE file. 559 // BSD-style license that can be found in the LICENSE file.
489 560
490 // WARNING: Do not edit - generated code. 561 // WARNING: Do not edit - generated code.
491 562
492 563
493 @DocsEditable() 564 @DocsEditable()
494 @DomName('WebGLCompressedTexturePVRTC') 565 @DomName('WebGLCompressedTexturePVRTC')
495 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvr tc/ 566 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvr tc/
496 @Experimental() // experimental 567 @Experimental() // experimental
497 class CompressedTexturePvrtc extends NativeFieldWrapperClass2 { 568 class CompressedTexturePvrtc extends NativeFieldWrapperClass2 {
498 // To suppress missing implicit constructor warnings. 569 // To suppress missing implicit constructor warnings.
499 factory CompressedTexturePvrtc._() { throw new UnsupportedError("Not supported "); } 570 factory CompressedTexturePvrtc._() { throw new UnsupportedError("Not supported "); }
500 571
572 static CompressedTexturePvrtc internalCreateCompressedTexturePvrtc() {
573 return new CompressedTexturePvrtc._internalWrap();
574 }
575
576 JsObject blink_jsObject = null;
577
578 factory CompressedTexturePvrtc._internalWrap() {
579 return new CompressedTexturePvrtc._internal();
580 }
581
582 CompressedTexturePvrtc._internal() { }
583
584 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
585
501 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG') 586 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG')
502 @DocsEditable() 587 @DocsEditable()
503 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03; 588 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03;
504 589
505 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG') 590 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG')
506 @DocsEditable() 591 @DocsEditable()
507 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02; 592 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02;
508 593
509 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG') 594 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG')
510 @DocsEditable() 595 @DocsEditable()
(...skipping 12 matching lines...) Expand all
523 608
524 609
525 @DocsEditable() 610 @DocsEditable()
526 @DomName('WebGLCompressedTextureS3TC') 611 @DomName('WebGLCompressedTextureS3TC')
527 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3t c/ 612 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3t c/
528 @Experimental() // experimental 613 @Experimental() // experimental
529 class CompressedTextureS3TC extends NativeFieldWrapperClass2 { 614 class CompressedTextureS3TC extends NativeFieldWrapperClass2 {
530 // To suppress missing implicit constructor warnings. 615 // To suppress missing implicit constructor warnings.
531 factory CompressedTextureS3TC._() { throw new UnsupportedError("Not supported" ); } 616 factory CompressedTextureS3TC._() { throw new UnsupportedError("Not supported" ); }
532 617
618 static CompressedTextureS3TC internalCreateCompressedTextureS3TC() {
619 return new CompressedTextureS3TC._internalWrap();
620 }
621
622 JsObject blink_jsObject = null;
623
624 factory CompressedTextureS3TC._internalWrap() {
625 return new CompressedTextureS3TC._internal();
626 }
627
628 CompressedTextureS3TC._internal() { }
629
630 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
631
533 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT') 632 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT')
534 @DocsEditable() 633 @DocsEditable()
535 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; 634 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
536 635
537 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT') 636 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT')
538 @DocsEditable() 637 @DocsEditable()
539 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2; 638 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2;
540 639
541 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT') 640 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT')
542 @DocsEditable() 641 @DocsEditable()
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 * 675 *
577 * If [stencil] is `true`, then the context has a stencil buffer of at least 8 676 * If [stencil] is `true`, then the context has a stencil buffer of at least 8
578 * bits. 677 * bits.
579 */ 678 */
580 @DomName('WebGLContextAttributes') 679 @DomName('WebGLContextAttributes')
581 @Unstable() 680 @Unstable()
582 class ContextAttributes extends NativeFieldWrapperClass2 { 681 class ContextAttributes extends NativeFieldWrapperClass2 {
583 // To suppress missing implicit constructor warnings. 682 // To suppress missing implicit constructor warnings.
584 factory ContextAttributes._() { throw new UnsupportedError("Not supported"); } 683 factory ContextAttributes._() { throw new UnsupportedError("Not supported"); }
585 684
586 @DomName('WebGLContextAttributes.alpha') 685 static ContextAttributes internalCreateContextAttributes() {
587 @DocsEditable() 686 return new ContextAttributes._internalWrap();
588 bool get alpha => _blink.BlinkWebGLContextAttributes.instance.alpha_Getter_(th is); 687 }
688
689 JsObject blink_jsObject = null;
690
691 factory ContextAttributes._internalWrap() {
692 return new ContextAttributes._internal();
693 }
694
695 ContextAttributes._internal() { }
696
697 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
589 698
590 @DomName('WebGLContextAttributes.alpha') 699 @DomName('WebGLContextAttributes.alpha')
591 @DocsEditable() 700 @DocsEditable()
592 void set alpha(bool value) => _blink.BlinkWebGLContextAttributes.instance.alph a_Setter_(this, value); 701 bool get alpha => _blink.BlinkWebGLContextAttributes.instance.alpha_Getter_(un wrap_jso(this));
593 702
703 @DomName('WebGLContextAttributes.alpha')
704 @DocsEditable()
705 void set alpha(bool value) => _blink.BlinkWebGLContextAttributes.instance.alph a_Setter_(unwrap_jso(this), value);
706
594 @DomName('WebGLContextAttributes.antialias') 707 @DomName('WebGLContextAttributes.antialias')
595 @DocsEditable() 708 @DocsEditable()
596 bool get antialias => _blink.BlinkWebGLContextAttributes.instance.antialias_Ge tter_(this); 709 bool get antialias => _blink.BlinkWebGLContextAttributes.instance.antialias_Ge tter_(unwrap_jso(this));
597 710
598 @DomName('WebGLContextAttributes.antialias') 711 @DomName('WebGLContextAttributes.antialias')
599 @DocsEditable() 712 @DocsEditable()
600 void set antialias(bool value) => _blink.BlinkWebGLContextAttributes.instance. antialias_Setter_(this, value); 713 void set antialias(bool value) => _blink.BlinkWebGLContextAttributes.instance. antialias_Setter_(unwrap_jso(this), value);
601 714
602 @DomName('WebGLContextAttributes.depth') 715 @DomName('WebGLContextAttributes.depth')
603 @DocsEditable() 716 @DocsEditable()
604 bool get depth => _blink.BlinkWebGLContextAttributes.instance.depth_Getter_(th is); 717 bool get depth => _blink.BlinkWebGLContextAttributes.instance.depth_Getter_(un wrap_jso(this));
605 718
606 @DomName('WebGLContextAttributes.depth') 719 @DomName('WebGLContextAttributes.depth')
607 @DocsEditable() 720 @DocsEditable()
608 void set depth(bool value) => _blink.BlinkWebGLContextAttributes.instance.dept h_Setter_(this, value); 721 void set depth(bool value) => _blink.BlinkWebGLContextAttributes.instance.dept h_Setter_(unwrap_jso(this), value);
609 722
610 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat') 723 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat')
611 @DocsEditable() 724 @DocsEditable()
612 @Experimental() // untriaged 725 @Experimental() // untriaged
613 bool get failIfMajorPerformanceCaveat => _blink.BlinkWebGLContextAttributes.in stance.failIfMajorPerformanceCaveat_Getter_(this); 726 bool get failIfMajorPerformanceCaveat => _blink.BlinkWebGLContextAttributes.in stance.failIfMajorPerformanceCaveat_Getter_(unwrap_jso(this));
614 727
615 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat') 728 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat')
616 @DocsEditable() 729 @DocsEditable()
617 @Experimental() // untriaged 730 @Experimental() // untriaged
618 void set failIfMajorPerformanceCaveat(bool value) => _blink.BlinkWebGLContextA ttributes.instance.failIfMajorPerformanceCaveat_Setter_(this, value); 731 void set failIfMajorPerformanceCaveat(bool value) => _blink.BlinkWebGLContextA ttributes.instance.failIfMajorPerformanceCaveat_Setter_(unwrap_jso(this), value) ;
619 732
620 @DomName('WebGLContextAttributes.premultipliedAlpha') 733 @DomName('WebGLContextAttributes.premultipliedAlpha')
621 @DocsEditable() 734 @DocsEditable()
622 bool get premultipliedAlpha => _blink.BlinkWebGLContextAttributes.instance.pre multipliedAlpha_Getter_(this); 735 bool get premultipliedAlpha => _blink.BlinkWebGLContextAttributes.instance.pre multipliedAlpha_Getter_(unwrap_jso(this));
623 736
624 @DomName('WebGLContextAttributes.premultipliedAlpha') 737 @DomName('WebGLContextAttributes.premultipliedAlpha')
625 @DocsEditable() 738 @DocsEditable()
626 void set premultipliedAlpha(bool value) => _blink.BlinkWebGLContextAttributes. instance.premultipliedAlpha_Setter_(this, value); 739 void set premultipliedAlpha(bool value) => _blink.BlinkWebGLContextAttributes. instance.premultipliedAlpha_Setter_(unwrap_jso(this), value);
627 740
628 @DomName('WebGLContextAttributes.preserveDrawingBuffer') 741 @DomName('WebGLContextAttributes.preserveDrawingBuffer')
629 @DocsEditable() 742 @DocsEditable()
630 bool get preserveDrawingBuffer => _blink.BlinkWebGLContextAttributes.instance. preserveDrawingBuffer_Getter_(this); 743 bool get preserveDrawingBuffer => _blink.BlinkWebGLContextAttributes.instance. preserveDrawingBuffer_Getter_(unwrap_jso(this));
631 744
632 @DomName('WebGLContextAttributes.preserveDrawingBuffer') 745 @DomName('WebGLContextAttributes.preserveDrawingBuffer')
633 @DocsEditable() 746 @DocsEditable()
634 void set preserveDrawingBuffer(bool value) => _blink.BlinkWebGLContextAttribut es.instance.preserveDrawingBuffer_Setter_(this, value); 747 void set preserveDrawingBuffer(bool value) => _blink.BlinkWebGLContextAttribut es.instance.preserveDrawingBuffer_Setter_(unwrap_jso(this), value);
635 748
636 @DomName('WebGLContextAttributes.stencil') 749 @DomName('WebGLContextAttributes.stencil')
637 @DocsEditable() 750 @DocsEditable()
638 bool get stencil => _blink.BlinkWebGLContextAttributes.instance.stencil_Getter _(this); 751 bool get stencil => _blink.BlinkWebGLContextAttributes.instance.stencil_Getter _(unwrap_jso(this));
639 752
640 @DomName('WebGLContextAttributes.stencil') 753 @DomName('WebGLContextAttributes.stencil')
641 @DocsEditable() 754 @DocsEditable()
642 void set stencil(bool value) => _blink.BlinkWebGLContextAttributes.instance.st encil_Setter_(this, value); 755 void set stencil(bool value) => _blink.BlinkWebGLContextAttributes.instance.st encil_Setter_(unwrap_jso(this), value);
643 756
644 } 757 }
645 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 758 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
646 // for details. All rights reserved. Use of this source code is governed by a 759 // for details. All rights reserved. Use of this source code is governed by a
647 // BSD-style license that can be found in the LICENSE file. 760 // BSD-style license that can be found in the LICENSE file.
648 761
649 // WARNING: Do not edit - generated code. 762 // WARNING: Do not edit - generated code.
650 763
651 764
652 @DocsEditable() 765 @DocsEditable()
653 @DomName('WebGLContextEvent') 766 @DomName('WebGLContextEvent')
654 @Unstable() 767 @Unstable()
655 class ContextEvent extends Event { 768 class ContextEvent extends Event {
656 // To suppress missing implicit constructor warnings. 769 // To suppress missing implicit constructor warnings.
657 factory ContextEvent._() { throw new UnsupportedError("Not supported"); } 770 factory ContextEvent._() { throw new UnsupportedError("Not supported"); }
658 771
772
773 static ContextEvent internalCreateContextEvent() {
774 return new ContextEvent._internalWrap();
775 }
776
777 factory ContextEvent._internalWrap() {
778 return new ContextEvent._internal();
779 }
780
781 ContextEvent._internal() : super._internal();
782
783
659 @DomName('WebGLContextEvent.statusMessage') 784 @DomName('WebGLContextEvent.statusMessage')
660 @DocsEditable() 785 @DocsEditable()
661 String get statusMessage => _blink.BlinkWebGLContextEvent.instance.statusMessa ge_Getter_(this); 786 String get statusMessage => _blink.BlinkWebGLContextEvent.instance.statusMessa ge_Getter_(unwrap_jso(this));
662 787
663 } 788 }
664 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 789 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
665 // for details. All rights reserved. Use of this source code is governed by a 790 // for details. All rights reserved. Use of this source code is governed by a
666 // BSD-style license that can be found in the LICENSE file. 791 // BSD-style license that can be found in the LICENSE file.
667 792
668 // WARNING: Do not edit - generated code. 793 // WARNING: Do not edit - generated code.
669 794
670 795
671 @DocsEditable() 796 @DocsEditable()
672 @DomName('WebGLDebugRendererInfo') 797 @DomName('WebGLDebugRendererInfo')
673 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/ 798 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/
674 @Experimental() // experimental 799 @Experimental() // experimental
675 class DebugRendererInfo extends NativeFieldWrapperClass2 { 800 class DebugRendererInfo extends NativeFieldWrapperClass2 {
676 // To suppress missing implicit constructor warnings. 801 // To suppress missing implicit constructor warnings.
677 factory DebugRendererInfo._() { throw new UnsupportedError("Not supported"); } 802 factory DebugRendererInfo._() { throw new UnsupportedError("Not supported"); }
678 803
804 static DebugRendererInfo internalCreateDebugRendererInfo() {
805 return new DebugRendererInfo._internalWrap();
806 }
807
808 JsObject blink_jsObject = null;
809
810 factory DebugRendererInfo._internalWrap() {
811 return new DebugRendererInfo._internal();
812 }
813
814 DebugRendererInfo._internal() { }
815
816 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
817
679 @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL') 818 @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL')
680 @DocsEditable() 819 @DocsEditable()
681 static const int UNMASKED_RENDERER_WEBGL = 0x9246; 820 static const int UNMASKED_RENDERER_WEBGL = 0x9246;
682 821
683 @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL') 822 @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL')
684 @DocsEditable() 823 @DocsEditable()
685 static const int UNMASKED_VENDOR_WEBGL = 0x9245; 824 static const int UNMASKED_VENDOR_WEBGL = 0x9245;
686 825
687 } 826 }
688 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 827 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
689 // for details. All rights reserved. Use of this source code is governed by a 828 // for details. All rights reserved. Use of this source code is governed by a
690 // BSD-style license that can be found in the LICENSE file. 829 // BSD-style license that can be found in the LICENSE file.
691 830
692 // WARNING: Do not edit - generated code. 831 // WARNING: Do not edit - generated code.
693 832
694 833
695 @DocsEditable() 834 @DocsEditable()
696 @DomName('WebGLDebugShaders') 835 @DomName('WebGLDebugShaders')
697 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/ 836 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/
698 @Experimental() // experimental 837 @Experimental() // experimental
699 class DebugShaders extends NativeFieldWrapperClass2 { 838 class DebugShaders extends NativeFieldWrapperClass2 {
700 // To suppress missing implicit constructor warnings. 839 // To suppress missing implicit constructor warnings.
701 factory DebugShaders._() { throw new UnsupportedError("Not supported"); } 840 factory DebugShaders._() { throw new UnsupportedError("Not supported"); }
702 841
842 static DebugShaders internalCreateDebugShaders() {
843 return new DebugShaders._internalWrap();
844 }
845
846 JsObject blink_jsObject = null;
847
848 factory DebugShaders._internalWrap() {
849 return new DebugShaders._internal();
850 }
851
852 DebugShaders._internal() { }
853
854 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
855
703 @DomName('WebGLDebugShaders.getTranslatedShaderSource') 856 @DomName('WebGLDebugShaders.getTranslatedShaderSource')
704 @DocsEditable() 857 @DocsEditable()
705 String getTranslatedShaderSource(Shader shader) => _blink.BlinkWebGLDebugShade rs.instance.getTranslatedShaderSource_Callback_1_(this, shader); 858 String getTranslatedShaderSource(Shader shader) => _blink.BlinkWebGLDebugShade rs.instance.getTranslatedShaderSource_Callback_1_(unwrap_jso(this), unwrap_jso(s hader));
706 859
707 } 860 }
708 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 861 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
709 // for details. All rights reserved. Use of this source code is governed by a 862 // for details. All rights reserved. Use of this source code is governed by a
710 // BSD-style license that can be found in the LICENSE file. 863 // BSD-style license that can be found in the LICENSE file.
711 864
712 // WARNING: Do not edit - generated code. 865 // WARNING: Do not edit - generated code.
713 866
714 867
715 @DocsEditable() 868 @DocsEditable()
716 @DomName('WebGLDepthTexture') 869 @DomName('WebGLDepthTexture')
717 // http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/ 870 // http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/
718 @Experimental() // experimental 871 @Experimental() // experimental
719 class DepthTexture extends NativeFieldWrapperClass2 { 872 class DepthTexture extends NativeFieldWrapperClass2 {
720 // To suppress missing implicit constructor warnings. 873 // To suppress missing implicit constructor warnings.
721 factory DepthTexture._() { throw new UnsupportedError("Not supported"); } 874 factory DepthTexture._() { throw new UnsupportedError("Not supported"); }
722 875
876 static DepthTexture internalCreateDepthTexture() {
877 return new DepthTexture._internalWrap();
878 }
879
880 JsObject blink_jsObject = null;
881
882 factory DepthTexture._internalWrap() {
883 return new DepthTexture._internal();
884 }
885
886 DepthTexture._internal() { }
887
888 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
889
723 @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL') 890 @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL')
724 @DocsEditable() 891 @DocsEditable()
725 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA; 892 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA;
726 893
727 } 894 }
728 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 895 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
729 // for details. All rights reserved. Use of this source code is governed by a 896 // for details. All rights reserved. Use of this source code is governed by a
730 // BSD-style license that can be found in the LICENSE file. 897 // BSD-style license that can be found in the LICENSE file.
731 898
732 // WARNING: Do not edit - generated code. 899 // WARNING: Do not edit - generated code.
733 900
734 901
735 @DocsEditable() 902 @DocsEditable()
736 @DomName('WebGLDrawBuffers') 903 @DomName('WebGLDrawBuffers')
737 // http://www.khronos.org/registry/webgl/specs/latest/ 904 // http://www.khronos.org/registry/webgl/specs/latest/
738 @Experimental() // stable 905 @Experimental() // stable
739 class DrawBuffers extends NativeFieldWrapperClass2 { 906 class DrawBuffers extends NativeFieldWrapperClass2 {
740 // To suppress missing implicit constructor warnings. 907 // To suppress missing implicit constructor warnings.
741 factory DrawBuffers._() { throw new UnsupportedError("Not supported"); } 908 factory DrawBuffers._() { throw new UnsupportedError("Not supported"); }
742 909
910 static DrawBuffers internalCreateDrawBuffers() {
911 return new DrawBuffers._internalWrap();
912 }
913
914 JsObject blink_jsObject = null;
915
916 factory DrawBuffers._internalWrap() {
917 return new DrawBuffers._internal();
918 }
919
920 DrawBuffers._internal() { }
921
922 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
923
743 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT0_WEBGL') 924 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT0_WEBGL')
744 @DocsEditable() 925 @DocsEditable()
745 static const int COLOR_ATTACHMENT0_WEBGL = 0x8CE0; 926 static const int COLOR_ATTACHMENT0_WEBGL = 0x8CE0;
746 927
747 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT10_WEBGL') 928 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT10_WEBGL')
748 @DocsEditable() 929 @DocsEditable()
749 static const int COLOR_ATTACHMENT10_WEBGL = 0x8CEA; 930 static const int COLOR_ATTACHMENT10_WEBGL = 0x8CEA;
750 931
751 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT11_WEBGL') 932 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT11_WEBGL')
752 @DocsEditable() 933 @DocsEditable()
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
871 @DomName('WebGLDrawBuffers.MAX_COLOR_ATTACHMENTS_WEBGL') 1052 @DomName('WebGLDrawBuffers.MAX_COLOR_ATTACHMENTS_WEBGL')
872 @DocsEditable() 1053 @DocsEditable()
873 static const int MAX_COLOR_ATTACHMENTS_WEBGL = 0x8CDF; 1054 static const int MAX_COLOR_ATTACHMENTS_WEBGL = 0x8CDF;
874 1055
875 @DomName('WebGLDrawBuffers.MAX_DRAW_BUFFERS_WEBGL') 1056 @DomName('WebGLDrawBuffers.MAX_DRAW_BUFFERS_WEBGL')
876 @DocsEditable() 1057 @DocsEditable()
877 static const int MAX_DRAW_BUFFERS_WEBGL = 0x8824; 1058 static const int MAX_DRAW_BUFFERS_WEBGL = 0x8824;
878 1059
879 @DomName('WebGLDrawBuffers.drawBuffersWEBGL') 1060 @DomName('WebGLDrawBuffers.drawBuffersWEBGL')
880 @DocsEditable() 1061 @DocsEditable()
881 void drawBuffersWebgl(List<int> buffers) => _blink.BlinkWebGLDrawBuffers.insta nce.drawBuffersWEBGL_Callback_1_(this, buffers); 1062 void drawBuffersWebgl(List<int> buffers) => _blink.BlinkWebGLDrawBuffers.insta nce.drawBuffersWEBGL_Callback_1_(unwrap_jso(this), buffers);
882 1063
883 } 1064 }
884 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1065 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
885 // for details. All rights reserved. Use of this source code is governed by a 1066 // for details. All rights reserved. Use of this source code is governed by a
886 // BSD-style license that can be found in the LICENSE file. 1067 // BSD-style license that can be found in the LICENSE file.
887 1068
888 // WARNING: Do not edit - generated code. 1069 // WARNING: Do not edit - generated code.
889 1070
890 1071
891 @DocsEditable() 1072 @DocsEditable()
892 @DomName('EXTBlendMinMax') 1073 @DomName('EXTBlendMinMax')
893 @Experimental() // untriaged 1074 @Experimental() // untriaged
894 class ExtBlendMinMax extends NativeFieldWrapperClass2 { 1075 class ExtBlendMinMax extends NativeFieldWrapperClass2 {
895 // To suppress missing implicit constructor warnings. 1076 // To suppress missing implicit constructor warnings.
896 factory ExtBlendMinMax._() { throw new UnsupportedError("Not supported"); } 1077 factory ExtBlendMinMax._() { throw new UnsupportedError("Not supported"); }
897 1078
1079 static ExtBlendMinMax internalCreateExtBlendMinMax() {
1080 return new ExtBlendMinMax._internalWrap();
1081 }
1082
1083 JsObject blink_jsObject = null;
1084
1085 factory ExtBlendMinMax._internalWrap() {
1086 return new ExtBlendMinMax._internal();
1087 }
1088
1089 ExtBlendMinMax._internal() { }
1090
1091 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1092
898 @DomName('EXTBlendMinMax.MAX_EXT') 1093 @DomName('EXTBlendMinMax.MAX_EXT')
899 @DocsEditable() 1094 @DocsEditable()
900 @Experimental() // untriaged 1095 @Experimental() // untriaged
901 static const int MAX_EXT = 0x8008; 1096 static const int MAX_EXT = 0x8008;
902 1097
903 @DomName('EXTBlendMinMax.MIN_EXT') 1098 @DomName('EXTBlendMinMax.MIN_EXT')
904 @DocsEditable() 1099 @DocsEditable()
905 @Experimental() // untriaged 1100 @Experimental() // untriaged
906 static const int MIN_EXT = 0x8007; 1101 static const int MIN_EXT = 0x8007;
907 1102
908 } 1103 }
909 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1104 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
910 // for details. All rights reserved. Use of this source code is governed by a 1105 // for details. All rights reserved. Use of this source code is governed by a
911 // BSD-style license that can be found in the LICENSE file. 1106 // BSD-style license that can be found in the LICENSE file.
912 1107
913 // WARNING: Do not edit - generated code. 1108 // WARNING: Do not edit - generated code.
914 1109
915 1110
916 @DocsEditable() 1111 @DocsEditable()
917 @DomName('EXTFragDepth') 1112 @DomName('EXTFragDepth')
918 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/ 1113 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/
919 @Experimental() 1114 @Experimental()
920 class ExtFragDepth extends NativeFieldWrapperClass2 { 1115 class ExtFragDepth extends NativeFieldWrapperClass2 {
921 // To suppress missing implicit constructor warnings. 1116 // To suppress missing implicit constructor warnings.
922 factory ExtFragDepth._() { throw new UnsupportedError("Not supported"); } 1117 factory ExtFragDepth._() { throw new UnsupportedError("Not supported"); }
923 1118
1119 static ExtFragDepth internalCreateExtFragDepth() {
1120 return new ExtFragDepth._internalWrap();
1121 }
1122
1123 JsObject blink_jsObject = null;
1124
1125 factory ExtFragDepth._internalWrap() {
1126 return new ExtFragDepth._internal();
1127 }
1128
1129 ExtFragDepth._internal() { }
1130
1131 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1132
924 } 1133 }
925 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1134 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
926 // for details. All rights reserved. Use of this source code is governed by a 1135 // for details. All rights reserved. Use of this source code is governed by a
927 // BSD-style license that can be found in the LICENSE file. 1136 // BSD-style license that can be found in the LICENSE file.
928 1137
929 // WARNING: Do not edit - generated code. 1138 // WARNING: Do not edit - generated code.
930 1139
931 1140
932 @DocsEditable() 1141 @DocsEditable()
933 @DomName('EXTShaderTextureLOD') 1142 @DomName('EXTShaderTextureLOD')
934 @Experimental() // untriaged 1143 @Experimental() // untriaged
935 class ExtShaderTextureLod extends NativeFieldWrapperClass2 { 1144 class ExtShaderTextureLod extends NativeFieldWrapperClass2 {
936 // To suppress missing implicit constructor warnings. 1145 // To suppress missing implicit constructor warnings.
937 factory ExtShaderTextureLod._() { throw new UnsupportedError("Not supported"); } 1146 factory ExtShaderTextureLod._() { throw new UnsupportedError("Not supported"); }
938 1147
1148 static ExtShaderTextureLod internalCreateExtShaderTextureLod() {
1149 return new ExtShaderTextureLod._internalWrap();
1150 }
1151
1152 JsObject blink_jsObject = null;
1153
1154 factory ExtShaderTextureLod._internalWrap() {
1155 return new ExtShaderTextureLod._internal();
1156 }
1157
1158 ExtShaderTextureLod._internal() { }
1159
1160 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1161
939 } 1162 }
940 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1163 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
941 // for details. All rights reserved. Use of this source code is governed by a 1164 // for details. All rights reserved. Use of this source code is governed by a
942 // BSD-style license that can be found in the LICENSE file. 1165 // BSD-style license that can be found in the LICENSE file.
943 1166
944 // WARNING: Do not edit - generated code. 1167 // WARNING: Do not edit - generated code.
945 1168
946 1169
947 @DocsEditable() 1170 @DocsEditable()
948 @DomName('EXTTextureFilterAnisotropic') 1171 @DomName('EXTTextureFilterAnisotropic')
949 // http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotrop ic/ 1172 // http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotrop ic/
950 @Experimental() 1173 @Experimental()
951 class ExtTextureFilterAnisotropic extends NativeFieldWrapperClass2 { 1174 class ExtTextureFilterAnisotropic extends NativeFieldWrapperClass2 {
952 // To suppress missing implicit constructor warnings. 1175 // To suppress missing implicit constructor warnings.
953 factory ExtTextureFilterAnisotropic._() { throw new UnsupportedError("Not supp orted"); } 1176 factory ExtTextureFilterAnisotropic._() { throw new UnsupportedError("Not supp orted"); }
954 1177
1178 static ExtTextureFilterAnisotropic internalCreateExtTextureFilterAnisotropic() {
1179 return new ExtTextureFilterAnisotropic._internalWrap();
1180 }
1181
1182 JsObject blink_jsObject = null;
1183
1184 factory ExtTextureFilterAnisotropic._internalWrap() {
1185 return new ExtTextureFilterAnisotropic._internal();
1186 }
1187
1188 ExtTextureFilterAnisotropic._internal() { }
1189
1190 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1191
955 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT') 1192 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT')
956 @DocsEditable() 1193 @DocsEditable()
957 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; 1194 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;
958 1195
959 @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT') 1196 @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT')
960 @DocsEditable() 1197 @DocsEditable()
961 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; 1198 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE;
962 1199
963 } 1200 }
964 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1201 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
965 // for details. All rights reserved. Use of this source code is governed by a 1202 // for details. All rights reserved. Use of this source code is governed by a
966 // BSD-style license that can be found in the LICENSE file. 1203 // BSD-style license that can be found in the LICENSE file.
967 1204
968 // WARNING: Do not edit - generated code. 1205 // WARNING: Do not edit - generated code.
969 1206
970 1207
971 @DocsEditable() 1208 @DocsEditable()
972 @DomName('WebGLFramebuffer') 1209 @DomName('WebGLFramebuffer')
973 @Unstable() 1210 @Unstable()
974 class Framebuffer extends NativeFieldWrapperClass2 { 1211 class Framebuffer extends NativeFieldWrapperClass2 {
975 // To suppress missing implicit constructor warnings. 1212 // To suppress missing implicit constructor warnings.
976 factory Framebuffer._() { throw new UnsupportedError("Not supported"); } 1213 factory Framebuffer._() { throw new UnsupportedError("Not supported"); }
977 1214
1215 static Framebuffer internalCreateFramebuffer() {
1216 return new Framebuffer._internalWrap();
1217 }
1218
1219 JsObject blink_jsObject = null;
1220
1221 factory Framebuffer._internalWrap() {
1222 return new Framebuffer._internal();
1223 }
1224
1225 Framebuffer._internal() { }
1226
1227 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1228
978 } 1229 }
979 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1230 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
980 // for details. All rights reserved. Use of this source code is governed by a 1231 // for details. All rights reserved. Use of this source code is governed by a
981 // BSD-style license that can be found in the LICENSE file. 1232 // BSD-style license that can be found in the LICENSE file.
982 1233
983 // WARNING: Do not edit - generated code. 1234 // WARNING: Do not edit - generated code.
984 1235
985 1236
986 @DocsEditable() 1237 @DocsEditable()
987 @DomName('WebGLLoseContext') 1238 @DomName('WebGLLoseContext')
988 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/ 1239 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/
989 @Experimental() 1240 @Experimental()
990 class LoseContext extends NativeFieldWrapperClass2 { 1241 class LoseContext extends NativeFieldWrapperClass2 {
991 // To suppress missing implicit constructor warnings. 1242 // To suppress missing implicit constructor warnings.
992 factory LoseContext._() { throw new UnsupportedError("Not supported"); } 1243 factory LoseContext._() { throw new UnsupportedError("Not supported"); }
993 1244
1245 static LoseContext internalCreateLoseContext() {
1246 return new LoseContext._internalWrap();
1247 }
1248
1249 JsObject blink_jsObject = null;
1250
1251 factory LoseContext._internalWrap() {
1252 return new LoseContext._internal();
1253 }
1254
1255 LoseContext._internal() { }
1256
1257 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1258
994 @DomName('WebGLLoseContext.loseContext') 1259 @DomName('WebGLLoseContext.loseContext')
995 @DocsEditable() 1260 @DocsEditable()
996 void loseContext() => _blink.BlinkWebGLLoseContext.instance.loseContext_Callba ck_0_(this); 1261 void loseContext() => _blink.BlinkWebGLLoseContext.instance.loseContext_Callba ck_0_(unwrap_jso(this));
997 1262
998 @DomName('WebGLLoseContext.restoreContext') 1263 @DomName('WebGLLoseContext.restoreContext')
999 @DocsEditable() 1264 @DocsEditable()
1000 void restoreContext() => _blink.BlinkWebGLLoseContext.instance.restoreContext_ Callback_0_(this); 1265 void restoreContext() => _blink.BlinkWebGLLoseContext.instance.restoreContext_ Callback_0_(unwrap_jso(this));
1001 1266
1002 } 1267 }
1003 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1268 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1004 // for details. All rights reserved. Use of this source code is governed by a 1269 // for details. All rights reserved. Use of this source code is governed by a
1005 // BSD-style license that can be found in the LICENSE file. 1270 // BSD-style license that can be found in the LICENSE file.
1006 1271
1007 // WARNING: Do not edit - generated code. 1272 // WARNING: Do not edit - generated code.
1008 1273
1009 1274
1010 @DocsEditable() 1275 @DocsEditable()
1011 @DomName('OESElementIndexUint') 1276 @DomName('OESElementIndexUint')
1012 // http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/ 1277 // http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/
1013 @Experimental() // experimental 1278 @Experimental() // experimental
1014 class OesElementIndexUint extends NativeFieldWrapperClass2 { 1279 class OesElementIndexUint extends NativeFieldWrapperClass2 {
1015 // To suppress missing implicit constructor warnings. 1280 // To suppress missing implicit constructor warnings.
1016 factory OesElementIndexUint._() { throw new UnsupportedError("Not supported"); } 1281 factory OesElementIndexUint._() { throw new UnsupportedError("Not supported"); }
1017 1282
1283 static OesElementIndexUint internalCreateOesElementIndexUint() {
1284 return new OesElementIndexUint._internalWrap();
1285 }
1286
1287 JsObject blink_jsObject = null;
1288
1289 factory OesElementIndexUint._internalWrap() {
1290 return new OesElementIndexUint._internal();
1291 }
1292
1293 OesElementIndexUint._internal() { }
1294
1295 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1296
1018 } 1297 }
1019 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1298 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1020 // for details. All rights reserved. Use of this source code is governed by a 1299 // for details. All rights reserved. Use of this source code is governed by a
1021 // BSD-style license that can be found in the LICENSE file. 1300 // BSD-style license that can be found in the LICENSE file.
1022 1301
1023 // WARNING: Do not edit - generated code. 1302 // WARNING: Do not edit - generated code.
1024 1303
1025 1304
1026 @DocsEditable() 1305 @DocsEditable()
1027 @DomName('OESStandardDerivatives') 1306 @DomName('OESStandardDerivatives')
1028 // http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/ 1307 // http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/
1029 @Experimental() // experimental 1308 @Experimental() // experimental
1030 class OesStandardDerivatives extends NativeFieldWrapperClass2 { 1309 class OesStandardDerivatives extends NativeFieldWrapperClass2 {
1031 // To suppress missing implicit constructor warnings. 1310 // To suppress missing implicit constructor warnings.
1032 factory OesStandardDerivatives._() { throw new UnsupportedError("Not supported "); } 1311 factory OesStandardDerivatives._() { throw new UnsupportedError("Not supported "); }
1033 1312
1313 static OesStandardDerivatives internalCreateOesStandardDerivatives() {
1314 return new OesStandardDerivatives._internalWrap();
1315 }
1316
1317 JsObject blink_jsObject = null;
1318
1319 factory OesStandardDerivatives._internalWrap() {
1320 return new OesStandardDerivatives._internal();
1321 }
1322
1323 OesStandardDerivatives._internal() { }
1324
1325 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1326
1034 @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES') 1327 @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES')
1035 @DocsEditable() 1328 @DocsEditable()
1036 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; 1329 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B;
1037 1330
1038 } 1331 }
1039 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1332 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1040 // for details. All rights reserved. Use of this source code is governed by a 1333 // for details. All rights reserved. Use of this source code is governed by a
1041 // BSD-style license that can be found in the LICENSE file. 1334 // BSD-style license that can be found in the LICENSE file.
1042 1335
1043 // WARNING: Do not edit - generated code. 1336 // WARNING: Do not edit - generated code.
1044 1337
1045 1338
1046 @DocsEditable() 1339 @DocsEditable()
1047 @DomName('OESTextureFloat') 1340 @DomName('OESTextureFloat')
1048 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float/ 1341 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float/
1049 @Experimental() // experimental 1342 @Experimental() // experimental
1050 class OesTextureFloat extends NativeFieldWrapperClass2 { 1343 class OesTextureFloat extends NativeFieldWrapperClass2 {
1051 // To suppress missing implicit constructor warnings. 1344 // To suppress missing implicit constructor warnings.
1052 factory OesTextureFloat._() { throw new UnsupportedError("Not supported"); } 1345 factory OesTextureFloat._() { throw new UnsupportedError("Not supported"); }
1053 1346
1347 static OesTextureFloat internalCreateOesTextureFloat() {
1348 return new OesTextureFloat._internalWrap();
1349 }
1350
1351 JsObject blink_jsObject = null;
1352
1353 factory OesTextureFloat._internalWrap() {
1354 return new OesTextureFloat._internal();
1355 }
1356
1357 OesTextureFloat._internal() { }
1358
1359 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1360
1054 } 1361 }
1055 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1362 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1056 // for details. All rights reserved. Use of this source code is governed by a 1363 // for details. All rights reserved. Use of this source code is governed by a
1057 // BSD-style license that can be found in the LICENSE file. 1364 // BSD-style license that can be found in the LICENSE file.
1058 1365
1059 // WARNING: Do not edit - generated code. 1366 // WARNING: Do not edit - generated code.
1060 1367
1061 1368
1062 @DocsEditable() 1369 @DocsEditable()
1063 @DomName('OESTextureFloatLinear') 1370 @DomName('OESTextureFloatLinear')
1064 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/ 1371 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/
1065 @Experimental() 1372 @Experimental()
1066 class OesTextureFloatLinear extends NativeFieldWrapperClass2 { 1373 class OesTextureFloatLinear extends NativeFieldWrapperClass2 {
1067 // To suppress missing implicit constructor warnings. 1374 // To suppress missing implicit constructor warnings.
1068 factory OesTextureFloatLinear._() { throw new UnsupportedError("Not supported" ); } 1375 factory OesTextureFloatLinear._() { throw new UnsupportedError("Not supported" ); }
1069 1376
1377 static OesTextureFloatLinear internalCreateOesTextureFloatLinear() {
1378 return new OesTextureFloatLinear._internalWrap();
1379 }
1380
1381 JsObject blink_jsObject = null;
1382
1383 factory OesTextureFloatLinear._internalWrap() {
1384 return new OesTextureFloatLinear._internal();
1385 }
1386
1387 OesTextureFloatLinear._internal() { }
1388
1389 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1390
1070 } 1391 }
1071 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1392 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1072 // for details. All rights reserved. Use of this source code is governed by a 1393 // for details. All rights reserved. Use of this source code is governed by a
1073 // BSD-style license that can be found in the LICENSE file. 1394 // BSD-style license that can be found in the LICENSE file.
1074 1395
1075 // WARNING: Do not edit - generated code. 1396 // WARNING: Do not edit - generated code.
1076 1397
1077 1398
1078 @DocsEditable() 1399 @DocsEditable()
1079 @DomName('OESTextureHalfFloat') 1400 @DomName('OESTextureHalfFloat')
1080 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/ 1401 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/
1081 @Experimental() // experimental 1402 @Experimental() // experimental
1082 class OesTextureHalfFloat extends NativeFieldWrapperClass2 { 1403 class OesTextureHalfFloat extends NativeFieldWrapperClass2 {
1083 // To suppress missing implicit constructor warnings. 1404 // To suppress missing implicit constructor warnings.
1084 factory OesTextureHalfFloat._() { throw new UnsupportedError("Not supported"); } 1405 factory OesTextureHalfFloat._() { throw new UnsupportedError("Not supported"); }
1085 1406
1407 static OesTextureHalfFloat internalCreateOesTextureHalfFloat() {
1408 return new OesTextureHalfFloat._internalWrap();
1409 }
1410
1411 JsObject blink_jsObject = null;
1412
1413 factory OesTextureHalfFloat._internalWrap() {
1414 return new OesTextureHalfFloat._internal();
1415 }
1416
1417 OesTextureHalfFloat._internal() { }
1418
1419 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1420
1086 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES') 1421 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES')
1087 @DocsEditable() 1422 @DocsEditable()
1088 static const int HALF_FLOAT_OES = 0x8D61; 1423 static const int HALF_FLOAT_OES = 0x8D61;
1089 1424
1090 } 1425 }
1091 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1426 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1092 // for details. All rights reserved. Use of this source code is governed by a 1427 // for details. All rights reserved. Use of this source code is governed by a
1093 // BSD-style license that can be found in the LICENSE file. 1428 // BSD-style license that can be found in the LICENSE file.
1094 1429
1095 // WARNING: Do not edit - generated code. 1430 // WARNING: Do not edit - generated code.
1096 1431
1097 1432
1098 @DocsEditable() 1433 @DocsEditable()
1099 @DomName('OESTextureHalfFloatLinear') 1434 @DomName('OESTextureHalfFloatLinear')
1100 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float_linea r/ 1435 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float_linea r/
1101 @Experimental() 1436 @Experimental()
1102 class OesTextureHalfFloatLinear extends NativeFieldWrapperClass2 { 1437 class OesTextureHalfFloatLinear extends NativeFieldWrapperClass2 {
1103 // To suppress missing implicit constructor warnings. 1438 // To suppress missing implicit constructor warnings.
1104 factory OesTextureHalfFloatLinear._() { throw new UnsupportedError("Not suppor ted"); } 1439 factory OesTextureHalfFloatLinear._() { throw new UnsupportedError("Not suppor ted"); }
1105 1440
1441 static OesTextureHalfFloatLinear internalCreateOesTextureHalfFloatLinear() {
1442 return new OesTextureHalfFloatLinear._internalWrap();
1443 }
1444
1445 JsObject blink_jsObject = null;
1446
1447 factory OesTextureHalfFloatLinear._internalWrap() {
1448 return new OesTextureHalfFloatLinear._internal();
1449 }
1450
1451 OesTextureHalfFloatLinear._internal() { }
1452
1453 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1454
1106 } 1455 }
1107 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1456 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1108 // for details. All rights reserved. Use of this source code is governed by a 1457 // for details. All rights reserved. Use of this source code is governed by a
1109 // BSD-style license that can be found in the LICENSE file. 1458 // BSD-style license that can be found in the LICENSE file.
1110 1459
1111 // WARNING: Do not edit - generated code. 1460 // WARNING: Do not edit - generated code.
1112 1461
1113 1462
1114 @DocsEditable() 1463 @DocsEditable()
1115 @DomName('OESVertexArrayObject') 1464 @DomName('OESVertexArrayObject')
1116 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ 1465 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
1117 @Experimental() // experimental 1466 @Experimental() // experimental
1118 class OesVertexArrayObject extends NativeFieldWrapperClass2 { 1467 class OesVertexArrayObject extends NativeFieldWrapperClass2 {
1119 // To suppress missing implicit constructor warnings. 1468 // To suppress missing implicit constructor warnings.
1120 factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported") ; } 1469 factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported") ; }
1121 1470
1471 static OesVertexArrayObject internalCreateOesVertexArrayObject() {
1472 return new OesVertexArrayObject._internalWrap();
1473 }
1474
1475 JsObject blink_jsObject = null;
1476
1477 factory OesVertexArrayObject._internalWrap() {
1478 return new OesVertexArrayObject._internal();
1479 }
1480
1481 OesVertexArrayObject._internal() { }
1482
1483 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1484
1122 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') 1485 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES')
1123 @DocsEditable() 1486 @DocsEditable()
1124 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; 1487 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5;
1125 1488
1126 @DomName('OESVertexArrayObject.bindVertexArrayOES') 1489 @DomName('OESVertexArrayObject.bindVertexArrayOES')
1127 @DocsEditable() 1490 @DocsEditable()
1128 void bindVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertexAr rayObject.instance.bindVertexArrayOES_Callback_1_(this, arrayObject); 1491 void bindVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertexAr rayObject.instance.bindVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_jso(a rrayObject));
1129 1492
1130 @DomName('OESVertexArrayObject.createVertexArrayOES') 1493 @DomName('OESVertexArrayObject.createVertexArrayOES')
1131 @DocsEditable() 1494 @DocsEditable()
1132 VertexArrayObject createVertexArray() => _blink.BlinkOESVertexArrayObject.inst ance.createVertexArrayOES_Callback_0_(this); 1495 VertexArrayObject createVertexArray() => _blink.BlinkOESVertexArrayObject.inst ance.createVertexArrayOES_Callback_0_(unwrap_jso(this));
1133 1496
1134 @DomName('OESVertexArrayObject.deleteVertexArrayOES') 1497 @DomName('OESVertexArrayObject.deleteVertexArrayOES')
1135 @DocsEditable() 1498 @DocsEditable()
1136 void deleteVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertex ArrayObject.instance.deleteVertexArrayOES_Callback_1_(this, arrayObject); 1499 void deleteVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertex ArrayObject.instance.deleteVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_j so(arrayObject));
1137 1500
1138 @DomName('OESVertexArrayObject.isVertexArrayOES') 1501 @DomName('OESVertexArrayObject.isVertexArrayOES')
1139 @DocsEditable() 1502 @DocsEditable()
1140 bool isVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertexArra yObject.instance.isVertexArrayOES_Callback_1_(this, arrayObject); 1503 bool isVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertexArra yObject.instance.isVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_jso(array Object));
1141 1504
1142 } 1505 }
1143 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1506 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1144 // for details. All rights reserved. Use of this source code is governed by a 1507 // for details. All rights reserved. Use of this source code is governed by a
1145 // BSD-style license that can be found in the LICENSE file. 1508 // BSD-style license that can be found in the LICENSE file.
1146 1509
1147 // WARNING: Do not edit - generated code. 1510 // WARNING: Do not edit - generated code.
1148 1511
1149 1512
1150 @DocsEditable() 1513 @DocsEditable()
1151 @DomName('WebGLProgram') 1514 @DomName('WebGLProgram')
1152 @Unstable() 1515 @Unstable()
1153 class Program extends NativeFieldWrapperClass2 { 1516 class Program extends NativeFieldWrapperClass2 {
1154 // To suppress missing implicit constructor warnings. 1517 // To suppress missing implicit constructor warnings.
1155 factory Program._() { throw new UnsupportedError("Not supported"); } 1518 factory Program._() { throw new UnsupportedError("Not supported"); }
1156 1519
1520 static Program internalCreateProgram() {
1521 return new Program._internalWrap();
1522 }
1523
1524 JsObject blink_jsObject = null;
1525
1526 factory Program._internalWrap() {
1527 return new Program._internal();
1528 }
1529
1530 Program._internal() { }
1531
1532 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1533
1157 } 1534 }
1158 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1535 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1159 // for details. All rights reserved. Use of this source code is governed by a 1536 // for details. All rights reserved. Use of this source code is governed by a
1160 // BSD-style license that can be found in the LICENSE file. 1537 // BSD-style license that can be found in the LICENSE file.
1161 1538
1162 // WARNING: Do not edit - generated code. 1539 // WARNING: Do not edit - generated code.
1163 1540
1164 1541
1165 @DocsEditable() 1542 @DocsEditable()
1166 @DomName('WebGLRenderbuffer') 1543 @DomName('WebGLRenderbuffer')
1167 @Unstable() 1544 @Unstable()
1168 class Renderbuffer extends NativeFieldWrapperClass2 { 1545 class Renderbuffer extends NativeFieldWrapperClass2 {
1169 // To suppress missing implicit constructor warnings. 1546 // To suppress missing implicit constructor warnings.
1170 factory Renderbuffer._() { throw new UnsupportedError("Not supported"); } 1547 factory Renderbuffer._() { throw new UnsupportedError("Not supported"); }
1171 1548
1549 static Renderbuffer internalCreateRenderbuffer() {
1550 return new Renderbuffer._internalWrap();
1551 }
1552
1553 JsObject blink_jsObject = null;
1554
1555 factory Renderbuffer._internalWrap() {
1556 return new Renderbuffer._internal();
1557 }
1558
1559 Renderbuffer._internal() { }
1560
1561 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1562
1172 } 1563 }
1173 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1564 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
1174 // for details. All rights reserved. Use of this source code is governed by a 1565 // for details. All rights reserved. Use of this source code is governed by a
1175 // BSD-style license that can be found in the LICENSE file. 1566 // BSD-style license that can be found in the LICENSE file.
1176 1567
1177 1568
1178 @DomName('WebGLRenderingContext') 1569 @DomName('WebGLRenderingContext')
1179 @SupportedBrowser(SupportedBrowser.CHROME) 1570 @SupportedBrowser(SupportedBrowser.CHROME)
1180 @SupportedBrowser(SupportedBrowser.FIREFOX) 1571 @SupportedBrowser(SupportedBrowser.FIREFOX)
1181 @Experimental() 1572 @Experimental()
1182 @Unstable() 1573 @Unstable()
1183 class RenderingContext extends NativeFieldWrapperClass2 implements CanvasRenderi ngContext { 1574 class RenderingContext extends NativeFieldWrapperClass2 implements CanvasRenderi ngContext {
1184 // To suppress missing implicit constructor warnings. 1575 // To suppress missing implicit constructor warnings.
1185 factory RenderingContext._() { throw new UnsupportedError("Not supported"); } 1576 factory RenderingContext._() { throw new UnsupportedError("Not supported"); }
1186 1577
1578 static RenderingContext internalCreateRenderingContext() {
1579 return new RenderingContext._internalWrap();
1580 }
1581
1582 JsObject blink_jsObject = null;
1583
1584 factory RenderingContext._internalWrap() {
1585 return new RenderingContext._internal();
1586 }
1587
1588 RenderingContext._internal() { }
1589
1590 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1591
1187 /// Checks if this type is supported on the current platform. 1592 /// Checks if this type is supported on the current platform.
1188 static bool get supported => true; 1593 static bool get supported => true;
1189 1594
1190 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES') 1595 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES')
1191 @DocsEditable() 1596 @DocsEditable()
1192 static const int ACTIVE_ATTRIBUTES = 0x8B89; 1597 static const int ACTIVE_ATTRIBUTES = 0x8B89;
1193 1598
1194 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE') 1599 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE')
1195 @DocsEditable() 1600 @DocsEditable()
1196 static const int ACTIVE_TEXTURE = 0x84E0; 1601 static const int ACTIVE_TEXTURE = 0x84E0;
(...skipping 1176 matching lines...) Expand 10 before | Expand all | Expand 10 after
2373 @DocsEditable() 2778 @DocsEditable()
2374 static const int VIEWPORT = 0x0BA2; 2779 static const int VIEWPORT = 0x0BA2;
2375 2780
2376 @DomName('WebGLRenderingContext.ZERO') 2781 @DomName('WebGLRenderingContext.ZERO')
2377 @DocsEditable() 2782 @DocsEditable()
2378 static const int ZERO = 0; 2783 static const int ZERO = 0;
2379 2784
2380 @DomName('WebGLRenderingContext.canvas') 2785 @DomName('WebGLRenderingContext.canvas')
2381 @DocsEditable() 2786 @DocsEditable()
2382 @Experimental() // untriaged 2787 @Experimental() // untriaged
2383 CanvasElement get canvas => _blink.BlinkWebGLRenderingContext.instance.canvas_ Getter_(this); 2788 CanvasElement get canvas => wrap_jso(_blink.BlinkWebGLRenderingContext.instanc e.canvas_Getter_(unwrap_jso(this)));
2384 2789
2385 @DomName('WebGLRenderingContext.drawingBufferHeight') 2790 @DomName('WebGLRenderingContext.drawingBufferHeight')
2386 @DocsEditable() 2791 @DocsEditable()
2387 int get drawingBufferHeight => _blink.BlinkWebGLRenderingContext.instance.draw ingBufferHeight_Getter_(this); 2792 int get drawingBufferHeight => _blink.BlinkWebGLRenderingContext.instance.draw ingBufferHeight_Getter_(unwrap_jso(this));
2388 2793
2389 @DomName('WebGLRenderingContext.drawingBufferWidth') 2794 @DomName('WebGLRenderingContext.drawingBufferWidth')
2390 @DocsEditable() 2795 @DocsEditable()
2391 int get drawingBufferWidth => _blink.BlinkWebGLRenderingContext.instance.drawi ngBufferWidth_Getter_(this); 2796 int get drawingBufferWidth => _blink.BlinkWebGLRenderingContext.instance.drawi ngBufferWidth_Getter_(unwrap_jso(this));
2392 2797
2393 @DomName('WebGLRenderingContext.activeTexture') 2798 @DomName('WebGLRenderingContext.activeTexture')
2394 @DocsEditable() 2799 @DocsEditable()
2395 void activeTexture(int texture) => _blink.BlinkWebGLRenderingContext.instance. activeTexture_Callback_1_(this, texture); 2800 void activeTexture(int texture) => _blink.BlinkWebGLRenderingContext.instance. activeTexture_Callback_1_(unwrap_jso(this), texture);
2396 2801
2397 @DomName('WebGLRenderingContext.attachShader') 2802 @DomName('WebGLRenderingContext.attachShader')
2398 @DocsEditable() 2803 @DocsEditable()
2399 void attachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderin gContext.instance.attachShader_Callback_2_(this, program, shader); 2804 void attachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderin gContext.instance.attachShader_Callback_2_(unwrap_jso(this), unwrap_jso(program) , unwrap_jso(shader));
2400 2805
2401 @DomName('WebGLRenderingContext.bindAttribLocation') 2806 @DomName('WebGLRenderingContext.bindAttribLocation')
2402 @DocsEditable() 2807 @DocsEditable()
2403 void bindAttribLocation(Program program, int index, String name) => _blink.Bli nkWebGLRenderingContext.instance.bindAttribLocation_Callback_3_(this, program, i ndex, name); 2808 void bindAttribLocation(Program program, int index, String name) => _blink.Bli nkWebGLRenderingContext.instance.bindAttribLocation_Callback_3_(unwrap_jso(this) , unwrap_jso(program), index, name);
2404 2809
2405 @DomName('WebGLRenderingContext.bindBuffer') 2810 @DomName('WebGLRenderingContext.bindBuffer')
2406 @DocsEditable() 2811 @DocsEditable()
2407 void bindBuffer(int target, Buffer buffer) => _blink.BlinkWebGLRenderingContex t.instance.bindBuffer_Callback_2_(this, target, buffer); 2812 void bindBuffer(int target, Buffer buffer) => _blink.BlinkWebGLRenderingContex t.instance.bindBuffer_Callback_2_(unwrap_jso(this), target, unwrap_jso(buffer));
2408 2813
2409 @DomName('WebGLRenderingContext.bindFramebuffer') 2814 @DomName('WebGLRenderingContext.bindFramebuffer')
2410 @DocsEditable() 2815 @DocsEditable()
2411 void bindFramebuffer(int target, Framebuffer framebuffer) => _blink.BlinkWebGL RenderingContext.instance.bindFramebuffer_Callback_2_(this, target, framebuffer) ; 2816 void bindFramebuffer(int target, Framebuffer framebuffer) => _blink.BlinkWebGL RenderingContext.instance.bindFramebuffer_Callback_2_(unwrap_jso(this), target, unwrap_jso(framebuffer));
2412 2817
2413 @DomName('WebGLRenderingContext.bindRenderbuffer') 2818 @DomName('WebGLRenderingContext.bindRenderbuffer')
2414 @DocsEditable() 2819 @DocsEditable()
2415 void bindRenderbuffer(int target, Renderbuffer renderbuffer) => _blink.BlinkWe bGLRenderingContext.instance.bindRenderbuffer_Callback_2_(this, target, renderbu ffer); 2820 void bindRenderbuffer(int target, Renderbuffer renderbuffer) => _blink.BlinkWe bGLRenderingContext.instance.bindRenderbuffer_Callback_2_(unwrap_jso(this), targ et, unwrap_jso(renderbuffer));
2416 2821
2417 @DomName('WebGLRenderingContext.bindTexture') 2822 @DomName('WebGLRenderingContext.bindTexture')
2418 @DocsEditable() 2823 @DocsEditable()
2419 void bindTexture(int target, Texture texture) => _blink.BlinkWebGLRenderingCon text.instance.bindTexture_Callback_2_(this, target, texture); 2824 void bindTexture(int target, Texture texture) => _blink.BlinkWebGLRenderingCon text.instance.bindTexture_Callback_2_(unwrap_jso(this), target, unwrap_jso(textu re));
2420 2825
2421 @DomName('WebGLRenderingContext.blendColor') 2826 @DomName('WebGLRenderingContext.blendColor')
2422 @DocsEditable() 2827 @DocsEditable()
2423 void blendColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGLR enderingContext.instance.blendColor_Callback_4_(this, red, green, blue, alpha); 2828 void blendColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGLR enderingContext.instance.blendColor_Callback_4_(unwrap_jso(this), red, green, bl ue, alpha);
2424 2829
2425 @DomName('WebGLRenderingContext.blendEquation') 2830 @DomName('WebGLRenderingContext.blendEquation')
2426 @DocsEditable() 2831 @DocsEditable()
2427 void blendEquation(int mode) => _blink.BlinkWebGLRenderingContext.instance.ble ndEquation_Callback_1_(this, mode); 2832 void blendEquation(int mode) => _blink.BlinkWebGLRenderingContext.instance.ble ndEquation_Callback_1_(unwrap_jso(this), mode);
2428 2833
2429 @DomName('WebGLRenderingContext.blendEquationSeparate') 2834 @DomName('WebGLRenderingContext.blendEquationSeparate')
2430 @DocsEditable() 2835 @DocsEditable()
2431 void blendEquationSeparate(int modeRGB, int modeAlpha) => _blink.BlinkWebGLRen deringContext.instance.blendEquationSeparate_Callback_2_(this, modeRGB, modeAlph a); 2836 void blendEquationSeparate(int modeRGB, int modeAlpha) => _blink.BlinkWebGLRen deringContext.instance.blendEquationSeparate_Callback_2_(unwrap_jso(this), modeR GB, modeAlpha);
2432 2837
2433 @DomName('WebGLRenderingContext.blendFunc') 2838 @DomName('WebGLRenderingContext.blendFunc')
2434 @DocsEditable() 2839 @DocsEditable()
2435 void blendFunc(int sfactor, int dfactor) => _blink.BlinkWebGLRenderingContext. instance.blendFunc_Callback_2_(this, sfactor, dfactor); 2840 void blendFunc(int sfactor, int dfactor) => _blink.BlinkWebGLRenderingContext. instance.blendFunc_Callback_2_(unwrap_jso(this), sfactor, dfactor);
2436 2841
2437 @DomName('WebGLRenderingContext.blendFuncSeparate') 2842 @DomName('WebGLRenderingContext.blendFuncSeparate')
2438 @DocsEditable() 2843 @DocsEditable()
2439 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) => _blink.BlinkWebGLRenderingContext.instance.blendFuncSeparate_Callback_4_(this, s rcRGB, dstRGB, srcAlpha, dstAlpha); 2844 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) => _blink.BlinkWebGLRenderingContext.instance.blendFuncSeparate_Callback_4_(unwrap_ jso(this), srcRGB, dstRGB, srcAlpha, dstAlpha);
2440 2845
2441 @DomName('WebGLRenderingContext.bufferByteData') 2846 @DomName('WebGLRenderingContext.bufferByteData')
2442 @DocsEditable() 2847 @DocsEditable()
2443 void bufferByteData(int target, ByteBuffer data, int usage) => _blink.BlinkWeb GLRenderingContext.instance.bufferData_Callback_3_(this, target, data, usage); 2848 void bufferByteData(int target, ByteBuffer data, int usage) => _blink.BlinkWeb GLRenderingContext.instance.bufferData_Callback_3_(unwrap_jso(this), target, dat a, usage);
2444 2849
2445 void bufferData(int target, data_OR_size, int usage) { 2850 void bufferData(int target, data_OR_size, int usage) {
2446 if ((usage is int) && (data_OR_size is int) && (target is int)) { 2851 if ((usage is int) && (data_OR_size is int) && (target is int)) {
2447 _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(this, ta rget, data_OR_size, usage); 2852 _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(unwrap_j so(this), target, unwrap_jso(data_OR_size), usage);
2448 return; 2853 return;
2449 } 2854 }
2450 if ((usage is int) && (data_OR_size is TypedData) && (target is int)) { 2855 if ((usage is int) && (data_OR_size is TypedData) && (target is int)) {
2451 _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(this, ta rget, data_OR_size, usage); 2856 _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(unwrap_j so(this), target, unwrap_jso(data_OR_size), usage);
2452 return; 2857 return;
2453 } 2858 }
2454 if ((usage is int) && (data_OR_size is ByteBuffer || data_OR_size == null) & & (target is int)) { 2859 if ((usage is int) && (data_OR_size is ByteBuffer || data_OR_size == null) & & (target is int)) {
2455 _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(this, ta rget, data_OR_size, usage); 2860 _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(unwrap_j so(this), target, unwrap_jso(data_OR_size), usage);
2456 return; 2861 return;
2457 } 2862 }
2458 throw new ArgumentError("Incorrect number or type of arguments"); 2863 throw new ArgumentError("Incorrect number or type of arguments");
2459 } 2864 }
2460 2865
2461 @DomName('WebGLRenderingContext.bufferDataTyped') 2866 @DomName('WebGLRenderingContext.bufferDataTyped')
2462 @DocsEditable() 2867 @DocsEditable()
2463 void bufferDataTyped(int target, TypedData data, int usage) => _blink.BlinkWeb GLRenderingContext.instance.bufferData_Callback_3_(this, target, data, usage); 2868 void bufferDataTyped(int target, TypedData data, int usage) => _blink.BlinkWeb GLRenderingContext.instance.bufferData_Callback_3_(unwrap_jso(this), target, unw rap_jso(data), usage);
2464 2869
2465 @DomName('WebGLRenderingContext.bufferSubByteData') 2870 @DomName('WebGLRenderingContext.bufferSubByteData')
2466 @DocsEditable() 2871 @DocsEditable()
2467 void bufferSubByteData(int target, int offset, ByteBuffer data) => _blink.Blin kWebGLRenderingContext.instance.bufferSubData_Callback_3_(this, target, offset, data); 2872 void bufferSubByteData(int target, int offset, ByteBuffer data) => _blink.Blin kWebGLRenderingContext.instance.bufferSubData_Callback_3_(unwrap_jso(this), targ et, offset, data);
2468 2873
2469 void bufferSubData(int target, int offset, data) { 2874 void bufferSubData(int target, int offset, data) {
2470 if ((data is TypedData) && (offset is int) && (target is int)) { 2875 if ((data is TypedData) && (offset is int) && (target is int)) {
2471 _blink.BlinkWebGLRenderingContext.instance.bufferSubData_Callback_3_(this, target, offset, data); 2876 _blink.BlinkWebGLRenderingContext.instance.bufferSubData_Callback_3_(unwra p_jso(this), target, offset, unwrap_jso(data));
2472 return; 2877 return;
2473 } 2878 }
2474 if ((data is ByteBuffer || data == null) && (offset is int) && (target is in t)) { 2879 if ((data is ByteBuffer || data == null) && (offset is int) && (target is in t)) {
2475 _blink.BlinkWebGLRenderingContext.instance.bufferSubData_Callback_3_(this, target, offset, data); 2880 _blink.BlinkWebGLRenderingContext.instance.bufferSubData_Callback_3_(unwra p_jso(this), target, offset, unwrap_jso(data));
2476 return; 2881 return;
2477 } 2882 }
2478 throw new ArgumentError("Incorrect number or type of arguments"); 2883 throw new ArgumentError("Incorrect number or type of arguments");
2479 } 2884 }
2480 2885
2481 @DomName('WebGLRenderingContext.bufferSubDataTyped') 2886 @DomName('WebGLRenderingContext.bufferSubDataTyped')
2482 @DocsEditable() 2887 @DocsEditable()
2483 void bufferSubDataTyped(int target, int offset, TypedData data) => _blink.Blin kWebGLRenderingContext.instance.bufferSubData_Callback_3_(this, target, offset, data); 2888 void bufferSubDataTyped(int target, int offset, TypedData data) => _blink.Blin kWebGLRenderingContext.instance.bufferSubData_Callback_3_(unwrap_jso(this), targ et, offset, unwrap_jso(data));
2484 2889
2485 @DomName('WebGLRenderingContext.checkFramebufferStatus') 2890 @DomName('WebGLRenderingContext.checkFramebufferStatus')
2486 @DocsEditable() 2891 @DocsEditable()
2487 int checkFramebufferStatus(int target) => _blink.BlinkWebGLRenderingContext.in stance.checkFramebufferStatus_Callback_1_(this, target); 2892 int checkFramebufferStatus(int target) => _blink.BlinkWebGLRenderingContext.in stance.checkFramebufferStatus_Callback_1_(unwrap_jso(this), target);
2488 2893
2489 @DomName('WebGLRenderingContext.clear') 2894 @DomName('WebGLRenderingContext.clear')
2490 @DocsEditable() 2895 @DocsEditable()
2491 void clear(int mask) => _blink.BlinkWebGLRenderingContext.instance.clear_Callb ack_1_(this, mask); 2896 void clear(int mask) => _blink.BlinkWebGLRenderingContext.instance.clear_Callb ack_1_(unwrap_jso(this), mask);
2492 2897
2493 @DomName('WebGLRenderingContext.clearColor') 2898 @DomName('WebGLRenderingContext.clearColor')
2494 @DocsEditable() 2899 @DocsEditable()
2495 void clearColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGLR enderingContext.instance.clearColor_Callback_4_(this, red, green, blue, alpha); 2900 void clearColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGLR enderingContext.instance.clearColor_Callback_4_(unwrap_jso(this), red, green, bl ue, alpha);
2496 2901
2497 @DomName('WebGLRenderingContext.clearDepth') 2902 @DomName('WebGLRenderingContext.clearDepth')
2498 @DocsEditable() 2903 @DocsEditable()
2499 void clearDepth(num depth) => _blink.BlinkWebGLRenderingContext.instance.clear Depth_Callback_1_(this, depth); 2904 void clearDepth(num depth) => _blink.BlinkWebGLRenderingContext.instance.clear Depth_Callback_1_(unwrap_jso(this), depth);
2500 2905
2501 @DomName('WebGLRenderingContext.clearStencil') 2906 @DomName('WebGLRenderingContext.clearStencil')
2502 @DocsEditable() 2907 @DocsEditable()
2503 void clearStencil(int s) => _blink.BlinkWebGLRenderingContext.instance.clearSt encil_Callback_1_(this, s); 2908 void clearStencil(int s) => _blink.BlinkWebGLRenderingContext.instance.clearSt encil_Callback_1_(unwrap_jso(this), s);
2504 2909
2505 @DomName('WebGLRenderingContext.colorMask') 2910 @DomName('WebGLRenderingContext.colorMask')
2506 @DocsEditable() 2911 @DocsEditable()
2507 void colorMask(bool red, bool green, bool blue, bool alpha) => _blink.BlinkWeb GLRenderingContext.instance.colorMask_Callback_4_(this, red, green, blue, alpha) ; 2912 void colorMask(bool red, bool green, bool blue, bool alpha) => _blink.BlinkWeb GLRenderingContext.instance.colorMask_Callback_4_(unwrap_jso(this), red, green, blue, alpha);
2508 2913
2509 @DomName('WebGLRenderingContext.compileShader') 2914 @DomName('WebGLRenderingContext.compileShader')
2510 @DocsEditable() 2915 @DocsEditable()
2511 void compileShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instanc e.compileShader_Callback_1_(this, shader); 2916 void compileShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instanc e.compileShader_Callback_1_(unwrap_jso(this), unwrap_jso(shader));
2512 2917
2513 @DomName('WebGLRenderingContext.compressedTexImage2D') 2918 @DomName('WebGLRenderingContext.compressedTexImage2D')
2514 @DocsEditable() 2919 @DocsEditable()
2515 void compressedTexImage2D(int target, int level, int internalformat, int width , int height, int border, TypedData data) => _blink.BlinkWebGLRenderingContext.i nstance.compressedTexImage2D_Callback_7_(this, target, level, internalformat, wi dth, height, border, data); 2920 void compressedTexImage2D(int target, int level, int internalformat, int width , int height, int border, TypedData data) => _blink.BlinkWebGLRenderingContext.i nstance.compressedTexImage2D_Callback_7_(unwrap_jso(this), target, level, intern alformat, width, height, border, unwrap_jso(data));
2516 2921
2517 @DomName('WebGLRenderingContext.compressedTexSubImage2D') 2922 @DomName('WebGLRenderingContext.compressedTexSubImage2D')
2518 @DocsEditable() 2923 @DocsEditable()
2519 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, TypedData data) => _blink.BlinkWebGLRendering Context.instance.compressedTexSubImage2D_Callback_8_(this, target, level, xoffse t, yoffset, width, height, format, data); 2924 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, TypedData data) => _blink.BlinkWebGLRendering Context.instance.compressedTexSubImage2D_Callback_8_(unwrap_jso(this), target, l evel, xoffset, yoffset, width, height, format, unwrap_jso(data));
2520 2925
2521 @DomName('WebGLRenderingContext.copyTexImage2D') 2926 @DomName('WebGLRenderingContext.copyTexImage2D')
2522 @DocsEditable() 2927 @DocsEditable()
2523 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i nt width, int height, int border) => _blink.BlinkWebGLRenderingContext.instance. copyTexImage2D_Callback_8_(this, target, level, internalformat, x, y, width, hei ght, border); 2928 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i nt width, int height, int border) => _blink.BlinkWebGLRenderingContext.instance. copyTexImage2D_Callback_8_(unwrap_jso(this), target, level, internalformat, x, y , width, height, border);
2524 2929
2525 @DomName('WebGLRenderingContext.copyTexSubImage2D') 2930 @DomName('WebGLRenderingContext.copyTexSubImage2D')
2526 @DocsEditable() 2931 @DocsEditable()
2527 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) => _blink.BlinkWebGLRenderingContext.instance.cop yTexSubImage2D_Callback_8_(this, target, level, xoffset, yoffset, x, y, width, h eight); 2932 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) => _blink.BlinkWebGLRenderingContext.instance.cop yTexSubImage2D_Callback_8_(unwrap_jso(this), target, level, xoffset, yoffset, x, y, width, height);
2528 2933
2529 @DomName('WebGLRenderingContext.createBuffer') 2934 @DomName('WebGLRenderingContext.createBuffer')
2530 @DocsEditable() 2935 @DocsEditable()
2531 Buffer createBuffer() => _blink.BlinkWebGLRenderingContext.instance.createBuff er_Callback_0_(this); 2936 Buffer createBuffer() => _blink.BlinkWebGLRenderingContext.instance.createBuff er_Callback_0_(unwrap_jso(this));
2532 2937
2533 @DomName('WebGLRenderingContext.createFramebuffer') 2938 @DomName('WebGLRenderingContext.createFramebuffer')
2534 @DocsEditable() 2939 @DocsEditable()
2535 Framebuffer createFramebuffer() => _blink.BlinkWebGLRenderingContext.instance. createFramebuffer_Callback_0_(this); 2940 Framebuffer createFramebuffer() => _blink.BlinkWebGLRenderingContext.instance. createFramebuffer_Callback_0_(unwrap_jso(this));
2536 2941
2537 @DomName('WebGLRenderingContext.createProgram') 2942 @DomName('WebGLRenderingContext.createProgram')
2538 @DocsEditable() 2943 @DocsEditable()
2539 Program createProgram() => _blink.BlinkWebGLRenderingContext.instance.createPr ogram_Callback_0_(this); 2944 Program createProgram() => _blink.BlinkWebGLRenderingContext.instance.createPr ogram_Callback_0_(unwrap_jso(this));
2540 2945
2541 @DomName('WebGLRenderingContext.createRenderbuffer') 2946 @DomName('WebGLRenderingContext.createRenderbuffer')
2542 @DocsEditable() 2947 @DocsEditable()
2543 Renderbuffer createRenderbuffer() => _blink.BlinkWebGLRenderingContext.instanc e.createRenderbuffer_Callback_0_(this); 2948 Renderbuffer createRenderbuffer() => _blink.BlinkWebGLRenderingContext.instanc e.createRenderbuffer_Callback_0_(unwrap_jso(this));
2544 2949
2545 @DomName('WebGLRenderingContext.createShader') 2950 @DomName('WebGLRenderingContext.createShader')
2546 @DocsEditable() 2951 @DocsEditable()
2547 Shader createShader(int type) => _blink.BlinkWebGLRenderingContext.instance.cr eateShader_Callback_1_(this, type); 2952 Shader createShader(int type) => _blink.BlinkWebGLRenderingContext.instance.cr eateShader_Callback_1_(unwrap_jso(this), type);
2548 2953
2549 @DomName('WebGLRenderingContext.createTexture') 2954 @DomName('WebGLRenderingContext.createTexture')
2550 @DocsEditable() 2955 @DocsEditable()
2551 Texture createTexture() => _blink.BlinkWebGLRenderingContext.instance.createTe xture_Callback_0_(this); 2956 Texture createTexture() => _blink.BlinkWebGLRenderingContext.instance.createTe xture_Callback_0_(unwrap_jso(this));
2552 2957
2553 @DomName('WebGLRenderingContext.cullFace') 2958 @DomName('WebGLRenderingContext.cullFace')
2554 @DocsEditable() 2959 @DocsEditable()
2555 void cullFace(int mode) => _blink.BlinkWebGLRenderingContext.instance.cullFace _Callback_1_(this, mode); 2960 void cullFace(int mode) => _blink.BlinkWebGLRenderingContext.instance.cullFace _Callback_1_(unwrap_jso(this), mode);
2556 2961
2557 @DomName('WebGLRenderingContext.deleteBuffer') 2962 @DomName('WebGLRenderingContext.deleteBuffer')
2558 @DocsEditable() 2963 @DocsEditable()
2559 void deleteBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.instance .deleteBuffer_Callback_1_(this, buffer); 2964 void deleteBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.instance .deleteBuffer_Callback_1_(unwrap_jso(this), unwrap_jso(buffer));
2560 2965
2561 @DomName('WebGLRenderingContext.deleteFramebuffer') 2966 @DomName('WebGLRenderingContext.deleteFramebuffer')
2562 @DocsEditable() 2967 @DocsEditable()
2563 void deleteFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGLRenderingC ontext.instance.deleteFramebuffer_Callback_1_(this, framebuffer); 2968 void deleteFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGLRenderingC ontext.instance.deleteFramebuffer_Callback_1_(unwrap_jso(this), unwrap_jso(frame buffer));
2564 2969
2565 @DomName('WebGLRenderingContext.deleteProgram') 2970 @DomName('WebGLRenderingContext.deleteProgram')
2566 @DocsEditable() 2971 @DocsEditable()
2567 void deleteProgram(Program program) => _blink.BlinkWebGLRenderingContext.insta nce.deleteProgram_Callback_1_(this, program); 2972 void deleteProgram(Program program) => _blink.BlinkWebGLRenderingContext.insta nce.deleteProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program));
2568 2973
2569 @DomName('WebGLRenderingContext.deleteRenderbuffer') 2974 @DomName('WebGLRenderingContext.deleteRenderbuffer')
2570 @DocsEditable() 2975 @DocsEditable()
2571 void deleteRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderi ngContext.instance.deleteRenderbuffer_Callback_1_(this, renderbuffer); 2976 void deleteRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderi ngContext.instance.deleteRenderbuffer_Callback_1_(unwrap_jso(this), unwrap_jso(r enderbuffer));
2572 2977
2573 @DomName('WebGLRenderingContext.deleteShader') 2978 @DomName('WebGLRenderingContext.deleteShader')
2574 @DocsEditable() 2979 @DocsEditable()
2575 void deleteShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instance .deleteShader_Callback_1_(this, shader); 2980 void deleteShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instance .deleteShader_Callback_1_(unwrap_jso(this), unwrap_jso(shader));
2576 2981
2577 @DomName('WebGLRenderingContext.deleteTexture') 2982 @DomName('WebGLRenderingContext.deleteTexture')
2578 @DocsEditable() 2983 @DocsEditable()
2579 void deleteTexture(Texture texture) => _blink.BlinkWebGLRenderingContext.insta nce.deleteTexture_Callback_1_(this, texture); 2984 void deleteTexture(Texture texture) => _blink.BlinkWebGLRenderingContext.insta nce.deleteTexture_Callback_1_(unwrap_jso(this), unwrap_jso(texture));
2580 2985
2581 @DomName('WebGLRenderingContext.depthFunc') 2986 @DomName('WebGLRenderingContext.depthFunc')
2582 @DocsEditable() 2987 @DocsEditable()
2583 void depthFunc(int func) => _blink.BlinkWebGLRenderingContext.instance.depthFu nc_Callback_1_(this, func); 2988 void depthFunc(int func) => _blink.BlinkWebGLRenderingContext.instance.depthFu nc_Callback_1_(unwrap_jso(this), func);
2584 2989
2585 @DomName('WebGLRenderingContext.depthMask') 2990 @DomName('WebGLRenderingContext.depthMask')
2586 @DocsEditable() 2991 @DocsEditable()
2587 void depthMask(bool flag) => _blink.BlinkWebGLRenderingContext.instance.depthM ask_Callback_1_(this, flag); 2992 void depthMask(bool flag) => _blink.BlinkWebGLRenderingContext.instance.depthM ask_Callback_1_(unwrap_jso(this), flag);
2588 2993
2589 @DomName('WebGLRenderingContext.depthRange') 2994 @DomName('WebGLRenderingContext.depthRange')
2590 @DocsEditable() 2995 @DocsEditable()
2591 void depthRange(num zNear, num zFar) => _blink.BlinkWebGLRenderingContext.inst ance.depthRange_Callback_2_(this, zNear, zFar); 2996 void depthRange(num zNear, num zFar) => _blink.BlinkWebGLRenderingContext.inst ance.depthRange_Callback_2_(unwrap_jso(this), zNear, zFar);
2592 2997
2593 @DomName('WebGLRenderingContext.detachShader') 2998 @DomName('WebGLRenderingContext.detachShader')
2594 @DocsEditable() 2999 @DocsEditable()
2595 void detachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderin gContext.instance.detachShader_Callback_2_(this, program, shader); 3000 void detachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderin gContext.instance.detachShader_Callback_2_(unwrap_jso(this), unwrap_jso(program) , unwrap_jso(shader));
2596 3001
2597 @DomName('WebGLRenderingContext.disable') 3002 @DomName('WebGLRenderingContext.disable')
2598 @DocsEditable() 3003 @DocsEditable()
2599 void disable(int cap) => _blink.BlinkWebGLRenderingContext.instance.disable_Ca llback_1_(this, cap); 3004 void disable(int cap) => _blink.BlinkWebGLRenderingContext.instance.disable_Ca llback_1_(unwrap_jso(this), cap);
2600 3005
2601 @DomName('WebGLRenderingContext.disableVertexAttribArray') 3006 @DomName('WebGLRenderingContext.disableVertexAttribArray')
2602 @DocsEditable() 3007 @DocsEditable()
2603 void disableVertexAttribArray(int index) => _blink.BlinkWebGLRenderingContext. instance.disableVertexAttribArray_Callback_1_(this, index); 3008 void disableVertexAttribArray(int index) => _blink.BlinkWebGLRenderingContext. instance.disableVertexAttribArray_Callback_1_(unwrap_jso(this), index);
2604 3009
2605 @DomName('WebGLRenderingContext.drawArrays') 3010 @DomName('WebGLRenderingContext.drawArrays')
2606 @DocsEditable() 3011 @DocsEditable()
2607 void drawArrays(int mode, int first, int count) => _blink.BlinkWebGLRenderingC ontext.instance.drawArrays_Callback_3_(this, mode, first, count); 3012 void drawArrays(int mode, int first, int count) => _blink.BlinkWebGLRenderingC ontext.instance.drawArrays_Callback_3_(unwrap_jso(this), mode, first, count);
2608 3013
2609 @DomName('WebGLRenderingContext.drawElements') 3014 @DomName('WebGLRenderingContext.drawElements')
2610 @DocsEditable() 3015 @DocsEditable()
2611 void drawElements(int mode, int count, int type, int offset) => _blink.BlinkWe bGLRenderingContext.instance.drawElements_Callback_4_(this, mode, count, type, o ffset); 3016 void drawElements(int mode, int count, int type, int offset) => _blink.BlinkWe bGLRenderingContext.instance.drawElements_Callback_4_(unwrap_jso(this), mode, co unt, type, offset);
2612 3017
2613 @DomName('WebGLRenderingContext.enable') 3018 @DomName('WebGLRenderingContext.enable')
2614 @DocsEditable() 3019 @DocsEditable()
2615 void enable(int cap) => _blink.BlinkWebGLRenderingContext.instance.enable_Call back_1_(this, cap); 3020 void enable(int cap) => _blink.BlinkWebGLRenderingContext.instance.enable_Call back_1_(unwrap_jso(this), cap);
2616 3021
2617 @DomName('WebGLRenderingContext.enableVertexAttribArray') 3022 @DomName('WebGLRenderingContext.enableVertexAttribArray')
2618 @DocsEditable() 3023 @DocsEditable()
2619 void enableVertexAttribArray(int index) => _blink.BlinkWebGLRenderingContext.i nstance.enableVertexAttribArray_Callback_1_(this, index); 3024 void enableVertexAttribArray(int index) => _blink.BlinkWebGLRenderingContext.i nstance.enableVertexAttribArray_Callback_1_(unwrap_jso(this), index);
2620 3025
2621 @DomName('WebGLRenderingContext.finish') 3026 @DomName('WebGLRenderingContext.finish')
2622 @DocsEditable() 3027 @DocsEditable()
2623 void finish() => _blink.BlinkWebGLRenderingContext.instance.finish_Callback_0_ (this); 3028 void finish() => _blink.BlinkWebGLRenderingContext.instance.finish_Callback_0_ (unwrap_jso(this));
2624 3029
2625 @DomName('WebGLRenderingContext.flush') 3030 @DomName('WebGLRenderingContext.flush')
2626 @DocsEditable() 3031 @DocsEditable()
2627 void flush() => _blink.BlinkWebGLRenderingContext.instance.flush_Callback_0_(t his); 3032 void flush() => _blink.BlinkWebGLRenderingContext.instance.flush_Callback_0_(u nwrap_jso(this));
2628 3033
2629 @DomName('WebGLRenderingContext.framebufferRenderbuffer') 3034 @DomName('WebGLRenderingContext.framebufferRenderbuffer')
2630 @DocsEditable() 3035 @DocsEditable()
2631 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge t, Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingContext.instance.fram ebufferRenderbuffer_Callback_4_(this, target, attachment, renderbuffertarget, re nderbuffer); 3036 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge t, Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingContext.instance.fram ebufferRenderbuffer_Callback_4_(unwrap_jso(this), target, attachment, renderbuff ertarget, unwrap_jso(renderbuffer));
2632 3037
2633 @DomName('WebGLRenderingContext.framebufferTexture2D') 3038 @DomName('WebGLRenderingContext.framebufferTexture2D')
2634 @DocsEditable() 3039 @DocsEditable()
2635 void framebufferTexture2D(int target, int attachment, int textarget, Texture t exture, int level) => _blink.BlinkWebGLRenderingContext.instance.framebufferText ure2D_Callback_5_(this, target, attachment, textarget, texture, level); 3040 void framebufferTexture2D(int target, int attachment, int textarget, Texture t exture, int level) => _blink.BlinkWebGLRenderingContext.instance.framebufferText ure2D_Callback_5_(unwrap_jso(this), target, attachment, textarget, unwrap_jso(te xture), level);
2636 3041
2637 @DomName('WebGLRenderingContext.frontFace') 3042 @DomName('WebGLRenderingContext.frontFace')
2638 @DocsEditable() 3043 @DocsEditable()
2639 void frontFace(int mode) => _blink.BlinkWebGLRenderingContext.instance.frontFa ce_Callback_1_(this, mode); 3044 void frontFace(int mode) => _blink.BlinkWebGLRenderingContext.instance.frontFa ce_Callback_1_(unwrap_jso(this), mode);
2640 3045
2641 @DomName('WebGLRenderingContext.generateMipmap') 3046 @DomName('WebGLRenderingContext.generateMipmap')
2642 @DocsEditable() 3047 @DocsEditable()
2643 void generateMipmap(int target) => _blink.BlinkWebGLRenderingContext.instance. generateMipmap_Callback_1_(this, target); 3048 void generateMipmap(int target) => _blink.BlinkWebGLRenderingContext.instance. generateMipmap_Callback_1_(unwrap_jso(this), target);
2644 3049
2645 @DomName('WebGLRenderingContext.getActiveAttrib') 3050 @DomName('WebGLRenderingContext.getActiveAttrib')
2646 @DocsEditable() 3051 @DocsEditable()
2647 ActiveInfo getActiveAttrib(Program program, int index) => _blink.BlinkWebGLRen deringContext.instance.getActiveAttrib_Callback_2_(this, program, index); 3052 ActiveInfo getActiveAttrib(Program program, int index) => _blink.BlinkWebGLRen deringContext.instance.getActiveAttrib_Callback_2_(unwrap_jso(this), unwrap_jso( program), index);
2648 3053
2649 @DomName('WebGLRenderingContext.getActiveUniform') 3054 @DomName('WebGLRenderingContext.getActiveUniform')
2650 @DocsEditable() 3055 @DocsEditable()
2651 ActiveInfo getActiveUniform(Program program, int index) => _blink.BlinkWebGLRe nderingContext.instance.getActiveUniform_Callback_2_(this, program, index); 3056 ActiveInfo getActiveUniform(Program program, int index) => _blink.BlinkWebGLRe nderingContext.instance.getActiveUniform_Callback_2_(unwrap_jso(this), unwrap_js o(program), index);
2652 3057
2653 @DomName('WebGLRenderingContext.getAttachedShaders') 3058 @DomName('WebGLRenderingContext.getAttachedShaders')
2654 @DocsEditable() 3059 @DocsEditable()
2655 List<Shader> getAttachedShaders(Program program) => _blink.BlinkWebGLRendering Context.instance.getAttachedShaders_Callback_1_(this, program); 3060 List<Shader> getAttachedShaders(Program program) => _blink.BlinkWebGLRendering Context.instance.getAttachedShaders_Callback_1_(unwrap_jso(this), unwrap_jso(pro gram));
2656 3061
2657 @DomName('WebGLRenderingContext.getAttribLocation') 3062 @DomName('WebGLRenderingContext.getAttribLocation')
2658 @DocsEditable() 3063 @DocsEditable()
2659 int getAttribLocation(Program program, String name) => _blink.BlinkWebGLRender ingContext.instance.getAttribLocation_Callback_2_(this, program, name); 3064 int getAttribLocation(Program program, String name) => _blink.BlinkWebGLRender ingContext.instance.getAttribLocation_Callback_2_(unwrap_jso(this), unwrap_jso(p rogram), name);
2660 3065
2661 @DomName('WebGLRenderingContext.getBufferParameter') 3066 @DomName('WebGLRenderingContext.getBufferParameter')
2662 @DocsEditable() 3067 @DocsEditable()
2663 Object getBufferParameter(int target, int pname) => _blink.BlinkWebGLRendering Context.instance.getBufferParameter_Callback_2_(this, target, pname); 3068 Object getBufferParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGL RenderingContext.instance.getBufferParameter_Callback_2_(unwrap_jso(this), targe t, pname));
2664 3069
2665 @DomName('WebGLRenderingContext.getContextAttributes') 3070 @DomName('WebGLRenderingContext.getContextAttributes')
2666 @DocsEditable() 3071 @DocsEditable()
2667 ContextAttributes getContextAttributes() => _blink.BlinkWebGLRenderingContext. instance.getContextAttributes_Callback_0_(this); 3072 ContextAttributes getContextAttributes() => _blink.BlinkWebGLRenderingContext. instance.getContextAttributes_Callback_0_(unwrap_jso(this));
2668 3073
2669 @DomName('WebGLRenderingContext.getError') 3074 @DomName('WebGLRenderingContext.getError')
2670 @DocsEditable() 3075 @DocsEditable()
2671 int getError() => _blink.BlinkWebGLRenderingContext.instance.getError_Callback _0_(this); 3076 int getError() => _blink.BlinkWebGLRenderingContext.instance.getError_Callback _0_(unwrap_jso(this));
2672 3077
2673 @DomName('WebGLRenderingContext.getExtension') 3078 @DomName('WebGLRenderingContext.getExtension')
2674 @DocsEditable() 3079 @DocsEditable()
2675 Object getExtension(String name) => _blink.BlinkWebGLRenderingContext.instance .getExtension_Callback_1_(this, name); 3080 Object getExtension(String name) => wrap_jso(_blink.BlinkWebGLRenderingContext .instance.getExtension_Callback_1_(unwrap_jso(this), name));
2676 3081
2677 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') 3082 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter')
2678 @DocsEditable() 3083 @DocsEditable()
2679 Object getFramebufferAttachmentParameter(int target, int attachment, int pname ) => _blink.BlinkWebGLRenderingContext.instance.getFramebufferAttachmentParamete r_Callback_3_(this, target, attachment, pname); 3084 Object getFramebufferAttachmentParameter(int target, int attachment, int pname ) => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.getFramebufferAttachmen tParameter_Callback_3_(unwrap_jso(this), target, attachment, pname));
2680 3085
2681 @DomName('WebGLRenderingContext.getParameter') 3086 @DomName('WebGLRenderingContext.getParameter')
2682 @DocsEditable() 3087 @DocsEditable()
2683 Object getParameter(int pname) => _blink.BlinkWebGLRenderingContext.instance.g etParameter_Callback_1_(this, pname); 3088 Object getParameter(int pname) => wrap_jso(_blink.BlinkWebGLRenderingContext.i nstance.getParameter_Callback_1_(unwrap_jso(this), pname));
2684 3089
2685 @DomName('WebGLRenderingContext.getProgramInfoLog') 3090 @DomName('WebGLRenderingContext.getProgramInfoLog')
2686 @DocsEditable() 3091 @DocsEditable()
2687 String getProgramInfoLog(Program program) => _blink.BlinkWebGLRenderingContext .instance.getProgramInfoLog_Callback_1_(this, program); 3092 String getProgramInfoLog(Program program) => _blink.BlinkWebGLRenderingContext .instance.getProgramInfoLog_Callback_1_(unwrap_jso(this), unwrap_jso(program));
2688 3093
2689 @DomName('WebGLRenderingContext.getProgramParameter') 3094 @DomName('WebGLRenderingContext.getProgramParameter')
2690 @DocsEditable() 3095 @DocsEditable()
2691 Object getProgramParameter(Program program, int pname) => _blink.BlinkWebGLRen deringContext.instance.getProgramParameter_Callback_2_(this, program, pname); 3096 Object getProgramParameter(Program program, int pname) => wrap_jso(_blink.Blin kWebGLRenderingContext.instance.getProgramParameter_Callback_2_(unwrap_jso(this) , unwrap_jso(program), pname));
2692 3097
2693 @DomName('WebGLRenderingContext.getRenderbufferParameter') 3098 @DomName('WebGLRenderingContext.getRenderbufferParameter')
2694 @DocsEditable() 3099 @DocsEditable()
2695 Object getRenderbufferParameter(int target, int pname) => _blink.BlinkWebGLRen deringContext.instance.getRenderbufferParameter_Callback_2_(this, target, pname) ; 3100 Object getRenderbufferParameter(int target, int pname) => wrap_jso(_blink.Blin kWebGLRenderingContext.instance.getRenderbufferParameter_Callback_2_(unwrap_jso( this), target, pname));
2696 3101
2697 @DomName('WebGLRenderingContext.getShaderInfoLog') 3102 @DomName('WebGLRenderingContext.getShaderInfoLog')
2698 @DocsEditable() 3103 @DocsEditable()
2699 String getShaderInfoLog(Shader shader) => _blink.BlinkWebGLRenderingContext.in stance.getShaderInfoLog_Callback_1_(this, shader); 3104 String getShaderInfoLog(Shader shader) => _blink.BlinkWebGLRenderingContext.in stance.getShaderInfoLog_Callback_1_(unwrap_jso(this), unwrap_jso(shader));
2700 3105
2701 @DomName('WebGLRenderingContext.getShaderParameter') 3106 @DomName('WebGLRenderingContext.getShaderParameter')
2702 @DocsEditable() 3107 @DocsEditable()
2703 Object getShaderParameter(Shader shader, int pname) => _blink.BlinkWebGLRender ingContext.instance.getShaderParameter_Callback_2_(this, shader, pname); 3108 Object getShaderParameter(Shader shader, int pname) => wrap_jso(_blink.BlinkWe bGLRenderingContext.instance.getShaderParameter_Callback_2_(unwrap_jso(this), un wrap_jso(shader), pname));
2704 3109
2705 @DomName('WebGLRenderingContext.getShaderPrecisionFormat') 3110 @DomName('WebGLRenderingContext.getShaderPrecisionFormat')
2706 @DocsEditable() 3111 @DocsEditable()
2707 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty pe) => _blink.BlinkWebGLRenderingContext.instance.getShaderPrecisionFormat_Callb ack_2_(this, shadertype, precisiontype); 3112 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty pe) => _blink.BlinkWebGLRenderingContext.instance.getShaderPrecisionFormat_Callb ack_2_(unwrap_jso(this), shadertype, precisiontype);
2708 3113
2709 @DomName('WebGLRenderingContext.getShaderSource') 3114 @DomName('WebGLRenderingContext.getShaderSource')
2710 @DocsEditable() 3115 @DocsEditable()
2711 String getShaderSource(Shader shader) => _blink.BlinkWebGLRenderingContext.ins tance.getShaderSource_Callback_1_(this, shader); 3116 String getShaderSource(Shader shader) => _blink.BlinkWebGLRenderingContext.ins tance.getShaderSource_Callback_1_(unwrap_jso(this), unwrap_jso(shader));
2712 3117
2713 @DomName('WebGLRenderingContext.getSupportedExtensions') 3118 @DomName('WebGLRenderingContext.getSupportedExtensions')
2714 @DocsEditable() 3119 @DocsEditable()
2715 List<String> getSupportedExtensions() => _blink.BlinkWebGLRenderingContext.ins tance.getSupportedExtensions_Callback_0_(this); 3120 List<String> getSupportedExtensions() => _blink.BlinkWebGLRenderingContext.ins tance.getSupportedExtensions_Callback_0_(unwrap_jso(this));
2716 3121
2717 @DomName('WebGLRenderingContext.getTexParameter') 3122 @DomName('WebGLRenderingContext.getTexParameter')
2718 @DocsEditable() 3123 @DocsEditable()
2719 Object getTexParameter(int target, int pname) => _blink.BlinkWebGLRenderingCon text.instance.getTexParameter_Callback_2_(this, target, pname); 3124 Object getTexParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGLRen deringContext.instance.getTexParameter_Callback_2_(unwrap_jso(this), target, pna me));
2720 3125
2721 @DomName('WebGLRenderingContext.getUniform') 3126 @DomName('WebGLRenderingContext.getUniform')
2722 @DocsEditable() 3127 @DocsEditable()
2723 Object getUniform(Program program, UniformLocation location) => _blink.BlinkWe bGLRenderingContext.instance.getUniform_Callback_2_(this, program, location); 3128 Object getUniform(Program program, UniformLocation location) => wrap_jso(_blin k.BlinkWebGLRenderingContext.instance.getUniform_Callback_2_(unwrap_jso(this), u nwrap_jso(program), unwrap_jso(location)));
2724 3129
2725 @DomName('WebGLRenderingContext.getUniformLocation') 3130 @DomName('WebGLRenderingContext.getUniformLocation')
2726 @DocsEditable() 3131 @DocsEditable()
2727 UniformLocation getUniformLocation(Program program, String name) => _blink.Bli nkWebGLRenderingContext.instance.getUniformLocation_Callback_2_(this, program, n ame); 3132 UniformLocation getUniformLocation(Program program, String name) => _blink.Bli nkWebGLRenderingContext.instance.getUniformLocation_Callback_2_(unwrap_jso(this) , unwrap_jso(program), name);
2728 3133
2729 @DomName('WebGLRenderingContext.getVertexAttrib') 3134 @DomName('WebGLRenderingContext.getVertexAttrib')
2730 @DocsEditable() 3135 @DocsEditable()
2731 Object getVertexAttrib(int index, int pname) => _blink.BlinkWebGLRenderingCont ext.instance.getVertexAttrib_Callback_2_(this, index, pname); 3136 Object getVertexAttrib(int index, int pname) => wrap_jso(_blink.BlinkWebGLRend eringContext.instance.getVertexAttrib_Callback_2_(unwrap_jso(this), index, pname ));
2732 3137
2733 @DomName('WebGLRenderingContext.getVertexAttribOffset') 3138 @DomName('WebGLRenderingContext.getVertexAttribOffset')
2734 @DocsEditable() 3139 @DocsEditable()
2735 int getVertexAttribOffset(int index, int pname) => _blink.BlinkWebGLRenderingC ontext.instance.getVertexAttribOffset_Callback_2_(this, index, pname); 3140 int getVertexAttribOffset(int index, int pname) => _blink.BlinkWebGLRenderingC ontext.instance.getVertexAttribOffset_Callback_2_(unwrap_jso(this), index, pname );
2736 3141
2737 @DomName('WebGLRenderingContext.hint') 3142 @DomName('WebGLRenderingContext.hint')
2738 @DocsEditable() 3143 @DocsEditable()
2739 void hint(int target, int mode) => _blink.BlinkWebGLRenderingContext.instance. hint_Callback_2_(this, target, mode); 3144 void hint(int target, int mode) => _blink.BlinkWebGLRenderingContext.instance. hint_Callback_2_(unwrap_jso(this), target, mode);
2740 3145
2741 @DomName('WebGLRenderingContext.isBuffer') 3146 @DomName('WebGLRenderingContext.isBuffer')
2742 @DocsEditable() 3147 @DocsEditable()
2743 bool isBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.instance.isB uffer_Callback_1_(this, buffer); 3148 bool isBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.instance.isB uffer_Callback_1_(unwrap_jso(this), unwrap_jso(buffer));
2744 3149
2745 @DomName('WebGLRenderingContext.isContextLost') 3150 @DomName('WebGLRenderingContext.isContextLost')
2746 @DocsEditable() 3151 @DocsEditable()
2747 bool isContextLost() => _blink.BlinkWebGLRenderingContext.instance.isContextLo st_Callback_0_(this); 3152 bool isContextLost() => _blink.BlinkWebGLRenderingContext.instance.isContextLo st_Callback_0_(unwrap_jso(this));
2748 3153
2749 @DomName('WebGLRenderingContext.isEnabled') 3154 @DomName('WebGLRenderingContext.isEnabled')
2750 @DocsEditable() 3155 @DocsEditable()
2751 bool isEnabled(int cap) => _blink.BlinkWebGLRenderingContext.instance.isEnable d_Callback_1_(this, cap); 3156 bool isEnabled(int cap) => _blink.BlinkWebGLRenderingContext.instance.isEnable d_Callback_1_(unwrap_jso(this), cap);
2752 3157
2753 @DomName('WebGLRenderingContext.isFramebuffer') 3158 @DomName('WebGLRenderingContext.isFramebuffer')
2754 @DocsEditable() 3159 @DocsEditable()
2755 bool isFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGLRenderingConte xt.instance.isFramebuffer_Callback_1_(this, framebuffer); 3160 bool isFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGLRenderingConte xt.instance.isFramebuffer_Callback_1_(unwrap_jso(this), unwrap_jso(framebuffer)) ;
2756 3161
2757 @DomName('WebGLRenderingContext.isProgram') 3162 @DomName('WebGLRenderingContext.isProgram')
2758 @DocsEditable() 3163 @DocsEditable()
2759 bool isProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance. isProgram_Callback_1_(this, program); 3164 bool isProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance. isProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program));
2760 3165
2761 @DomName('WebGLRenderingContext.isRenderbuffer') 3166 @DomName('WebGLRenderingContext.isRenderbuffer')
2762 @DocsEditable() 3167 @DocsEditable()
2763 bool isRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingCo ntext.instance.isRenderbuffer_Callback_1_(this, renderbuffer); 3168 bool isRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingCo ntext.instance.isRenderbuffer_Callback_1_(unwrap_jso(this), unwrap_jso(renderbuf fer));
2764 3169
2765 @DomName('WebGLRenderingContext.isShader') 3170 @DomName('WebGLRenderingContext.isShader')
2766 @DocsEditable() 3171 @DocsEditable()
2767 bool isShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instance.isS hader_Callback_1_(this, shader); 3172 bool isShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instance.isS hader_Callback_1_(unwrap_jso(this), unwrap_jso(shader));
2768 3173
2769 @DomName('WebGLRenderingContext.isTexture') 3174 @DomName('WebGLRenderingContext.isTexture')
2770 @DocsEditable() 3175 @DocsEditable()
2771 bool isTexture(Texture texture) => _blink.BlinkWebGLRenderingContext.instance. isTexture_Callback_1_(this, texture); 3176 bool isTexture(Texture texture) => _blink.BlinkWebGLRenderingContext.instance. isTexture_Callback_1_(unwrap_jso(this), unwrap_jso(texture));
2772 3177
2773 @DomName('WebGLRenderingContext.lineWidth') 3178 @DomName('WebGLRenderingContext.lineWidth')
2774 @DocsEditable() 3179 @DocsEditable()
2775 void lineWidth(num width) => _blink.BlinkWebGLRenderingContext.instance.lineWi dth_Callback_1_(this, width); 3180 void lineWidth(num width) => _blink.BlinkWebGLRenderingContext.instance.lineWi dth_Callback_1_(unwrap_jso(this), width);
2776 3181
2777 @DomName('WebGLRenderingContext.linkProgram') 3182 @DomName('WebGLRenderingContext.linkProgram')
2778 @DocsEditable() 3183 @DocsEditable()
2779 void linkProgram(Program program) => _blink.BlinkWebGLRenderingContext.instanc e.linkProgram_Callback_1_(this, program); 3184 void linkProgram(Program program) => _blink.BlinkWebGLRenderingContext.instanc e.linkProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program));
2780 3185
2781 @DomName('WebGLRenderingContext.pixelStorei') 3186 @DomName('WebGLRenderingContext.pixelStorei')
2782 @DocsEditable() 3187 @DocsEditable()
2783 void pixelStorei(int pname, int param) => _blink.BlinkWebGLRenderingContext.in stance.pixelStorei_Callback_2_(this, pname, param); 3188 void pixelStorei(int pname, int param) => _blink.BlinkWebGLRenderingContext.in stance.pixelStorei_Callback_2_(unwrap_jso(this), pname, param);
2784 3189
2785 @DomName('WebGLRenderingContext.polygonOffset') 3190 @DomName('WebGLRenderingContext.polygonOffset')
2786 @DocsEditable() 3191 @DocsEditable()
2787 void polygonOffset(num factor, num units) => _blink.BlinkWebGLRenderingContext .instance.polygonOffset_Callback_2_(this, factor, units); 3192 void polygonOffset(num factor, num units) => _blink.BlinkWebGLRenderingContext .instance.polygonOffset_Callback_2_(unwrap_jso(this), factor, units);
2788 3193
2789 @DomName('WebGLRenderingContext.readPixels') 3194 @DomName('WebGLRenderingContext.readPixels')
2790 @DocsEditable() 3195 @DocsEditable()
2791 void readPixels(int x, int y, int width, int height, int format, int type, Typ edData pixels) => _blink.BlinkWebGLRenderingContext.instance.readPixels_Callback _7_(this, x, y, width, height, format, type, pixels); 3196 void readPixels(int x, int y, int width, int height, int format, int type, Typ edData pixels) => _blink.BlinkWebGLRenderingContext.instance.readPixels_Callback _7_(unwrap_jso(this), x, y, width, height, format, type, unwrap_jso(pixels));
2792 3197
2793 @DomName('WebGLRenderingContext.renderbufferStorage') 3198 @DomName('WebGLRenderingContext.renderbufferStorage')
2794 @DocsEditable() 3199 @DocsEditable()
2795 void renderbufferStorage(int target, int internalformat, int width, int height ) => _blink.BlinkWebGLRenderingContext.instance.renderbufferStorage_Callback_4_( this, target, internalformat, width, height); 3200 void renderbufferStorage(int target, int internalformat, int width, int height ) => _blink.BlinkWebGLRenderingContext.instance.renderbufferStorage_Callback_4_( unwrap_jso(this), target, internalformat, width, height);
2796 3201
2797 @DomName('WebGLRenderingContext.sampleCoverage') 3202 @DomName('WebGLRenderingContext.sampleCoverage')
2798 @DocsEditable() 3203 @DocsEditable()
2799 void sampleCoverage(num value, bool invert) => _blink.BlinkWebGLRenderingConte xt.instance.sampleCoverage_Callback_2_(this, value, invert); 3204 void sampleCoverage(num value, bool invert) => _blink.BlinkWebGLRenderingConte xt.instance.sampleCoverage_Callback_2_(unwrap_jso(this), value, invert);
2800 3205
2801 @DomName('WebGLRenderingContext.scissor') 3206 @DomName('WebGLRenderingContext.scissor')
2802 @DocsEditable() 3207 @DocsEditable()
2803 void scissor(int x, int y, int width, int height) => _blink.BlinkWebGLRenderin gContext.instance.scissor_Callback_4_(this, x, y, width, height); 3208 void scissor(int x, int y, int width, int height) => _blink.BlinkWebGLRenderin gContext.instance.scissor_Callback_4_(unwrap_jso(this), x, y, width, height);
2804 3209
2805 @DomName('WebGLRenderingContext.shaderSource') 3210 @DomName('WebGLRenderingContext.shaderSource')
2806 @DocsEditable() 3211 @DocsEditable()
2807 void shaderSource(Shader shader, String string) => _blink.BlinkWebGLRenderingC ontext.instance.shaderSource_Callback_2_(this, shader, string); 3212 void shaderSource(Shader shader, String string) => _blink.BlinkWebGLRenderingC ontext.instance.shaderSource_Callback_2_(unwrap_jso(this), unwrap_jso(shader), s tring);
2808 3213
2809 @DomName('WebGLRenderingContext.stencilFunc') 3214 @DomName('WebGLRenderingContext.stencilFunc')
2810 @DocsEditable() 3215 @DocsEditable()
2811 void stencilFunc(int func, int ref, int mask) => _blink.BlinkWebGLRenderingCon text.instance.stencilFunc_Callback_3_(this, func, ref, mask); 3216 void stencilFunc(int func, int ref, int mask) => _blink.BlinkWebGLRenderingCon text.instance.stencilFunc_Callback_3_(unwrap_jso(this), func, ref, mask);
2812 3217
2813 @DomName('WebGLRenderingContext.stencilFuncSeparate') 3218 @DomName('WebGLRenderingContext.stencilFuncSeparate')
2814 @DocsEditable() 3219 @DocsEditable()
2815 void stencilFuncSeparate(int face, int func, int ref, int mask) => _blink.Blin kWebGLRenderingContext.instance.stencilFuncSeparate_Callback_4_(this, face, func , ref, mask); 3220 void stencilFuncSeparate(int face, int func, int ref, int mask) => _blink.Blin kWebGLRenderingContext.instance.stencilFuncSeparate_Callback_4_(unwrap_jso(this) , face, func, ref, mask);
2816 3221
2817 @DomName('WebGLRenderingContext.stencilMask') 3222 @DomName('WebGLRenderingContext.stencilMask')
2818 @DocsEditable() 3223 @DocsEditable()
2819 void stencilMask(int mask) => _blink.BlinkWebGLRenderingContext.instance.stenc ilMask_Callback_1_(this, mask); 3224 void stencilMask(int mask) => _blink.BlinkWebGLRenderingContext.instance.stenc ilMask_Callback_1_(unwrap_jso(this), mask);
2820 3225
2821 @DomName('WebGLRenderingContext.stencilMaskSeparate') 3226 @DomName('WebGLRenderingContext.stencilMaskSeparate')
2822 @DocsEditable() 3227 @DocsEditable()
2823 void stencilMaskSeparate(int face, int mask) => _blink.BlinkWebGLRenderingCont ext.instance.stencilMaskSeparate_Callback_2_(this, face, mask); 3228 void stencilMaskSeparate(int face, int mask) => _blink.BlinkWebGLRenderingCont ext.instance.stencilMaskSeparate_Callback_2_(unwrap_jso(this), face, mask);
2824 3229
2825 @DomName('WebGLRenderingContext.stencilOp') 3230 @DomName('WebGLRenderingContext.stencilOp')
2826 @DocsEditable() 3231 @DocsEditable()
2827 void stencilOp(int fail, int zfail, int zpass) => _blink.BlinkWebGLRenderingCo ntext.instance.stencilOp_Callback_3_(this, fail, zfail, zpass); 3232 void stencilOp(int fail, int zfail, int zpass) => _blink.BlinkWebGLRenderingCo ntext.instance.stencilOp_Callback_3_(unwrap_jso(this), fail, zfail, zpass);
2828 3233
2829 @DomName('WebGLRenderingContext.stencilOpSeparate') 3234 @DomName('WebGLRenderingContext.stencilOpSeparate')
2830 @DocsEditable() 3235 @DocsEditable()
2831 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => _blink.Bli nkWebGLRenderingContext.instance.stencilOpSeparate_Callback_4_(this, face, fail, zfail, zpass); 3236 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => _blink.Bli nkWebGLRenderingContext.instance.stencilOpSeparate_Callback_4_(unwrap_jso(this), face, fail, zfail, zpass);
2832 3237
2833 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]) { 3238 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]) {
2834 if ((pixels is TypedData || pixels == null) && (type is int) && (format is i nt) && (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)) { 3239 if ((pixels is TypedData || pixels == null) && (type is int) && (format is i nt) && (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)) {
2835 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_9_(this, ta rget, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_O R_image_OR_pixels_OR_video, format, type, pixels); 3240 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_9_(unwrap_j so(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(pix els));
2836 return; 3241 return;
2837 } 3242 }
2838 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) && (forma t_OR_width is int) && (internalformat is int) && (level is int) && (target is in t) && format == null && type == null && pixels == null) { 3243 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) && (forma t_OR_width is int) && (internalformat is int) && (level is int) && (target is in t) && format == null && type == null && pixels == null) {
2839 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_(this, ta rget, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_O R_image_OR_pixels_OR_video); 3244 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_(unwrap_j so(this), target, level, internalformat, format_OR_width, height_OR_type, unwrap _jso(border_OR_canvas_OR_image_OR_pixels_OR_video));
2840 return; 3245 return;
2841 } 3246 }
2842 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement) && (heigh t_OR_type is int) && (format_OR_width is int) && (internalformat is int) && (lev el is int) && (target is int) && format == null && type == null && pixels == nul l) { 3247 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement) && (heigh t_OR_type is int) && (format_OR_width is int) && (internalformat is int) && (lev el is int) && (target is int) && format == null && type == null && pixels == nul l) {
2843 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_(this, ta rget, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_O R_image_OR_pixels_OR_video); 3248 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_(unwrap_j so(this), target, level, internalformat, format_OR_width, height_OR_type, unwrap _jso(border_OR_canvas_OR_image_OR_pixels_OR_video));
2844 return; 3249 return;
2845 } 3250 }
2846 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement) && (heig ht_OR_type is int) && (format_OR_width is int) && (internalformat is int) && (le vel is int) && (target is int) && format == null && type == null && pixels == nu ll) { 3251 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement) && (heig ht_OR_type is int) && (format_OR_width is int) && (internalformat is int) && (le vel is int) && (target is int) && format == null && type == null && pixels == nu ll) {
2847 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_(this, ta rget, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_O R_image_OR_pixels_OR_video); 3252 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_(unwrap_j so(this), target, level, internalformat, format_OR_width, height_OR_type, unwrap _jso(border_OR_canvas_OR_image_OR_pixels_OR_video));
2848 return; 3253 return;
2849 } 3254 }
2850 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement) && (heigh t_OR_type is int) && (format_OR_width is int) && (internalformat is int) && (lev el is int) && (target is int) && format == null && type == null && pixels == nul l) { 3255 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement) && (heigh t_OR_type is int) && (format_OR_width is int) && (internalformat is int) && (lev el is int) && (target is int) && format == null && type == null && pixels == nul l) {
2851 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_(this, ta rget, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_O R_image_OR_pixels_OR_video); 3256 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_(unwrap_j so(this), target, level, internalformat, format_OR_width, height_OR_type, unwrap _jso(border_OR_canvas_OR_image_OR_pixels_OR_video));
2852 return; 3257 return;
2853 } 3258 }
2854 throw new ArgumentError("Incorrect number or type of arguments"); 3259 throw new ArgumentError("Incorrect number or type of arguments");
2855 } 3260 }
2856 3261
2857 @DomName('WebGLRenderingContext.texImage2DCanvas') 3262 @DomName('WebGLRenderingContext.texImage2DCanvas')
2858 @DocsEditable() 3263 @DocsEditable()
2859 void texImage2DCanvas(int target, int level, int internalformat, int format, i nt type, CanvasElement canvas) => _blink.BlinkWebGLRenderingContext.instance.tex Image2D_Callback_6_(this, target, level, internalformat, format, type, canvas); 3264 void texImage2DCanvas(int target, int level, int internalformat, int format, i nt type, CanvasElement canvas) => _blink.BlinkWebGLRenderingContext.instance.tex Image2D_Callback_6_(unwrap_jso(this), target, level, internalformat, format, typ e, unwrap_jso(canvas));
2860 3265
2861 @DomName('WebGLRenderingContext.texImage2DImage') 3266 @DomName('WebGLRenderingContext.texImage2DImage')
2862 @DocsEditable() 3267 @DocsEditable()
2863 void texImage2DImage(int target, int level, int internalformat, int format, in t type, ImageElement image) => _blink.BlinkWebGLRenderingContext.instance.texIma ge2D_Callback_6_(this, target, level, internalformat, format, type, image); 3268 void texImage2DImage(int target, int level, int internalformat, int format, in t type, ImageElement image) => _blink.BlinkWebGLRenderingContext.instance.texIma ge2D_Callback_6_(unwrap_jso(this), target, level, internalformat, format, type, unwrap_jso(image));
2864 3269
2865 @DomName('WebGLRenderingContext.texImage2DImageData') 3270 @DomName('WebGLRenderingContext.texImage2DImageData')
2866 @DocsEditable() 3271 @DocsEditable()
2867 void texImage2DImageData(int target, int level, int internalformat, int format , int type, ImageData pixels) => _blink.BlinkWebGLRenderingContext.instance.texI mage2D_Callback_6_(this, target, level, internalformat, format, type, pixels); 3272 void texImage2DImageData(int target, int level, int internalformat, int format , int type, ImageData pixels) => _blink.BlinkWebGLRenderingContext.instance.texI mage2D_Callback_6_(unwrap_jso(this), target, level, internalformat, format, type , unwrap_jso(pixels));
2868 3273
2869 @DomName('WebGLRenderingContext.texImage2DVideo') 3274 @DomName('WebGLRenderingContext.texImage2DVideo')
2870 @DocsEditable() 3275 @DocsEditable()
2871 void texImage2DVideo(int target, int level, int internalformat, int format, in t type, VideoElement video) => _blink.BlinkWebGLRenderingContext.instance.texIma ge2D_Callback_6_(this, target, level, internalformat, format, type, video); 3276 void texImage2DVideo(int target, int level, int internalformat, int format, in t type, VideoElement video) => _blink.BlinkWebGLRenderingContext.instance.texIma ge2D_Callback_6_(unwrap_jso(this), target, level, internalformat, format, type, unwrap_jso(video));
2872 3277
2873 @DomName('WebGLRenderingContext.texParameterf') 3278 @DomName('WebGLRenderingContext.texParameterf')
2874 @DocsEditable() 3279 @DocsEditable()
2875 void texParameterf(int target, int pname, num param) => _blink.BlinkWebGLRende ringContext.instance.texParameterf_Callback_3_(this, target, pname, param); 3280 void texParameterf(int target, int pname, num param) => _blink.BlinkWebGLRende ringContext.instance.texParameterf_Callback_3_(unwrap_jso(this), target, pname, param);
2876 3281
2877 @DomName('WebGLRenderingContext.texParameteri') 3282 @DomName('WebGLRenderingContext.texParameteri')
2878 @DocsEditable() 3283 @DocsEditable()
2879 void texParameteri(int target, int pname, int param) => _blink.BlinkWebGLRende ringContext.instance.texParameteri_Callback_3_(this, target, pname, param); 3284 void texParameteri(int target, int pname, int param) => _blink.BlinkWebGLRende ringContext.instance.texParameteri_Callback_3_(unwrap_jso(this), target, pname, param);
2880 3285
2881 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, [in t type, TypedData pixels]) { 3286 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, [in t type, TypedData pixels]) {
2882 if ((pixels is TypedData || pixels == null) && (type is int) && (canvas_OR_f ormat_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) && (t arget is int)) { 3287 if ((pixels is TypedData || pixels == null) && (type is int) && (canvas_OR_f ormat_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) && (t arget is int)) {
2883 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_9_(this, target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_for mat_OR_image_OR_pixels_OR_video, type, pixels); 3288 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_9_(unwra p_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type, u nwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video), type, unwrap_jso(pixels ));
2884 return; 3289 return;
2885 } 3290 }
2886 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) && (forma t_OR_width is int) && (yoffset is int) && (xoffset is int) && (level is int) && (target is int) && type == null && pixels == null) { 3291 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) && (forma t_OR_width is int) && (yoffset is int) && (xoffset is int) && (level is int) && (target is int) && type == null && pixels == null) {
2887 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_(this, target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_for mat_OR_image_OR_pixels_OR_video); 3292 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_(unwra p_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type, u nwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video));
2888 return; 3293 return;
2889 } 3294 }
2890 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement) && (heigh t_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) { 3295 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement) && (heigh t_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) {
2891 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_(this, target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_for mat_OR_image_OR_pixels_OR_video); 3296 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_(unwra p_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type, u nwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video));
2892 return; 3297 return;
2893 } 3298 }
2894 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement) && (heig ht_OR_type is int) && (format_OR_width is int) && (yoffset is int) && (xoffset i s int) && (level is int) && (target is int) && type == null && pixels == null) { 3299 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement) && (heig ht_OR_type is int) && (format_OR_width is int) && (yoffset is int) && (xoffset i s int) && (level is int) && (target is int) && type == null && pixels == null) {
2895 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_(this, target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_for mat_OR_image_OR_pixels_OR_video); 3300 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_(unwra p_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type, u nwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video));
2896 return; 3301 return;
2897 } 3302 }
2898 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement) && (heigh t_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) { 3303 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement) && (heigh t_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) {
2899 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_(this, target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_for mat_OR_image_OR_pixels_OR_video); 3304 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_(unwra p_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type, u nwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video));
2900 return; 3305 return;
2901 } 3306 }
2902 throw new ArgumentError("Incorrect number or type of arguments"); 3307 throw new ArgumentError("Incorrect number or type of arguments");
2903 } 3308 }
2904 3309
2905 @DomName('WebGLRenderingContext.texSubImage2DCanvas') 3310 @DomName('WebGLRenderingContext.texSubImage2DCanvas')
2906 @DocsEditable() 3311 @DocsEditable()
2907 void texSubImage2DCanvas(int target, int level, int xoffset, int yoffset, int format, int type, CanvasElement canvas) => _blink.BlinkWebGLRenderingContext.ins tance.texSubImage2D_Callback_7_(this, target, level, xoffset, yoffset, format, t ype, canvas); 3312 void texSubImage2DCanvas(int target, int level, int xoffset, int yoffset, int format, int type, CanvasElement canvas) => _blink.BlinkWebGLRenderingContext.ins tance.texSubImage2D_Callback_7_(unwrap_jso(this), target, level, xoffset, yoffse t, format, type, unwrap_jso(canvas));
2908 3313
2909 @DomName('WebGLRenderingContext.texSubImage2DImage') 3314 @DomName('WebGLRenderingContext.texSubImage2DImage')
2910 @DocsEditable() 3315 @DocsEditable()
2911 void texSubImage2DImage(int target, int level, int xoffset, int yoffset, int f ormat, int type, ImageElement image) => _blink.BlinkWebGLRenderingContext.instan ce.texSubImage2D_Callback_7_(this, target, level, xoffset, yoffset, format, type , image); 3316 void texSubImage2DImage(int target, int level, int xoffset, int yoffset, int f ormat, int type, ImageElement image) => _blink.BlinkWebGLRenderingContext.instan ce.texSubImage2D_Callback_7_(unwrap_jso(this), target, level, xoffset, yoffset, format, type, unwrap_jso(image));
2912 3317
2913 @DomName('WebGLRenderingContext.texSubImage2DImageData') 3318 @DomName('WebGLRenderingContext.texSubImage2DImageData')
2914 @DocsEditable() 3319 @DocsEditable()
2915 void texSubImage2DImageData(int target, int level, int xoffset, int yoffset, i nt format, int type, ImageData pixels) => _blink.BlinkWebGLRenderingContext.inst ance.texSubImage2D_Callback_7_(this, target, level, xoffset, yoffset, format, ty pe, pixels); 3320 void texSubImage2DImageData(int target, int level, int xoffset, int yoffset, i nt format, int type, ImageData pixels) => _blink.BlinkWebGLRenderingContext.inst ance.texSubImage2D_Callback_7_(unwrap_jso(this), target, level, xoffset, yoffset , format, type, unwrap_jso(pixels));
2916 3321
2917 @DomName('WebGLRenderingContext.texSubImage2DVideo') 3322 @DomName('WebGLRenderingContext.texSubImage2DVideo')
2918 @DocsEditable() 3323 @DocsEditable()
2919 void texSubImage2DVideo(int target, int level, int xoffset, int yoffset, int f ormat, int type, VideoElement video) => _blink.BlinkWebGLRenderingContext.instan ce.texSubImage2D_Callback_7_(this, target, level, xoffset, yoffset, format, type , video); 3324 void texSubImage2DVideo(int target, int level, int xoffset, int yoffset, int f ormat, int type, VideoElement video) => _blink.BlinkWebGLRenderingContext.instan ce.texSubImage2D_Callback_7_(unwrap_jso(this), target, level, xoffset, yoffset, format, type, unwrap_jso(video));
2920 3325
2921 @DomName('WebGLRenderingContext.uniform1f') 3326 @DomName('WebGLRenderingContext.uniform1f')
2922 @DocsEditable() 3327 @DocsEditable()
2923 void uniform1f(UniformLocation location, num x) => _blink.BlinkWebGLRenderingC ontext.instance.uniform1f_Callback_2_(this, location, x); 3328 void uniform1f(UniformLocation location, num x) => _blink.BlinkWebGLRenderingC ontext.instance.uniform1f_Callback_2_(unwrap_jso(this), unwrap_jso(location), x) ;
2924 3329
2925 @DomName('WebGLRenderingContext.uniform1fv') 3330 @DomName('WebGLRenderingContext.uniform1fv')
2926 @DocsEditable() 3331 @DocsEditable()
2927 void uniform1fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR enderingContext.instance.uniform1fv_Callback_2_(this, location, v); 3332 void uniform1fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR enderingContext.instance.uniform1fv_Callback_2_(unwrap_jso(this), unwrap_jso(loc ation), v);
2928 3333
2929 @DomName('WebGLRenderingContext.uniform1i') 3334 @DomName('WebGLRenderingContext.uniform1i')
2930 @DocsEditable() 3335 @DocsEditable()
2931 void uniform1i(UniformLocation location, int x) => _blink.BlinkWebGLRenderingC ontext.instance.uniform1i_Callback_2_(this, location, x); 3336 void uniform1i(UniformLocation location, int x) => _blink.BlinkWebGLRenderingC ontext.instance.uniform1i_Callback_2_(unwrap_jso(this), unwrap_jso(location), x) ;
2932 3337
2933 @DomName('WebGLRenderingContext.uniform1iv') 3338 @DomName('WebGLRenderingContext.uniform1iv')
2934 @DocsEditable() 3339 @DocsEditable()
2935 void uniform1iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen deringContext.instance.uniform1iv_Callback_2_(this, location, v); 3340 void uniform1iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen deringContext.instance.uniform1iv_Callback_2_(unwrap_jso(this), unwrap_jso(locat ion), v);
2936 3341
2937 @DomName('WebGLRenderingContext.uniform2f') 3342 @DomName('WebGLRenderingContext.uniform2f')
2938 @DocsEditable() 3343 @DocsEditable()
2939 void uniform2f(UniformLocation location, num x, num y) => _blink.BlinkWebGLRen deringContext.instance.uniform2f_Callback_3_(this, location, x, y); 3344 void uniform2f(UniformLocation location, num x, num y) => _blink.BlinkWebGLRen deringContext.instance.uniform2f_Callback_3_(unwrap_jso(this), unwrap_jso(locati on), x, y);
2940 3345
2941 @DomName('WebGLRenderingContext.uniform2fv') 3346 @DomName('WebGLRenderingContext.uniform2fv')
2942 @DocsEditable() 3347 @DocsEditable()
2943 void uniform2fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR enderingContext.instance.uniform2fv_Callback_2_(this, location, v); 3348 void uniform2fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR enderingContext.instance.uniform2fv_Callback_2_(unwrap_jso(this), unwrap_jso(loc ation), v);
2944 3349
2945 @DomName('WebGLRenderingContext.uniform2i') 3350 @DomName('WebGLRenderingContext.uniform2i')
2946 @DocsEditable() 3351 @DocsEditable()
2947 void uniform2i(UniformLocation location, int x, int y) => _blink.BlinkWebGLRen deringContext.instance.uniform2i_Callback_3_(this, location, x, y); 3352 void uniform2i(UniformLocation location, int x, int y) => _blink.BlinkWebGLRen deringContext.instance.uniform2i_Callback_3_(unwrap_jso(this), unwrap_jso(locati on), x, y);
2948 3353
2949 @DomName('WebGLRenderingContext.uniform2iv') 3354 @DomName('WebGLRenderingContext.uniform2iv')
2950 @DocsEditable() 3355 @DocsEditable()
2951 void uniform2iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen deringContext.instance.uniform2iv_Callback_2_(this, location, v); 3356 void uniform2iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen deringContext.instance.uniform2iv_Callback_2_(unwrap_jso(this), unwrap_jso(locat ion), v);
2952 3357
2953 @DomName('WebGLRenderingContext.uniform3f') 3358 @DomName('WebGLRenderingContext.uniform3f')
2954 @DocsEditable() 3359 @DocsEditable()
2955 void uniform3f(UniformLocation location, num x, num y, num z) => _blink.BlinkW ebGLRenderingContext.instance.uniform3f_Callback_4_(this, location, x, y, z); 3360 void uniform3f(UniformLocation location, num x, num y, num z) => _blink.BlinkW ebGLRenderingContext.instance.uniform3f_Callback_4_(unwrap_jso(this), unwrap_jso (location), x, y, z);
2956 3361
2957 @DomName('WebGLRenderingContext.uniform3fv') 3362 @DomName('WebGLRenderingContext.uniform3fv')
2958 @DocsEditable() 3363 @DocsEditable()
2959 void uniform3fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR enderingContext.instance.uniform3fv_Callback_2_(this, location, v); 3364 void uniform3fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR enderingContext.instance.uniform3fv_Callback_2_(unwrap_jso(this), unwrap_jso(loc ation), v);
2960 3365
2961 @DomName('WebGLRenderingContext.uniform3i') 3366 @DomName('WebGLRenderingContext.uniform3i')
2962 @DocsEditable() 3367 @DocsEditable()
2963 void uniform3i(UniformLocation location, int x, int y, int z) => _blink.BlinkW ebGLRenderingContext.instance.uniform3i_Callback_4_(this, location, x, y, z); 3368 void uniform3i(UniformLocation location, int x, int y, int z) => _blink.BlinkW ebGLRenderingContext.instance.uniform3i_Callback_4_(unwrap_jso(this), unwrap_jso (location), x, y, z);
2964 3369
2965 @DomName('WebGLRenderingContext.uniform3iv') 3370 @DomName('WebGLRenderingContext.uniform3iv')
2966 @DocsEditable() 3371 @DocsEditable()
2967 void uniform3iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen deringContext.instance.uniform3iv_Callback_2_(this, location, v); 3372 void uniform3iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen deringContext.instance.uniform3iv_Callback_2_(unwrap_jso(this), unwrap_jso(locat ion), v);
2968 3373
2969 @DomName('WebGLRenderingContext.uniform4f') 3374 @DomName('WebGLRenderingContext.uniform4f')
2970 @DocsEditable() 3375 @DocsEditable()
2971 void uniform4f(UniformLocation location, num x, num y, num z, num w) => _blink .BlinkWebGLRenderingContext.instance.uniform4f_Callback_5_(this, location, x, y, z, w); 3376 void uniform4f(UniformLocation location, num x, num y, num z, num w) => _blink .BlinkWebGLRenderingContext.instance.uniform4f_Callback_5_(unwrap_jso(this), unw rap_jso(location), x, y, z, w);
2972 3377
2973 @DomName('WebGLRenderingContext.uniform4fv') 3378 @DomName('WebGLRenderingContext.uniform4fv')
2974 @DocsEditable() 3379 @DocsEditable()
2975 void uniform4fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR enderingContext.instance.uniform4fv_Callback_2_(this, location, v); 3380 void uniform4fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR enderingContext.instance.uniform4fv_Callback_2_(unwrap_jso(this), unwrap_jso(loc ation), v);
2976 3381
2977 @DomName('WebGLRenderingContext.uniform4i') 3382 @DomName('WebGLRenderingContext.uniform4i')
2978 @DocsEditable() 3383 @DocsEditable()
2979 void uniform4i(UniformLocation location, int x, int y, int z, int w) => _blink .BlinkWebGLRenderingContext.instance.uniform4i_Callback_5_(this, location, x, y, z, w); 3384 void uniform4i(UniformLocation location, int x, int y, int z, int w) => _blink .BlinkWebGLRenderingContext.instance.uniform4i_Callback_5_(unwrap_jso(this), unw rap_jso(location), x, y, z, w);
2980 3385
2981 @DomName('WebGLRenderingContext.uniform4iv') 3386 @DomName('WebGLRenderingContext.uniform4iv')
2982 @DocsEditable() 3387 @DocsEditable()
2983 void uniform4iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen deringContext.instance.uniform4iv_Callback_2_(this, location, v); 3388 void uniform4iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen deringContext.instance.uniform4iv_Callback_2_(unwrap_jso(this), unwrap_jso(locat ion), v);
2984 3389
2985 @DomName('WebGLRenderingContext.uniformMatrix2fv') 3390 @DomName('WebGLRenderingContext.uniformMatrix2fv')
2986 @DocsEditable() 3391 @DocsEditable()
2987 void uniformMatrix2fv(UniformLocation location, bool transpose, Float32List ar ray) => _blink.BlinkWebGLRenderingContext.instance.uniformMatrix2fv_Callback_3_( this, location, transpose, array); 3392 void uniformMatrix2fv(UniformLocation location, bool transpose, Float32List ar ray) => _blink.BlinkWebGLRenderingContext.instance.uniformMatrix2fv_Callback_3_( unwrap_jso(this), unwrap_jso(location), transpose, array);
2988 3393
2989 @DomName('WebGLRenderingContext.uniformMatrix3fv') 3394 @DomName('WebGLRenderingContext.uniformMatrix3fv')
2990 @DocsEditable() 3395 @DocsEditable()
2991 void uniformMatrix3fv(UniformLocation location, bool transpose, Float32List ar ray) => _blink.BlinkWebGLRenderingContext.instance.uniformMatrix3fv_Callback_3_( this, location, transpose, array); 3396 void uniformMatrix3fv(UniformLocation location, bool transpose, Float32List ar ray) => _blink.BlinkWebGLRenderingContext.instance.uniformMatrix3fv_Callback_3_( unwrap_jso(this), unwrap_jso(location), transpose, array);
2992 3397
2993 @DomName('WebGLRenderingContext.uniformMatrix4fv') 3398 @DomName('WebGLRenderingContext.uniformMatrix4fv')
2994 @DocsEditable() 3399 @DocsEditable()
2995 void uniformMatrix4fv(UniformLocation location, bool transpose, Float32List ar ray) => _blink.BlinkWebGLRenderingContext.instance.uniformMatrix4fv_Callback_3_( this, location, transpose, array); 3400 void uniformMatrix4fv(UniformLocation location, bool transpose, Float32List ar ray) => _blink.BlinkWebGLRenderingContext.instance.uniformMatrix4fv_Callback_3_( unwrap_jso(this), unwrap_jso(location), transpose, array);
2996 3401
2997 @DomName('WebGLRenderingContext.useProgram') 3402 @DomName('WebGLRenderingContext.useProgram')
2998 @DocsEditable() 3403 @DocsEditable()
2999 void useProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance .useProgram_Callback_1_(this, program); 3404 void useProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance .useProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program));
3000 3405
3001 @DomName('WebGLRenderingContext.validateProgram') 3406 @DomName('WebGLRenderingContext.validateProgram')
3002 @DocsEditable() 3407 @DocsEditable()
3003 void validateProgram(Program program) => _blink.BlinkWebGLRenderingContext.ins tance.validateProgram_Callback_1_(this, program); 3408 void validateProgram(Program program) => _blink.BlinkWebGLRenderingContext.ins tance.validateProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program));
3004 3409
3005 @DomName('WebGLRenderingContext.vertexAttrib1f') 3410 @DomName('WebGLRenderingContext.vertexAttrib1f')
3006 @DocsEditable() 3411 @DocsEditable()
3007 void vertexAttrib1f(int indx, num x) => _blink.BlinkWebGLRenderingContext.inst ance.vertexAttrib1f_Callback_2_(this, indx, x); 3412 void vertexAttrib1f(int indx, num x) => _blink.BlinkWebGLRenderingContext.inst ance.vertexAttrib1f_Callback_2_(unwrap_jso(this), indx, x);
3008 3413
3009 @DomName('WebGLRenderingContext.vertexAttrib1fv') 3414 @DomName('WebGLRenderingContext.vertexAttrib1fv')
3010 @DocsEditable() 3415 @DocsEditable()
3011 void vertexAttrib1fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi ngContext.instance.vertexAttrib1fv_Callback_2_(this, indx, values); 3416 void vertexAttrib1fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi ngContext.instance.vertexAttrib1fv_Callback_2_(unwrap_jso(this), indx, values);
3012 3417
3013 @DomName('WebGLRenderingContext.vertexAttrib2f') 3418 @DomName('WebGLRenderingContext.vertexAttrib2f')
3014 @DocsEditable() 3419 @DocsEditable()
3015 void vertexAttrib2f(int indx, num x, num y) => _blink.BlinkWebGLRenderingConte xt.instance.vertexAttrib2f_Callback_3_(this, indx, x, y); 3420 void vertexAttrib2f(int indx, num x, num y) => _blink.BlinkWebGLRenderingConte xt.instance.vertexAttrib2f_Callback_3_(unwrap_jso(this), indx, x, y);
3016 3421
3017 @DomName('WebGLRenderingContext.vertexAttrib2fv') 3422 @DomName('WebGLRenderingContext.vertexAttrib2fv')
3018 @DocsEditable() 3423 @DocsEditable()
3019 void vertexAttrib2fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi ngContext.instance.vertexAttrib2fv_Callback_2_(this, indx, values); 3424 void vertexAttrib2fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi ngContext.instance.vertexAttrib2fv_Callback_2_(unwrap_jso(this), indx, values);
3020 3425
3021 @DomName('WebGLRenderingContext.vertexAttrib3f') 3426 @DomName('WebGLRenderingContext.vertexAttrib3f')
3022 @DocsEditable() 3427 @DocsEditable()
3023 void vertexAttrib3f(int indx, num x, num y, num z) => _blink.BlinkWebGLRenderi ngContext.instance.vertexAttrib3f_Callback_4_(this, indx, x, y, z); 3428 void vertexAttrib3f(int indx, num x, num y, num z) => _blink.BlinkWebGLRenderi ngContext.instance.vertexAttrib3f_Callback_4_(unwrap_jso(this), indx, x, y, z);
3024 3429
3025 @DomName('WebGLRenderingContext.vertexAttrib3fv') 3430 @DomName('WebGLRenderingContext.vertexAttrib3fv')
3026 @DocsEditable() 3431 @DocsEditable()
3027 void vertexAttrib3fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi ngContext.instance.vertexAttrib3fv_Callback_2_(this, indx, values); 3432 void vertexAttrib3fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi ngContext.instance.vertexAttrib3fv_Callback_2_(unwrap_jso(this), indx, values);
3028 3433
3029 @DomName('WebGLRenderingContext.vertexAttrib4f') 3434 @DomName('WebGLRenderingContext.vertexAttrib4f')
3030 @DocsEditable() 3435 @DocsEditable()
3031 void vertexAttrib4f(int indx, num x, num y, num z, num w) => _blink.BlinkWebGL RenderingContext.instance.vertexAttrib4f_Callback_5_(this, indx, x, y, z, w); 3436 void vertexAttrib4f(int indx, num x, num y, num z, num w) => _blink.BlinkWebGL RenderingContext.instance.vertexAttrib4f_Callback_5_(unwrap_jso(this), indx, x, y, z, w);
3032 3437
3033 @DomName('WebGLRenderingContext.vertexAttrib4fv') 3438 @DomName('WebGLRenderingContext.vertexAttrib4fv')
3034 @DocsEditable() 3439 @DocsEditable()
3035 void vertexAttrib4fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi ngContext.instance.vertexAttrib4fv_Callback_2_(this, indx, values); 3440 void vertexAttrib4fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi ngContext.instance.vertexAttrib4fv_Callback_2_(unwrap_jso(this), indx, values);
3036 3441
3037 @DomName('WebGLRenderingContext.vertexAttribPointer') 3442 @DomName('WebGLRenderingContext.vertexAttribPointer')
3038 @DocsEditable() 3443 @DocsEditable()
3039 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset) => _blink.BlinkWebGLRenderingContext.instance.vertexAttribPoin ter_Callback_6_(this, indx, size, type, normalized, stride, offset); 3444 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset) => _blink.BlinkWebGLRenderingContext.instance.vertexAttribPoin ter_Callback_6_(unwrap_jso(this), indx, size, type, normalized, stride, offset);
3040 3445
3041 @DomName('WebGLRenderingContext.viewport') 3446 @DomName('WebGLRenderingContext.viewport')
3042 @DocsEditable() 3447 @DocsEditable()
3043 void viewport(int x, int y, int width, int height) => _blink.BlinkWebGLRenderi ngContext.instance.viewport_Callback_4_(this, x, y, width, height); 3448 void viewport(int x, int y, int width, int height) => _blink.BlinkWebGLRenderi ngContext.instance.viewport_Callback_4_(unwrap_jso(this), x, y, width, height);
3044 3449
3045 3450
3046 /** 3451 /**
3047 * Sets the currently bound texture to [data]. 3452 * Sets the currently bound texture to [data].
3048 * 3453 *
3049 * [data] can be either an [ImageElement], a 3454 * [data] can be either an [ImageElement], a
3050 * [CanvasElement], a [VideoElement], or an [ImageData] object. 3455 * [CanvasElement], a [VideoElement], or an [ImageData] object.
3051 * 3456 *
3052 * To use [texImage2d] with a TypedData object, use [texImage2dTyped]. 3457 * To use [texImage2d] with a TypedData object, use [texImage2dTyped].
3053 * 3458 *
3054 */ 3459 */
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
3109 3514
3110 // WARNING: Do not edit - generated code. 3515 // WARNING: Do not edit - generated code.
3111 3516
3112 3517
3113 @DocsEditable() 3518 @DocsEditable()
3114 @DomName('WebGLShader') 3519 @DomName('WebGLShader')
3115 class Shader extends NativeFieldWrapperClass2 { 3520 class Shader extends NativeFieldWrapperClass2 {
3116 // To suppress missing implicit constructor warnings. 3521 // To suppress missing implicit constructor warnings.
3117 factory Shader._() { throw new UnsupportedError("Not supported"); } 3522 factory Shader._() { throw new UnsupportedError("Not supported"); }
3118 3523
3524 static Shader internalCreateShader() {
3525 return new Shader._internalWrap();
3526 }
3527
3528 JsObject blink_jsObject = null;
3529
3530 factory Shader._internalWrap() {
3531 return new Shader._internal();
3532 }
3533
3534 Shader._internal() { }
3535
3536 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
3537
3119 } 3538 }
3120 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3539 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3121 // for details. All rights reserved. Use of this source code is governed by a 3540 // for details. All rights reserved. Use of this source code is governed by a
3122 // BSD-style license that can be found in the LICENSE file. 3541 // BSD-style license that can be found in the LICENSE file.
3123 3542
3124 // WARNING: Do not edit - generated code. 3543 // WARNING: Do not edit - generated code.
3125 3544
3126 3545
3127 @DocsEditable() 3546 @DocsEditable()
3128 @DomName('WebGLShaderPrecisionFormat') 3547 @DomName('WebGLShaderPrecisionFormat')
3129 class ShaderPrecisionFormat extends NativeFieldWrapperClass2 { 3548 class ShaderPrecisionFormat extends NativeFieldWrapperClass2 {
3130 // To suppress missing implicit constructor warnings. 3549 // To suppress missing implicit constructor warnings.
3131 factory ShaderPrecisionFormat._() { throw new UnsupportedError("Not supported" ); } 3550 factory ShaderPrecisionFormat._() { throw new UnsupportedError("Not supported" ); }
3132 3551
3552 static ShaderPrecisionFormat internalCreateShaderPrecisionFormat() {
3553 return new ShaderPrecisionFormat._internalWrap();
3554 }
3555
3556 JsObject blink_jsObject = null;
3557
3558 factory ShaderPrecisionFormat._internalWrap() {
3559 return new ShaderPrecisionFormat._internal();
3560 }
3561
3562 ShaderPrecisionFormat._internal() { }
3563
3564 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
3565
3133 @DomName('WebGLShaderPrecisionFormat.precision') 3566 @DomName('WebGLShaderPrecisionFormat.precision')
3134 @DocsEditable() 3567 @DocsEditable()
3135 int get precision => _blink.BlinkWebGLShaderPrecisionFormat.instance.precision _Getter_(this); 3568 int get precision => _blink.BlinkWebGLShaderPrecisionFormat.instance.precision _Getter_(unwrap_jso(this));
3136 3569
3137 @DomName('WebGLShaderPrecisionFormat.rangeMax') 3570 @DomName('WebGLShaderPrecisionFormat.rangeMax')
3138 @DocsEditable() 3571 @DocsEditable()
3139 int get rangeMax => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMax_G etter_(this); 3572 int get rangeMax => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMax_G etter_(unwrap_jso(this));
3140 3573
3141 @DomName('WebGLShaderPrecisionFormat.rangeMin') 3574 @DomName('WebGLShaderPrecisionFormat.rangeMin')
3142 @DocsEditable() 3575 @DocsEditable()
3143 int get rangeMin => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMin_G etter_(this); 3576 int get rangeMin => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMin_G etter_(unwrap_jso(this));
3144 3577
3145 } 3578 }
3146 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3579 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3147 // for details. All rights reserved. Use of this source code is governed by a 3580 // for details. All rights reserved. Use of this source code is governed by a
3148 // BSD-style license that can be found in the LICENSE file. 3581 // BSD-style license that can be found in the LICENSE file.
3149 3582
3150 // WARNING: Do not edit - generated code. 3583 // WARNING: Do not edit - generated code.
3151 3584
3152 3585
3153 @DocsEditable() 3586 @DocsEditable()
3154 @DomName('WebGLTexture') 3587 @DomName('WebGLTexture')
3155 class Texture extends NativeFieldWrapperClass2 { 3588 class Texture extends NativeFieldWrapperClass2 {
3156 // To suppress missing implicit constructor warnings. 3589 // To suppress missing implicit constructor warnings.
3157 factory Texture._() { throw new UnsupportedError("Not supported"); } 3590 factory Texture._() { throw new UnsupportedError("Not supported"); }
3158 3591
3592 static Texture internalCreateTexture() {
3593 return new Texture._internalWrap();
3594 }
3595
3596 JsObject blink_jsObject = null;
3597
3598 factory Texture._internalWrap() {
3599 return new Texture._internal();
3600 }
3601
3602 Texture._internal() { }
3603
3604 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
3605
3159 } 3606 }
3160 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3607 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3161 // for details. All rights reserved. Use of this source code is governed by a 3608 // for details. All rights reserved. Use of this source code is governed by a
3162 // BSD-style license that can be found in the LICENSE file. 3609 // BSD-style license that can be found in the LICENSE file.
3163 3610
3164 // WARNING: Do not edit - generated code. 3611 // WARNING: Do not edit - generated code.
3165 3612
3166 3613
3167 @DocsEditable() 3614 @DocsEditable()
3168 @DomName('WebGLUniformLocation') 3615 @DomName('WebGLUniformLocation')
3169 class UniformLocation extends NativeFieldWrapperClass2 { 3616 class UniformLocation extends NativeFieldWrapperClass2 {
3170 // To suppress missing implicit constructor warnings. 3617 // To suppress missing implicit constructor warnings.
3171 factory UniformLocation._() { throw new UnsupportedError("Not supported"); } 3618 factory UniformLocation._() { throw new UnsupportedError("Not supported"); }
3172 3619
3620 static UniformLocation internalCreateUniformLocation() {
3621 return new UniformLocation._internalWrap();
3622 }
3623
3624 JsObject blink_jsObject = null;
3625
3626 factory UniformLocation._internalWrap() {
3627 return new UniformLocation._internal();
3628 }
3629
3630 UniformLocation._internal() { }
3631
3632 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
3633
3173 } 3634 }
3174 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3635 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3175 // for details. All rights reserved. Use of this source code is governed by a 3636 // for details. All rights reserved. Use of this source code is governed by a
3176 // BSD-style license that can be found in the LICENSE file. 3637 // BSD-style license that can be found in the LICENSE file.
3177 3638
3178 // WARNING: Do not edit - generated code. 3639 // WARNING: Do not edit - generated code.
3179 3640
3180 3641
3181 @DocsEditable() 3642 @DocsEditable()
3182 @DomName('WebGLVertexArrayObjectOES') 3643 @DomName('WebGLVertexArrayObjectOES')
3183 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ 3644 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
3184 @Experimental() // experimental 3645 @Experimental() // experimental
3185 class VertexArrayObject extends NativeFieldWrapperClass2 { 3646 class VertexArrayObject extends NativeFieldWrapperClass2 {
3186 // To suppress missing implicit constructor warnings. 3647 // To suppress missing implicit constructor warnings.
3187 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } 3648 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); }
3188 3649
3650 static VertexArrayObject internalCreateVertexArrayObject() {
3651 return new VertexArrayObject._internalWrap();
3652 }
3653
3654 JsObject blink_jsObject = null;
3655
3656 factory VertexArrayObject._internalWrap() {
3657 return new VertexArrayObject._internal();
3658 }
3659
3660 VertexArrayObject._internal() { }
3661
3662 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
3663
3189 } 3664 }
3190 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3665 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3191 // for details. All rights reserved. Use of this source code is governed by a 3666 // for details. All rights reserved. Use of this source code is governed by a
3192 // BSD-style license that can be found in the LICENSE file. 3667 // BSD-style license that can be found in the LICENSE file.
3193 3668
3194 // WARNING: Do not edit - generated code. 3669 // WARNING: Do not edit - generated code.
3195 3670
3196 3671
3197 @DocsEditable() 3672 @DocsEditable()
3198 @DomName('WebGLRenderingContextBase') 3673 @DomName('WebGLRenderingContextBase')
3199 @Experimental() // untriaged 3674 @Experimental() // untriaged
3200 abstract class _WebGLRenderingContextBase extends NativeFieldWrapperClass2 { 3675 abstract class _WebGLRenderingContextBase extends NativeFieldWrapperClass2 {
3201 // To suppress missing implicit constructor warnings. 3676 // To suppress missing implicit constructor warnings.
3202 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo rted"); } 3677 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo rted"); }
3203 3678
3679 static _WebGLRenderingContextBase internalCreate_WebGLRenderingContextBase() {
3680 return new _WebGLRenderingContextBase._internalWrap();
3681 }
3682
3683 JsObject blink_jsObject = null;
3684
3685 factory _WebGLRenderingContextBase._internalWrap() {
3686 return new _WebGLRenderingContextBase._internal();
3687 }
3688
3689 _WebGLRenderingContextBase._internal() { }
3690
3691 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
3692
3204 } 3693 }
OLDNEW
« 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