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

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

Issue 1832713002: Optimize dartium dart:html bindings so real world application performance is acceptable. Improves d… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View 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'; 8 import 'dart:_internal';
9 import 'dart:html'; 9 import 'dart:html';
10 import 'dart:html_common'; 10 import 'dart:html_common';
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 return new ActiveInfo._internalWrap(); 435 return new ActiveInfo._internalWrap();
436 } 436 }
437 437
438 factory ActiveInfo._internalWrap() { 438 factory ActiveInfo._internalWrap() {
439 return new ActiveInfo.internal_(); 439 return new ActiveInfo.internal_();
440 } 440 }
441 441
442 @Deprecated("Internal Use Only") 442 @Deprecated("Internal Use Only")
443 ActiveInfo.internal_() { } 443 ActiveInfo.internal_() { }
444 444
445 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
446 int get hashCode => unwrap_jso(this).hashCode;
447
448 @DomName('WebGLActiveInfo.name') 445 @DomName('WebGLActiveInfo.name')
449 @DocsEditable() 446 @DocsEditable()
450 String get name => _blink.BlinkWebGLActiveInfo.instance.name_Getter_(unwrap_js o(this)); 447 String get name => _blink.BlinkWebGLActiveInfo.instance.name_Getter_(this);
451 448
452 @DomName('WebGLActiveInfo.size') 449 @DomName('WebGLActiveInfo.size')
453 @DocsEditable() 450 @DocsEditable()
454 int get size => _blink.BlinkWebGLActiveInfo.instance.size_Getter_(unwrap_jso(t his)); 451 int get size => _blink.BlinkWebGLActiveInfo.instance.size_Getter_(this);
455 452
456 @DomName('WebGLActiveInfo.type') 453 @DomName('WebGLActiveInfo.type')
457 @DocsEditable() 454 @DocsEditable()
458 int get type => _blink.BlinkWebGLActiveInfo.instance.type_Getter_(unwrap_jso(t his)); 455 int get type => _blink.BlinkWebGLActiveInfo.instance.type_Getter_(this);
459 456
460 } 457 }
461 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 458 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
462 // for details. All rights reserved. Use of this source code is governed by a 459 // for details. All rights reserved. Use of this source code is governed by a
463 // BSD-style license that can be found in the LICENSE file. 460 // BSD-style license that can be found in the LICENSE file.
464 461
465 // WARNING: Do not edit - generated code. 462 // WARNING: Do not edit - generated code.
466 463
467 464
468 @DocsEditable() 465 @DocsEditable()
469 @DomName('ANGLEInstancedArrays') 466 @DomName('ANGLEInstancedArrays')
470 @Experimental() // untriaged 467 @Experimental() // untriaged
471 class AngleInstancedArrays extends DartHtmlDomObject { 468 class AngleInstancedArrays extends DartHtmlDomObject {
472 // To suppress missing implicit constructor warnings. 469 // To suppress missing implicit constructor warnings.
473 factory AngleInstancedArrays._() { throw new UnsupportedError("Not supported") ; } 470 factory AngleInstancedArrays._() { throw new UnsupportedError("Not supported") ; }
474 471
475 @Deprecated("Internal Use Only") 472 @Deprecated("Internal Use Only")
476 static AngleInstancedArrays internalCreateAngleInstancedArrays() { 473 static AngleInstancedArrays internalCreateAngleInstancedArrays() {
477 return new AngleInstancedArrays._internalWrap(); 474 return new AngleInstancedArrays._internalWrap();
478 } 475 }
479 476
480 factory AngleInstancedArrays._internalWrap() { 477 factory AngleInstancedArrays._internalWrap() {
481 return new AngleInstancedArrays.internal_(); 478 return new AngleInstancedArrays.internal_();
482 } 479 }
483 480
484 @Deprecated("Internal Use Only") 481 @Deprecated("Internal Use Only")
485 AngleInstancedArrays.internal_() { } 482 AngleInstancedArrays.internal_() { }
486 483
487 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
488 int get hashCode => unwrap_jso(this).hashCode;
489
490 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE') 484 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE')
491 @DocsEditable() 485 @DocsEditable()
492 @Experimental() // untriaged 486 @Experimental() // untriaged
493 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; 487 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE;
494 488
495 @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE') 489 @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE')
496 @DocsEditable() 490 @DocsEditable()
497 @Experimental() // untriaged 491 @Experimental() // untriaged
498 void drawArraysInstancedAngle(int mode, int first, int count, int primcount) = > _blink.BlinkANGLEInstancedArrays.instance.drawArraysInstancedANGLE_Callback_4_ (unwrap_jso(this), mode, first, count, primcount); 492 void drawArraysInstancedAngle(int mode, int first, int count, int primcount) = > _blink.BlinkANGLEInstancedArrays.instance.drawArraysInstancedANGLE_Callback_4_ (this, mode, first, count, primcount);
499 493
500 @DomName('ANGLEInstancedArrays.drawElementsInstancedANGLE') 494 @DomName('ANGLEInstancedArrays.drawElementsInstancedANGLE')
501 @DocsEditable() 495 @DocsEditable()
502 @Experimental() // untriaged 496 @Experimental() // untriaged
503 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); 497 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);
504 498
505 @DomName('ANGLEInstancedArrays.vertexAttribDivisorANGLE') 499 @DomName('ANGLEInstancedArrays.vertexAttribDivisorANGLE')
506 @DocsEditable() 500 @DocsEditable()
507 @Experimental() // untriaged 501 @Experimental() // untriaged
508 void vertexAttribDivisorAngle(int index, int divisor) => _blink.BlinkANGLEInst ancedArrays.instance.vertexAttribDivisorANGLE_Callback_2_(unwrap_jso(this), inde x, divisor); 502 void vertexAttribDivisorAngle(int index, int divisor) => _blink.BlinkANGLEInst ancedArrays.instance.vertexAttribDivisorANGLE_Callback_2_(this, index, divisor);
509 503
510 } 504 }
511 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 505 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
512 // for details. All rights reserved. Use of this source code is governed by a 506 // for details. All rights reserved. Use of this source code is governed by a
513 // BSD-style license that can be found in the LICENSE file. 507 // BSD-style license that can be found in the LICENSE file.
514 508
515 // WARNING: Do not edit - generated code. 509 // WARNING: Do not edit - generated code.
516 510
517 511
518 @DocsEditable() 512 @DocsEditable()
519 @DomName('WebGLBuffer') 513 @DomName('WebGLBuffer')
520 @Unstable() 514 @Unstable()
521 class Buffer extends DartHtmlDomObject { 515 class Buffer extends DartHtmlDomObject {
522 // To suppress missing implicit constructor warnings. 516 // To suppress missing implicit constructor warnings.
523 factory Buffer._() { throw new UnsupportedError("Not supported"); } 517 factory Buffer._() { throw new UnsupportedError("Not supported"); }
524 518
525 @Deprecated("Internal Use Only") 519 @Deprecated("Internal Use Only")
526 static Buffer internalCreateBuffer() { 520 static Buffer internalCreateBuffer() {
527 return new Buffer._internalWrap(); 521 return new Buffer._internalWrap();
528 } 522 }
529 523
530 factory Buffer._internalWrap() { 524 factory Buffer._internalWrap() {
531 return new Buffer.internal_(); 525 return new Buffer.internal_();
532 } 526 }
533 527
534 @Deprecated("Internal Use Only") 528 @Deprecated("Internal Use Only")
535 Buffer.internal_() { } 529 Buffer.internal_() { }
536 530
537 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
538 int get hashCode => unwrap_jso(this).hashCode;
539
540 } 531 }
541 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 532 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
542 // for details. All rights reserved. Use of this source code is governed by a 533 // for details. All rights reserved. Use of this source code is governed by a
543 // BSD-style license that can be found in the LICENSE file. 534 // BSD-style license that can be found in the LICENSE file.
544 535
545 // WARNING: Do not edit - generated code. 536 // WARNING: Do not edit - generated code.
546 537
547 538
548 @DocsEditable() 539 @DocsEditable()
549 @DomName('CHROMIUMSubscribeUniform') 540 @DomName('CHROMIUMSubscribeUniform')
550 @Experimental() // untriaged 541 @Experimental() // untriaged
551 class ChromiumSubscribeUniform extends DartHtmlDomObject { 542 class ChromiumSubscribeUniform extends DartHtmlDomObject {
552 // To suppress missing implicit constructor warnings. 543 // To suppress missing implicit constructor warnings.
553 factory ChromiumSubscribeUniform._() { throw new UnsupportedError("Not support ed"); } 544 factory ChromiumSubscribeUniform._() { throw new UnsupportedError("Not support ed"); }
554 545
555 @Deprecated("Internal Use Only") 546 @Deprecated("Internal Use Only")
556 static ChromiumSubscribeUniform internalCreateChromiumSubscribeUniform() { 547 static ChromiumSubscribeUniform internalCreateChromiumSubscribeUniform() {
557 return new ChromiumSubscribeUniform._internalWrap(); 548 return new ChromiumSubscribeUniform._internalWrap();
558 } 549 }
559 550
560 factory ChromiumSubscribeUniform._internalWrap() { 551 factory ChromiumSubscribeUniform._internalWrap() {
561 return new ChromiumSubscribeUniform.internal_(); 552 return new ChromiumSubscribeUniform.internal_();
562 } 553 }
563 554
564 @Deprecated("Internal Use Only") 555 @Deprecated("Internal Use Only")
565 ChromiumSubscribeUniform.internal_() { } 556 ChromiumSubscribeUniform.internal_() { }
566 557
567 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
568 int get hashCode => unwrap_jso(this).hashCode;
569
570 @DomName('CHROMIUMSubscribeUniform.MOUSE_POSITION_CHROMIUM') 558 @DomName('CHROMIUMSubscribeUniform.MOUSE_POSITION_CHROMIUM')
571 @DocsEditable() 559 @DocsEditable()
572 @Experimental() // untriaged 560 @Experimental() // untriaged
573 static const int MOUSE_POSITION_CHROMIUM = 0x924C; 561 static const int MOUSE_POSITION_CHROMIUM = 0x924C;
574 562
575 @DomName('CHROMIUMSubscribeUniform.SUBSCRIBED_VALUES_BUFFER_CHROMIUM') 563 @DomName('CHROMIUMSubscribeUniform.SUBSCRIBED_VALUES_BUFFER_CHROMIUM')
576 @DocsEditable() 564 @DocsEditable()
577 @Experimental() // untriaged 565 @Experimental() // untriaged
578 static const int SUBSCRIBED_VALUES_BUFFER_CHROMIUM = 0x924B; 566 static const int SUBSCRIBED_VALUES_BUFFER_CHROMIUM = 0x924B;
579 567
580 @DomName('CHROMIUMSubscribeUniform.bindValuebufferCHROMIUM') 568 @DomName('CHROMIUMSubscribeUniform.bindValuebufferCHROMIUM')
581 @DocsEditable() 569 @DocsEditable()
582 @Experimental() // untriaged 570 @Experimental() // untriaged
583 void bindValuebufferChromium(int target, ChromiumValuebuffer buffer) => _blink .BlinkCHROMIUMSubscribeUniform.instance.bindValuebufferCHROMIUM_Callback_2_(unwr ap_jso(this), target, unwrap_jso(buffer)); 571 void bindValuebufferChromium(int target, ChromiumValuebuffer buffer) => _blink .BlinkCHROMIUMSubscribeUniform.instance.bindValuebufferCHROMIUM_Callback_2_(this , target, buffer);
584 572
585 @DomName('CHROMIUMSubscribeUniform.createValuebufferCHROMIUM') 573 @DomName('CHROMIUMSubscribeUniform.createValuebufferCHROMIUM')
586 @DocsEditable() 574 @DocsEditable()
587 @Experimental() // untriaged 575 @Experimental() // untriaged
588 ChromiumValuebuffer createValuebufferChromium() => wrap_jso(_blink.BlinkCHROMI UMSubscribeUniform.instance.createValuebufferCHROMIUM_Callback_0_(unwrap_jso(thi s))); 576 ChromiumValuebuffer createValuebufferChromium() => _blink.BlinkCHROMIUMSubscri beUniform.instance.createValuebufferCHROMIUM_Callback_0_(this);
589 577
590 @DomName('CHROMIUMSubscribeUniform.deleteValuebufferCHROMIUM') 578 @DomName('CHROMIUMSubscribeUniform.deleteValuebufferCHROMIUM')
591 @DocsEditable() 579 @DocsEditable()
592 @Experimental() // untriaged 580 @Experimental() // untriaged
593 void deleteValuebufferChromium(ChromiumValuebuffer buffer) => _blink.BlinkCHRO MIUMSubscribeUniform.instance.deleteValuebufferCHROMIUM_Callback_1_(unwrap_jso(t his), unwrap_jso(buffer)); 581 void deleteValuebufferChromium(ChromiumValuebuffer buffer) => _blink.BlinkCHRO MIUMSubscribeUniform.instance.deleteValuebufferCHROMIUM_Callback_1_(this, buffer );
594 582
595 @DomName('CHROMIUMSubscribeUniform.isValuebufferCHROMIUM') 583 @DomName('CHROMIUMSubscribeUniform.isValuebufferCHROMIUM')
596 @DocsEditable() 584 @DocsEditable()
597 @Experimental() // untriaged 585 @Experimental() // untriaged
598 bool isValuebufferChromium(ChromiumValuebuffer buffer) => _blink.BlinkCHROMIUM SubscribeUniform.instance.isValuebufferCHROMIUM_Callback_1_(unwrap_jso(this), un wrap_jso(buffer)); 586 bool isValuebufferChromium(ChromiumValuebuffer buffer) => _blink.BlinkCHROMIUM SubscribeUniform.instance.isValuebufferCHROMIUM_Callback_1_(this, buffer);
599 587
600 @DomName('CHROMIUMSubscribeUniform.populateSubscribedValuesCHROMIUM') 588 @DomName('CHROMIUMSubscribeUniform.populateSubscribedValuesCHROMIUM')
601 @DocsEditable() 589 @DocsEditable()
602 @Experimental() // untriaged 590 @Experimental() // untriaged
603 void populateSubscribedValuesChromium(int target) => _blink.BlinkCHROMIUMSubsc ribeUniform.instance.populateSubscribedValuesCHROMIUM_Callback_1_(unwrap_jso(thi s), target); 591 void populateSubscribedValuesChromium(int target) => _blink.BlinkCHROMIUMSubsc ribeUniform.instance.populateSubscribedValuesCHROMIUM_Callback_1_(this, target);
604 592
605 @DomName('CHROMIUMSubscribeUniform.subscribeValueCHROMIUM') 593 @DomName('CHROMIUMSubscribeUniform.subscribeValueCHROMIUM')
606 @DocsEditable() 594 @DocsEditable()
607 @Experimental() // untriaged 595 @Experimental() // untriaged
608 void subscribeValueChromium(int target, int subscriptions) => _blink.BlinkCHRO MIUMSubscribeUniform.instance.subscribeValueCHROMIUM_Callback_2_(unwrap_jso(this ), target, subscriptions); 596 void subscribeValueChromium(int target, int subscriptions) => _blink.BlinkCHRO MIUMSubscribeUniform.instance.subscribeValueCHROMIUM_Callback_2_(this, target, s ubscriptions);
609 597
610 @DomName('CHROMIUMSubscribeUniform.uniformValuebufferCHROMIUM') 598 @DomName('CHROMIUMSubscribeUniform.uniformValuebufferCHROMIUM')
611 @DocsEditable() 599 @DocsEditable()
612 @Experimental() // untriaged 600 @Experimental() // untriaged
613 void uniformValuebufferChromium(UniformLocation location, int target, int subs cription) => _blink.BlinkCHROMIUMSubscribeUniform.instance.uniformValuebufferCHR OMIUM_Callback_3_(unwrap_jso(this), unwrap_jso(location), target, subscription); 601 void uniformValuebufferChromium(UniformLocation location, int target, int subs cription) => _blink.BlinkCHROMIUMSubscribeUniform.instance.uniformValuebufferCHR OMIUM_Callback_3_(this, location, target, subscription);
614 602
615 } 603 }
616 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 604 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
617 // for details. All rights reserved. Use of this source code is governed by a 605 // for details. All rights reserved. Use of this source code is governed by a
618 // BSD-style license that can be found in the LICENSE file. 606 // BSD-style license that can be found in the LICENSE file.
619 607
620 // WARNING: Do not edit - generated code. 608 // WARNING: Do not edit - generated code.
621 609
622 610
623 @DocsEditable() 611 @DocsEditable()
624 @DomName('WebGLCompressedTextureATC') 612 @DomName('WebGLCompressedTextureATC')
625 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc / 613 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc /
626 @Experimental() 614 @Experimental()
627 class CompressedTextureAtc extends DartHtmlDomObject { 615 class CompressedTextureAtc extends DartHtmlDomObject {
628 // To suppress missing implicit constructor warnings. 616 // To suppress missing implicit constructor warnings.
629 factory CompressedTextureAtc._() { throw new UnsupportedError("Not supported") ; } 617 factory CompressedTextureAtc._() { throw new UnsupportedError("Not supported") ; }
630 618
631 @Deprecated("Internal Use Only") 619 @Deprecated("Internal Use Only")
632 static CompressedTextureAtc internalCreateCompressedTextureAtc() { 620 static CompressedTextureAtc internalCreateCompressedTextureAtc() {
633 return new CompressedTextureAtc._internalWrap(); 621 return new CompressedTextureAtc._internalWrap();
634 } 622 }
635 623
636 factory CompressedTextureAtc._internalWrap() { 624 factory CompressedTextureAtc._internalWrap() {
637 return new CompressedTextureAtc.internal_(); 625 return new CompressedTextureAtc.internal_();
638 } 626 }
639 627
640 @Deprecated("Internal Use Only") 628 @Deprecated("Internal Use Only")
641 CompressedTextureAtc.internal_() { } 629 CompressedTextureAtc.internal_() { }
642 630
643 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
644 int get hashCode => unwrap_jso(this).hashCode;
645
646 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL') 631 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL')
647 @DocsEditable() 632 @DocsEditable()
648 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93; 633 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93;
649 634
650 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEB GL') 635 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEB GL')
651 @DocsEditable() 636 @DocsEditable()
652 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE; 637 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE;
653 638
654 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL') 639 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL')
655 @DocsEditable() 640 @DocsEditable()
(...skipping 19 matching lines...) Expand all
675 return new CompressedTextureETC1._internalWrap(); 660 return new CompressedTextureETC1._internalWrap();
676 } 661 }
677 662
678 factory CompressedTextureETC1._internalWrap() { 663 factory CompressedTextureETC1._internalWrap() {
679 return new CompressedTextureETC1.internal_(); 664 return new CompressedTextureETC1.internal_();
680 } 665 }
681 666
682 @Deprecated("Internal Use Only") 667 @Deprecated("Internal Use Only")
683 CompressedTextureETC1.internal_() { } 668 CompressedTextureETC1.internal_() { }
684 669
685 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
686 int get hashCode => unwrap_jso(this).hashCode;
687
688 @DomName('WebGLCompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL') 670 @DomName('WebGLCompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL')
689 @DocsEditable() 671 @DocsEditable()
690 @Experimental() // untriaged 672 @Experimental() // untriaged
691 static const int COMPRESSED_RGB_ETC1_WEBGL = 0x8D64; 673 static const int COMPRESSED_RGB_ETC1_WEBGL = 0x8D64;
692 674
693 } 675 }
694 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 676 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
695 // for details. All rights reserved. Use of this source code is governed by a 677 // for details. All rights reserved. Use of this source code is governed by a
696 // BSD-style license that can be found in the LICENSE file. 678 // BSD-style license that can be found in the LICENSE file.
697 679
(...skipping 13 matching lines...) Expand all
711 return new CompressedTexturePvrtc._internalWrap(); 693 return new CompressedTexturePvrtc._internalWrap();
712 } 694 }
713 695
714 factory CompressedTexturePvrtc._internalWrap() { 696 factory CompressedTexturePvrtc._internalWrap() {
715 return new CompressedTexturePvrtc.internal_(); 697 return new CompressedTexturePvrtc.internal_();
716 } 698 }
717 699
718 @Deprecated("Internal Use Only") 700 @Deprecated("Internal Use Only")
719 CompressedTexturePvrtc.internal_() { } 701 CompressedTexturePvrtc.internal_() { }
720 702
721 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
722 int get hashCode => unwrap_jso(this).hashCode;
723
724 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG') 703 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG')
725 @DocsEditable() 704 @DocsEditable()
726 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03; 705 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03;
727 706
728 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG') 707 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG')
729 @DocsEditable() 708 @DocsEditable()
730 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02; 709 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02;
731 710
732 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG') 711 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG')
733 @DocsEditable() 712 @DocsEditable()
(...skipping 24 matching lines...) Expand all
758 return new CompressedTextureS3TC._internalWrap(); 737 return new CompressedTextureS3TC._internalWrap();
759 } 738 }
760 739
761 factory CompressedTextureS3TC._internalWrap() { 740 factory CompressedTextureS3TC._internalWrap() {
762 return new CompressedTextureS3TC.internal_(); 741 return new CompressedTextureS3TC.internal_();
763 } 742 }
764 743
765 @Deprecated("Internal Use Only") 744 @Deprecated("Internal Use Only")
766 CompressedTextureS3TC.internal_() { } 745 CompressedTextureS3TC.internal_() { }
767 746
768 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
769 int get hashCode => unwrap_jso(this).hashCode;
770
771 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT') 747 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT')
772 @DocsEditable() 748 @DocsEditable()
773 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; 749 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
774 750
775 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT') 751 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT')
776 @DocsEditable() 752 @DocsEditable()
777 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2; 753 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2;
778 754
779 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT') 755 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT')
780 @DocsEditable() 756 @DocsEditable()
(...skipping 16 matching lines...) Expand all
797 @Unstable() 773 @Unstable()
798 class ContextEvent extends Event { 774 class ContextEvent extends Event {
799 // To suppress missing implicit constructor warnings. 775 // To suppress missing implicit constructor warnings.
800 factory ContextEvent._() { throw new UnsupportedError("Not supported"); } 776 factory ContextEvent._() { throw new UnsupportedError("Not supported"); }
801 777
802 @DomName('WebGLContextEvent.WebGLContextEvent') 778 @DomName('WebGLContextEvent.WebGLContextEvent')
803 @DocsEditable() 779 @DocsEditable()
804 factory ContextEvent(String type, [Map eventInit]) { 780 factory ContextEvent(String type, [Map eventInit]) {
805 if (eventInit != null) { 781 if (eventInit != null) {
806 var eventInit_1 = convertDartToNative_Dictionary(eventInit); 782 var eventInit_1 = convertDartToNative_Dictionary(eventInit);
807 return wrap_jso(_blink.BlinkWebGLContextEvent.instance.constructorCallback _2_(type, eventInit_1)); 783 return _blink.BlinkWebGLContextEvent.instance.constructorCallback_2_(type, eventInit_1);
808 } 784 }
809 return wrap_jso(_blink.BlinkWebGLContextEvent.instance.constructorCallback_1 _(type)); 785 return _blink.BlinkWebGLContextEvent.instance.constructorCallback_1_(type);
810 } 786 }
811 787
812 788
813 @Deprecated("Internal Use Only") 789 @Deprecated("Internal Use Only")
814 static ContextEvent internalCreateContextEvent() { 790 static ContextEvent internalCreateContextEvent() {
815 return new ContextEvent._internalWrap(); 791 return new ContextEvent._internalWrap();
816 } 792 }
817 793
818 external factory ContextEvent._internalWrap(); 794 external factory ContextEvent._internalWrap();
819 795
820 @Deprecated("Internal Use Only") 796 @Deprecated("Internal Use Only")
821 ContextEvent.internal_() : super.internal_(); 797 ContextEvent.internal_() : super.internal_();
822 798
823 799
824 @DomName('WebGLContextEvent.statusMessage') 800 @DomName('WebGLContextEvent.statusMessage')
825 @DocsEditable() 801 @DocsEditable()
826 String get statusMessage => _blink.BlinkWebGLContextEvent.instance.statusMessa ge_Getter_(unwrap_jso(this)); 802 String get statusMessage => _blink.BlinkWebGLContextEvent.instance.statusMessa ge_Getter_(this);
827 803
828 } 804 }
829 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 805 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
830 // for details. All rights reserved. Use of this source code is governed by a 806 // for details. All rights reserved. Use of this source code is governed by a
831 // BSD-style license that can be found in the LICENSE file. 807 // BSD-style license that can be found in the LICENSE file.
832 808
833 // WARNING: Do not edit - generated code. 809 // WARNING: Do not edit - generated code.
834 810
835 811
836 @DocsEditable() 812 @DocsEditable()
837 @DomName('WebGLDebugRendererInfo') 813 @DomName('WebGLDebugRendererInfo')
838 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/ 814 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/
839 @Experimental() // experimental 815 @Experimental() // experimental
840 class DebugRendererInfo extends DartHtmlDomObject { 816 class DebugRendererInfo extends DartHtmlDomObject {
841 // To suppress missing implicit constructor warnings. 817 // To suppress missing implicit constructor warnings.
842 factory DebugRendererInfo._() { throw new UnsupportedError("Not supported"); } 818 factory DebugRendererInfo._() { throw new UnsupportedError("Not supported"); }
843 819
844 @Deprecated("Internal Use Only") 820 @Deprecated("Internal Use Only")
845 static DebugRendererInfo internalCreateDebugRendererInfo() { 821 static DebugRendererInfo internalCreateDebugRendererInfo() {
846 return new DebugRendererInfo._internalWrap(); 822 return new DebugRendererInfo._internalWrap();
847 } 823 }
848 824
849 factory DebugRendererInfo._internalWrap() { 825 factory DebugRendererInfo._internalWrap() {
850 return new DebugRendererInfo.internal_(); 826 return new DebugRendererInfo.internal_();
851 } 827 }
852 828
853 @Deprecated("Internal Use Only") 829 @Deprecated("Internal Use Only")
854 DebugRendererInfo.internal_() { } 830 DebugRendererInfo.internal_() { }
855 831
856 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
857 int get hashCode => unwrap_jso(this).hashCode;
858
859 @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL') 832 @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL')
860 @DocsEditable() 833 @DocsEditable()
861 static const int UNMASKED_RENDERER_WEBGL = 0x9246; 834 static const int UNMASKED_RENDERER_WEBGL = 0x9246;
862 835
863 @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL') 836 @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL')
864 @DocsEditable() 837 @DocsEditable()
865 static const int UNMASKED_VENDOR_WEBGL = 0x9245; 838 static const int UNMASKED_VENDOR_WEBGL = 0x9245;
866 839
867 } 840 }
868 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 841 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
(...skipping 16 matching lines...) Expand all
885 return new DebugShaders._internalWrap(); 858 return new DebugShaders._internalWrap();
886 } 859 }
887 860
888 factory DebugShaders._internalWrap() { 861 factory DebugShaders._internalWrap() {
889 return new DebugShaders.internal_(); 862 return new DebugShaders.internal_();
890 } 863 }
891 864
892 @Deprecated("Internal Use Only") 865 @Deprecated("Internal Use Only")
893 DebugShaders.internal_() { } 866 DebugShaders.internal_() { }
894 867
895 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
896 int get hashCode => unwrap_jso(this).hashCode;
897
898 @DomName('WebGLDebugShaders.getTranslatedShaderSource') 868 @DomName('WebGLDebugShaders.getTranslatedShaderSource')
899 @DocsEditable() 869 @DocsEditable()
900 String getTranslatedShaderSource(Shader shader) => _blink.BlinkWebGLDebugShade rs.instance.getTranslatedShaderSource_Callback_1_(unwrap_jso(this), unwrap_jso(s hader)); 870 String getTranslatedShaderSource(Shader shader) => _blink.BlinkWebGLDebugShade rs.instance.getTranslatedShaderSource_Callback_1_(this, shader);
901 871
902 } 872 }
903 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 873 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
904 // for details. All rights reserved. Use of this source code is governed by a 874 // for details. All rights reserved. Use of this source code is governed by a
905 // BSD-style license that can be found in the LICENSE file. 875 // BSD-style license that can be found in the LICENSE file.
906 876
907 // WARNING: Do not edit - generated code. 877 // WARNING: Do not edit - generated code.
908 878
909 879
910 @DocsEditable() 880 @DocsEditable()
911 @DomName('WebGLDepthTexture') 881 @DomName('WebGLDepthTexture')
912 // http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/ 882 // http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/
913 @Experimental() // experimental 883 @Experimental() // experimental
914 class DepthTexture extends DartHtmlDomObject { 884 class DepthTexture extends DartHtmlDomObject {
915 // To suppress missing implicit constructor warnings. 885 // To suppress missing implicit constructor warnings.
916 factory DepthTexture._() { throw new UnsupportedError("Not supported"); } 886 factory DepthTexture._() { throw new UnsupportedError("Not supported"); }
917 887
918 @Deprecated("Internal Use Only") 888 @Deprecated("Internal Use Only")
919 static DepthTexture internalCreateDepthTexture() { 889 static DepthTexture internalCreateDepthTexture() {
920 return new DepthTexture._internalWrap(); 890 return new DepthTexture._internalWrap();
921 } 891 }
922 892
923 factory DepthTexture._internalWrap() { 893 factory DepthTexture._internalWrap() {
924 return new DepthTexture.internal_(); 894 return new DepthTexture.internal_();
925 } 895 }
926 896
927 @Deprecated("Internal Use Only") 897 @Deprecated("Internal Use Only")
928 DepthTexture.internal_() { } 898 DepthTexture.internal_() { }
929 899
930 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
931 int get hashCode => unwrap_jso(this).hashCode;
932
933 @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL') 900 @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL')
934 @DocsEditable() 901 @DocsEditable()
935 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA; 902 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA;
936 903
937 } 904 }
938 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 905 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
939 // for details. All rights reserved. Use of this source code is governed by a 906 // for details. All rights reserved. Use of this source code is governed by a
940 // BSD-style license that can be found in the LICENSE file. 907 // BSD-style license that can be found in the LICENSE file.
941 908
942 // WARNING: Do not edit - generated code. 909 // WARNING: Do not edit - generated code.
(...skipping 12 matching lines...) Expand all
955 return new DrawBuffers._internalWrap(); 922 return new DrawBuffers._internalWrap();
956 } 923 }
957 924
958 factory DrawBuffers._internalWrap() { 925 factory DrawBuffers._internalWrap() {
959 return new DrawBuffers.internal_(); 926 return new DrawBuffers.internal_();
960 } 927 }
961 928
962 @Deprecated("Internal Use Only") 929 @Deprecated("Internal Use Only")
963 DrawBuffers.internal_() { } 930 DrawBuffers.internal_() { }
964 931
965 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
966 int get hashCode => unwrap_jso(this).hashCode;
967
968 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT0_WEBGL') 932 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT0_WEBGL')
969 @DocsEditable() 933 @DocsEditable()
970 static const int COLOR_ATTACHMENT0_WEBGL = 0x8CE0; 934 static const int COLOR_ATTACHMENT0_WEBGL = 0x8CE0;
971 935
972 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT10_WEBGL') 936 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT10_WEBGL')
973 @DocsEditable() 937 @DocsEditable()
974 static const int COLOR_ATTACHMENT10_WEBGL = 0x8CEA; 938 static const int COLOR_ATTACHMENT10_WEBGL = 0x8CEA;
975 939
976 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT11_WEBGL') 940 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT11_WEBGL')
977 @DocsEditable() 941 @DocsEditable()
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
1096 @DomName('WebGLDrawBuffers.MAX_COLOR_ATTACHMENTS_WEBGL') 1060 @DomName('WebGLDrawBuffers.MAX_COLOR_ATTACHMENTS_WEBGL')
1097 @DocsEditable() 1061 @DocsEditable()
1098 static const int MAX_COLOR_ATTACHMENTS_WEBGL = 0x8CDF; 1062 static const int MAX_COLOR_ATTACHMENTS_WEBGL = 0x8CDF;
1099 1063
1100 @DomName('WebGLDrawBuffers.MAX_DRAW_BUFFERS_WEBGL') 1064 @DomName('WebGLDrawBuffers.MAX_DRAW_BUFFERS_WEBGL')
1101 @DocsEditable() 1065 @DocsEditable()
1102 static const int MAX_DRAW_BUFFERS_WEBGL = 0x8824; 1066 static const int MAX_DRAW_BUFFERS_WEBGL = 0x8824;
1103 1067
1104 @DomName('WebGLDrawBuffers.drawBuffersWEBGL') 1068 @DomName('WebGLDrawBuffers.drawBuffersWEBGL')
1105 @DocsEditable() 1069 @DocsEditable()
1106 void drawBuffersWebgl(List<int> buffers) => _blink.BlinkWebGLDrawBuffers.insta nce.drawBuffersWEBGL_Callback_1_(unwrap_jso(this), buffers); 1070 void drawBuffersWebgl(List<int> buffers) => _blink.BlinkWebGLDrawBuffers.insta nce.drawBuffersWEBGL_Callback_1_(this, buffers);
1107 1071
1108 } 1072 }
1109 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1073 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1110 // for details. All rights reserved. Use of this source code is governed by a 1074 // for details. All rights reserved. Use of this source code is governed by a
1111 // BSD-style license that can be found in the LICENSE file. 1075 // BSD-style license that can be found in the LICENSE file.
1112 1076
1113 // WARNING: Do not edit - generated code. 1077 // WARNING: Do not edit - generated code.
1114 1078
1115 1079
1116 @DocsEditable() 1080 @DocsEditable()
1117 @DomName('EXTsRGB') 1081 @DomName('EXTsRGB')
1118 @Experimental() // untriaged 1082 @Experimental() // untriaged
1119 class EXTsRgb extends DartHtmlDomObject { 1083 class EXTsRgb extends DartHtmlDomObject {
1120 // To suppress missing implicit constructor warnings. 1084 // To suppress missing implicit constructor warnings.
1121 factory EXTsRgb._() { throw new UnsupportedError("Not supported"); } 1085 factory EXTsRgb._() { throw new UnsupportedError("Not supported"); }
1122 1086
1123 @Deprecated("Internal Use Only") 1087 @Deprecated("Internal Use Only")
1124 static EXTsRgb internalCreateEXTsRgb() { 1088 static EXTsRgb internalCreateEXTsRgb() {
1125 return new EXTsRgb._internalWrap(); 1089 return new EXTsRgb._internalWrap();
1126 } 1090 }
1127 1091
1128 factory EXTsRgb._internalWrap() { 1092 factory EXTsRgb._internalWrap() {
1129 return new EXTsRgb.internal_(); 1093 return new EXTsRgb.internal_();
1130 } 1094 }
1131 1095
1132 @Deprecated("Internal Use Only") 1096 @Deprecated("Internal Use Only")
1133 EXTsRgb.internal_() { } 1097 EXTsRgb.internal_() { }
1134 1098
1135 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1136 int get hashCode => unwrap_jso(this).hashCode;
1137
1138 @DomName('EXTsRGB.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT') 1099 @DomName('EXTsRGB.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT')
1139 @DocsEditable() 1100 @DocsEditable()
1140 @Experimental() // untriaged 1101 @Experimental() // untriaged
1141 static const int FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT = 0x8210; 1102 static const int FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT = 0x8210;
1142 1103
1143 @DomName('EXTsRGB.SRGB8_ALPHA8_EXT') 1104 @DomName('EXTsRGB.SRGB8_ALPHA8_EXT')
1144 @DocsEditable() 1105 @DocsEditable()
1145 @Experimental() // untriaged 1106 @Experimental() // untriaged
1146 static const int SRGB8_ALPHA8_EXT = 0x8C43; 1107 static const int SRGB8_ALPHA8_EXT = 0x8C43;
1147 1108
(...skipping 27 matching lines...) Expand all
1175 return new ExtBlendMinMax._internalWrap(); 1136 return new ExtBlendMinMax._internalWrap();
1176 } 1137 }
1177 1138
1178 factory ExtBlendMinMax._internalWrap() { 1139 factory ExtBlendMinMax._internalWrap() {
1179 return new ExtBlendMinMax.internal_(); 1140 return new ExtBlendMinMax.internal_();
1180 } 1141 }
1181 1142
1182 @Deprecated("Internal Use Only") 1143 @Deprecated("Internal Use Only")
1183 ExtBlendMinMax.internal_() { } 1144 ExtBlendMinMax.internal_() { }
1184 1145
1185 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1186 int get hashCode => unwrap_jso(this).hashCode;
1187
1188 @DomName('EXTBlendMinMax.MAX_EXT') 1146 @DomName('EXTBlendMinMax.MAX_EXT')
1189 @DocsEditable() 1147 @DocsEditable()
1190 @Experimental() // untriaged 1148 @Experimental() // untriaged
1191 static const int MAX_EXT = 0x8008; 1149 static const int MAX_EXT = 0x8008;
1192 1150
1193 @DomName('EXTBlendMinMax.MIN_EXT') 1151 @DomName('EXTBlendMinMax.MIN_EXT')
1194 @DocsEditable() 1152 @DocsEditable()
1195 @Experimental() // untriaged 1153 @Experimental() // untriaged
1196 static const int MIN_EXT = 0x8007; 1154 static const int MIN_EXT = 0x8007;
1197 1155
(...skipping 18 matching lines...) Expand all
1216 return new ExtFragDepth._internalWrap(); 1174 return new ExtFragDepth._internalWrap();
1217 } 1175 }
1218 1176
1219 factory ExtFragDepth._internalWrap() { 1177 factory ExtFragDepth._internalWrap() {
1220 return new ExtFragDepth.internal_(); 1178 return new ExtFragDepth.internal_();
1221 } 1179 }
1222 1180
1223 @Deprecated("Internal Use Only") 1181 @Deprecated("Internal Use Only")
1224 ExtFragDepth.internal_() { } 1182 ExtFragDepth.internal_() { }
1225 1183
1226 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1227 int get hashCode => unwrap_jso(this).hashCode;
1228
1229 } 1184 }
1230 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1185 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1231 // for details. All rights reserved. Use of this source code is governed by a 1186 // for details. All rights reserved. Use of this source code is governed by a
1232 // BSD-style license that can be found in the LICENSE file. 1187 // BSD-style license that can be found in the LICENSE file.
1233 1188
1234 // WARNING: Do not edit - generated code. 1189 // WARNING: Do not edit - generated code.
1235 1190
1236 1191
1237 @DocsEditable() 1192 @DocsEditable()
1238 @DomName('EXTShaderTextureLOD') 1193 @DomName('EXTShaderTextureLOD')
1239 @Experimental() // untriaged 1194 @Experimental() // untriaged
1240 class ExtShaderTextureLod extends DartHtmlDomObject { 1195 class ExtShaderTextureLod extends DartHtmlDomObject {
1241 // To suppress missing implicit constructor warnings. 1196 // To suppress missing implicit constructor warnings.
1242 factory ExtShaderTextureLod._() { throw new UnsupportedError("Not supported"); } 1197 factory ExtShaderTextureLod._() { throw new UnsupportedError("Not supported"); }
1243 1198
1244 @Deprecated("Internal Use Only") 1199 @Deprecated("Internal Use Only")
1245 static ExtShaderTextureLod internalCreateExtShaderTextureLod() { 1200 static ExtShaderTextureLod internalCreateExtShaderTextureLod() {
1246 return new ExtShaderTextureLod._internalWrap(); 1201 return new ExtShaderTextureLod._internalWrap();
1247 } 1202 }
1248 1203
1249 factory ExtShaderTextureLod._internalWrap() { 1204 factory ExtShaderTextureLod._internalWrap() {
1250 return new ExtShaderTextureLod.internal_(); 1205 return new ExtShaderTextureLod.internal_();
1251 } 1206 }
1252 1207
1253 @Deprecated("Internal Use Only") 1208 @Deprecated("Internal Use Only")
1254 ExtShaderTextureLod.internal_() { } 1209 ExtShaderTextureLod.internal_() { }
1255 1210
1256 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1257 int get hashCode => unwrap_jso(this).hashCode;
1258
1259 } 1211 }
1260 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1212 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1261 // for details. All rights reserved. Use of this source code is governed by a 1213 // for details. All rights reserved. Use of this source code is governed by a
1262 // BSD-style license that can be found in the LICENSE file. 1214 // BSD-style license that can be found in the LICENSE file.
1263 1215
1264 // WARNING: Do not edit - generated code. 1216 // WARNING: Do not edit - generated code.
1265 1217
1266 1218
1267 @DocsEditable() 1219 @DocsEditable()
1268 @DomName('EXTTextureFilterAnisotropic') 1220 @DomName('EXTTextureFilterAnisotropic')
1269 // http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotrop ic/ 1221 // http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotrop ic/
1270 @Experimental() 1222 @Experimental()
1271 class ExtTextureFilterAnisotropic extends DartHtmlDomObject { 1223 class ExtTextureFilterAnisotropic extends DartHtmlDomObject {
1272 // To suppress missing implicit constructor warnings. 1224 // To suppress missing implicit constructor warnings.
1273 factory ExtTextureFilterAnisotropic._() { throw new UnsupportedError("Not supp orted"); } 1225 factory ExtTextureFilterAnisotropic._() { throw new UnsupportedError("Not supp orted"); }
1274 1226
1275 @Deprecated("Internal Use Only") 1227 @Deprecated("Internal Use Only")
1276 static ExtTextureFilterAnisotropic internalCreateExtTextureFilterAnisotropic() { 1228 static ExtTextureFilterAnisotropic internalCreateExtTextureFilterAnisotropic() {
1277 return new ExtTextureFilterAnisotropic._internalWrap(); 1229 return new ExtTextureFilterAnisotropic._internalWrap();
1278 } 1230 }
1279 1231
1280 factory ExtTextureFilterAnisotropic._internalWrap() { 1232 factory ExtTextureFilterAnisotropic._internalWrap() {
1281 return new ExtTextureFilterAnisotropic.internal_(); 1233 return new ExtTextureFilterAnisotropic.internal_();
1282 } 1234 }
1283 1235
1284 @Deprecated("Internal Use Only") 1236 @Deprecated("Internal Use Only")
1285 ExtTextureFilterAnisotropic.internal_() { } 1237 ExtTextureFilterAnisotropic.internal_() { }
1286 1238
1287 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1288 int get hashCode => unwrap_jso(this).hashCode;
1289
1290 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT') 1239 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT')
1291 @DocsEditable() 1240 @DocsEditable()
1292 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; 1241 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;
1293 1242
1294 @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT') 1243 @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT')
1295 @DocsEditable() 1244 @DocsEditable()
1296 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; 1245 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE;
1297 1246
1298 } 1247 }
1299 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1248 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
(...skipping 15 matching lines...) Expand all
1315 return new Framebuffer._internalWrap(); 1264 return new Framebuffer._internalWrap();
1316 } 1265 }
1317 1266
1318 factory Framebuffer._internalWrap() { 1267 factory Framebuffer._internalWrap() {
1319 return new Framebuffer.internal_(); 1268 return new Framebuffer.internal_();
1320 } 1269 }
1321 1270
1322 @Deprecated("Internal Use Only") 1271 @Deprecated("Internal Use Only")
1323 Framebuffer.internal_() { } 1272 Framebuffer.internal_() { }
1324 1273
1325 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1326 int get hashCode => unwrap_jso(this).hashCode;
1327
1328 } 1274 }
1329 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1275 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1330 // for details. All rights reserved. Use of this source code is governed by a 1276 // for details. All rights reserved. Use of this source code is governed by a
1331 // BSD-style license that can be found in the LICENSE file. 1277 // BSD-style license that can be found in the LICENSE file.
1332 1278
1333 // WARNING: Do not edit - generated code. 1279 // WARNING: Do not edit - generated code.
1334 1280
1335 1281
1336 @DocsEditable() 1282 @DocsEditable()
1337 @DomName('WebGLLoseContext') 1283 @DomName('WebGLLoseContext')
1338 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/ 1284 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/
1339 @Experimental() 1285 @Experimental()
1340 class LoseContext extends DartHtmlDomObject { 1286 class LoseContext extends DartHtmlDomObject {
1341 // To suppress missing implicit constructor warnings. 1287 // To suppress missing implicit constructor warnings.
1342 factory LoseContext._() { throw new UnsupportedError("Not supported"); } 1288 factory LoseContext._() { throw new UnsupportedError("Not supported"); }
1343 1289
1344 @Deprecated("Internal Use Only") 1290 @Deprecated("Internal Use Only")
1345 static LoseContext internalCreateLoseContext() { 1291 static LoseContext internalCreateLoseContext() {
1346 return new LoseContext._internalWrap(); 1292 return new LoseContext._internalWrap();
1347 } 1293 }
1348 1294
1349 factory LoseContext._internalWrap() { 1295 factory LoseContext._internalWrap() {
1350 return new LoseContext.internal_(); 1296 return new LoseContext.internal_();
1351 } 1297 }
1352 1298
1353 @Deprecated("Internal Use Only") 1299 @Deprecated("Internal Use Only")
1354 LoseContext.internal_() { } 1300 LoseContext.internal_() { }
1355 1301
1356 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1357 int get hashCode => unwrap_jso(this).hashCode;
1358
1359 @DomName('WebGLLoseContext.loseContext') 1302 @DomName('WebGLLoseContext.loseContext')
1360 @DocsEditable() 1303 @DocsEditable()
1361 void loseContext() => _blink.BlinkWebGLLoseContext.instance.loseContext_Callba ck_0_(unwrap_jso(this)); 1304 void loseContext() => _blink.BlinkWebGLLoseContext.instance.loseContext_Callba ck_0_(this);
1362 1305
1363 @DomName('WebGLLoseContext.restoreContext') 1306 @DomName('WebGLLoseContext.restoreContext')
1364 @DocsEditable() 1307 @DocsEditable()
1365 void restoreContext() => _blink.BlinkWebGLLoseContext.instance.restoreContext_ Callback_0_(unwrap_jso(this)); 1308 void restoreContext() => _blink.BlinkWebGLLoseContext.instance.restoreContext_ Callback_0_(this);
1366 1309
1367 } 1310 }
1368 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1311 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1369 // for details. All rights reserved. Use of this source code is governed by a 1312 // for details. All rights reserved. Use of this source code is governed by a
1370 // BSD-style license that can be found in the LICENSE file. 1313 // BSD-style license that can be found in the LICENSE file.
1371 1314
1372 // WARNING: Do not edit - generated code. 1315 // WARNING: Do not edit - generated code.
1373 1316
1374 1317
1375 @DocsEditable() 1318 @DocsEditable()
1376 @DomName('OESElementIndexUint') 1319 @DomName('OESElementIndexUint')
1377 // http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/ 1320 // http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/
1378 @Experimental() // experimental 1321 @Experimental() // experimental
1379 class OesElementIndexUint extends DartHtmlDomObject { 1322 class OesElementIndexUint extends DartHtmlDomObject {
1380 // To suppress missing implicit constructor warnings. 1323 // To suppress missing implicit constructor warnings.
1381 factory OesElementIndexUint._() { throw new UnsupportedError("Not supported"); } 1324 factory OesElementIndexUint._() { throw new UnsupportedError("Not supported"); }
1382 1325
1383 @Deprecated("Internal Use Only") 1326 @Deprecated("Internal Use Only")
1384 static OesElementIndexUint internalCreateOesElementIndexUint() { 1327 static OesElementIndexUint internalCreateOesElementIndexUint() {
1385 return new OesElementIndexUint._internalWrap(); 1328 return new OesElementIndexUint._internalWrap();
1386 } 1329 }
1387 1330
1388 factory OesElementIndexUint._internalWrap() { 1331 factory OesElementIndexUint._internalWrap() {
1389 return new OesElementIndexUint.internal_(); 1332 return new OesElementIndexUint.internal_();
1390 } 1333 }
1391 1334
1392 @Deprecated("Internal Use Only") 1335 @Deprecated("Internal Use Only")
1393 OesElementIndexUint.internal_() { } 1336 OesElementIndexUint.internal_() { }
1394 1337
1395 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1396 int get hashCode => unwrap_jso(this).hashCode;
1397
1398 } 1338 }
1399 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1339 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1400 // for details. All rights reserved. Use of this source code is governed by a 1340 // for details. All rights reserved. Use of this source code is governed by a
1401 // BSD-style license that can be found in the LICENSE file. 1341 // BSD-style license that can be found in the LICENSE file.
1402 1342
1403 // WARNING: Do not edit - generated code. 1343 // WARNING: Do not edit - generated code.
1404 1344
1405 1345
1406 @DocsEditable() 1346 @DocsEditable()
1407 @DomName('OESStandardDerivatives') 1347 @DomName('OESStandardDerivatives')
1408 // http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/ 1348 // http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/
1409 @Experimental() // experimental 1349 @Experimental() // experimental
1410 class OesStandardDerivatives extends DartHtmlDomObject { 1350 class OesStandardDerivatives extends DartHtmlDomObject {
1411 // To suppress missing implicit constructor warnings. 1351 // To suppress missing implicit constructor warnings.
1412 factory OesStandardDerivatives._() { throw new UnsupportedError("Not supported "); } 1352 factory OesStandardDerivatives._() { throw new UnsupportedError("Not supported "); }
1413 1353
1414 @Deprecated("Internal Use Only") 1354 @Deprecated("Internal Use Only")
1415 static OesStandardDerivatives internalCreateOesStandardDerivatives() { 1355 static OesStandardDerivatives internalCreateOesStandardDerivatives() {
1416 return new OesStandardDerivatives._internalWrap(); 1356 return new OesStandardDerivatives._internalWrap();
1417 } 1357 }
1418 1358
1419 factory OesStandardDerivatives._internalWrap() { 1359 factory OesStandardDerivatives._internalWrap() {
1420 return new OesStandardDerivatives.internal_(); 1360 return new OesStandardDerivatives.internal_();
1421 } 1361 }
1422 1362
1423 @Deprecated("Internal Use Only") 1363 @Deprecated("Internal Use Only")
1424 OesStandardDerivatives.internal_() { } 1364 OesStandardDerivatives.internal_() { }
1425 1365
1426 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1427 int get hashCode => unwrap_jso(this).hashCode;
1428
1429 @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES') 1366 @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES')
1430 @DocsEditable() 1367 @DocsEditable()
1431 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; 1368 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B;
1432 1369
1433 } 1370 }
1434 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1371 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1435 // for details. All rights reserved. Use of this source code is governed by a 1372 // for details. All rights reserved. Use of this source code is governed by a
1436 // BSD-style license that can be found in the LICENSE file. 1373 // BSD-style license that can be found in the LICENSE file.
1437 1374
1438 // WARNING: Do not edit - generated code. 1375 // WARNING: Do not edit - generated code.
(...skipping 12 matching lines...) Expand all
1451 return new OesTextureFloat._internalWrap(); 1388 return new OesTextureFloat._internalWrap();
1452 } 1389 }
1453 1390
1454 factory OesTextureFloat._internalWrap() { 1391 factory OesTextureFloat._internalWrap() {
1455 return new OesTextureFloat.internal_(); 1392 return new OesTextureFloat.internal_();
1456 } 1393 }
1457 1394
1458 @Deprecated("Internal Use Only") 1395 @Deprecated("Internal Use Only")
1459 OesTextureFloat.internal_() { } 1396 OesTextureFloat.internal_() { }
1460 1397
1461 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1462 int get hashCode => unwrap_jso(this).hashCode;
1463
1464 } 1398 }
1465 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1399 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1466 // for details. All rights reserved. Use of this source code is governed by a 1400 // for details. All rights reserved. Use of this source code is governed by a
1467 // BSD-style license that can be found in the LICENSE file. 1401 // BSD-style license that can be found in the LICENSE file.
1468 1402
1469 // WARNING: Do not edit - generated code. 1403 // WARNING: Do not edit - generated code.
1470 1404
1471 1405
1472 @DocsEditable() 1406 @DocsEditable()
1473 @DomName('OESTextureFloatLinear') 1407 @DomName('OESTextureFloatLinear')
1474 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/ 1408 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/
1475 @Experimental() 1409 @Experimental()
1476 class OesTextureFloatLinear extends DartHtmlDomObject { 1410 class OesTextureFloatLinear extends DartHtmlDomObject {
1477 // To suppress missing implicit constructor warnings. 1411 // To suppress missing implicit constructor warnings.
1478 factory OesTextureFloatLinear._() { throw new UnsupportedError("Not supported" ); } 1412 factory OesTextureFloatLinear._() { throw new UnsupportedError("Not supported" ); }
1479 1413
1480 @Deprecated("Internal Use Only") 1414 @Deprecated("Internal Use Only")
1481 static OesTextureFloatLinear internalCreateOesTextureFloatLinear() { 1415 static OesTextureFloatLinear internalCreateOesTextureFloatLinear() {
1482 return new OesTextureFloatLinear._internalWrap(); 1416 return new OesTextureFloatLinear._internalWrap();
1483 } 1417 }
1484 1418
1485 factory OesTextureFloatLinear._internalWrap() { 1419 factory OesTextureFloatLinear._internalWrap() {
1486 return new OesTextureFloatLinear.internal_(); 1420 return new OesTextureFloatLinear.internal_();
1487 } 1421 }
1488 1422
1489 @Deprecated("Internal Use Only") 1423 @Deprecated("Internal Use Only")
1490 OesTextureFloatLinear.internal_() { } 1424 OesTextureFloatLinear.internal_() { }
1491 1425
1492 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1493 int get hashCode => unwrap_jso(this).hashCode;
1494
1495 } 1426 }
1496 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1427 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1497 // for details. All rights reserved. Use of this source code is governed by a 1428 // for details. All rights reserved. Use of this source code is governed by a
1498 // BSD-style license that can be found in the LICENSE file. 1429 // BSD-style license that can be found in the LICENSE file.
1499 1430
1500 // WARNING: Do not edit - generated code. 1431 // WARNING: Do not edit - generated code.
1501 1432
1502 1433
1503 @DocsEditable() 1434 @DocsEditable()
1504 @DomName('OESTextureHalfFloat') 1435 @DomName('OESTextureHalfFloat')
1505 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/ 1436 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/
1506 @Experimental() // experimental 1437 @Experimental() // experimental
1507 class OesTextureHalfFloat extends DartHtmlDomObject { 1438 class OesTextureHalfFloat extends DartHtmlDomObject {
1508 // To suppress missing implicit constructor warnings. 1439 // To suppress missing implicit constructor warnings.
1509 factory OesTextureHalfFloat._() { throw new UnsupportedError("Not supported"); } 1440 factory OesTextureHalfFloat._() { throw new UnsupportedError("Not supported"); }
1510 1441
1511 @Deprecated("Internal Use Only") 1442 @Deprecated("Internal Use Only")
1512 static OesTextureHalfFloat internalCreateOesTextureHalfFloat() { 1443 static OesTextureHalfFloat internalCreateOesTextureHalfFloat() {
1513 return new OesTextureHalfFloat._internalWrap(); 1444 return new OesTextureHalfFloat._internalWrap();
1514 } 1445 }
1515 1446
1516 factory OesTextureHalfFloat._internalWrap() { 1447 factory OesTextureHalfFloat._internalWrap() {
1517 return new OesTextureHalfFloat.internal_(); 1448 return new OesTextureHalfFloat.internal_();
1518 } 1449 }
1519 1450
1520 @Deprecated("Internal Use Only") 1451 @Deprecated("Internal Use Only")
1521 OesTextureHalfFloat.internal_() { } 1452 OesTextureHalfFloat.internal_() { }
1522 1453
1523 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1524 int get hashCode => unwrap_jso(this).hashCode;
1525
1526 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES') 1454 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES')
1527 @DocsEditable() 1455 @DocsEditable()
1528 static const int HALF_FLOAT_OES = 0x8D61; 1456 static const int HALF_FLOAT_OES = 0x8D61;
1529 1457
1530 } 1458 }
1531 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1459 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1532 // for details. All rights reserved. Use of this source code is governed by a 1460 // for details. All rights reserved. Use of this source code is governed by a
1533 // BSD-style license that can be found in the LICENSE file. 1461 // BSD-style license that can be found in the LICENSE file.
1534 1462
1535 // WARNING: Do not edit - generated code. 1463 // WARNING: Do not edit - generated code.
(...skipping 12 matching lines...) Expand all
1548 return new OesTextureHalfFloatLinear._internalWrap(); 1476 return new OesTextureHalfFloatLinear._internalWrap();
1549 } 1477 }
1550 1478
1551 factory OesTextureHalfFloatLinear._internalWrap() { 1479 factory OesTextureHalfFloatLinear._internalWrap() {
1552 return new OesTextureHalfFloatLinear.internal_(); 1480 return new OesTextureHalfFloatLinear.internal_();
1553 } 1481 }
1554 1482
1555 @Deprecated("Internal Use Only") 1483 @Deprecated("Internal Use Only")
1556 OesTextureHalfFloatLinear.internal_() { } 1484 OesTextureHalfFloatLinear.internal_() { }
1557 1485
1558 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1559 int get hashCode => unwrap_jso(this).hashCode;
1560
1561 } 1486 }
1562 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1487 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1563 // for details. All rights reserved. Use of this source code is governed by a 1488 // for details. All rights reserved. Use of this source code is governed by a
1564 // BSD-style license that can be found in the LICENSE file. 1489 // BSD-style license that can be found in the LICENSE file.
1565 1490
1566 // WARNING: Do not edit - generated code. 1491 // WARNING: Do not edit - generated code.
1567 1492
1568 1493
1569 @DocsEditable() 1494 @DocsEditable()
1570 @DomName('OESVertexArrayObject') 1495 @DomName('OESVertexArrayObject')
1571 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ 1496 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
1572 @Experimental() // experimental 1497 @Experimental() // experimental
1573 class OesVertexArrayObject extends DartHtmlDomObject { 1498 class OesVertexArrayObject extends DartHtmlDomObject {
1574 // To suppress missing implicit constructor warnings. 1499 // To suppress missing implicit constructor warnings.
1575 factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported") ; } 1500 factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported") ; }
1576 1501
1577 @Deprecated("Internal Use Only") 1502 @Deprecated("Internal Use Only")
1578 static OesVertexArrayObject internalCreateOesVertexArrayObject() { 1503 static OesVertexArrayObject internalCreateOesVertexArrayObject() {
1579 return new OesVertexArrayObject._internalWrap(); 1504 return new OesVertexArrayObject._internalWrap();
1580 } 1505 }
1581 1506
1582 factory OesVertexArrayObject._internalWrap() { 1507 factory OesVertexArrayObject._internalWrap() {
1583 return new OesVertexArrayObject.internal_(); 1508 return new OesVertexArrayObject.internal_();
1584 } 1509 }
1585 1510
1586 @Deprecated("Internal Use Only") 1511 @Deprecated("Internal Use Only")
1587 OesVertexArrayObject.internal_() { } 1512 OesVertexArrayObject.internal_() { }
1588 1513
1589 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1590 int get hashCode => unwrap_jso(this).hashCode;
1591
1592 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') 1514 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES')
1593 @DocsEditable() 1515 @DocsEditable()
1594 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; 1516 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5;
1595 1517
1596 @DomName('OESVertexArrayObject.bindVertexArrayOES') 1518 @DomName('OESVertexArrayObject.bindVertexArrayOES')
1597 @DocsEditable() 1519 @DocsEditable()
1598 void bindVertexArray(VertexArrayObjectOes arrayObject) => _blink.BlinkOESVerte xArrayObject.instance.bindVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_js o(arrayObject)); 1520 void bindVertexArray(VertexArrayObjectOes arrayObject) => _blink.BlinkOESVerte xArrayObject.instance.bindVertexArrayOES_Callback_1_(this, arrayObject);
1599 1521
1600 @DomName('OESVertexArrayObject.createVertexArrayOES') 1522 @DomName('OESVertexArrayObject.createVertexArrayOES')
1601 @DocsEditable() 1523 @DocsEditable()
1602 VertexArrayObjectOes createVertexArray() => wrap_jso(_blink.BlinkOESVertexArra yObject.instance.createVertexArrayOES_Callback_0_(unwrap_jso(this))); 1524 VertexArrayObjectOes createVertexArray() => _blink.BlinkOESVertexArrayObject.i nstance.createVertexArrayOES_Callback_0_(this);
1603 1525
1604 @DomName('OESVertexArrayObject.deleteVertexArrayOES') 1526 @DomName('OESVertexArrayObject.deleteVertexArrayOES')
1605 @DocsEditable() 1527 @DocsEditable()
1606 void deleteVertexArray(VertexArrayObjectOes arrayObject) => _blink.BlinkOESVer texArrayObject.instance.deleteVertexArrayOES_Callback_1_(unwrap_jso(this), unwra p_jso(arrayObject)); 1528 void deleteVertexArray(VertexArrayObjectOes arrayObject) => _blink.BlinkOESVer texArrayObject.instance.deleteVertexArrayOES_Callback_1_(this, arrayObject);
1607 1529
1608 @DomName('OESVertexArrayObject.isVertexArrayOES') 1530 @DomName('OESVertexArrayObject.isVertexArrayOES')
1609 @DocsEditable() 1531 @DocsEditable()
1610 bool isVertexArray(VertexArrayObjectOes arrayObject) => _blink.BlinkOESVertexA rrayObject.instance.isVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_jso(ar rayObject)); 1532 bool isVertexArray(VertexArrayObjectOes arrayObject) => _blink.BlinkOESVertexA rrayObject.instance.isVertexArrayOES_Callback_1_(this, arrayObject);
1611 1533
1612 } 1534 }
1613 // 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
1614 // 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
1615 // BSD-style license that can be found in the LICENSE file. 1537 // BSD-style license that can be found in the LICENSE file.
1616 1538
1617 // WARNING: Do not edit - generated code. 1539 // WARNING: Do not edit - generated code.
1618 1540
1619 1541
1620 @DocsEditable() 1542 @DocsEditable()
1621 @DomName('WebGLProgram') 1543 @DomName('WebGLProgram')
1622 @Unstable() 1544 @Unstable()
1623 class Program extends DartHtmlDomObject { 1545 class Program extends DartHtmlDomObject {
1624 // To suppress missing implicit constructor warnings. 1546 // To suppress missing implicit constructor warnings.
1625 factory Program._() { throw new UnsupportedError("Not supported"); } 1547 factory Program._() { throw new UnsupportedError("Not supported"); }
1626 1548
1627 @Deprecated("Internal Use Only") 1549 @Deprecated("Internal Use Only")
1628 static Program internalCreateProgram() { 1550 static Program internalCreateProgram() {
1629 return new Program._internalWrap(); 1551 return new Program._internalWrap();
1630 } 1552 }
1631 1553
1632 factory Program._internalWrap() { 1554 factory Program._internalWrap() {
1633 return new Program.internal_(); 1555 return new Program.internal_();
1634 } 1556 }
1635 1557
1636 @Deprecated("Internal Use Only") 1558 @Deprecated("Internal Use Only")
1637 Program.internal_() { } 1559 Program.internal_() { }
1638 1560
1639 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1640 int get hashCode => unwrap_jso(this).hashCode;
1641
1642 } 1561 }
1643 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1562 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1644 // for details. All rights reserved. Use of this source code is governed by a 1563 // for details. All rights reserved. Use of this source code is governed by a
1645 // BSD-style license that can be found in the LICENSE file. 1564 // BSD-style license that can be found in the LICENSE file.
1646 1565
1647 // WARNING: Do not edit - generated code. 1566 // WARNING: Do not edit - generated code.
1648 1567
1649 1568
1650 @DocsEditable() 1569 @DocsEditable()
1651 @DomName('WebGLQuery') 1570 @DomName('WebGLQuery')
1652 @Experimental() // untriaged 1571 @Experimental() // untriaged
1653 class Query extends DartHtmlDomObject { 1572 class Query extends DartHtmlDomObject {
1654 // To suppress missing implicit constructor warnings. 1573 // To suppress missing implicit constructor warnings.
1655 factory Query._() { throw new UnsupportedError("Not supported"); } 1574 factory Query._() { throw new UnsupportedError("Not supported"); }
1656 1575
1657 @Deprecated("Internal Use Only") 1576 @Deprecated("Internal Use Only")
1658 static Query internalCreateQuery() { 1577 static Query internalCreateQuery() {
1659 return new Query._internalWrap(); 1578 return new Query._internalWrap();
1660 } 1579 }
1661 1580
1662 factory Query._internalWrap() { 1581 factory Query._internalWrap() {
1663 return new Query.internal_(); 1582 return new Query.internal_();
1664 } 1583 }
1665 1584
1666 @Deprecated("Internal Use Only") 1585 @Deprecated("Internal Use Only")
1667 Query.internal_() { } 1586 Query.internal_() { }
1668 1587
1669 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1670 int get hashCode => unwrap_jso(this).hashCode;
1671
1672 } 1588 }
1673 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1589 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1674 // for details. All rights reserved. Use of this source code is governed by a 1590 // for details. All rights reserved. Use of this source code is governed by a
1675 // BSD-style license that can be found in the LICENSE file. 1591 // BSD-style license that can be found in the LICENSE file.
1676 1592
1677 // WARNING: Do not edit - generated code. 1593 // WARNING: Do not edit - generated code.
1678 1594
1679 1595
1680 @DocsEditable() 1596 @DocsEditable()
1681 @DomName('WebGLRenderbuffer') 1597 @DomName('WebGLRenderbuffer')
1682 @Unstable() 1598 @Unstable()
1683 class Renderbuffer extends DartHtmlDomObject { 1599 class Renderbuffer extends DartHtmlDomObject {
1684 // To suppress missing implicit constructor warnings. 1600 // To suppress missing implicit constructor warnings.
1685 factory Renderbuffer._() { throw new UnsupportedError("Not supported"); } 1601 factory Renderbuffer._() { throw new UnsupportedError("Not supported"); }
1686 1602
1687 @Deprecated("Internal Use Only") 1603 @Deprecated("Internal Use Only")
1688 static Renderbuffer internalCreateRenderbuffer() { 1604 static Renderbuffer internalCreateRenderbuffer() {
1689 return new Renderbuffer._internalWrap(); 1605 return new Renderbuffer._internalWrap();
1690 } 1606 }
1691 1607
1692 factory Renderbuffer._internalWrap() { 1608 factory Renderbuffer._internalWrap() {
1693 return new Renderbuffer.internal_(); 1609 return new Renderbuffer.internal_();
1694 } 1610 }
1695 1611
1696 @Deprecated("Internal Use Only") 1612 @Deprecated("Internal Use Only")
1697 Renderbuffer.internal_() { } 1613 Renderbuffer.internal_() { }
1698 1614
1699 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1700 int get hashCode => unwrap_jso(this).hashCode;
1701
1702 } 1615 }
1703 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1616 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
1704 // for details. All rights reserved. Use of this source code is governed by a 1617 // for details. All rights reserved. Use of this source code is governed by a
1705 // BSD-style license that can be found in the LICENSE file. 1618 // BSD-style license that can be found in the LICENSE file.
1706 1619
1707 1620
1708 @DomName('WebGLRenderingContext') 1621 @DomName('WebGLRenderingContext')
1709 @SupportedBrowser(SupportedBrowser.CHROME) 1622 @SupportedBrowser(SupportedBrowser.CHROME)
1710 @SupportedBrowser(SupportedBrowser.FIREFOX) 1623 @SupportedBrowser(SupportedBrowser.FIREFOX)
1711 @Experimental() 1624 @Experimental()
1712 @Unstable() 1625 @Unstable()
1713 class RenderingContext extends DartHtmlDomObject implements CanvasRenderingConte xt { 1626 class RenderingContext extends DartHtmlDomObject implements CanvasRenderingConte xt {
1714 // To suppress missing implicit constructor warnings. 1627 // To suppress missing implicit constructor warnings.
1715 factory RenderingContext._() { throw new UnsupportedError("Not supported"); } 1628 factory RenderingContext._() { throw new UnsupportedError("Not supported"); }
1716 1629
1717 @Deprecated("Internal Use Only") 1630 @Deprecated("Internal Use Only")
1718 static RenderingContext internalCreateRenderingContext() { 1631 static RenderingContext internalCreateRenderingContext() {
1719 return new RenderingContext._internalWrap(); 1632 return new RenderingContext._internalWrap();
1720 } 1633 }
1721 1634
1722 factory RenderingContext._internalWrap() { 1635 factory RenderingContext._internalWrap() {
1723 return new RenderingContext.internal_(); 1636 return new RenderingContext.internal_();
1724 } 1637 }
1725 1638
1726 @Deprecated("Internal Use Only") 1639 @Deprecated("Internal Use Only")
1727 RenderingContext.internal_() { } 1640 RenderingContext.internal_() { }
1728 1641
1729 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1730 int get hashCode => unwrap_jso(this).hashCode;
1731
1732 /// Checks if this type is supported on the current platform. 1642 /// Checks if this type is supported on the current platform.
1733 static bool get supported => true; 1643 static bool get supported => true;
1734 1644
1735 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES') 1645 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES')
1736 @DocsEditable() 1646 @DocsEditable()
1737 static const int ACTIVE_ATTRIBUTES = 0x8B89; 1647 static const int ACTIVE_ATTRIBUTES = 0x8B89;
1738 1648
1739 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE') 1649 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE')
1740 @DocsEditable() 1650 @DocsEditable()
1741 static const int ACTIVE_TEXTURE = 0x84E0; 1651 static const int ACTIVE_TEXTURE = 0x84E0;
(...skipping 1176 matching lines...) Expand 10 before | Expand all | Expand 10 after
2918 @DocsEditable() 2828 @DocsEditable()
2919 static const int VIEWPORT = 0x0BA2; 2829 static const int VIEWPORT = 0x0BA2;
2920 2830
2921 @DomName('WebGLRenderingContext.ZERO') 2831 @DomName('WebGLRenderingContext.ZERO')
2922 @DocsEditable() 2832 @DocsEditable()
2923 static const int ZERO = 0; 2833 static const int ZERO = 0;
2924 2834
2925 @DomName('WebGLRenderingContext.canvas') 2835 @DomName('WebGLRenderingContext.canvas')
2926 @DocsEditable() 2836 @DocsEditable()
2927 @Experimental() // untriaged 2837 @Experimental() // untriaged
2928 CanvasElement get canvas => wrap_jso(_blink.BlinkWebGLRenderingContext.instanc e.canvas_Getter_(unwrap_jso(this))); 2838 CanvasElement get canvas => _blink.BlinkWebGLRenderingContext.instance.canvas_ Getter_(this);
2929 2839
2930 @DomName('WebGLRenderingContext.drawingBufferHeight') 2840 @DomName('WebGLRenderingContext.drawingBufferHeight')
2931 @DocsEditable() 2841 @DocsEditable()
2932 int get drawingBufferHeight => _blink.BlinkWebGLRenderingContext.instance.draw ingBufferHeight_Getter_(unwrap_jso(this)); 2842 int get drawingBufferHeight => _blink.BlinkWebGLRenderingContext.instance.draw ingBufferHeight_Getter_(this);
2933 2843
2934 @DomName('WebGLRenderingContext.drawingBufferWidth') 2844 @DomName('WebGLRenderingContext.drawingBufferWidth')
2935 @DocsEditable() 2845 @DocsEditable()
2936 int get drawingBufferWidth => _blink.BlinkWebGLRenderingContext.instance.drawi ngBufferWidth_Getter_(unwrap_jso(this)); 2846 int get drawingBufferWidth => _blink.BlinkWebGLRenderingContext.instance.drawi ngBufferWidth_Getter_(this);
2937 2847
2938 @DomName('WebGLRenderingContext.activeTexture') 2848 @DomName('WebGLRenderingContext.activeTexture')
2939 @DocsEditable() 2849 @DocsEditable()
2940 void activeTexture(int texture) => _blink.BlinkWebGLRenderingContext.instance. activeTexture_Callback_1_(unwrap_jso(this), texture); 2850 void activeTexture(int texture) => _blink.BlinkWebGLRenderingContext.instance. activeTexture_Callback_1_(this, texture);
2941 2851
2942 @DomName('WebGLRenderingContext.attachShader') 2852 @DomName('WebGLRenderingContext.attachShader')
2943 @DocsEditable() 2853 @DocsEditable()
2944 void attachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderin gContext.instance.attachShader_Callback_2_(unwrap_jso(this), unwrap_jso(program) , unwrap_jso(shader)); 2854 void attachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderin gContext.instance.attachShader_Callback_2_(this, program, shader);
2945 2855
2946 @DomName('WebGLRenderingContext.bindAttribLocation') 2856 @DomName('WebGLRenderingContext.bindAttribLocation')
2947 @DocsEditable() 2857 @DocsEditable()
2948 void bindAttribLocation(Program program, int index, String name) => _blink.Bli nkWebGLRenderingContext.instance.bindAttribLocation_Callback_3_(unwrap_jso(this) , unwrap_jso(program), index, name); 2858 void bindAttribLocation(Program program, int index, String name) => _blink.Bli nkWebGLRenderingContext.instance.bindAttribLocation_Callback_3_(this, program, i ndex, name);
2949 2859
2950 @DomName('WebGLRenderingContext.bindBuffer') 2860 @DomName('WebGLRenderingContext.bindBuffer')
2951 @DocsEditable() 2861 @DocsEditable()
2952 void bindBuffer(int target, Buffer buffer) => _blink.BlinkWebGLRenderingContex t.instance.bindBuffer_Callback_2_(unwrap_jso(this), target, unwrap_jso(buffer)); 2862 void bindBuffer(int target, Buffer buffer) => _blink.BlinkWebGLRenderingContex t.instance.bindBuffer_Callback_2_(this, target, buffer);
2953 2863
2954 @DomName('WebGLRenderingContext.bindFramebuffer') 2864 @DomName('WebGLRenderingContext.bindFramebuffer')
2955 @DocsEditable() 2865 @DocsEditable()
2956 void bindFramebuffer(int target, Framebuffer framebuffer) => _blink.BlinkWebGL RenderingContext.instance.bindFramebuffer_Callback_2_(unwrap_jso(this), target, unwrap_jso(framebuffer)); 2866 void bindFramebuffer(int target, Framebuffer framebuffer) => _blink.BlinkWebGL RenderingContext.instance.bindFramebuffer_Callback_2_(this, target, framebuffer) ;
2957 2867
2958 @DomName('WebGLRenderingContext.bindRenderbuffer') 2868 @DomName('WebGLRenderingContext.bindRenderbuffer')
2959 @DocsEditable() 2869 @DocsEditable()
2960 void bindRenderbuffer(int target, Renderbuffer renderbuffer) => _blink.BlinkWe bGLRenderingContext.instance.bindRenderbuffer_Callback_2_(unwrap_jso(this), targ et, unwrap_jso(renderbuffer)); 2870 void bindRenderbuffer(int target, Renderbuffer renderbuffer) => _blink.BlinkWe bGLRenderingContext.instance.bindRenderbuffer_Callback_2_(this, target, renderbu ffer);
2961 2871
2962 @DomName('WebGLRenderingContext.bindTexture') 2872 @DomName('WebGLRenderingContext.bindTexture')
2963 @DocsEditable() 2873 @DocsEditable()
2964 void bindTexture(int target, Texture texture) => _blink.BlinkWebGLRenderingCon text.instance.bindTexture_Callback_2_(unwrap_jso(this), target, unwrap_jso(textu re)); 2874 void bindTexture(int target, Texture texture) => _blink.BlinkWebGLRenderingCon text.instance.bindTexture_Callback_2_(this, target, texture);
2965 2875
2966 @DomName('WebGLRenderingContext.blendColor') 2876 @DomName('WebGLRenderingContext.blendColor')
2967 @DocsEditable() 2877 @DocsEditable()
2968 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); 2878 void blendColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGLR enderingContext.instance.blendColor_Callback_4_(this, red, green, blue, alpha);
2969 2879
2970 @DomName('WebGLRenderingContext.blendEquation') 2880 @DomName('WebGLRenderingContext.blendEquation')
2971 @DocsEditable() 2881 @DocsEditable()
2972 void blendEquation(int mode) => _blink.BlinkWebGLRenderingContext.instance.ble ndEquation_Callback_1_(unwrap_jso(this), mode); 2882 void blendEquation(int mode) => _blink.BlinkWebGLRenderingContext.instance.ble ndEquation_Callback_1_(this, mode);
2973 2883
2974 @DomName('WebGLRenderingContext.blendEquationSeparate') 2884 @DomName('WebGLRenderingContext.blendEquationSeparate')
2975 @DocsEditable() 2885 @DocsEditable()
2976 void blendEquationSeparate(int modeRGB, int modeAlpha) => _blink.BlinkWebGLRen deringContext.instance.blendEquationSeparate_Callback_2_(unwrap_jso(this), modeR GB, modeAlpha); 2886 void blendEquationSeparate(int modeRGB, int modeAlpha) => _blink.BlinkWebGLRen deringContext.instance.blendEquationSeparate_Callback_2_(this, modeRGB, modeAlph a);
2977 2887
2978 @DomName('WebGLRenderingContext.blendFunc') 2888 @DomName('WebGLRenderingContext.blendFunc')
2979 @DocsEditable() 2889 @DocsEditable()
2980 void blendFunc(int sfactor, int dfactor) => _blink.BlinkWebGLRenderingContext. instance.blendFunc_Callback_2_(unwrap_jso(this), sfactor, dfactor); 2890 void blendFunc(int sfactor, int dfactor) => _blink.BlinkWebGLRenderingContext. instance.blendFunc_Callback_2_(this, sfactor, dfactor);
2981 2891
2982 @DomName('WebGLRenderingContext.blendFuncSeparate') 2892 @DomName('WebGLRenderingContext.blendFuncSeparate')
2983 @DocsEditable() 2893 @DocsEditable()
2984 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) => _blink.BlinkWebGLRenderingContext.instance.blendFuncSeparate_Callback_4_(unwrap_ jso(this), srcRGB, dstRGB, srcAlpha, dstAlpha); 2894 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) => _blink.BlinkWebGLRenderingContext.instance.blendFuncSeparate_Callback_4_(this, s rcRGB, dstRGB, srcAlpha, dstAlpha);
2895
2896 @DomName('WebGLRenderingContext.bufferByteData')
2897 @DocsEditable()
2898 void bufferByteData(int target, ByteBuffer data, int usage) => _blink.BlinkWeb GLRenderingContext.instance.bufferData_Callback_3_(this, target, data, usage);
2985 2899
2986 void bufferData(int target, data_OR_size, int usage) { 2900 void bufferData(int target, data_OR_size, int usage) {
2987 if ((usage is int) && (data_OR_size is int) && (target is int)) { 2901 if ((usage is int) && (data_OR_size is int) && (target is int)) {
2988 _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(unwrap_j so(this), target, unwrap_jso(data_OR_size), usage); 2902 _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(this, ta rget, data_OR_size, usage);
2989 return; 2903 return;
2990 } 2904 }
2991 if ((usage is int) && (data_OR_size is TypedData) && (target is int)) { 2905 if ((usage is int) && (data_OR_size is TypedData) && (target is int)) {
2992 _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(unwrap_j so(this), target, unwrap_jso(data_OR_size), usage); 2906 _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(this, ta rget, data_OR_size, usage);
2993 return; 2907 return;
2994 } 2908 }
2995 if ((usage is int) && (data_OR_size is ByteBuffer || data_OR_size == null) & & (target is int)) { 2909 if ((usage is int) && (data_OR_size is ByteBuffer || data_OR_size == null) & & (target is int)) {
2996 _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(unwrap_j so(this), target, unwrap_jso(data_OR_size), usage); 2910 _blink.BlinkWebGLRenderingContext.instance.bufferData_Callback_3_(this, ta rget, data_OR_size, usage);
2997 return; 2911 return;
2998 } 2912 }
2999 throw new ArgumentError("Incorrect number or type of arguments"); 2913 throw new ArgumentError("Incorrect number or type of arguments");
3000 } 2914 }
3001 2915
2916 @DomName('WebGLRenderingContext.bufferDataTyped')
2917 @DocsEditable()
2918 void bufferDataTyped(int target, TypedData data, int usage) => _blink.BlinkWeb GLRenderingContext.instance.bufferData_Callback_3_(this, target, data, usage);
2919
2920 @DomName('WebGLRenderingContext.bufferSubByteData')
2921 @DocsEditable()
2922 void bufferSubByteData(int target, int offset, ByteBuffer data) => _blink.Blin kWebGLRenderingContext.instance.bufferSubData_Callback_3_(this, target, offset, data);
2923
3002 void bufferSubData(int target, int offset, data) { 2924 void bufferSubData(int target, int offset, data) {
3003 if ((data is TypedData) && (offset is int) && (target is int)) { 2925 if ((data is TypedData) && (offset is int) && (target is int)) {
3004 _blink.BlinkWebGLRenderingContext.instance.bufferSubData_Callback_3_(unwra p_jso(this), target, offset, unwrap_jso(data)); 2926 _blink.BlinkWebGLRenderingContext.instance.bufferSubData_Callback_3_(this, target, offset, data);
3005 return; 2927 return;
3006 } 2928 }
3007 if ((data is ByteBuffer || data == null) && (offset is int) && (target is in t)) { 2929 if ((data is ByteBuffer || data == null) && (offset is int) && (target is in t)) {
3008 _blink.BlinkWebGLRenderingContext.instance.bufferSubData_Callback_3_(unwra p_jso(this), target, offset, unwrap_jso(data)); 2930 _blink.BlinkWebGLRenderingContext.instance.bufferSubData_Callback_3_(this, target, offset, data);
3009 return; 2931 return;
3010 } 2932 }
3011 throw new ArgumentError("Incorrect number or type of arguments"); 2933 throw new ArgumentError("Incorrect number or type of arguments");
3012 } 2934 }
3013 2935
2936 @DomName('WebGLRenderingContext.bufferSubDataTyped')
2937 @DocsEditable()
2938 void bufferSubDataTyped(int target, int offset, TypedData data) => _blink.Blin kWebGLRenderingContext.instance.bufferSubData_Callback_3_(this, target, offset, data);
2939
3014 @DomName('WebGLRenderingContext.checkFramebufferStatus') 2940 @DomName('WebGLRenderingContext.checkFramebufferStatus')
3015 @DocsEditable() 2941 @DocsEditable()
3016 int checkFramebufferStatus(int target) => _blink.BlinkWebGLRenderingContext.in stance.checkFramebufferStatus_Callback_1_(unwrap_jso(this), target); 2942 int checkFramebufferStatus(int target) => _blink.BlinkWebGLRenderingContext.in stance.checkFramebufferStatus_Callback_1_(this, target);
3017 2943
3018 @DomName('WebGLRenderingContext.clear') 2944 @DomName('WebGLRenderingContext.clear')
3019 @DocsEditable() 2945 @DocsEditable()
3020 void clear(int mask) => _blink.BlinkWebGLRenderingContext.instance.clear_Callb ack_1_(unwrap_jso(this), mask); 2946 void clear(int mask) => _blink.BlinkWebGLRenderingContext.instance.clear_Callb ack_1_(this, mask);
3021 2947
3022 @DomName('WebGLRenderingContext.clearColor') 2948 @DomName('WebGLRenderingContext.clearColor')
3023 @DocsEditable() 2949 @DocsEditable()
3024 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); 2950 void clearColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGLR enderingContext.instance.clearColor_Callback_4_(this, red, green, blue, alpha);
3025 2951
3026 @DomName('WebGLRenderingContext.clearDepth') 2952 @DomName('WebGLRenderingContext.clearDepth')
3027 @DocsEditable() 2953 @DocsEditable()
3028 void clearDepth(num depth) => _blink.BlinkWebGLRenderingContext.instance.clear Depth_Callback_1_(unwrap_jso(this), depth); 2954 void clearDepth(num depth) => _blink.BlinkWebGLRenderingContext.instance.clear Depth_Callback_1_(this, depth);
3029 2955
3030 @DomName('WebGLRenderingContext.clearStencil') 2956 @DomName('WebGLRenderingContext.clearStencil')
3031 @DocsEditable() 2957 @DocsEditable()
3032 void clearStencil(int s) => _blink.BlinkWebGLRenderingContext.instance.clearSt encil_Callback_1_(unwrap_jso(this), s); 2958 void clearStencil(int s) => _blink.BlinkWebGLRenderingContext.instance.clearSt encil_Callback_1_(this, s);
3033 2959
3034 @DomName('WebGLRenderingContext.colorMask') 2960 @DomName('WebGLRenderingContext.colorMask')
3035 @DocsEditable() 2961 @DocsEditable()
3036 void colorMask(bool red, bool green, bool blue, bool alpha) => _blink.BlinkWeb GLRenderingContext.instance.colorMask_Callback_4_(unwrap_jso(this), red, green, blue, alpha); 2962 void colorMask(bool red, bool green, bool blue, bool alpha) => _blink.BlinkWeb GLRenderingContext.instance.colorMask_Callback_4_(this, red, green, blue, alpha) ;
3037 2963
3038 @DomName('WebGLRenderingContext.compileShader') 2964 @DomName('WebGLRenderingContext.compileShader')
3039 @DocsEditable() 2965 @DocsEditable()
3040 void compileShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instanc e.compileShader_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); 2966 void compileShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instanc e.compileShader_Callback_1_(this, shader);
3041 2967
3042 @DomName('WebGLRenderingContext.compressedTexImage2D') 2968 @DomName('WebGLRenderingContext.compressedTexImage2D')
3043 @DocsEditable() 2969 @DocsEditable()
3044 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)); 2970 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);
3045 2971
3046 @DomName('WebGLRenderingContext.compressedTexSubImage2D') 2972 @DomName('WebGLRenderingContext.compressedTexSubImage2D')
3047 @DocsEditable() 2973 @DocsEditable()
3048 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)); 2974 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);
3049 2975
3050 @DomName('WebGLRenderingContext.copyTexImage2D') 2976 @DomName('WebGLRenderingContext.copyTexImage2D')
3051 @DocsEditable() 2977 @DocsEditable()
3052 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); 2978 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);
3053 2979
3054 @DomName('WebGLRenderingContext.copyTexSubImage2D') 2980 @DomName('WebGLRenderingContext.copyTexSubImage2D')
3055 @DocsEditable() 2981 @DocsEditable()
3056 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); 2982 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);
3057 2983
3058 @DomName('WebGLRenderingContext.createBuffer') 2984 @DomName('WebGLRenderingContext.createBuffer')
3059 @DocsEditable() 2985 @DocsEditable()
3060 Buffer createBuffer() => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.c reateBuffer_Callback_0_(unwrap_jso(this))); 2986 Buffer createBuffer() => _blink.BlinkWebGLRenderingContext.instance.createBuff er_Callback_0_(this);
3061 2987
3062 @DomName('WebGLRenderingContext.createFramebuffer') 2988 @DomName('WebGLRenderingContext.createFramebuffer')
3063 @DocsEditable() 2989 @DocsEditable()
3064 Framebuffer createFramebuffer() => wrap_jso(_blink.BlinkWebGLRenderingContext. instance.createFramebuffer_Callback_0_(unwrap_jso(this))); 2990 Framebuffer createFramebuffer() => _blink.BlinkWebGLRenderingContext.instance. createFramebuffer_Callback_0_(this);
3065 2991
3066 @DomName('WebGLRenderingContext.createProgram') 2992 @DomName('WebGLRenderingContext.createProgram')
3067 @DocsEditable() 2993 @DocsEditable()
3068 Program createProgram() => wrap_jso(_blink.BlinkWebGLRenderingContext.instance .createProgram_Callback_0_(unwrap_jso(this))); 2994 Program createProgram() => _blink.BlinkWebGLRenderingContext.instance.createPr ogram_Callback_0_(this);
3069 2995
3070 @DomName('WebGLRenderingContext.createRenderbuffer') 2996 @DomName('WebGLRenderingContext.createRenderbuffer')
3071 @DocsEditable() 2997 @DocsEditable()
3072 Renderbuffer createRenderbuffer() => wrap_jso(_blink.BlinkWebGLRenderingContex t.instance.createRenderbuffer_Callback_0_(unwrap_jso(this))); 2998 Renderbuffer createRenderbuffer() => _blink.BlinkWebGLRenderingContext.instanc e.createRenderbuffer_Callback_0_(this);
3073 2999
3074 @DomName('WebGLRenderingContext.createShader') 3000 @DomName('WebGLRenderingContext.createShader')
3075 @DocsEditable() 3001 @DocsEditable()
3076 Shader createShader(int type) => wrap_jso(_blink.BlinkWebGLRenderingContext.in stance.createShader_Callback_1_(unwrap_jso(this), type)); 3002 Shader createShader(int type) => _blink.BlinkWebGLRenderingContext.instance.cr eateShader_Callback_1_(this, type);
3077 3003
3078 @DomName('WebGLRenderingContext.createTexture') 3004 @DomName('WebGLRenderingContext.createTexture')
3079 @DocsEditable() 3005 @DocsEditable()
3080 Texture createTexture() => wrap_jso(_blink.BlinkWebGLRenderingContext.instance .createTexture_Callback_0_(unwrap_jso(this))); 3006 Texture createTexture() => _blink.BlinkWebGLRenderingContext.instance.createTe xture_Callback_0_(this);
3081 3007
3082 @DomName('WebGLRenderingContext.cullFace') 3008 @DomName('WebGLRenderingContext.cullFace')
3083 @DocsEditable() 3009 @DocsEditable()
3084 void cullFace(int mode) => _blink.BlinkWebGLRenderingContext.instance.cullFace _Callback_1_(unwrap_jso(this), mode); 3010 void cullFace(int mode) => _blink.BlinkWebGLRenderingContext.instance.cullFace _Callback_1_(this, mode);
3085 3011
3086 @DomName('WebGLRenderingContext.deleteBuffer') 3012 @DomName('WebGLRenderingContext.deleteBuffer')
3087 @DocsEditable() 3013 @DocsEditable()
3088 void deleteBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.instance .deleteBuffer_Callback_1_(unwrap_jso(this), unwrap_jso(buffer)); 3014 void deleteBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.instance .deleteBuffer_Callback_1_(this, buffer);
3089 3015
3090 @DomName('WebGLRenderingContext.deleteFramebuffer') 3016 @DomName('WebGLRenderingContext.deleteFramebuffer')
3091 @DocsEditable() 3017 @DocsEditable()
3092 void deleteFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGLRenderingC ontext.instance.deleteFramebuffer_Callback_1_(unwrap_jso(this), unwrap_jso(frame buffer)); 3018 void deleteFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGLRenderingC ontext.instance.deleteFramebuffer_Callback_1_(this, framebuffer);
3093 3019
3094 @DomName('WebGLRenderingContext.deleteProgram') 3020 @DomName('WebGLRenderingContext.deleteProgram')
3095 @DocsEditable() 3021 @DocsEditable()
3096 void deleteProgram(Program program) => _blink.BlinkWebGLRenderingContext.insta nce.deleteProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); 3022 void deleteProgram(Program program) => _blink.BlinkWebGLRenderingContext.insta nce.deleteProgram_Callback_1_(this, program);
3097 3023
3098 @DomName('WebGLRenderingContext.deleteRenderbuffer') 3024 @DomName('WebGLRenderingContext.deleteRenderbuffer')
3099 @DocsEditable() 3025 @DocsEditable()
3100 void deleteRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderi ngContext.instance.deleteRenderbuffer_Callback_1_(unwrap_jso(this), unwrap_jso(r enderbuffer)); 3026 void deleteRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderi ngContext.instance.deleteRenderbuffer_Callback_1_(this, renderbuffer);
3101 3027
3102 @DomName('WebGLRenderingContext.deleteShader') 3028 @DomName('WebGLRenderingContext.deleteShader')
3103 @DocsEditable() 3029 @DocsEditable()
3104 void deleteShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instance .deleteShader_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); 3030 void deleteShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instance .deleteShader_Callback_1_(this, shader);
3105 3031
3106 @DomName('WebGLRenderingContext.deleteTexture') 3032 @DomName('WebGLRenderingContext.deleteTexture')
3107 @DocsEditable() 3033 @DocsEditable()
3108 void deleteTexture(Texture texture) => _blink.BlinkWebGLRenderingContext.insta nce.deleteTexture_Callback_1_(unwrap_jso(this), unwrap_jso(texture)); 3034 void deleteTexture(Texture texture) => _blink.BlinkWebGLRenderingContext.insta nce.deleteTexture_Callback_1_(this, texture);
3109 3035
3110 @DomName('WebGLRenderingContext.depthFunc') 3036 @DomName('WebGLRenderingContext.depthFunc')
3111 @DocsEditable() 3037 @DocsEditable()
3112 void depthFunc(int func) => _blink.BlinkWebGLRenderingContext.instance.depthFu nc_Callback_1_(unwrap_jso(this), func); 3038 void depthFunc(int func) => _blink.BlinkWebGLRenderingContext.instance.depthFu nc_Callback_1_(this, func);
3113 3039
3114 @DomName('WebGLRenderingContext.depthMask') 3040 @DomName('WebGLRenderingContext.depthMask')
3115 @DocsEditable() 3041 @DocsEditable()
3116 void depthMask(bool flag) => _blink.BlinkWebGLRenderingContext.instance.depthM ask_Callback_1_(unwrap_jso(this), flag); 3042 void depthMask(bool flag) => _blink.BlinkWebGLRenderingContext.instance.depthM ask_Callback_1_(this, flag);
3117 3043
3118 @DomName('WebGLRenderingContext.depthRange') 3044 @DomName('WebGLRenderingContext.depthRange')
3119 @DocsEditable() 3045 @DocsEditable()
3120 void depthRange(num zNear, num zFar) => _blink.BlinkWebGLRenderingContext.inst ance.depthRange_Callback_2_(unwrap_jso(this), zNear, zFar); 3046 void depthRange(num zNear, num zFar) => _blink.BlinkWebGLRenderingContext.inst ance.depthRange_Callback_2_(this, zNear, zFar);
3121 3047
3122 @DomName('WebGLRenderingContext.detachShader') 3048 @DomName('WebGLRenderingContext.detachShader')
3123 @DocsEditable() 3049 @DocsEditable()
3124 void detachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderin gContext.instance.detachShader_Callback_2_(unwrap_jso(this), unwrap_jso(program) , unwrap_jso(shader)); 3050 void detachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderin gContext.instance.detachShader_Callback_2_(this, program, shader);
3125 3051
3126 @DomName('WebGLRenderingContext.disable') 3052 @DomName('WebGLRenderingContext.disable')
3127 @DocsEditable() 3053 @DocsEditable()
3128 void disable(int cap) => _blink.BlinkWebGLRenderingContext.instance.disable_Ca llback_1_(unwrap_jso(this), cap); 3054 void disable(int cap) => _blink.BlinkWebGLRenderingContext.instance.disable_Ca llback_1_(this, cap);
3129 3055
3130 @DomName('WebGLRenderingContext.disableVertexAttribArray') 3056 @DomName('WebGLRenderingContext.disableVertexAttribArray')
3131 @DocsEditable() 3057 @DocsEditable()
3132 void disableVertexAttribArray(int index) => _blink.BlinkWebGLRenderingContext. instance.disableVertexAttribArray_Callback_1_(unwrap_jso(this), index); 3058 void disableVertexAttribArray(int index) => _blink.BlinkWebGLRenderingContext. instance.disableVertexAttribArray_Callback_1_(this, index);
3133 3059
3134 @DomName('WebGLRenderingContext.drawArrays') 3060 @DomName('WebGLRenderingContext.drawArrays')
3135 @DocsEditable() 3061 @DocsEditable()
3136 void drawArrays(int mode, int first, int count) => _blink.BlinkWebGLRenderingC ontext.instance.drawArrays_Callback_3_(unwrap_jso(this), mode, first, count); 3062 void drawArrays(int mode, int first, int count) => _blink.BlinkWebGLRenderingC ontext.instance.drawArrays_Callback_3_(this, mode, first, count);
3137 3063
3138 @DomName('WebGLRenderingContext.drawElements') 3064 @DomName('WebGLRenderingContext.drawElements')
3139 @DocsEditable() 3065 @DocsEditable()
3140 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); 3066 void drawElements(int mode, int count, int type, int offset) => _blink.BlinkWe bGLRenderingContext.instance.drawElements_Callback_4_(this, mode, count, type, o ffset);
3141 3067
3142 @DomName('WebGLRenderingContext.enable') 3068 @DomName('WebGLRenderingContext.enable')
3143 @DocsEditable() 3069 @DocsEditable()
3144 void enable(int cap) => _blink.BlinkWebGLRenderingContext.instance.enable_Call back_1_(unwrap_jso(this), cap); 3070 void enable(int cap) => _blink.BlinkWebGLRenderingContext.instance.enable_Call back_1_(this, cap);
3145 3071
3146 @DomName('WebGLRenderingContext.enableVertexAttribArray') 3072 @DomName('WebGLRenderingContext.enableVertexAttribArray')
3147 @DocsEditable() 3073 @DocsEditable()
3148 void enableVertexAttribArray(int index) => _blink.BlinkWebGLRenderingContext.i nstance.enableVertexAttribArray_Callback_1_(unwrap_jso(this), index); 3074 void enableVertexAttribArray(int index) => _blink.BlinkWebGLRenderingContext.i nstance.enableVertexAttribArray_Callback_1_(this, index);
3149 3075
3150 @DomName('WebGLRenderingContext.finish') 3076 @DomName('WebGLRenderingContext.finish')
3151 @DocsEditable() 3077 @DocsEditable()
3152 void finish() => _blink.BlinkWebGLRenderingContext.instance.finish_Callback_0_ (unwrap_jso(this)); 3078 void finish() => _blink.BlinkWebGLRenderingContext.instance.finish_Callback_0_ (this);
3153 3079
3154 @DomName('WebGLRenderingContext.flush') 3080 @DomName('WebGLRenderingContext.flush')
3155 @DocsEditable() 3081 @DocsEditable()
3156 void flush() => _blink.BlinkWebGLRenderingContext.instance.flush_Callback_0_(u nwrap_jso(this)); 3082 void flush() => _blink.BlinkWebGLRenderingContext.instance.flush_Callback_0_(t his);
3157 3083
3158 @DomName('WebGLRenderingContext.framebufferRenderbuffer') 3084 @DomName('WebGLRenderingContext.framebufferRenderbuffer')
3159 @DocsEditable() 3085 @DocsEditable()
3160 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)); 3086 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge t, Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingContext.instance.fram ebufferRenderbuffer_Callback_4_(this, target, attachment, renderbuffertarget, re nderbuffer);
3161 3087
3162 @DomName('WebGLRenderingContext.framebufferTexture2D') 3088 @DomName('WebGLRenderingContext.framebufferTexture2D')
3163 @DocsEditable() 3089 @DocsEditable()
3164 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); 3090 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);
3165 3091
3166 @DomName('WebGLRenderingContext.frontFace') 3092 @DomName('WebGLRenderingContext.frontFace')
3167 @DocsEditable() 3093 @DocsEditable()
3168 void frontFace(int mode) => _blink.BlinkWebGLRenderingContext.instance.frontFa ce_Callback_1_(unwrap_jso(this), mode); 3094 void frontFace(int mode) => _blink.BlinkWebGLRenderingContext.instance.frontFa ce_Callback_1_(this, mode);
3169 3095
3170 @DomName('WebGLRenderingContext.generateMipmap') 3096 @DomName('WebGLRenderingContext.generateMipmap')
3171 @DocsEditable() 3097 @DocsEditable()
3172 void generateMipmap(int target) => _blink.BlinkWebGLRenderingContext.instance. generateMipmap_Callback_1_(unwrap_jso(this), target); 3098 void generateMipmap(int target) => _blink.BlinkWebGLRenderingContext.instance. generateMipmap_Callback_1_(this, target);
3173 3099
3174 @DomName('WebGLRenderingContext.getActiveAttrib') 3100 @DomName('WebGLRenderingContext.getActiveAttrib')
3175 @DocsEditable() 3101 @DocsEditable()
3176 ActiveInfo getActiveAttrib(Program program, int index) => wrap_jso(_blink.Blin kWebGLRenderingContext.instance.getActiveAttrib_Callback_2_(unwrap_jso(this), un wrap_jso(program), index)); 3102 ActiveInfo getActiveAttrib(Program program, int index) => _blink.BlinkWebGLRen deringContext.instance.getActiveAttrib_Callback_2_(this, program, index);
3177 3103
3178 @DomName('WebGLRenderingContext.getActiveUniform') 3104 @DomName('WebGLRenderingContext.getActiveUniform')
3179 @DocsEditable() 3105 @DocsEditable()
3180 ActiveInfo getActiveUniform(Program program, int index) => wrap_jso(_blink.Bli nkWebGLRenderingContext.instance.getActiveUniform_Callback_2_(unwrap_jso(this), unwrap_jso(program), index)); 3106 ActiveInfo getActiveUniform(Program program, int index) => _blink.BlinkWebGLRe nderingContext.instance.getActiveUniform_Callback_2_(this, program, index);
3181 3107
3182 @DomName('WebGLRenderingContext.getAttachedShaders') 3108 @DomName('WebGLRenderingContext.getAttachedShaders')
3183 @DocsEditable() 3109 @DocsEditable()
3184 List<Shader> getAttachedShaders(Program program) => wrap_jso(_blink.BlinkWebGL RenderingContext.instance.getAttachedShaders_Callback_1_(unwrap_jso(this), unwra p_jso(program))); 3110 List<Shader> getAttachedShaders(Program program) => _blink.BlinkWebGLRendering Context.instance.getAttachedShaders_Callback_1_(this, program);
3185 3111
3186 @DomName('WebGLRenderingContext.getAttribLocation') 3112 @DomName('WebGLRenderingContext.getAttribLocation')
3187 @DocsEditable() 3113 @DocsEditable()
3188 int getAttribLocation(Program program, String name) => _blink.BlinkWebGLRender ingContext.instance.getAttribLocation_Callback_2_(unwrap_jso(this), unwrap_jso(p rogram), name); 3114 int getAttribLocation(Program program, String name) => _blink.BlinkWebGLRender ingContext.instance.getAttribLocation_Callback_2_(this, program, name);
3189 3115
3190 @DomName('WebGLRenderingContext.getBufferParameter') 3116 @DomName('WebGLRenderingContext.getBufferParameter')
3191 @DocsEditable() 3117 @DocsEditable()
3192 Object getBufferParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGL RenderingContext.instance.getBufferParameter_Callback_2_(unwrap_jso(this), targe t, pname)); 3118 Object getBufferParameter(int target, int pname) => (_blink.BlinkWebGLRenderin gContext.instance.getBufferParameter_Callback_2_(this, target, pname));
3193 3119
3194 @DomName('WebGLRenderingContext.getContextAttributes') 3120 @DomName('WebGLRenderingContext.getContextAttributes')
3195 @DocsEditable() 3121 @DocsEditable()
3196 getContextAttributes() => convertNativeDictionaryToDartDictionary(wrap_jso(_b link.BlinkWebGLRenderingContext.instance.getContextAttributes_Callback_0_(unwrap _jso(this)))); 3122 getContextAttributes() => convertNativeDictionaryToDartDictionary((_blink.Bli nkWebGLRenderingContext.instance.getContextAttributes_Callback_0_(this)));
3197 3123
3198 @DomName('WebGLRenderingContext.getError') 3124 @DomName('WebGLRenderingContext.getError')
3199 @DocsEditable() 3125 @DocsEditable()
3200 int getError() => _blink.BlinkWebGLRenderingContext.instance.getError_Callback _0_(unwrap_jso(this)); 3126 int getError() => _blink.BlinkWebGLRenderingContext.instance.getError_Callback _0_(this);
3201 3127
3202 @DomName('WebGLRenderingContext.getExtension') 3128 @DomName('WebGLRenderingContext.getExtension')
3203 @DocsEditable() 3129 @DocsEditable()
3204 Object getExtension(String name) => wrap_jso(_blink.BlinkWebGLRenderingContext .instance.getExtension_Callback_1_(unwrap_jso(this), name)); 3130 Object getExtension(String name) => (_blink.BlinkWebGLRenderingContext.instanc e.getExtension_Callback_1_(this, name));
3205 3131
3206 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') 3132 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter')
3207 @DocsEditable() 3133 @DocsEditable()
3208 Object getFramebufferAttachmentParameter(int target, int attachment, int pname ) => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.getFramebufferAttachmen tParameter_Callback_3_(unwrap_jso(this), target, attachment, pname)); 3134 Object getFramebufferAttachmentParameter(int target, int attachment, int pname ) => (_blink.BlinkWebGLRenderingContext.instance.getFramebufferAttachmentParamet er_Callback_3_(this, target, attachment, pname));
3209 3135
3210 @DomName('WebGLRenderingContext.getParameter') 3136 @DomName('WebGLRenderingContext.getParameter')
3211 @DocsEditable() 3137 @DocsEditable()
3212 Object getParameter(int pname) => wrap_jso(_blink.BlinkWebGLRenderingContext.i nstance.getParameter_Callback_1_(unwrap_jso(this), pname)); 3138 Object getParameter(int pname) => (_blink.BlinkWebGLRenderingContext.instance. getParameter_Callback_1_(this, pname));
3213 3139
3214 @DomName('WebGLRenderingContext.getProgramInfoLog') 3140 @DomName('WebGLRenderingContext.getProgramInfoLog')
3215 @DocsEditable() 3141 @DocsEditable()
3216 String getProgramInfoLog(Program program) => _blink.BlinkWebGLRenderingContext .instance.getProgramInfoLog_Callback_1_(unwrap_jso(this), unwrap_jso(program)); 3142 String getProgramInfoLog(Program program) => _blink.BlinkWebGLRenderingContext .instance.getProgramInfoLog_Callback_1_(this, program);
3217 3143
3218 @DomName('WebGLRenderingContext.getProgramParameter') 3144 @DomName('WebGLRenderingContext.getProgramParameter')
3219 @DocsEditable() 3145 @DocsEditable()
3220 Object getProgramParameter(Program program, int pname) => wrap_jso(_blink.Blin kWebGLRenderingContext.instance.getProgramParameter_Callback_2_(unwrap_jso(this) , unwrap_jso(program), pname)); 3146 Object getProgramParameter(Program program, int pname) => (_blink.BlinkWebGLRe nderingContext.instance.getProgramParameter_Callback_2_(this, program, pname));
3221 3147
3222 @DomName('WebGLRenderingContext.getRenderbufferParameter') 3148 @DomName('WebGLRenderingContext.getRenderbufferParameter')
3223 @DocsEditable() 3149 @DocsEditable()
3224 Object getRenderbufferParameter(int target, int pname) => wrap_jso(_blink.Blin kWebGLRenderingContext.instance.getRenderbufferParameter_Callback_2_(unwrap_jso( this), target, pname)); 3150 Object getRenderbufferParameter(int target, int pname) => (_blink.BlinkWebGLRe nderingContext.instance.getRenderbufferParameter_Callback_2_(this, target, pname ));
3225 3151
3226 @DomName('WebGLRenderingContext.getShaderInfoLog') 3152 @DomName('WebGLRenderingContext.getShaderInfoLog')
3227 @DocsEditable() 3153 @DocsEditable()
3228 String getShaderInfoLog(Shader shader) => _blink.BlinkWebGLRenderingContext.in stance.getShaderInfoLog_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); 3154 String getShaderInfoLog(Shader shader) => _blink.BlinkWebGLRenderingContext.in stance.getShaderInfoLog_Callback_1_(this, shader);
3229 3155
3230 @DomName('WebGLRenderingContext.getShaderParameter') 3156 @DomName('WebGLRenderingContext.getShaderParameter')
3231 @DocsEditable() 3157 @DocsEditable()
3232 Object getShaderParameter(Shader shader, int pname) => wrap_jso(_blink.BlinkWe bGLRenderingContext.instance.getShaderParameter_Callback_2_(unwrap_jso(this), un wrap_jso(shader), pname)); 3158 Object getShaderParameter(Shader shader, int pname) => (_blink.BlinkWebGLRende ringContext.instance.getShaderParameter_Callback_2_(this, shader, pname));
3233 3159
3234 @DomName('WebGLRenderingContext.getShaderPrecisionFormat') 3160 @DomName('WebGLRenderingContext.getShaderPrecisionFormat')
3235 @DocsEditable() 3161 @DocsEditable()
3236 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty pe) => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.getShaderPrecisionFor mat_Callback_2_(unwrap_jso(this), shadertype, precisiontype)); 3162 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty pe) => _blink.BlinkWebGLRenderingContext.instance.getShaderPrecisionFormat_Callb ack_2_(this, shadertype, precisiontype);
3237 3163
3238 @DomName('WebGLRenderingContext.getShaderSource') 3164 @DomName('WebGLRenderingContext.getShaderSource')
3239 @DocsEditable() 3165 @DocsEditable()
3240 String getShaderSource(Shader shader) => _blink.BlinkWebGLRenderingContext.ins tance.getShaderSource_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); 3166 String getShaderSource(Shader shader) => _blink.BlinkWebGLRenderingContext.ins tance.getShaderSource_Callback_1_(this, shader);
3241 3167
3242 @DomName('WebGLRenderingContext.getSupportedExtensions') 3168 @DomName('WebGLRenderingContext.getSupportedExtensions')
3243 @DocsEditable() 3169 @DocsEditable()
3244 List<String> getSupportedExtensions() => _blink.BlinkWebGLRenderingContext.ins tance.getSupportedExtensions_Callback_0_(unwrap_jso(this)); 3170 List<String> getSupportedExtensions() => _blink.BlinkWebGLRenderingContext.ins tance.getSupportedExtensions_Callback_0_(this);
3245 3171
3246 @DomName('WebGLRenderingContext.getTexParameter') 3172 @DomName('WebGLRenderingContext.getTexParameter')
3247 @DocsEditable() 3173 @DocsEditable()
3248 Object getTexParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGLRen deringContext.instance.getTexParameter_Callback_2_(unwrap_jso(this), target, pna me)); 3174 Object getTexParameter(int target, int pname) => (_blink.BlinkWebGLRenderingCo ntext.instance.getTexParameter_Callback_2_(this, target, pname));
3249 3175
3250 @DomName('WebGLRenderingContext.getUniform') 3176 @DomName('WebGLRenderingContext.getUniform')
3251 @DocsEditable() 3177 @DocsEditable()
3252 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))); 3178 Object getUniform(Program program, UniformLocation location) => (_blink.BlinkW ebGLRenderingContext.instance.getUniform_Callback_2_(this, program, location));
3253 3179
3254 @DomName('WebGLRenderingContext.getUniformLocation') 3180 @DomName('WebGLRenderingContext.getUniformLocation')
3255 @DocsEditable() 3181 @DocsEditable()
3256 UniformLocation getUniformLocation(Program program, String name) => wrap_jso(_ blink.BlinkWebGLRenderingContext.instance.getUniformLocation_Callback_2_(unwrap_ jso(this), unwrap_jso(program), name)); 3182 UniformLocation getUniformLocation(Program program, String name) => _blink.Bli nkWebGLRenderingContext.instance.getUniformLocation_Callback_2_(this, program, n ame);
3257 3183
3258 @DomName('WebGLRenderingContext.getVertexAttrib') 3184 @DomName('WebGLRenderingContext.getVertexAttrib')
3259 @DocsEditable() 3185 @DocsEditable()
3260 Object getVertexAttrib(int index, int pname) => wrap_jso(_blink.BlinkWebGLRend eringContext.instance.getVertexAttrib_Callback_2_(unwrap_jso(this), index, pname )); 3186 Object getVertexAttrib(int index, int pname) => (_blink.BlinkWebGLRenderingCon text.instance.getVertexAttrib_Callback_2_(this, index, pname));
3261 3187
3262 @DomName('WebGLRenderingContext.getVertexAttribOffset') 3188 @DomName('WebGLRenderingContext.getVertexAttribOffset')
3263 @DocsEditable() 3189 @DocsEditable()
3264 int getVertexAttribOffset(int index, int pname) => _blink.BlinkWebGLRenderingC ontext.instance.getVertexAttribOffset_Callback_2_(unwrap_jso(this), index, pname ); 3190 int getVertexAttribOffset(int index, int pname) => _blink.BlinkWebGLRenderingC ontext.instance.getVertexAttribOffset_Callback_2_(this, index, pname);
3265 3191
3266 @DomName('WebGLRenderingContext.hint') 3192 @DomName('WebGLRenderingContext.hint')
3267 @DocsEditable() 3193 @DocsEditable()
3268 void hint(int target, int mode) => _blink.BlinkWebGLRenderingContext.instance. hint_Callback_2_(unwrap_jso(this), target, mode); 3194 void hint(int target, int mode) => _blink.BlinkWebGLRenderingContext.instance. hint_Callback_2_(this, target, mode);
3269 3195
3270 @DomName('WebGLRenderingContext.isBuffer') 3196 @DomName('WebGLRenderingContext.isBuffer')
3271 @DocsEditable() 3197 @DocsEditable()
3272 bool isBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.instance.isB uffer_Callback_1_(unwrap_jso(this), unwrap_jso(buffer)); 3198 bool isBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.instance.isB uffer_Callback_1_(this, buffer);
3273 3199
3274 @DomName('WebGLRenderingContext.isContextLost') 3200 @DomName('WebGLRenderingContext.isContextLost')
3275 @DocsEditable() 3201 @DocsEditable()
3276 bool isContextLost() => _blink.BlinkWebGLRenderingContext.instance.isContextLo st_Callback_0_(unwrap_jso(this)); 3202 bool isContextLost() => _blink.BlinkWebGLRenderingContext.instance.isContextLo st_Callback_0_(this);
3277 3203
3278 @DomName('WebGLRenderingContext.isEnabled') 3204 @DomName('WebGLRenderingContext.isEnabled')
3279 @DocsEditable() 3205 @DocsEditable()
3280 bool isEnabled(int cap) => _blink.BlinkWebGLRenderingContext.instance.isEnable d_Callback_1_(unwrap_jso(this), cap); 3206 bool isEnabled(int cap) => _blink.BlinkWebGLRenderingContext.instance.isEnable d_Callback_1_(this, cap);
3281 3207
3282 @DomName('WebGLRenderingContext.isFramebuffer') 3208 @DomName('WebGLRenderingContext.isFramebuffer')
3283 @DocsEditable() 3209 @DocsEditable()
3284 bool isFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGLRenderingConte xt.instance.isFramebuffer_Callback_1_(unwrap_jso(this), unwrap_jso(framebuffer)) ; 3210 bool isFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGLRenderingConte xt.instance.isFramebuffer_Callback_1_(this, framebuffer);
3285 3211
3286 @DomName('WebGLRenderingContext.isProgram') 3212 @DomName('WebGLRenderingContext.isProgram')
3287 @DocsEditable() 3213 @DocsEditable()
3288 bool isProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance. isProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); 3214 bool isProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance. isProgram_Callback_1_(this, program);
3289 3215
3290 @DomName('WebGLRenderingContext.isRenderbuffer') 3216 @DomName('WebGLRenderingContext.isRenderbuffer')
3291 @DocsEditable() 3217 @DocsEditable()
3292 bool isRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingCo ntext.instance.isRenderbuffer_Callback_1_(unwrap_jso(this), unwrap_jso(renderbuf fer)); 3218 bool isRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingCo ntext.instance.isRenderbuffer_Callback_1_(this, renderbuffer);
3293 3219
3294 @DomName('WebGLRenderingContext.isShader') 3220 @DomName('WebGLRenderingContext.isShader')
3295 @DocsEditable() 3221 @DocsEditable()
3296 bool isShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instance.isS hader_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); 3222 bool isShader(Shader shader) => _blink.BlinkWebGLRenderingContext.instance.isS hader_Callback_1_(this, shader);
3297 3223
3298 @DomName('WebGLRenderingContext.isTexture') 3224 @DomName('WebGLRenderingContext.isTexture')
3299 @DocsEditable() 3225 @DocsEditable()
3300 bool isTexture(Texture texture) => _blink.BlinkWebGLRenderingContext.instance. isTexture_Callback_1_(unwrap_jso(this), unwrap_jso(texture)); 3226 bool isTexture(Texture texture) => _blink.BlinkWebGLRenderingContext.instance. isTexture_Callback_1_(this, texture);
3301 3227
3302 @DomName('WebGLRenderingContext.lineWidth') 3228 @DomName('WebGLRenderingContext.lineWidth')
3303 @DocsEditable() 3229 @DocsEditable()
3304 void lineWidth(num width) => _blink.BlinkWebGLRenderingContext.instance.lineWi dth_Callback_1_(unwrap_jso(this), width); 3230 void lineWidth(num width) => _blink.BlinkWebGLRenderingContext.instance.lineWi dth_Callback_1_(this, width);
3305 3231
3306 @DomName('WebGLRenderingContext.linkProgram') 3232 @DomName('WebGLRenderingContext.linkProgram')
3307 @DocsEditable() 3233 @DocsEditable()
3308 void linkProgram(Program program) => _blink.BlinkWebGLRenderingContext.instanc e.linkProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); 3234 void linkProgram(Program program) => _blink.BlinkWebGLRenderingContext.instanc e.linkProgram_Callback_1_(this, program);
3309 3235
3310 @DomName('WebGLRenderingContext.pixelStorei') 3236 @DomName('WebGLRenderingContext.pixelStorei')
3311 @DocsEditable() 3237 @DocsEditable()
3312 void pixelStorei(int pname, int param) => _blink.BlinkWebGLRenderingContext.in stance.pixelStorei_Callback_2_(unwrap_jso(this), pname, param); 3238 void pixelStorei(int pname, int param) => _blink.BlinkWebGLRenderingContext.in stance.pixelStorei_Callback_2_(this, pname, param);
3313 3239
3314 @DomName('WebGLRenderingContext.polygonOffset') 3240 @DomName('WebGLRenderingContext.polygonOffset')
3315 @DocsEditable() 3241 @DocsEditable()
3316 void polygonOffset(num factor, num units) => _blink.BlinkWebGLRenderingContext .instance.polygonOffset_Callback_2_(unwrap_jso(this), factor, units); 3242 void polygonOffset(num factor, num units) => _blink.BlinkWebGLRenderingContext .instance.polygonOffset_Callback_2_(this, factor, units);
3317 3243
3318 @DomName('WebGLRenderingContext.readPixels') 3244 @DomName('WebGLRenderingContext.readPixels')
3319 @DocsEditable() 3245 @DocsEditable()
3320 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)); 3246 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);
3321 3247
3322 @DomName('WebGLRenderingContext.renderbufferStorage') 3248 @DomName('WebGLRenderingContext.renderbufferStorage')
3323 @DocsEditable() 3249 @DocsEditable()
3324 void renderbufferStorage(int target, int internalformat, int width, int height ) => _blink.BlinkWebGLRenderingContext.instance.renderbufferStorage_Callback_4_( unwrap_jso(this), target, internalformat, width, height); 3250 void renderbufferStorage(int target, int internalformat, int width, int height ) => _blink.BlinkWebGLRenderingContext.instance.renderbufferStorage_Callback_4_( this, target, internalformat, width, height);
3325 3251
3326 @DomName('WebGLRenderingContext.sampleCoverage') 3252 @DomName('WebGLRenderingContext.sampleCoverage')
3327 @DocsEditable() 3253 @DocsEditable()
3328 void sampleCoverage(num value, bool invert) => _blink.BlinkWebGLRenderingConte xt.instance.sampleCoverage_Callback_2_(unwrap_jso(this), value, invert); 3254 void sampleCoverage(num value, bool invert) => _blink.BlinkWebGLRenderingConte xt.instance.sampleCoverage_Callback_2_(this, value, invert);
3329 3255
3330 @DomName('WebGLRenderingContext.scissor') 3256 @DomName('WebGLRenderingContext.scissor')
3331 @DocsEditable() 3257 @DocsEditable()
3332 void scissor(int x, int y, int width, int height) => _blink.BlinkWebGLRenderin gContext.instance.scissor_Callback_4_(unwrap_jso(this), x, y, width, height); 3258 void scissor(int x, int y, int width, int height) => _blink.BlinkWebGLRenderin gContext.instance.scissor_Callback_4_(this, x, y, width, height);
3333 3259
3334 @DomName('WebGLRenderingContext.shaderSource') 3260 @DomName('WebGLRenderingContext.shaderSource')
3335 @DocsEditable() 3261 @DocsEditable()
3336 void shaderSource(Shader shader, String string) => _blink.BlinkWebGLRenderingC ontext.instance.shaderSource_Callback_2_(unwrap_jso(this), unwrap_jso(shader), s tring); 3262 void shaderSource(Shader shader, String string) => _blink.BlinkWebGLRenderingC ontext.instance.shaderSource_Callback_2_(this, shader, string);
3337 3263
3338 @DomName('WebGLRenderingContext.stencilFunc') 3264 @DomName('WebGLRenderingContext.stencilFunc')
3339 @DocsEditable() 3265 @DocsEditable()
3340 void stencilFunc(int func, int ref, int mask) => _blink.BlinkWebGLRenderingCon text.instance.stencilFunc_Callback_3_(unwrap_jso(this), func, ref, mask); 3266 void stencilFunc(int func, int ref, int mask) => _blink.BlinkWebGLRenderingCon text.instance.stencilFunc_Callback_3_(this, func, ref, mask);
3341 3267
3342 @DomName('WebGLRenderingContext.stencilFuncSeparate') 3268 @DomName('WebGLRenderingContext.stencilFuncSeparate')
3343 @DocsEditable() 3269 @DocsEditable()
3344 void stencilFuncSeparate(int face, int func, int ref, int mask) => _blink.Blin kWebGLRenderingContext.instance.stencilFuncSeparate_Callback_4_(unwrap_jso(this) , face, func, ref, mask); 3270 void stencilFuncSeparate(int face, int func, int ref, int mask) => _blink.Blin kWebGLRenderingContext.instance.stencilFuncSeparate_Callback_4_(this, face, func , ref, mask);
3345 3271
3346 @DomName('WebGLRenderingContext.stencilMask') 3272 @DomName('WebGLRenderingContext.stencilMask')
3347 @DocsEditable() 3273 @DocsEditable()
3348 void stencilMask(int mask) => _blink.BlinkWebGLRenderingContext.instance.stenc ilMask_Callback_1_(unwrap_jso(this), mask); 3274 void stencilMask(int mask) => _blink.BlinkWebGLRenderingContext.instance.stenc ilMask_Callback_1_(this, mask);
3349 3275
3350 @DomName('WebGLRenderingContext.stencilMaskSeparate') 3276 @DomName('WebGLRenderingContext.stencilMaskSeparate')
3351 @DocsEditable() 3277 @DocsEditable()
3352 void stencilMaskSeparate(int face, int mask) => _blink.BlinkWebGLRenderingCont ext.instance.stencilMaskSeparate_Callback_2_(unwrap_jso(this), face, mask); 3278 void stencilMaskSeparate(int face, int mask) => _blink.BlinkWebGLRenderingCont ext.instance.stencilMaskSeparate_Callback_2_(this, face, mask);
3353 3279
3354 @DomName('WebGLRenderingContext.stencilOp') 3280 @DomName('WebGLRenderingContext.stencilOp')
3355 @DocsEditable() 3281 @DocsEditable()
3356 void stencilOp(int fail, int zfail, int zpass) => _blink.BlinkWebGLRenderingCo ntext.instance.stencilOp_Callback_3_(unwrap_jso(this), fail, zfail, zpass); 3282 void stencilOp(int fail, int zfail, int zpass) => _blink.BlinkWebGLRenderingCo ntext.instance.stencilOp_Callback_3_(this, fail, zfail, zpass);
3357 3283
3358 @DomName('WebGLRenderingContext.stencilOpSeparate') 3284 @DomName('WebGLRenderingContext.stencilOpSeparate')
3359 @DocsEditable() 3285 @DocsEditable()
3360 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => _blink.Bli nkWebGLRenderingContext.instance.stencilOpSeparate_Callback_4_(unwrap_jso(this), face, fail, zfail, zpass); 3286 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => _blink.Bli nkWebGLRenderingContext.instance.stencilOpSeparate_Callback_4_(this, face, fail, zfail, zpass);
3361 3287
3362 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]) { 3288 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]) {
3363 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)) { 3289 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)) {
3364 _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)); 3290 _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);
3365 return; 3291 return;
3366 } 3292 }
3367 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) { 3293 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) {
3368 _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)); 3294 _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);
3369 return; 3295 return;
3370 } 3296 }
3371 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) { 3297 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) {
3372 _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)); 3298 _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);
3373 return; 3299 return;
3374 } 3300 }
3375 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) { 3301 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) {
3376 _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)); 3302 _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);
3377 return; 3303 return;
3378 } 3304 }
3379 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) { 3305 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) {
3380 _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)); 3306 _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);
3381 return; 3307 return;
3382 } 3308 }
3383 throw new ArgumentError("Incorrect number or type of arguments"); 3309 throw new ArgumentError("Incorrect number or type of arguments");
3384 } 3310 }
3385 3311
3312 @DomName('WebGLRenderingContext.texImage2DCanvas')
3313 @DocsEditable()
3314 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);
3315
3316 @DomName('WebGLRenderingContext.texImage2DImage')
3317 @DocsEditable()
3318 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);
3319
3320 @DomName('WebGLRenderingContext.texImage2DImageData')
3321 @DocsEditable()
3322 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);
3323
3324 @DomName('WebGLRenderingContext.texImage2DVideo')
3325 @DocsEditable()
3326 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);
3327
3386 @DomName('WebGLRenderingContext.texParameterf') 3328 @DomName('WebGLRenderingContext.texParameterf')
3387 @DocsEditable() 3329 @DocsEditable()
3388 void texParameterf(int target, int pname, num param) => _blink.BlinkWebGLRende ringContext.instance.texParameterf_Callback_3_(unwrap_jso(this), target, pname, param); 3330 void texParameterf(int target, int pname, num param) => _blink.BlinkWebGLRende ringContext.instance.texParameterf_Callback_3_(this, target, pname, param);
3389 3331
3390 @DomName('WebGLRenderingContext.texParameteri') 3332 @DomName('WebGLRenderingContext.texParameteri')
3391 @DocsEditable() 3333 @DocsEditable()
3392 void texParameteri(int target, int pname, int param) => _blink.BlinkWebGLRende ringContext.instance.texParameteri_Callback_3_(unwrap_jso(this), target, pname, param); 3334 void texParameteri(int target, int pname, int param) => _blink.BlinkWebGLRende ringContext.instance.texParameteri_Callback_3_(this, target, pname, param);
3393 3335
3394 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]) { 3336 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]) {
3395 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)) { 3337 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)) {
3396 _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 )); 3338 _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);
3397 return; 3339 return;
3398 } 3340 }
3399 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) { 3341 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) {
3400 _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)); 3342 _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);
3401 return; 3343 return;
3402 } 3344 }
3403 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) { 3345 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) {
3404 _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)); 3346 _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);
3405 return; 3347 return;
3406 } 3348 }
3407 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) { 3349 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) {
3408 _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)); 3350 _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);
3409 return; 3351 return;
3410 } 3352 }
3411 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) { 3353 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) {
3412 _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)); 3354 _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);
3413 return; 3355 return;
3414 } 3356 }
3415 throw new ArgumentError("Incorrect number or type of arguments"); 3357 throw new ArgumentError("Incorrect number or type of arguments");
3416 } 3358 }
3417 3359
3360 @DomName('WebGLRenderingContext.texSubImage2DCanvas')
3361 @DocsEditable()
3362 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);
3363
3364 @DomName('WebGLRenderingContext.texSubImage2DImage')
3365 @DocsEditable()
3366 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);
3367
3368 @DomName('WebGLRenderingContext.texSubImage2DImageData')
3369 @DocsEditable()
3370 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);
3371
3372 @DomName('WebGLRenderingContext.texSubImage2DVideo')
3373 @DocsEditable()
3374 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);
3375
3418 @DomName('WebGLRenderingContext.uniform1f') 3376 @DomName('WebGLRenderingContext.uniform1f')
3419 @DocsEditable() 3377 @DocsEditable()
3420 void uniform1f(UniformLocation location, num x) => _blink.BlinkWebGLRenderingC ontext.instance.uniform1f_Callback_2_(unwrap_jso(this), unwrap_jso(location), x) ; 3378 void uniform1f(UniformLocation location, num x) => _blink.BlinkWebGLRenderingC ontext.instance.uniform1f_Callback_2_(this, location, x);
3421 3379
3422 void uniform1fv(UniformLocation location, v) { 3380 void uniform1fv(UniformLocation location, v) {
3423 if ((v is Float32List) && (location is UniformLocation || location == null)) { 3381 if ((v is Float32List) && (location is UniformLocation || location == null)) {
3424 _blink.BlinkWebGLRenderingContext.instance.uniform1fv_Callback_2_(unwrap_j so(this), unwrap_jso(location), unwrap_jso(v)); 3382 _blink.BlinkWebGLRenderingContext.instance.uniform1fv_Callback_2_(this, lo cation, v);
3425 return; 3383 return;
3426 } 3384 }
3427 if ((v is List<num>) && (location is UniformLocation || location == null)) { 3385 if ((v is List<num>) && (location is UniformLocation || location == null)) {
3428 _blink.BlinkWebGLRenderingContext.instance.uniform1fv_Callback_2_(unwrap_j so(this), unwrap_jso(location), unwrap_jso(v)); 3386 _blink.BlinkWebGLRenderingContext.instance.uniform1fv_Callback_2_(this, lo cation, v);
3429 return; 3387 return;
3430 } 3388 }
3431 throw new ArgumentError("Incorrect number or type of arguments"); 3389 throw new ArgumentError("Incorrect number or type of arguments");
3432 } 3390 }
3433 3391
3434 @DomName('WebGLRenderingContext.uniform1i') 3392 @DomName('WebGLRenderingContext.uniform1i')
3435 @DocsEditable() 3393 @DocsEditable()
3436 void uniform1i(UniformLocation location, int x) => _blink.BlinkWebGLRenderingC ontext.instance.uniform1i_Callback_2_(unwrap_jso(this), unwrap_jso(location), x) ; 3394 void uniform1i(UniformLocation location, int x) => _blink.BlinkWebGLRenderingC ontext.instance.uniform1i_Callback_2_(this, location, x);
3437 3395
3438 void uniform1iv(UniformLocation location, v) { 3396 void uniform1iv(UniformLocation location, v) {
3439 if ((v is Int32List) && (location is UniformLocation || location == null)) { 3397 if ((v is Int32List) && (location is UniformLocation || location == null)) {
3440 _blink.BlinkWebGLRenderingContext.instance.uniform1iv_Callback_2_(unwrap_j so(this), unwrap_jso(location), unwrap_jso(v)); 3398 _blink.BlinkWebGLRenderingContext.instance.uniform1iv_Callback_2_(this, lo cation, v);
3441 return; 3399 return;
3442 } 3400 }
3443 if ((v is List<int>) && (location is UniformLocation || location == null)) { 3401 if ((v is List<int>) && (location is UniformLocation || location == null)) {
3444 _blink.BlinkWebGLRenderingContext.instance.uniform1iv_Callback_2_(unwrap_j so(this), unwrap_jso(location), unwrap_jso(v)); 3402 _blink.BlinkWebGLRenderingContext.instance.uniform1iv_Callback_2_(this, lo cation, v);
3445 return; 3403 return;
3446 } 3404 }
3447 throw new ArgumentError("Incorrect number or type of arguments"); 3405 throw new ArgumentError("Incorrect number or type of arguments");
3448 } 3406 }
3449 3407
3450 @DomName('WebGLRenderingContext.uniform2f') 3408 @DomName('WebGLRenderingContext.uniform2f')
3451 @DocsEditable() 3409 @DocsEditable()
3452 void uniform2f(UniformLocation location, num x, num y) => _blink.BlinkWebGLRen deringContext.instance.uniform2f_Callback_3_(unwrap_jso(this), unwrap_jso(locati on), x, y); 3410 void uniform2f(UniformLocation location, num x, num y) => _blink.BlinkWebGLRen deringContext.instance.uniform2f_Callback_3_(this, location, x, y);
3453 3411
3454 void uniform2fv(UniformLocation location, v) { 3412 void uniform2fv(UniformLocation location, v) {
3455 if ((v is Float32List) && (location is UniformLocation || location == null)) { 3413 if ((v is Float32List) && (location is UniformLocation || location == null)) {
3456 _blink.BlinkWebGLRenderingContext.instance.uniform2fv_Callback_2_(unwrap_j so(this), unwrap_jso(location), unwrap_jso(v)); 3414 _blink.BlinkWebGLRenderingContext.instance.uniform2fv_Callback_2_(this, lo cation, v);
3457 return; 3415 return;
3458 } 3416 }
3459 if ((v is List<num>) && (location is UniformLocation || location == null)) { 3417 if ((v is List<num>) && (location is UniformLocation || location == null)) {
3460 _blink.BlinkWebGLRenderingContext.instance.uniform2fv_Callback_2_(unwrap_j so(this), unwrap_jso(location), unwrap_jso(v)); 3418 _blink.BlinkWebGLRenderingContext.instance.uniform2fv_Callback_2_(this, lo cation, v);
3461 return; 3419 return;
3462 } 3420 }
3463 throw new ArgumentError("Incorrect number or type of arguments"); 3421 throw new ArgumentError("Incorrect number or type of arguments");
3464 } 3422 }
3465 3423
3466 @DomName('WebGLRenderingContext.uniform2i') 3424 @DomName('WebGLRenderingContext.uniform2i')
3467 @DocsEditable() 3425 @DocsEditable()
3468 void uniform2i(UniformLocation location, int x, int y) => _blink.BlinkWebGLRen deringContext.instance.uniform2i_Callback_3_(unwrap_jso(this), unwrap_jso(locati on), x, y); 3426 void uniform2i(UniformLocation location, int x, int y) => _blink.BlinkWebGLRen deringContext.instance.uniform2i_Callback_3_(this, location, x, y);
3469 3427
3470 void uniform2iv(UniformLocation location, v) { 3428 void uniform2iv(UniformLocation location, v) {
3471 if ((v is Int32List) && (location is UniformLocation || location == null)) { 3429 if ((v is Int32List) && (location is UniformLocation || location == null)) {
3472 _blink.BlinkWebGLRenderingContext.instance.uniform2iv_Callback_2_(unwrap_j so(this), unwrap_jso(location), unwrap_jso(v)); 3430 _blink.BlinkWebGLRenderingContext.instance.uniform2iv_Callback_2_(this, lo cation, v);
3473 return; 3431 return;
3474 } 3432 }
3475 if ((v is List<int>) && (location is UniformLocation || location == null)) { 3433 if ((v is List<int>) && (location is UniformLocation || location == null)) {
3476 _blink.BlinkWebGLRenderingContext.instance.uniform2iv_Callback_2_(unwrap_j so(this), unwrap_jso(location), unwrap_jso(v)); 3434 _blink.BlinkWebGLRenderingContext.instance.uniform2iv_Callback_2_(this, lo cation, v);
3477 return; 3435 return;
3478 } 3436 }
3479 throw new ArgumentError("Incorrect number or type of arguments"); 3437 throw new ArgumentError("Incorrect number or type of arguments");
3480 } 3438 }
3481 3439
3482 @DomName('WebGLRenderingContext.uniform3f') 3440 @DomName('WebGLRenderingContext.uniform3f')
3483 @DocsEditable() 3441 @DocsEditable()
3484 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); 3442 void uniform3f(UniformLocation location, num x, num y, num z) => _blink.BlinkW ebGLRenderingContext.instance.uniform3f_Callback_4_(this, location, x, y, z);
3485 3443
3486 void uniform3fv(UniformLocation location, v) { 3444 void uniform3fv(UniformLocation location, v) {
3487 if ((v is Float32List) && (location is UniformLocation || location == null)) { 3445 if ((v is Float32List) && (location is UniformLocation || location == null)) {
3488 _blink.BlinkWebGLRenderingContext.instance.uniform3fv_Callback_2_(unwrap_j so(this), unwrap_jso(location), unwrap_jso(v)); 3446 _blink.BlinkWebGLRenderingContext.instance.uniform3fv_Callback_2_(this, lo cation, v);
3489 return; 3447 return;
3490 } 3448 }
3491 if ((v is List<num>) && (location is UniformLocation || location == null)) { 3449 if ((v is List<num>) && (location is UniformLocation || location == null)) {
3492 _blink.BlinkWebGLRenderingContext.instance.uniform3fv_Callback_2_(unwrap_j so(this), unwrap_jso(location), unwrap_jso(v)); 3450 _blink.BlinkWebGLRenderingContext.instance.uniform3fv_Callback_2_(this, lo cation, v);
3493 return; 3451 return;
3494 } 3452 }
3495 throw new ArgumentError("Incorrect number or type of arguments"); 3453 throw new ArgumentError("Incorrect number or type of arguments");
3496 } 3454 }
3497 3455
3498 @DomName('WebGLRenderingContext.uniform3i') 3456 @DomName('WebGLRenderingContext.uniform3i')
3499 @DocsEditable() 3457 @DocsEditable()
3500 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); 3458 void uniform3i(UniformLocation location, int x, int y, int z) => _blink.BlinkW ebGLRenderingContext.instance.uniform3i_Callback_4_(this, location, x, y, z);
3501 3459
3502 void uniform3iv(UniformLocation location, v) { 3460 void uniform3iv(UniformLocation location, v) {
3503 if ((v is Int32List) && (location is UniformLocation || location == null)) { 3461 if ((v is Int32List) && (location is UniformLocation || location == null)) {
3504 _blink.BlinkWebGLRenderingContext.instance.uniform3iv_Callback_2_(unwrap_j so(this), unwrap_jso(location), unwrap_jso(v)); 3462 _blink.BlinkWebGLRenderingContext.instance.uniform3iv_Callback_2_(this, lo cation, v);
3505 return; 3463 return;
3506 } 3464 }
3507 if ((v is List<int>) && (location is UniformLocation || location == null)) { 3465 if ((v is List<int>) && (location is UniformLocation || location == null)) {
3508 _blink.BlinkWebGLRenderingContext.instance.uniform3iv_Callback_2_(unwrap_j so(this), unwrap_jso(location), unwrap_jso(v)); 3466 _blink.BlinkWebGLRenderingContext.instance.uniform3iv_Callback_2_(this, lo cation, v);
3509 return; 3467 return;
3510 } 3468 }
3511 throw new ArgumentError("Incorrect number or type of arguments"); 3469 throw new ArgumentError("Incorrect number or type of arguments");
3512 } 3470 }
3513 3471
3514 @DomName('WebGLRenderingContext.uniform4f') 3472 @DomName('WebGLRenderingContext.uniform4f')
3515 @DocsEditable() 3473 @DocsEditable()
3516 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); 3474 void uniform4f(UniformLocation location, num x, num y, num z, num w) => _blink .BlinkWebGLRenderingContext.instance.uniform4f_Callback_5_(this, location, x, y, z, w);
3517 3475
3518 void uniform4fv(UniformLocation location, v) { 3476 void uniform4fv(UniformLocation location, v) {
3519 if ((v is Float32List) && (location is UniformLocation || location == null)) { 3477 if ((v is Float32List) && (location is UniformLocation || location == null)) {
3520 _blink.BlinkWebGLRenderingContext.instance.uniform4fv_Callback_2_(unwrap_j so(this), unwrap_jso(location), unwrap_jso(v)); 3478 _blink.BlinkWebGLRenderingContext.instance.uniform4fv_Callback_2_(this, lo cation, v);
3521 return; 3479 return;
3522 } 3480 }
3523 if ((v is List<num>) && (location is UniformLocation || location == null)) { 3481 if ((v is List<num>) && (location is UniformLocation || location == null)) {
3524 _blink.BlinkWebGLRenderingContext.instance.uniform4fv_Callback_2_(unwrap_j so(this), unwrap_jso(location), unwrap_jso(v)); 3482 _blink.BlinkWebGLRenderingContext.instance.uniform4fv_Callback_2_(this, lo cation, v);
3525 return; 3483 return;
3526 } 3484 }
3527 throw new ArgumentError("Incorrect number or type of arguments"); 3485 throw new ArgumentError("Incorrect number or type of arguments");
3528 } 3486 }
3529 3487
3530 @DomName('WebGLRenderingContext.uniform4i') 3488 @DomName('WebGLRenderingContext.uniform4i')
3531 @DocsEditable() 3489 @DocsEditable()
3532 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); 3490 void uniform4i(UniformLocation location, int x, int y, int z, int w) => _blink .BlinkWebGLRenderingContext.instance.uniform4i_Callback_5_(this, location, x, y, z, w);
3533 3491
3534 void uniform4iv(UniformLocation location, v) { 3492 void uniform4iv(UniformLocation location, v) {
3535 if ((v is Int32List) && (location is UniformLocation || location == null)) { 3493 if ((v is Int32List) && (location is UniformLocation || location == null)) {
3536 _blink.BlinkWebGLRenderingContext.instance.uniform4iv_Callback_2_(unwrap_j so(this), unwrap_jso(location), unwrap_jso(v)); 3494 _blink.BlinkWebGLRenderingContext.instance.uniform4iv_Callback_2_(this, lo cation, v);
3537 return; 3495 return;
3538 } 3496 }
3539 if ((v is List<int>) && (location is UniformLocation || location == null)) { 3497 if ((v is List<int>) && (location is UniformLocation || location == null)) {
3540 _blink.BlinkWebGLRenderingContext.instance.uniform4iv_Callback_2_(unwrap_j so(this), unwrap_jso(location), unwrap_jso(v)); 3498 _blink.BlinkWebGLRenderingContext.instance.uniform4iv_Callback_2_(this, lo cation, v);
3541 return; 3499 return;
3542 } 3500 }
3543 throw new ArgumentError("Incorrect number or type of arguments"); 3501 throw new ArgumentError("Incorrect number or type of arguments");
3544 } 3502 }
3545 3503
3546 void uniformMatrix2fv(UniformLocation location, bool transpose, array) { 3504 void uniformMatrix2fv(UniformLocation location, bool transpose, array) {
3547 if ((array is Float32List) && (transpose is bool) && (location is UniformLoc ation || location == null)) { 3505 if ((array is Float32List) && (transpose is bool) && (location is UniformLoc ation || location == null)) {
3548 _blink.BlinkWebGLRenderingContext.instance.uniformMatrix2fv_Callback_3_(un wrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array)); 3506 _blink.BlinkWebGLRenderingContext.instance.uniformMatrix2fv_Callback_3_(th is, location, transpose, array);
3549 return; 3507 return;
3550 } 3508 }
3551 if ((array is List<num>) && (transpose is bool) && (location is UniformLocat ion || location == null)) { 3509 if ((array is List<num>) && (transpose is bool) && (location is UniformLocat ion || location == null)) {
3552 _blink.BlinkWebGLRenderingContext.instance.uniformMatrix2fv_Callback_3_(un wrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array)); 3510 _blink.BlinkWebGLRenderingContext.instance.uniformMatrix2fv_Callback_3_(th is, location, transpose, array);
3553 return; 3511 return;
3554 } 3512 }
3555 throw new ArgumentError("Incorrect number or type of arguments"); 3513 throw new ArgumentError("Incorrect number or type of arguments");
3556 } 3514 }
3557 3515
3558 void uniformMatrix3fv(UniformLocation location, bool transpose, array) { 3516 void uniformMatrix3fv(UniformLocation location, bool transpose, array) {
3559 if ((array is Float32List) && (transpose is bool) && (location is UniformLoc ation || location == null)) { 3517 if ((array is Float32List) && (transpose is bool) && (location is UniformLoc ation || location == null)) {
3560 _blink.BlinkWebGLRenderingContext.instance.uniformMatrix3fv_Callback_3_(un wrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array)); 3518 _blink.BlinkWebGLRenderingContext.instance.uniformMatrix3fv_Callback_3_(th is, location, transpose, array);
3561 return; 3519 return;
3562 } 3520 }
3563 if ((array is List<num>) && (transpose is bool) && (location is UniformLocat ion || location == null)) { 3521 if ((array is List<num>) && (transpose is bool) && (location is UniformLocat ion || location == null)) {
3564 _blink.BlinkWebGLRenderingContext.instance.uniformMatrix3fv_Callback_3_(un wrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array)); 3522 _blink.BlinkWebGLRenderingContext.instance.uniformMatrix3fv_Callback_3_(th is, location, transpose, array);
3565 return; 3523 return;
3566 } 3524 }
3567 throw new ArgumentError("Incorrect number or type of arguments"); 3525 throw new ArgumentError("Incorrect number or type of arguments");
3568 } 3526 }
3569 3527
3570 void uniformMatrix4fv(UniformLocation location, bool transpose, array) { 3528 void uniformMatrix4fv(UniformLocation location, bool transpose, array) {
3571 if ((array is Float32List) && (transpose is bool) && (location is UniformLoc ation || location == null)) { 3529 if ((array is Float32List) && (transpose is bool) && (location is UniformLoc ation || location == null)) {
3572 _blink.BlinkWebGLRenderingContext.instance.uniformMatrix4fv_Callback_3_(un wrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array)); 3530 _blink.BlinkWebGLRenderingContext.instance.uniformMatrix4fv_Callback_3_(th is, location, transpose, array);
3573 return; 3531 return;
3574 } 3532 }
3575 if ((array is List<num>) && (transpose is bool) && (location is UniformLocat ion || location == null)) { 3533 if ((array is List<num>) && (transpose is bool) && (location is UniformLocat ion || location == null)) {
3576 _blink.BlinkWebGLRenderingContext.instance.uniformMatrix4fv_Callback_3_(un wrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array)); 3534 _blink.BlinkWebGLRenderingContext.instance.uniformMatrix4fv_Callback_3_(th is, location, transpose, array);
3577 return; 3535 return;
3578 } 3536 }
3579 throw new ArgumentError("Incorrect number or type of arguments"); 3537 throw new ArgumentError("Incorrect number or type of arguments");
3580 } 3538 }
3581 3539
3582 @DomName('WebGLRenderingContext.useProgram') 3540 @DomName('WebGLRenderingContext.useProgram')
3583 @DocsEditable() 3541 @DocsEditable()
3584 void useProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance .useProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); 3542 void useProgram(Program program) => _blink.BlinkWebGLRenderingContext.instance .useProgram_Callback_1_(this, program);
3585 3543
3586 @DomName('WebGLRenderingContext.validateProgram') 3544 @DomName('WebGLRenderingContext.validateProgram')
3587 @DocsEditable() 3545 @DocsEditable()
3588 void validateProgram(Program program) => _blink.BlinkWebGLRenderingContext.ins tance.validateProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); 3546 void validateProgram(Program program) => _blink.BlinkWebGLRenderingContext.ins tance.validateProgram_Callback_1_(this, program);
3589 3547
3590 @DomName('WebGLRenderingContext.vertexAttrib1f') 3548 @DomName('WebGLRenderingContext.vertexAttrib1f')
3591 @DocsEditable() 3549 @DocsEditable()
3592 void vertexAttrib1f(int indx, num x) => _blink.BlinkWebGLRenderingContext.inst ance.vertexAttrib1f_Callback_2_(unwrap_jso(this), indx, x); 3550 void vertexAttrib1f(int indx, num x) => _blink.BlinkWebGLRenderingContext.inst ance.vertexAttrib1f_Callback_2_(this, indx, x);
3593 3551
3594 void vertexAttrib1fv(int indx, values) { 3552 void vertexAttrib1fv(int indx, values) {
3595 if ((values is Float32List) && (indx is int)) { 3553 if ((values is Float32List) && (indx is int)) {
3596 _blink.BlinkWebGLRenderingContext.instance.vertexAttrib1fv_Callback_2_(unw rap_jso(this), indx, unwrap_jso(values)); 3554 _blink.BlinkWebGLRenderingContext.instance.vertexAttrib1fv_Callback_2_(thi s, indx, values);
3597 return; 3555 return;
3598 } 3556 }
3599 if ((values is List<num>) && (indx is int)) { 3557 if ((values is List<num>) && (indx is int)) {
3600 _blink.BlinkWebGLRenderingContext.instance.vertexAttrib1fv_Callback_2_(unw rap_jso(this), indx, unwrap_jso(values)); 3558 _blink.BlinkWebGLRenderingContext.instance.vertexAttrib1fv_Callback_2_(thi s, indx, values);
3601 return; 3559 return;
3602 } 3560 }
3603 throw new ArgumentError("Incorrect number or type of arguments"); 3561 throw new ArgumentError("Incorrect number or type of arguments");
3604 } 3562 }
3605 3563
3606 @DomName('WebGLRenderingContext.vertexAttrib2f') 3564 @DomName('WebGLRenderingContext.vertexAttrib2f')
3607 @DocsEditable() 3565 @DocsEditable()
3608 void vertexAttrib2f(int indx, num x, num y) => _blink.BlinkWebGLRenderingConte xt.instance.vertexAttrib2f_Callback_3_(unwrap_jso(this), indx, x, y); 3566 void vertexAttrib2f(int indx, num x, num y) => _blink.BlinkWebGLRenderingConte xt.instance.vertexAttrib2f_Callback_3_(this, indx, x, y);
3609 3567
3610 void vertexAttrib2fv(int indx, values) { 3568 void vertexAttrib2fv(int indx, values) {
3611 if ((values is Float32List) && (indx is int)) { 3569 if ((values is Float32List) && (indx is int)) {
3612 _blink.BlinkWebGLRenderingContext.instance.vertexAttrib2fv_Callback_2_(unw rap_jso(this), indx, unwrap_jso(values)); 3570 _blink.BlinkWebGLRenderingContext.instance.vertexAttrib2fv_Callback_2_(thi s, indx, values);
3613 return; 3571 return;
3614 } 3572 }
3615 if ((values is List<num>) && (indx is int)) { 3573 if ((values is List<num>) && (indx is int)) {
3616 _blink.BlinkWebGLRenderingContext.instance.vertexAttrib2fv_Callback_2_(unw rap_jso(this), indx, unwrap_jso(values)); 3574 _blink.BlinkWebGLRenderingContext.instance.vertexAttrib2fv_Callback_2_(thi s, indx, values);
3617 return; 3575 return;
3618 } 3576 }
3619 throw new ArgumentError("Incorrect number or type of arguments"); 3577 throw new ArgumentError("Incorrect number or type of arguments");
3620 } 3578 }
3621 3579
3622 @DomName('WebGLRenderingContext.vertexAttrib3f') 3580 @DomName('WebGLRenderingContext.vertexAttrib3f')
3623 @DocsEditable() 3581 @DocsEditable()
3624 void vertexAttrib3f(int indx, num x, num y, num z) => _blink.BlinkWebGLRenderi ngContext.instance.vertexAttrib3f_Callback_4_(unwrap_jso(this), indx, x, y, z); 3582 void vertexAttrib3f(int indx, num x, num y, num z) => _blink.BlinkWebGLRenderi ngContext.instance.vertexAttrib3f_Callback_4_(this, indx, x, y, z);
3625 3583
3626 void vertexAttrib3fv(int indx, values) { 3584 void vertexAttrib3fv(int indx, values) {
3627 if ((values is Float32List) && (indx is int)) { 3585 if ((values is Float32List) && (indx is int)) {
3628 _blink.BlinkWebGLRenderingContext.instance.vertexAttrib3fv_Callback_2_(unw rap_jso(this), indx, unwrap_jso(values)); 3586 _blink.BlinkWebGLRenderingContext.instance.vertexAttrib3fv_Callback_2_(thi s, indx, values);
3629 return; 3587 return;
3630 } 3588 }
3631 if ((values is List<num>) && (indx is int)) { 3589 if ((values is List<num>) && (indx is int)) {
3632 _blink.BlinkWebGLRenderingContext.instance.vertexAttrib3fv_Callback_2_(unw rap_jso(this), indx, unwrap_jso(values)); 3590 _blink.BlinkWebGLRenderingContext.instance.vertexAttrib3fv_Callback_2_(thi s, indx, values);
3633 return; 3591 return;
3634 } 3592 }
3635 throw new ArgumentError("Incorrect number or type of arguments"); 3593 throw new ArgumentError("Incorrect number or type of arguments");
3636 } 3594 }
3637 3595
3638 @DomName('WebGLRenderingContext.vertexAttrib4f') 3596 @DomName('WebGLRenderingContext.vertexAttrib4f')
3639 @DocsEditable() 3597 @DocsEditable()
3640 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); 3598 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);
3641 3599
3642 void vertexAttrib4fv(int indx, values) { 3600 void vertexAttrib4fv(int indx, values) {
3643 if ((values is Float32List) && (indx is int)) { 3601 if ((values is Float32List) && (indx is int)) {
3644 _blink.BlinkWebGLRenderingContext.instance.vertexAttrib4fv_Callback_2_(unw rap_jso(this), indx, unwrap_jso(values)); 3602 _blink.BlinkWebGLRenderingContext.instance.vertexAttrib4fv_Callback_2_(thi s, indx, values);
3645 return; 3603 return;
3646 } 3604 }
3647 if ((values is List<num>) && (indx is int)) { 3605 if ((values is List<num>) && (indx is int)) {
3648 _blink.BlinkWebGLRenderingContext.instance.vertexAttrib4fv_Callback_2_(unw rap_jso(this), indx, unwrap_jso(values)); 3606 _blink.BlinkWebGLRenderingContext.instance.vertexAttrib4fv_Callback_2_(thi s, indx, values);
3649 return; 3607 return;
3650 } 3608 }
3651 throw new ArgumentError("Incorrect number or type of arguments"); 3609 throw new ArgumentError("Incorrect number or type of arguments");
3652 } 3610 }
3653 3611
3654 @DomName('WebGLRenderingContext.vertexAttribPointer') 3612 @DomName('WebGLRenderingContext.vertexAttribPointer')
3655 @DocsEditable() 3613 @DocsEditable()
3656 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); 3614 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);
3657 3615
3658 @DomName('WebGLRenderingContext.viewport') 3616 @DomName('WebGLRenderingContext.viewport')
3659 @DocsEditable() 3617 @DocsEditable()
3660 void viewport(int x, int y, int width, int height) => _blink.BlinkWebGLRenderi ngContext.instance.viewport_Callback_4_(unwrap_jso(this), x, y, width, height); 3618 void viewport(int x, int y, int width, int height) => _blink.BlinkWebGLRenderi ngContext.instance.viewport_Callback_4_(this, x, y, width, height);
3661 3619
3662 3620
3663 /** 3621 /**
3664 * Sets the currently bound texture to [data]. 3622 * Sets the currently bound texture to [data].
3665 * 3623 *
3666 * [data] can be either an [ImageElement], a 3624 * [data] can be either an [ImageElement], a
3667 * [CanvasElement], a [VideoElement], or an [ImageData] object. 3625 * [CanvasElement], a [VideoElement], or an [ImageData] object.
3668 * 3626 *
3669 * To use [texImage2d] with a TypedData object, use [texImage2dTyped]. 3627 * To use [texImage2d] with a TypedData object, use [texImage2dTyped].
3670 * 3628 *
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
3739 return new RenderingContext2._internalWrap(); 3697 return new RenderingContext2._internalWrap();
3740 } 3698 }
3741 3699
3742 factory RenderingContext2._internalWrap() { 3700 factory RenderingContext2._internalWrap() {
3743 return new RenderingContext2.internal_(); 3701 return new RenderingContext2.internal_();
3744 } 3702 }
3745 3703
3746 @Deprecated("Internal Use Only") 3704 @Deprecated("Internal Use Only")
3747 RenderingContext2.internal_() { } 3705 RenderingContext2.internal_() { }
3748 3706
3749 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
3750 int get hashCode => unwrap_jso(this).hashCode;
3751
3752 @DomName('WebGL2RenderingContext.ACTIVE_ATTRIBUTES') 3707 @DomName('WebGL2RenderingContext.ACTIVE_ATTRIBUTES')
3753 @DocsEditable() 3708 @DocsEditable()
3754 @Experimental() // untriaged 3709 @Experimental() // untriaged
3755 static const int ACTIVE_ATTRIBUTES = 0x8B89; 3710 static const int ACTIVE_ATTRIBUTES = 0x8B89;
3756 3711
3757 @DomName('WebGL2RenderingContext.ACTIVE_TEXTURE') 3712 @DomName('WebGL2RenderingContext.ACTIVE_TEXTURE')
3758 @DocsEditable() 3713 @DocsEditable()
3759 @Experimental() // untriaged 3714 @Experimental() // untriaged
3760 static const int ACTIVE_TEXTURE = 0x84E0; 3715 static const int ACTIVE_TEXTURE = 0x84E0;
3761 3716
(...skipping 1468 matching lines...) Expand 10 before | Expand all | Expand 10 after
5230 static const int VIEWPORT = 0x0BA2; 5185 static const int VIEWPORT = 0x0BA2;
5231 5186
5232 @DomName('WebGL2RenderingContext.ZERO') 5187 @DomName('WebGL2RenderingContext.ZERO')
5233 @DocsEditable() 5188 @DocsEditable()
5234 @Experimental() // untriaged 5189 @Experimental() // untriaged
5235 static const int ZERO = 0; 5190 static const int ZERO = 0;
5236 5191
5237 @DomName('WebGL2RenderingContext.beginQuery') 5192 @DomName('WebGL2RenderingContext.beginQuery')
5238 @DocsEditable() 5193 @DocsEditable()
5239 @Experimental() // untriaged 5194 @Experimental() // untriaged
5240 void beginQuery(int target, Query query) => _blink.BlinkWebGL2RenderingContext .instance.beginQuery_Callback_2_(unwrap_jso(this), target, unwrap_jso(query)); 5195 void beginQuery(int target, Query query) => _blink.BlinkWebGL2RenderingContext .instance.beginQuery_Callback_2_(this, target, query);
5241 5196
5242 @DomName('WebGL2RenderingContext.beginTransformFeedback') 5197 @DomName('WebGL2RenderingContext.beginTransformFeedback')
5243 @DocsEditable() 5198 @DocsEditable()
5244 @Experimental() // untriaged 5199 @Experimental() // untriaged
5245 void beginTransformFeedback(int primitiveMode) => _blink.BlinkWebGL2RenderingC ontext.instance.beginTransformFeedback_Callback_1_(unwrap_jso(this), primitiveMo de); 5200 void beginTransformFeedback(int primitiveMode) => _blink.BlinkWebGL2RenderingC ontext.instance.beginTransformFeedback_Callback_1_(this, primitiveMode);
5246 5201
5247 @DomName('WebGL2RenderingContext.bindBufferBase') 5202 @DomName('WebGL2RenderingContext.bindBufferBase')
5248 @DocsEditable() 5203 @DocsEditable()
5249 @Experimental() // untriaged 5204 @Experimental() // untriaged
5250 void bindBufferBase(int target, int index, Buffer buffer) => _blink.BlinkWebGL 2RenderingContext.instance.bindBufferBase_Callback_3_(unwrap_jso(this), target, index, unwrap_jso(buffer)); 5205 void bindBufferBase(int target, int index, Buffer buffer) => _blink.BlinkWebGL 2RenderingContext.instance.bindBufferBase_Callback_3_(this, target, index, buffe r);
5251 5206
5252 @DomName('WebGL2RenderingContext.bindBufferRange') 5207 @DomName('WebGL2RenderingContext.bindBufferRange')
5253 @DocsEditable() 5208 @DocsEditable()
5254 @Experimental() // untriaged 5209 @Experimental() // untriaged
5255 void bindBufferRange(int target, int index, Buffer buffer, int offset, int siz e) => _blink.BlinkWebGL2RenderingContext.instance.bindBufferRange_Callback_5_(un wrap_jso(this), target, index, unwrap_jso(buffer), offset, size); 5210 void bindBufferRange(int target, int index, Buffer buffer, int offset, int siz e) => _blink.BlinkWebGL2RenderingContext.instance.bindBufferRange_Callback_5_(th is, target, index, buffer, offset, size);
5256 5211
5257 @DomName('WebGL2RenderingContext.bindSampler') 5212 @DomName('WebGL2RenderingContext.bindSampler')
5258 @DocsEditable() 5213 @DocsEditable()
5259 @Experimental() // untriaged 5214 @Experimental() // untriaged
5260 void bindSampler(int unit, Sampler sampler) => _blink.BlinkWebGL2RenderingCont ext.instance.bindSampler_Callback_2_(unwrap_jso(this), unit, unwrap_jso(sampler) ); 5215 void bindSampler(int unit, Sampler sampler) => _blink.BlinkWebGL2RenderingCont ext.instance.bindSampler_Callback_2_(this, unit, sampler);
5261 5216
5262 @DomName('WebGL2RenderingContext.bindTransformFeedback') 5217 @DomName('WebGL2RenderingContext.bindTransformFeedback')
5263 @DocsEditable() 5218 @DocsEditable()
5264 @Experimental() // untriaged 5219 @Experimental() // untriaged
5265 void bindTransformFeedback(int target, TransformFeedback feedback) => _blink.B linkWebGL2RenderingContext.instance.bindTransformFeedback_Callback_2_(unwrap_jso (this), target, unwrap_jso(feedback)); 5220 void bindTransformFeedback(int target, TransformFeedback feedback) => _blink.B linkWebGL2RenderingContext.instance.bindTransformFeedback_Callback_2_(this, targ et, feedback);
5266 5221
5267 @DomName('WebGL2RenderingContext.bindVertexArray') 5222 @DomName('WebGL2RenderingContext.bindVertexArray')
5268 @DocsEditable() 5223 @DocsEditable()
5269 @Experimental() // untriaged 5224 @Experimental() // untriaged
5270 void bindVertexArray(VertexArrayObject vertexArray) => _blink.BlinkWebGL2Rende ringContext.instance.bindVertexArray_Callback_1_(unwrap_jso(this), unwrap_jso(ve rtexArray)); 5225 void bindVertexArray(VertexArrayObject vertexArray) => _blink.BlinkWebGL2Rende ringContext.instance.bindVertexArray_Callback_1_(this, vertexArray);
5271 5226
5272 @DomName('WebGL2RenderingContext.blitFramebuffer') 5227 @DomName('WebGL2RenderingContext.blitFramebuffer')
5273 @DocsEditable() 5228 @DocsEditable()
5274 @Experimental() // untriaged 5229 @Experimental() // untriaged
5275 void blitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, in t dstY0, int dstX1, int dstY1, int mask, int filter) => _blink.BlinkWebGL2Render ingContext.instance.blitFramebuffer_Callback_10_(unwrap_jso(this), srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); 5230 void blitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, in t dstY0, int dstX1, int dstY1, int mask, int filter) => _blink.BlinkWebGL2Render ingContext.instance.blitFramebuffer_Callback_10_(this, srcX0, srcY0, srcX1, srcY 1, dstX0, dstY0, dstX1, dstY1, mask, filter);
5276 5231
5277 @DomName('WebGL2RenderingContext.clearBufferfi') 5232 @DomName('WebGL2RenderingContext.clearBufferfi')
5278 @DocsEditable() 5233 @DocsEditable()
5279 @Experimental() // untriaged 5234 @Experimental() // untriaged
5280 void clearBufferfi(int buffer, int drawbuffer, num depth, int stencil) => _bli nk.BlinkWebGL2RenderingContext.instance.clearBufferfi_Callback_4_(unwrap_jso(thi s), buffer, drawbuffer, depth, stencil); 5235 void clearBufferfi(int buffer, int drawbuffer, num depth, int stencil) => _bli nk.BlinkWebGL2RenderingContext.instance.clearBufferfi_Callback_4_(this, buffer, drawbuffer, depth, stencil);
5281 5236
5282 void clearBufferfv(int buffer, int drawbuffer, value) { 5237 void clearBufferfv(int buffer, int drawbuffer, value) {
5283 if ((value is Float32List) && (drawbuffer is int) && (buffer is int)) { 5238 if ((value is Float32List) && (drawbuffer is int) && (buffer is int)) {
5284 _blink.BlinkWebGL2RenderingContext.instance.clearBufferfv_Callback_3_(unwr ap_jso(this), buffer, drawbuffer, unwrap_jso(value)); 5239 _blink.BlinkWebGL2RenderingContext.instance.clearBufferfv_Callback_3_(this , buffer, drawbuffer, value);
5285 return; 5240 return;
5286 } 5241 }
5287 if ((value is List<num>) && (drawbuffer is int) && (buffer is int)) { 5242 if ((value is List<num>) && (drawbuffer is int) && (buffer is int)) {
5288 _blink.BlinkWebGL2RenderingContext.instance.clearBufferfv_Callback_3_(unwr ap_jso(this), buffer, drawbuffer, unwrap_jso(value)); 5243 _blink.BlinkWebGL2RenderingContext.instance.clearBufferfv_Callback_3_(this , buffer, drawbuffer, value);
5289 return; 5244 return;
5290 } 5245 }
5291 throw new ArgumentError("Incorrect number or type of arguments"); 5246 throw new ArgumentError("Incorrect number or type of arguments");
5292 } 5247 }
5293 5248
5294 void clearBufferiv(int buffer, int drawbuffer, value) { 5249 void clearBufferiv(int buffer, int drawbuffer, value) {
5295 if ((value is Int32List) && (drawbuffer is int) && (buffer is int)) { 5250 if ((value is Int32List) && (drawbuffer is int) && (buffer is int)) {
5296 _blink.BlinkWebGL2RenderingContext.instance.clearBufferiv_Callback_3_(unwr ap_jso(this), buffer, drawbuffer, unwrap_jso(value)); 5251 _blink.BlinkWebGL2RenderingContext.instance.clearBufferiv_Callback_3_(this , buffer, drawbuffer, value);
5297 return; 5252 return;
5298 } 5253 }
5299 if ((value is List<int>) && (drawbuffer is int) && (buffer is int)) { 5254 if ((value is List<int>) && (drawbuffer is int) && (buffer is int)) {
5300 _blink.BlinkWebGL2RenderingContext.instance.clearBufferiv_Callback_3_(unwr ap_jso(this), buffer, drawbuffer, unwrap_jso(value)); 5255 _blink.BlinkWebGL2RenderingContext.instance.clearBufferiv_Callback_3_(this , buffer, drawbuffer, value);
5301 return; 5256 return;
5302 } 5257 }
5303 throw new ArgumentError("Incorrect number or type of arguments"); 5258 throw new ArgumentError("Incorrect number or type of arguments");
5304 } 5259 }
5305 5260
5306 void clearBufferuiv(int buffer, int drawbuffer, value) { 5261 void clearBufferuiv(int buffer, int drawbuffer, value) {
5307 if ((value is Uint32List) && (drawbuffer is int) && (buffer is int)) { 5262 if ((value is Uint32List) && (drawbuffer is int) && (buffer is int)) {
5308 _blink.BlinkWebGL2RenderingContext.instance.clearBufferuiv_Callback_3_(unw rap_jso(this), buffer, drawbuffer, unwrap_jso(value)); 5263 _blink.BlinkWebGL2RenderingContext.instance.clearBufferuiv_Callback_3_(thi s, buffer, drawbuffer, value);
5309 return; 5264 return;
5310 } 5265 }
5311 if ((value is List<int>) && (drawbuffer is int) && (buffer is int)) { 5266 if ((value is List<int>) && (drawbuffer is int) && (buffer is int)) {
5312 _blink.BlinkWebGL2RenderingContext.instance.clearBufferuiv_Callback_3_(unw rap_jso(this), buffer, drawbuffer, unwrap_jso(value)); 5267 _blink.BlinkWebGL2RenderingContext.instance.clearBufferuiv_Callback_3_(thi s, buffer, drawbuffer, value);
5313 return; 5268 return;
5314 } 5269 }
5315 throw new ArgumentError("Incorrect number or type of arguments"); 5270 throw new ArgumentError("Incorrect number or type of arguments");
5316 } 5271 }
5317 5272
5318 @DomName('WebGL2RenderingContext.clientWaitSync') 5273 @DomName('WebGL2RenderingContext.clientWaitSync')
5319 @DocsEditable() 5274 @DocsEditable()
5320 @Experimental() // untriaged 5275 @Experimental() // untriaged
5321 int clientWaitSync(Sync sync, int flags, int timeout) => _blink.BlinkWebGL2Ren deringContext.instance.clientWaitSync_Callback_3_(unwrap_jso(this), unwrap_jso(s ync), flags, timeout); 5276 int clientWaitSync(Sync sync, int flags, int timeout) => _blink.BlinkWebGL2Ren deringContext.instance.clientWaitSync_Callback_3_(this, sync, flags, timeout);
5322 5277
5323 @DomName('WebGL2RenderingContext.compressedTexImage3D') 5278 @DomName('WebGL2RenderingContext.compressedTexImage3D')
5324 @DocsEditable() 5279 @DocsEditable()
5325 @Experimental() // untriaged 5280 @Experimental() // untriaged
5326 void compressedTexImage3D(int target, int level, int internalformat, int width , int height, int depth, int border, TypedData data) => _blink.BlinkWebGL2Render ingContext.instance.compressedTexImage3D_Callback_8_(unwrap_jso(this), target, l evel, internalformat, width, height, depth, border, unwrap_jso(data)); 5281 void compressedTexImage3D(int target, int level, int internalformat, int width , int height, int depth, int border, TypedData data) => _blink.BlinkWebGL2Render ingContext.instance.compressedTexImage3D_Callback_8_(this, target, level, intern alformat, width, height, depth, border, data);
5327 5282
5328 @DomName('WebGL2RenderingContext.compressedTexSubImage3D') 5283 @DomName('WebGL2RenderingContext.compressedTexSubImage3D')
5329 @DocsEditable() 5284 @DocsEditable()
5330 @Experimental() // untriaged 5285 @Experimental() // untriaged
5331 void compressedTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, TypedData data) => _b link.BlinkWebGL2RenderingContext.instance.compressedTexSubImage3D_Callback_10_(u nwrap_jso(this), target, level, xoffset, yoffset, zoffset, width, height, depth, format, unwrap_jso(data)); 5286 void compressedTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, TypedData data) => _b link.BlinkWebGL2RenderingContext.instance.compressedTexSubImage3D_Callback_10_(t his, target, level, xoffset, yoffset, zoffset, width, height, depth, format, dat a);
5332 5287
5333 @DomName('WebGL2RenderingContext.copyBufferSubData') 5288 @DomName('WebGL2RenderingContext.copyBufferSubData')
5334 @DocsEditable() 5289 @DocsEditable()
5335 @Experimental() // untriaged 5290 @Experimental() // untriaged
5336 void copyBufferSubData(int readTarget, int writeTarget, int readOffset, int wr iteOffset, int size) => _blink.BlinkWebGL2RenderingContext.instance.copyBufferSu bData_Callback_5_(unwrap_jso(this), readTarget, writeTarget, readOffset, writeOf fset, size); 5291 void copyBufferSubData(int readTarget, int writeTarget, int readOffset, int wr iteOffset, int size) => _blink.BlinkWebGL2RenderingContext.instance.copyBufferSu bData_Callback_5_(this, readTarget, writeTarget, readOffset, writeOffset, size);
5337 5292
5338 @DomName('WebGL2RenderingContext.copyTexSubImage3D') 5293 @DomName('WebGL2RenderingContext.copyTexSubImage3D')
5339 @DocsEditable() 5294 @DocsEditable()
5340 @Experimental() // untriaged 5295 @Experimental() // untriaged
5341 void copyTexSubImage3D(int target, int level, int xoffset, int yoffset, int zo ffset, int x, int y, int width, int height) => _blink.BlinkWebGL2RenderingContex t.instance.copyTexSubImage3D_Callback_9_(unwrap_jso(this), target, level, xoffse t, yoffset, zoffset, x, y, width, height); 5296 void copyTexSubImage3D(int target, int level, int xoffset, int yoffset, int zo ffset, int x, int y, int width, int height) => _blink.BlinkWebGL2RenderingContex t.instance.copyTexSubImage3D_Callback_9_(this, target, level, xoffset, yoffset, zoffset, x, y, width, height);
5342 5297
5343 @DomName('WebGL2RenderingContext.createQuery') 5298 @DomName('WebGL2RenderingContext.createQuery')
5344 @DocsEditable() 5299 @DocsEditable()
5345 @Experimental() // untriaged 5300 @Experimental() // untriaged
5346 Query createQuery() => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.cr eateQuery_Callback_0_(unwrap_jso(this))); 5301 Query createQuery() => _blink.BlinkWebGL2RenderingContext.instance.createQuery _Callback_0_(this);
5347 5302
5348 @DomName('WebGL2RenderingContext.createSampler') 5303 @DomName('WebGL2RenderingContext.createSampler')
5349 @DocsEditable() 5304 @DocsEditable()
5350 @Experimental() // untriaged 5305 @Experimental() // untriaged
5351 Sampler createSampler() => wrap_jso(_blink.BlinkWebGL2RenderingContext.instanc e.createSampler_Callback_0_(unwrap_jso(this))); 5306 Sampler createSampler() => _blink.BlinkWebGL2RenderingContext.instance.createS ampler_Callback_0_(this);
5352 5307
5353 @DomName('WebGL2RenderingContext.createTransformFeedback') 5308 @DomName('WebGL2RenderingContext.createTransformFeedback')
5354 @DocsEditable() 5309 @DocsEditable()
5355 @Experimental() // untriaged 5310 @Experimental() // untriaged
5356 TransformFeedback createTransformFeedback() => wrap_jso(_blink.BlinkWebGL2Rend eringContext.instance.createTransformFeedback_Callback_0_(unwrap_jso(this))); 5311 TransformFeedback createTransformFeedback() => _blink.BlinkWebGL2RenderingCont ext.instance.createTransformFeedback_Callback_0_(this);
5357 5312
5358 @DomName('WebGL2RenderingContext.createVertexArray') 5313 @DomName('WebGL2RenderingContext.createVertexArray')
5359 @DocsEditable() 5314 @DocsEditable()
5360 @Experimental() // untriaged 5315 @Experimental() // untriaged
5361 VertexArrayObject createVertexArray() => wrap_jso(_blink.BlinkWebGL2RenderingC ontext.instance.createVertexArray_Callback_0_(unwrap_jso(this))); 5316 VertexArrayObject createVertexArray() => _blink.BlinkWebGL2RenderingContext.in stance.createVertexArray_Callback_0_(this);
5362 5317
5363 @DomName('WebGL2RenderingContext.deleteQuery') 5318 @DomName('WebGL2RenderingContext.deleteQuery')
5364 @DocsEditable() 5319 @DocsEditable()
5365 @Experimental() // untriaged 5320 @Experimental() // untriaged
5366 void deleteQuery(Query query) => _blink.BlinkWebGL2RenderingContext.instance.d eleteQuery_Callback_1_(unwrap_jso(this), unwrap_jso(query)); 5321 void deleteQuery(Query query) => _blink.BlinkWebGL2RenderingContext.instance.d eleteQuery_Callback_1_(this, query);
5367 5322
5368 @DomName('WebGL2RenderingContext.deleteSampler') 5323 @DomName('WebGL2RenderingContext.deleteSampler')
5369 @DocsEditable() 5324 @DocsEditable()
5370 @Experimental() // untriaged 5325 @Experimental() // untriaged
5371 void deleteSampler(Sampler sampler) => _blink.BlinkWebGL2RenderingContext.inst ance.deleteSampler_Callback_1_(unwrap_jso(this), unwrap_jso(sampler)); 5326 void deleteSampler(Sampler sampler) => _blink.BlinkWebGL2RenderingContext.inst ance.deleteSampler_Callback_1_(this, sampler);
5372 5327
5373 @DomName('WebGL2RenderingContext.deleteSync') 5328 @DomName('WebGL2RenderingContext.deleteSync')
5374 @DocsEditable() 5329 @DocsEditable()
5375 @Experimental() // untriaged 5330 @Experimental() // untriaged
5376 void deleteSync(Sync sync) => _blink.BlinkWebGL2RenderingContext.instance.dele teSync_Callback_1_(unwrap_jso(this), unwrap_jso(sync)); 5331 void deleteSync(Sync sync) => _blink.BlinkWebGL2RenderingContext.instance.dele teSync_Callback_1_(this, sync);
5377 5332
5378 @DomName('WebGL2RenderingContext.deleteTransformFeedback') 5333 @DomName('WebGL2RenderingContext.deleteTransformFeedback')
5379 @DocsEditable() 5334 @DocsEditable()
5380 @Experimental() // untriaged 5335 @Experimental() // untriaged
5381 void deleteTransformFeedback(TransformFeedback feedback) => _blink.BlinkWebGL2 RenderingContext.instance.deleteTransformFeedback_Callback_1_(unwrap_jso(this), unwrap_jso(feedback)); 5336 void deleteTransformFeedback(TransformFeedback feedback) => _blink.BlinkWebGL2 RenderingContext.instance.deleteTransformFeedback_Callback_1_(this, feedback);
5382 5337
5383 @DomName('WebGL2RenderingContext.deleteVertexArray') 5338 @DomName('WebGL2RenderingContext.deleteVertexArray')
5384 @DocsEditable() 5339 @DocsEditable()
5385 @Experimental() // untriaged 5340 @Experimental() // untriaged
5386 void deleteVertexArray(VertexArrayObject vertexArray) => _blink.BlinkWebGL2Ren deringContext.instance.deleteVertexArray_Callback_1_(unwrap_jso(this), unwrap_js o(vertexArray)); 5341 void deleteVertexArray(VertexArrayObject vertexArray) => _blink.BlinkWebGL2Ren deringContext.instance.deleteVertexArray_Callback_1_(this, vertexArray);
5387 5342
5388 @DomName('WebGL2RenderingContext.drawArraysInstanced') 5343 @DomName('WebGL2RenderingContext.drawArraysInstanced')
5389 @DocsEditable() 5344 @DocsEditable()
5390 @Experimental() // untriaged 5345 @Experimental() // untriaged
5391 void drawArraysInstanced(int mode, int first, int count, int instanceCount) => _blink.BlinkWebGL2RenderingContext.instance.drawArraysInstanced_Callback_4_(unw rap_jso(this), mode, first, count, instanceCount); 5346 void drawArraysInstanced(int mode, int first, int count, int instanceCount) => _blink.BlinkWebGL2RenderingContext.instance.drawArraysInstanced_Callback_4_(thi s, mode, first, count, instanceCount);
5392 5347
5393 @DomName('WebGL2RenderingContext.drawBuffers') 5348 @DomName('WebGL2RenderingContext.drawBuffers')
5394 @DocsEditable() 5349 @DocsEditable()
5395 @Experimental() // untriaged 5350 @Experimental() // untriaged
5396 void drawBuffers(List<int> buffers) => _blink.BlinkWebGL2RenderingContext.inst ance.drawBuffers_Callback_1_(unwrap_jso(this), buffers); 5351 void drawBuffers(List<int> buffers) => _blink.BlinkWebGL2RenderingContext.inst ance.drawBuffers_Callback_1_(this, buffers);
5397 5352
5398 @DomName('WebGL2RenderingContext.drawElementsInstanced') 5353 @DomName('WebGL2RenderingContext.drawElementsInstanced')
5399 @DocsEditable() 5354 @DocsEditable()
5400 @Experimental() // untriaged 5355 @Experimental() // untriaged
5401 void drawElementsInstanced(int mode, int count, int type, int offset, int inst anceCount) => _blink.BlinkWebGL2RenderingContext.instance.drawElementsInstanced_ Callback_5_(unwrap_jso(this), mode, count, type, offset, instanceCount); 5356 void drawElementsInstanced(int mode, int count, int type, int offset, int inst anceCount) => _blink.BlinkWebGL2RenderingContext.instance.drawElementsInstanced_ Callback_5_(this, mode, count, type, offset, instanceCount);
5402 5357
5403 @DomName('WebGL2RenderingContext.drawRangeElements') 5358 @DomName('WebGL2RenderingContext.drawRangeElements')
5404 @DocsEditable() 5359 @DocsEditable()
5405 @Experimental() // untriaged 5360 @Experimental() // untriaged
5406 void drawRangeElements(int mode, int start, int end, int count, int type, int offset) => _blink.BlinkWebGL2RenderingContext.instance.drawRangeElements_Callbac k_6_(unwrap_jso(this), mode, start, end, count, type, offset); 5361 void drawRangeElements(int mode, int start, int end, int count, int type, int offset) => _blink.BlinkWebGL2RenderingContext.instance.drawRangeElements_Callbac k_6_(this, mode, start, end, count, type, offset);
5407 5362
5408 @DomName('WebGL2RenderingContext.endQuery') 5363 @DomName('WebGL2RenderingContext.endQuery')
5409 @DocsEditable() 5364 @DocsEditable()
5410 @Experimental() // untriaged 5365 @Experimental() // untriaged
5411 void endQuery(int target) => _blink.BlinkWebGL2RenderingContext.instance.endQu ery_Callback_1_(unwrap_jso(this), target); 5366 void endQuery(int target) => _blink.BlinkWebGL2RenderingContext.instance.endQu ery_Callback_1_(this, target);
5412 5367
5413 @DomName('WebGL2RenderingContext.endTransformFeedback') 5368 @DomName('WebGL2RenderingContext.endTransformFeedback')
5414 @DocsEditable() 5369 @DocsEditable()
5415 @Experimental() // untriaged 5370 @Experimental() // untriaged
5416 void endTransformFeedback() => _blink.BlinkWebGL2RenderingContext.instance.end TransformFeedback_Callback_0_(unwrap_jso(this)); 5371 void endTransformFeedback() => _blink.BlinkWebGL2RenderingContext.instance.end TransformFeedback_Callback_0_(this);
5417 5372
5418 @DomName('WebGL2RenderingContext.fenceSync') 5373 @DomName('WebGL2RenderingContext.fenceSync')
5419 @DocsEditable() 5374 @DocsEditable()
5420 @Experimental() // untriaged 5375 @Experimental() // untriaged
5421 Sync fenceSync(int condition, int flags) => wrap_jso(_blink.BlinkWebGL2Renderi ngContext.instance.fenceSync_Callback_2_(unwrap_jso(this), condition, flags)); 5376 Sync fenceSync(int condition, int flags) => _blink.BlinkWebGL2RenderingContext .instance.fenceSync_Callback_2_(this, condition, flags);
5422 5377
5423 @DomName('WebGL2RenderingContext.framebufferTextureLayer') 5378 @DomName('WebGL2RenderingContext.framebufferTextureLayer')
5424 @DocsEditable() 5379 @DocsEditable()
5425 @Experimental() // untriaged 5380 @Experimental() // untriaged
5426 void framebufferTextureLayer(int target, int attachment, Texture texture, int level, int layer) => _blink.BlinkWebGL2RenderingContext.instance.framebufferText ureLayer_Callback_5_(unwrap_jso(this), target, attachment, unwrap_jso(texture), level, layer); 5381 void framebufferTextureLayer(int target, int attachment, Texture texture, int level, int layer) => _blink.BlinkWebGL2RenderingContext.instance.framebufferText ureLayer_Callback_5_(this, target, attachment, texture, level, layer);
5427 5382
5428 @DomName('WebGL2RenderingContext.getActiveUniformBlockName') 5383 @DomName('WebGL2RenderingContext.getActiveUniformBlockName')
5429 @DocsEditable() 5384 @DocsEditable()
5430 @Experimental() // untriaged 5385 @Experimental() // untriaged
5431 String getActiveUniformBlockName(Program program, int uniformBlockIndex) => _b link.BlinkWebGL2RenderingContext.instance.getActiveUniformBlockName_Callback_2_( unwrap_jso(this), unwrap_jso(program), uniformBlockIndex); 5386 String getActiveUniformBlockName(Program program, int uniformBlockIndex) => _b link.BlinkWebGL2RenderingContext.instance.getActiveUniformBlockName_Callback_2_( this, program, uniformBlockIndex);
5432 5387
5433 @DomName('WebGL2RenderingContext.getActiveUniformBlockParameter') 5388 @DomName('WebGL2RenderingContext.getActiveUniformBlockParameter')
5434 @DocsEditable() 5389 @DocsEditable()
5435 @Experimental() // untriaged 5390 @Experimental() // untriaged
5436 Object getActiveUniformBlockParameter(Program program, int uniformBlockIndex, int pname) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getActiveUnif ormBlockParameter_Callback_3_(unwrap_jso(this), unwrap_jso(program), uniformBloc kIndex, pname)); 5391 Object getActiveUniformBlockParameter(Program program, int uniformBlockIndex, int pname) => (_blink.BlinkWebGL2RenderingContext.instance.getActiveUniformBlock Parameter_Callback_3_(this, program, uniformBlockIndex, pname));
5437 5392
5438 @DomName('WebGL2RenderingContext.getActiveUniforms') 5393 @DomName('WebGL2RenderingContext.getActiveUniforms')
5439 @DocsEditable() 5394 @DocsEditable()
5440 @Experimental() // untriaged 5395 @Experimental() // untriaged
5441 List<int> getActiveUniforms(Program program, List<int> uniformIndices, int pna me) => _blink.BlinkWebGL2RenderingContext.instance.getActiveUniforms_Callback_3_ (unwrap_jso(this), unwrap_jso(program), uniformIndices, pname); 5396 List<int> getActiveUniforms(Program program, List<int> uniformIndices, int pna me) => _blink.BlinkWebGL2RenderingContext.instance.getActiveUniforms_Callback_3_ (this, program, uniformIndices, pname);
5442 5397
5443 @DomName('WebGL2RenderingContext.getBufferSubData') 5398 @DomName('WebGL2RenderingContext.getBufferSubData')
5444 @DocsEditable() 5399 @DocsEditable()
5445 @Experimental() // untriaged 5400 @Experimental() // untriaged
5446 void getBufferSubData(int target, int offset, ByteBuffer returnedData) => _bli nk.BlinkWebGL2RenderingContext.instance.getBufferSubData_Callback_3_(unwrap_jso( this), target, offset, unwrap_jso(returnedData)); 5401 void getBufferSubData(int target, int offset, ByteBuffer returnedData) => _bli nk.BlinkWebGL2RenderingContext.instance.getBufferSubData_Callback_3_(this, targe t, offset, returnedData);
5447 5402
5448 @DomName('WebGL2RenderingContext.getFragDataLocation') 5403 @DomName('WebGL2RenderingContext.getFragDataLocation')
5449 @DocsEditable() 5404 @DocsEditable()
5450 @Experimental() // untriaged 5405 @Experimental() // untriaged
5451 int getFragDataLocation(Program program, String name) => _blink.BlinkWebGL2Ren deringContext.instance.getFragDataLocation_Callback_2_(unwrap_jso(this), unwrap_ jso(program), name); 5406 int getFragDataLocation(Program program, String name) => _blink.BlinkWebGL2Ren deringContext.instance.getFragDataLocation_Callback_2_(this, program, name);
5452 5407
5453 @DomName('WebGL2RenderingContext.getIndexedParameter') 5408 @DomName('WebGL2RenderingContext.getIndexedParameter')
5454 @DocsEditable() 5409 @DocsEditable()
5455 @Experimental() // untriaged 5410 @Experimental() // untriaged
5456 Object getIndexedParameter(int target, int index) => wrap_jso(_blink.BlinkWebG L2RenderingContext.instance.getIndexedParameter_Callback_2_(unwrap_jso(this), ta rget, index)); 5411 Object getIndexedParameter(int target, int index) => (_blink.BlinkWebGL2Render ingContext.instance.getIndexedParameter_Callback_2_(this, target, index));
5457 5412
5458 @DomName('WebGL2RenderingContext.getInternalformatParameter') 5413 @DomName('WebGL2RenderingContext.getInternalformatParameter')
5459 @DocsEditable() 5414 @DocsEditable()
5460 @Experimental() // untriaged 5415 @Experimental() // untriaged
5461 Object getInternalformatParameter(int target, int internalformat, int pname) = > wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getInternalformatParamete r_Callback_3_(unwrap_jso(this), target, internalformat, pname)); 5416 Object getInternalformatParameter(int target, int internalformat, int pname) = > (_blink.BlinkWebGL2RenderingContext.instance.getInternalformatParameter_Callba ck_3_(this, target, internalformat, pname));
5462 5417
5463 @DomName('WebGL2RenderingContext.getQuery') 5418 @DomName('WebGL2RenderingContext.getQuery')
5464 @DocsEditable() 5419 @DocsEditable()
5465 @Experimental() // untriaged 5420 @Experimental() // untriaged
5466 Query getQuery(int target, int pname) => wrap_jso(_blink.BlinkWebGL2RenderingC ontext.instance.getQuery_Callback_2_(unwrap_jso(this), target, pname)); 5421 Query getQuery(int target, int pname) => _blink.BlinkWebGL2RenderingContext.in stance.getQuery_Callback_2_(this, target, pname);
5467 5422
5468 @DomName('WebGL2RenderingContext.getQueryParameter') 5423 @DomName('WebGL2RenderingContext.getQueryParameter')
5469 @DocsEditable() 5424 @DocsEditable()
5470 @Experimental() // untriaged 5425 @Experimental() // untriaged
5471 Object getQueryParameter(Query query, int pname) => wrap_jso(_blink.BlinkWebGL 2RenderingContext.instance.getQueryParameter_Callback_2_(unwrap_jso(this), unwra p_jso(query), pname)); 5426 Object getQueryParameter(Query query, int pname) => (_blink.BlinkWebGL2Renderi ngContext.instance.getQueryParameter_Callback_2_(this, query, pname));
5472 5427
5473 @DomName('WebGL2RenderingContext.getSamplerParameter') 5428 @DomName('WebGL2RenderingContext.getSamplerParameter')
5474 @DocsEditable() 5429 @DocsEditable()
5475 @Experimental() // untriaged 5430 @Experimental() // untriaged
5476 Object getSamplerParameter(Sampler sampler, int pname) => wrap_jso(_blink.Blin kWebGL2RenderingContext.instance.getSamplerParameter_Callback_2_(unwrap_jso(this ), unwrap_jso(sampler), pname)); 5431 Object getSamplerParameter(Sampler sampler, int pname) => (_blink.BlinkWebGL2R enderingContext.instance.getSamplerParameter_Callback_2_(this, sampler, pname));
5477 5432
5478 @DomName('WebGL2RenderingContext.getSyncParameter') 5433 @DomName('WebGL2RenderingContext.getSyncParameter')
5479 @DocsEditable() 5434 @DocsEditable()
5480 @Experimental() // untriaged 5435 @Experimental() // untriaged
5481 Object getSyncParameter(Sync sync, int pname) => wrap_jso(_blink.BlinkWebGL2Re nderingContext.instance.getSyncParameter_Callback_2_(unwrap_jso(this), unwrap_js o(sync), pname)); 5436 Object getSyncParameter(Sync sync, int pname) => (_blink.BlinkWebGL2RenderingC ontext.instance.getSyncParameter_Callback_2_(this, sync, pname));
5482 5437
5483 @DomName('WebGL2RenderingContext.getTransformFeedbackVarying') 5438 @DomName('WebGL2RenderingContext.getTransformFeedbackVarying')
5484 @DocsEditable() 5439 @DocsEditable()
5485 @Experimental() // untriaged 5440 @Experimental() // untriaged
5486 ActiveInfo getTransformFeedbackVarying(Program program, int index) => wrap_jso (_blink.BlinkWebGL2RenderingContext.instance.getTransformFeedbackVarying_Callbac k_2_(unwrap_jso(this), unwrap_jso(program), index)); 5441 ActiveInfo getTransformFeedbackVarying(Program program, int index) => _blink.B linkWebGL2RenderingContext.instance.getTransformFeedbackVarying_Callback_2_(this , program, index);
5487 5442
5488 @DomName('WebGL2RenderingContext.getUniformBlockIndex') 5443 @DomName('WebGL2RenderingContext.getUniformBlockIndex')
5489 @DocsEditable() 5444 @DocsEditable()
5490 @Experimental() // untriaged 5445 @Experimental() // untriaged
5491 int getUniformBlockIndex(Program program, String uniformBlockName) => _blink.B linkWebGL2RenderingContext.instance.getUniformBlockIndex_Callback_2_(unwrap_jso( this), unwrap_jso(program), uniformBlockName); 5446 int getUniformBlockIndex(Program program, String uniformBlockName) => _blink.B linkWebGL2RenderingContext.instance.getUniformBlockIndex_Callback_2_(this, progr am, uniformBlockName);
5492 5447
5493 @DomName('WebGL2RenderingContext.getUniformIndices') 5448 @DomName('WebGL2RenderingContext.getUniformIndices')
5494 @DocsEditable() 5449 @DocsEditable()
5495 @Experimental() // untriaged 5450 @Experimental() // untriaged
5496 List<int> getUniformIndices(Program program, List<String> uniformNames) => _bl ink.BlinkWebGL2RenderingContext.instance.getUniformIndices_Callback_2_(unwrap_js o(this), unwrap_jso(program), uniformNames); 5451 List<int> getUniformIndices(Program program, List<String> uniformNames) => _bl ink.BlinkWebGL2RenderingContext.instance.getUniformIndices_Callback_2_(this, pro gram, uniformNames);
5497 5452
5498 @DomName('WebGL2RenderingContext.invalidateFramebuffer') 5453 @DomName('WebGL2RenderingContext.invalidateFramebuffer')
5499 @DocsEditable() 5454 @DocsEditable()
5500 @Experimental() // untriaged 5455 @Experimental() // untriaged
5501 void invalidateFramebuffer(int target, List<int> attachments) => _blink.BlinkW ebGL2RenderingContext.instance.invalidateFramebuffer_Callback_2_(unwrap_jso(this ), target, attachments); 5456 void invalidateFramebuffer(int target, List<int> attachments) => _blink.BlinkW ebGL2RenderingContext.instance.invalidateFramebuffer_Callback_2_(this, target, a ttachments);
5502 5457
5503 @DomName('WebGL2RenderingContext.invalidateSubFramebuffer') 5458 @DomName('WebGL2RenderingContext.invalidateSubFramebuffer')
5504 @DocsEditable() 5459 @DocsEditable()
5505 @Experimental() // untriaged 5460 @Experimental() // untriaged
5506 void invalidateSubFramebuffer(int target, List<int> attachments, int x, int y, int width, int height) => _blink.BlinkWebGL2RenderingContext.instance.invalidat eSubFramebuffer_Callback_6_(unwrap_jso(this), target, attachments, x, y, width, height); 5461 void invalidateSubFramebuffer(int target, List<int> attachments, int x, int y, int width, int height) => _blink.BlinkWebGL2RenderingContext.instance.invalidat eSubFramebuffer_Callback_6_(this, target, attachments, x, y, width, height);
5507 5462
5508 @DomName('WebGL2RenderingContext.isQuery') 5463 @DomName('WebGL2RenderingContext.isQuery')
5509 @DocsEditable() 5464 @DocsEditable()
5510 @Experimental() // untriaged 5465 @Experimental() // untriaged
5511 bool isQuery(Query query) => _blink.BlinkWebGL2RenderingContext.instance.isQue ry_Callback_1_(unwrap_jso(this), unwrap_jso(query)); 5466 bool isQuery(Query query) => _blink.BlinkWebGL2RenderingContext.instance.isQue ry_Callback_1_(this, query);
5512 5467
5513 @DomName('WebGL2RenderingContext.isSampler') 5468 @DomName('WebGL2RenderingContext.isSampler')
5514 @DocsEditable() 5469 @DocsEditable()
5515 @Experimental() // untriaged 5470 @Experimental() // untriaged
5516 bool isSampler(Sampler sampler) => _blink.BlinkWebGL2RenderingContext.instance .isSampler_Callback_1_(unwrap_jso(this), unwrap_jso(sampler)); 5471 bool isSampler(Sampler sampler) => _blink.BlinkWebGL2RenderingContext.instance .isSampler_Callback_1_(this, sampler);
5517 5472
5518 @DomName('WebGL2RenderingContext.isSync') 5473 @DomName('WebGL2RenderingContext.isSync')
5519 @DocsEditable() 5474 @DocsEditable()
5520 @Experimental() // untriaged 5475 @Experimental() // untriaged
5521 bool isSync(Sync sync) => _blink.BlinkWebGL2RenderingContext.instance.isSync_C allback_1_(unwrap_jso(this), unwrap_jso(sync)); 5476 bool isSync(Sync sync) => _blink.BlinkWebGL2RenderingContext.instance.isSync_C allback_1_(this, sync);
5522 5477
5523 @DomName('WebGL2RenderingContext.isTransformFeedback') 5478 @DomName('WebGL2RenderingContext.isTransformFeedback')
5524 @DocsEditable() 5479 @DocsEditable()
5525 @Experimental() // untriaged 5480 @Experimental() // untriaged
5526 bool isTransformFeedback(TransformFeedback feedback) => _blink.BlinkWebGL2Rend eringContext.instance.isTransformFeedback_Callback_1_(unwrap_jso(this), unwrap_j so(feedback)); 5481 bool isTransformFeedback(TransformFeedback feedback) => _blink.BlinkWebGL2Rend eringContext.instance.isTransformFeedback_Callback_1_(this, feedback);
5527 5482
5528 @DomName('WebGL2RenderingContext.isVertexArray') 5483 @DomName('WebGL2RenderingContext.isVertexArray')
5529 @DocsEditable() 5484 @DocsEditable()
5530 @Experimental() // untriaged 5485 @Experimental() // untriaged
5531 bool isVertexArray(VertexArrayObject vertexArray) => _blink.BlinkWebGL2Renderi ngContext.instance.isVertexArray_Callback_1_(unwrap_jso(this), unwrap_jso(vertex Array)); 5486 bool isVertexArray(VertexArrayObject vertexArray) => _blink.BlinkWebGL2Renderi ngContext.instance.isVertexArray_Callback_1_(this, vertexArray);
5532 5487
5533 @DomName('WebGL2RenderingContext.pauseTransformFeedback') 5488 @DomName('WebGL2RenderingContext.pauseTransformFeedback')
5534 @DocsEditable() 5489 @DocsEditable()
5535 @Experimental() // untriaged 5490 @Experimental() // untriaged
5536 void pauseTransformFeedback() => _blink.BlinkWebGL2RenderingContext.instance.p auseTransformFeedback_Callback_0_(unwrap_jso(this)); 5491 void pauseTransformFeedback() => _blink.BlinkWebGL2RenderingContext.instance.p auseTransformFeedback_Callback_0_(this);
5537 5492
5538 @DomName('WebGL2RenderingContext.readBuffer') 5493 @DomName('WebGL2RenderingContext.readBuffer')
5539 @DocsEditable() 5494 @DocsEditable()
5540 @Experimental() // untriaged 5495 @Experimental() // untriaged
5541 void readBuffer(int mode) => _blink.BlinkWebGL2RenderingContext.instance.readB uffer_Callback_1_(unwrap_jso(this), mode); 5496 void readBuffer(int mode) => _blink.BlinkWebGL2RenderingContext.instance.readB uffer_Callback_1_(this, mode);
5542 5497
5543 @DomName('WebGL2RenderingContext.renderbufferStorageMultisample') 5498 @DomName('WebGL2RenderingContext.renderbufferStorageMultisample')
5544 @DocsEditable() 5499 @DocsEditable()
5545 @Experimental() // untriaged 5500 @Experimental() // untriaged
5546 void renderbufferStorageMultisample(int target, int samples, int internalforma t, int width, int height) => _blink.BlinkWebGL2RenderingContext.instance.renderb ufferStorageMultisample_Callback_5_(unwrap_jso(this), target, samples, internalf ormat, width, height); 5501 void renderbufferStorageMultisample(int target, int samples, int internalforma t, int width, int height) => _blink.BlinkWebGL2RenderingContext.instance.renderb ufferStorageMultisample_Callback_5_(this, target, samples, internalformat, width , height);
5547 5502
5548 @DomName('WebGL2RenderingContext.resumeTransformFeedback') 5503 @DomName('WebGL2RenderingContext.resumeTransformFeedback')
5549 @DocsEditable() 5504 @DocsEditable()
5550 @Experimental() // untriaged 5505 @Experimental() // untriaged
5551 void resumeTransformFeedback() => _blink.BlinkWebGL2RenderingContext.instance. resumeTransformFeedback_Callback_0_(unwrap_jso(this)); 5506 void resumeTransformFeedback() => _blink.BlinkWebGL2RenderingContext.instance. resumeTransformFeedback_Callback_0_(this);
5552 5507
5553 @DomName('WebGL2RenderingContext.samplerParameterf') 5508 @DomName('WebGL2RenderingContext.samplerParameterf')
5554 @DocsEditable() 5509 @DocsEditable()
5555 @Experimental() // untriaged 5510 @Experimental() // untriaged
5556 void samplerParameterf(Sampler sampler, int pname, num param) => _blink.BlinkW ebGL2RenderingContext.instance.samplerParameterf_Callback_3_(unwrap_jso(this), u nwrap_jso(sampler), pname, param); 5511 void samplerParameterf(Sampler sampler, int pname, num param) => _blink.BlinkW ebGL2RenderingContext.instance.samplerParameterf_Callback_3_(this, sampler, pnam e, param);
5557 5512
5558 @DomName('WebGL2RenderingContext.samplerParameteri') 5513 @DomName('WebGL2RenderingContext.samplerParameteri')
5559 @DocsEditable() 5514 @DocsEditable()
5560 @Experimental() // untriaged 5515 @Experimental() // untriaged
5561 void samplerParameteri(Sampler sampler, int pname, int param) => _blink.BlinkW ebGL2RenderingContext.instance.samplerParameteri_Callback_3_(unwrap_jso(this), u nwrap_jso(sampler), pname, param); 5516 void samplerParameteri(Sampler sampler, int pname, int param) => _blink.BlinkW ebGL2RenderingContext.instance.samplerParameteri_Callback_3_(this, sampler, pnam e, param);
5562 5517
5563 @DomName('WebGL2RenderingContext.texImage3D') 5518 @DomName('WebGL2RenderingContext.texImage3D')
5564 @DocsEditable() 5519 @DocsEditable()
5565 @Experimental() // untriaged 5520 @Experimental() // untriaged
5566 void texImage3D(int target, int level, int internalformat, int width, int heig ht, int depth, int border, int format, int type, TypedData pixels) => _blink.Bli nkWebGL2RenderingContext.instance.texImage3D_Callback_10_(unwrap_jso(this), targ et, level, internalformat, width, height, depth, border, format, type, unwrap_js o(pixels)); 5521 void texImage3D(int target, int level, int internalformat, int width, int heig ht, int depth, int border, int format, int type, TypedData pixels) => _blink.Bli nkWebGL2RenderingContext.instance.texImage3D_Callback_10_(this, target, level, i nternalformat, width, height, depth, border, format, type, pixels);
5567 5522
5568 @DomName('WebGL2RenderingContext.texStorage2D') 5523 @DomName('WebGL2RenderingContext.texStorage2D')
5569 @DocsEditable() 5524 @DocsEditable()
5570 @Experimental() // untriaged 5525 @Experimental() // untriaged
5571 void texStorage2D(int target, int levels, int internalformat, int width, int h eight) => _blink.BlinkWebGL2RenderingContext.instance.texStorage2D_Callback_5_(u nwrap_jso(this), target, levels, internalformat, width, height); 5526 void texStorage2D(int target, int levels, int internalformat, int width, int h eight) => _blink.BlinkWebGL2RenderingContext.instance.texStorage2D_Callback_5_(t his, target, levels, internalformat, width, height);
5572 5527
5573 @DomName('WebGL2RenderingContext.texStorage3D') 5528 @DomName('WebGL2RenderingContext.texStorage3D')
5574 @DocsEditable() 5529 @DocsEditable()
5575 @Experimental() // untriaged 5530 @Experimental() // untriaged
5576 void texStorage3D(int target, int levels, int internalformat, int width, int h eight, int depth) => _blink.BlinkWebGL2RenderingContext.instance.texStorage3D_Ca llback_6_(unwrap_jso(this), target, levels, internalformat, width, height, depth ); 5531 void texStorage3D(int target, int levels, int internalformat, int width, int h eight, int depth) => _blink.BlinkWebGL2RenderingContext.instance.texStorage3D_Ca llback_6_(this, target, levels, internalformat, width, height, depth);
5577 5532
5578 void texSubImage3D(int target, int level, int xoffset, int yoffset, int zoffse t, int format_OR_width, int height_OR_type, canvas_OR_data_OR_depth_OR_image_OR_ video, [int format, int type, TypedData pixels]) { 5533 void texSubImage3D(int target, int level, int xoffset, int yoffset, int zoffse t, int format_OR_width, int height_OR_type, canvas_OR_data_OR_depth_OR_image_OR_ video, [int format, int type, TypedData pixels]) {
5579 if ((pixels is TypedData || pixels == null) && (type is int) && (format is i nt) && (canvas_OR_data_OR_depth_OR_image_OR_video is int) && (height_OR_type is int) && (format_OR_width is int) && (zoffset is int) && (yoffset is int) && (xof fset is int) && (level is int) && (target is int)) { 5534 if ((pixels is TypedData || pixels == null) && (type is int) && (format is i nt) && (canvas_OR_data_OR_depth_OR_image_OR_video is int) && (height_OR_type is int) && (format_OR_width is int) && (zoffset is int) && (yoffset is int) && (xof fset is int) && (level is int) && (target is int)) {
5580 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_11_(unw rap_jso(this), target, level, xoffset, yoffset, zoffset, format_OR_width, height _OR_type, unwrap_jso(canvas_OR_data_OR_depth_OR_image_OR_video), format, type, u nwrap_jso(pixels)); 5535 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_11_(thi s, target, level, xoffset, yoffset, zoffset, format_OR_width, height_OR_type, ca nvas_OR_data_OR_depth_OR_image_OR_video, format, type, pixels);
5581 return; 5536 return;
5582 } 5537 }
5583 if ((canvas_OR_data_OR_depth_OR_image_OR_video is ImageData || canvas_OR_dat a_OR_depth_OR_image_OR_video == null) && (height_OR_type is int) && (format_OR_w idth is int) && (zoffset is int) && (yoffset is int) && (xoffset is int) && (lev el is int) && (target is int) && format == null && type == null && pixels == nul l) { 5538 if ((canvas_OR_data_OR_depth_OR_image_OR_video is ImageData || canvas_OR_dat a_OR_depth_OR_image_OR_video == null) && (height_OR_type is int) && (format_OR_w idth is int) && (zoffset is int) && (yoffset is int) && (xoffset is int) && (lev el is int) && (target is int) && format == null && type == null && pixels == nul l) {
5584 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_(unwr ap_jso(this), target, level, xoffset, yoffset, zoffset, format_OR_width, height_ OR_type, unwrap_jso(canvas_OR_data_OR_depth_OR_image_OR_video)); 5539 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_(this , target, level, xoffset, yoffset, zoffset, format_OR_width, height_OR_type, can vas_OR_data_OR_depth_OR_image_OR_video);
5585 return; 5540 return;
5586 } 5541 }
5587 if ((canvas_OR_data_OR_depth_OR_image_OR_video is ImageElement || canvas_OR_ data_OR_depth_OR_image_OR_video == null) && (height_OR_type is int) && (format_O R_width is int) && (zoffset is int) && (yoffset is int) && (xoffset is int) && ( level is int) && (target is int) && format == null && type == null && pixels == null) { 5542 if ((canvas_OR_data_OR_depth_OR_image_OR_video is ImageElement || canvas_OR_ data_OR_depth_OR_image_OR_video == null) && (height_OR_type is int) && (format_O R_width is int) && (zoffset is int) && (yoffset is int) && (xoffset is int) && ( level is int) && (target is int) && format == null && type == null && pixels == null) {
5588 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_(unwr ap_jso(this), target, level, xoffset, yoffset, zoffset, format_OR_width, height_ OR_type, unwrap_jso(canvas_OR_data_OR_depth_OR_image_OR_video)); 5543 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_(this , target, level, xoffset, yoffset, zoffset, format_OR_width, height_OR_type, can vas_OR_data_OR_depth_OR_image_OR_video);
5589 return; 5544 return;
5590 } 5545 }
5591 if ((canvas_OR_data_OR_depth_OR_image_OR_video is CanvasElement || canvas_OR _data_OR_depth_OR_image_OR_video == null) && (height_OR_type is int) && (format_ OR_width is int) && (zoffset is int) && (yoffset is int) && (xoffset is int) && (level is int) && (target is int) && format == null && type == null && pixels == null) { 5546 if ((canvas_OR_data_OR_depth_OR_image_OR_video is CanvasElement || canvas_OR _data_OR_depth_OR_image_OR_video == null) && (height_OR_type is int) && (format_ OR_width is int) && (zoffset is int) && (yoffset is int) && (xoffset is int) && (level is int) && (target is int) && format == null && type == null && pixels == null) {
5592 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_(unwr ap_jso(this), target, level, xoffset, yoffset, zoffset, format_OR_width, height_ OR_type, unwrap_jso(canvas_OR_data_OR_depth_OR_image_OR_video)); 5547 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_(this , target, level, xoffset, yoffset, zoffset, format_OR_width, height_OR_type, can vas_OR_data_OR_depth_OR_image_OR_video);
5593 return; 5548 return;
5594 } 5549 }
5595 if ((canvas_OR_data_OR_depth_OR_image_OR_video is VideoElement || canvas_OR_ data_OR_depth_OR_image_OR_video == null) && (height_OR_type is int) && (format_O R_width is int) && (zoffset is int) && (yoffset is int) && (xoffset is int) && ( level is int) && (target is int) && format == null && type == null && pixels == null) { 5550 if ((canvas_OR_data_OR_depth_OR_image_OR_video is VideoElement || canvas_OR_ data_OR_depth_OR_image_OR_video == null) && (height_OR_type is int) && (format_O R_width is int) && (zoffset is int) && (yoffset is int) && (xoffset is int) && ( level is int) && (target is int) && format == null && type == null && pixels == null) {
5596 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_(unwr ap_jso(this), target, level, xoffset, yoffset, zoffset, format_OR_width, height_ OR_type, unwrap_jso(canvas_OR_data_OR_depth_OR_image_OR_video)); 5551 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_(this , target, level, xoffset, yoffset, zoffset, format_OR_width, height_OR_type, can vas_OR_data_OR_depth_OR_image_OR_video);
5597 return; 5552 return;
5598 } 5553 }
5599 throw new ArgumentError("Incorrect number or type of arguments"); 5554 throw new ArgumentError("Incorrect number or type of arguments");
5600 } 5555 }
5601 5556
5602 @DomName('WebGL2RenderingContext.transformFeedbackVaryings') 5557 @DomName('WebGL2RenderingContext.transformFeedbackVaryings')
5603 @DocsEditable() 5558 @DocsEditable()
5604 @Experimental() // untriaged 5559 @Experimental() // untriaged
5605 void transformFeedbackVaryings(Program program, List<String> varyings, int buf ferMode) => _blink.BlinkWebGL2RenderingContext.instance.transformFeedbackVarying s_Callback_3_(unwrap_jso(this), unwrap_jso(program), varyings, bufferMode); 5560 void transformFeedbackVaryings(Program program, List<String> varyings, int buf ferMode) => _blink.BlinkWebGL2RenderingContext.instance.transformFeedbackVarying s_Callback_3_(this, program, varyings, bufferMode);
5606 5561
5607 @DomName('WebGL2RenderingContext.uniform1ui') 5562 @DomName('WebGL2RenderingContext.uniform1ui')
5608 @DocsEditable() 5563 @DocsEditable()
5609 @Experimental() // untriaged 5564 @Experimental() // untriaged
5610 void uniform1ui(UniformLocation location, int v0) => _blink.BlinkWebGL2Renderi ngContext.instance.uniform1ui_Callback_2_(unwrap_jso(this), unwrap_jso(location) , v0); 5565 void uniform1ui(UniformLocation location, int v0) => _blink.BlinkWebGL2Renderi ngContext.instance.uniform1ui_Callback_2_(this, location, v0);
5611 5566
5612 @DomName('WebGL2RenderingContext.uniform1uiv') 5567 @DomName('WebGL2RenderingContext.uniform1uiv')
5613 @DocsEditable() 5568 @DocsEditable()
5614 @Experimental() // untriaged 5569 @Experimental() // untriaged
5615 void uniform1uiv(UniformLocation location, List<int> value) => _blink.BlinkWeb GL2RenderingContext.instance.uniform1uiv_Callback_2_(unwrap_jso(this), unwrap_js o(location), value); 5570 void uniform1uiv(UniformLocation location, List<int> value) => _blink.BlinkWeb GL2RenderingContext.instance.uniform1uiv_Callback_2_(this, location, value);
5616 5571
5617 @DomName('WebGL2RenderingContext.uniform2ui') 5572 @DomName('WebGL2RenderingContext.uniform2ui')
5618 @DocsEditable() 5573 @DocsEditable()
5619 @Experimental() // untriaged 5574 @Experimental() // untriaged
5620 void uniform2ui(UniformLocation location, int v0, int v1) => _blink.BlinkWebGL 2RenderingContext.instance.uniform2ui_Callback_3_(unwrap_jso(this), unwrap_jso(l ocation), v0, v1); 5575 void uniform2ui(UniformLocation location, int v0, int v1) => _blink.BlinkWebGL 2RenderingContext.instance.uniform2ui_Callback_3_(this, location, v0, v1);
5621 5576
5622 @DomName('WebGL2RenderingContext.uniform2uiv') 5577 @DomName('WebGL2RenderingContext.uniform2uiv')
5623 @DocsEditable() 5578 @DocsEditable()
5624 @Experimental() // untriaged 5579 @Experimental() // untriaged
5625 void uniform2uiv(UniformLocation location, List<int> value) => _blink.BlinkWeb GL2RenderingContext.instance.uniform2uiv_Callback_2_(unwrap_jso(this), unwrap_js o(location), value); 5580 void uniform2uiv(UniformLocation location, List<int> value) => _blink.BlinkWeb GL2RenderingContext.instance.uniform2uiv_Callback_2_(this, location, value);
5626 5581
5627 @DomName('WebGL2RenderingContext.uniform3ui') 5582 @DomName('WebGL2RenderingContext.uniform3ui')
5628 @DocsEditable() 5583 @DocsEditable()
5629 @Experimental() // untriaged 5584 @Experimental() // untriaged
5630 void uniform3ui(UniformLocation location, int v0, int v1, int v2) => _blink.Bl inkWebGL2RenderingContext.instance.uniform3ui_Callback_4_(unwrap_jso(this), unwr ap_jso(location), v0, v1, v2); 5585 void uniform3ui(UniformLocation location, int v0, int v1, int v2) => _blink.Bl inkWebGL2RenderingContext.instance.uniform3ui_Callback_4_(this, location, v0, v1 , v2);
5631 5586
5632 @DomName('WebGL2RenderingContext.uniform3uiv') 5587 @DomName('WebGL2RenderingContext.uniform3uiv')
5633 @DocsEditable() 5588 @DocsEditable()
5634 @Experimental() // untriaged 5589 @Experimental() // untriaged
5635 void uniform3uiv(UniformLocation location, List<int> value) => _blink.BlinkWeb GL2RenderingContext.instance.uniform3uiv_Callback_2_(unwrap_jso(this), unwrap_js o(location), value); 5590 void uniform3uiv(UniformLocation location, List<int> value) => _blink.BlinkWeb GL2RenderingContext.instance.uniform3uiv_Callback_2_(this, location, value);
5636 5591
5637 @DomName('WebGL2RenderingContext.uniform4ui') 5592 @DomName('WebGL2RenderingContext.uniform4ui')
5638 @DocsEditable() 5593 @DocsEditable()
5639 @Experimental() // untriaged 5594 @Experimental() // untriaged
5640 void uniform4ui(UniformLocation location, int v0, int v1, int v2, int v3) => _ blink.BlinkWebGL2RenderingContext.instance.uniform4ui_Callback_5_(unwrap_jso(thi s), unwrap_jso(location), v0, v1, v2, v3); 5595 void uniform4ui(UniformLocation location, int v0, int v1, int v2, int v3) => _ blink.BlinkWebGL2RenderingContext.instance.uniform4ui_Callback_5_(this, location , v0, v1, v2, v3);
5641 5596
5642 @DomName('WebGL2RenderingContext.uniform4uiv') 5597 @DomName('WebGL2RenderingContext.uniform4uiv')
5643 @DocsEditable() 5598 @DocsEditable()
5644 @Experimental() // untriaged 5599 @Experimental() // untriaged
5645 void uniform4uiv(UniformLocation location, List<int> value) => _blink.BlinkWeb GL2RenderingContext.instance.uniform4uiv_Callback_2_(unwrap_jso(this), unwrap_js o(location), value); 5600 void uniform4uiv(UniformLocation location, List<int> value) => _blink.BlinkWeb GL2RenderingContext.instance.uniform4uiv_Callback_2_(this, location, value);
5646 5601
5647 @DomName('WebGL2RenderingContext.uniformBlockBinding') 5602 @DomName('WebGL2RenderingContext.uniformBlockBinding')
5648 @DocsEditable() 5603 @DocsEditable()
5649 @Experimental() // untriaged 5604 @Experimental() // untriaged
5650 void uniformBlockBinding(Program program, int uniformBlockIndex, int uniformBl ockBinding) => _blink.BlinkWebGL2RenderingContext.instance.uniformBlockBinding_C allback_3_(unwrap_jso(this), unwrap_jso(program), uniformBlockIndex, uniformBloc kBinding); 5605 void uniformBlockBinding(Program program, int uniformBlockIndex, int uniformBl ockBinding) => _blink.BlinkWebGL2RenderingContext.instance.uniformBlockBinding_C allback_3_(this, program, uniformBlockIndex, uniformBlockBinding);
5651 5606
5652 void uniformMatrix2x3fv(UniformLocation location, bool transpose, value) { 5607 void uniformMatrix2x3fv(UniformLocation location, bool transpose, value) {
5653 if ((value is Float32List) && (transpose is bool) && (location is UniformLoc ation || location == null)) { 5608 if ((value is Float32List) && (transpose is bool) && (location is UniformLoc ation || location == null)) {
5654 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2x3fv_Callback_3_ (unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); 5609 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2x3fv_Callback_3_ (this, location, transpose, value);
5655 return; 5610 return;
5656 } 5611 }
5657 if ((value is List<num>) && (transpose is bool) && (location is UniformLocat ion || location == null)) { 5612 if ((value is List<num>) && (transpose is bool) && (location is UniformLocat ion || location == null)) {
5658 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2x3fv_Callback_3_ (unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); 5613 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2x3fv_Callback_3_ (this, location, transpose, value);
5659 return; 5614 return;
5660 } 5615 }
5661 throw new ArgumentError("Incorrect number or type of arguments"); 5616 throw new ArgumentError("Incorrect number or type of arguments");
5662 } 5617 }
5663 5618
5664 void uniformMatrix2x4fv(UniformLocation location, bool transpose, value) { 5619 void uniformMatrix2x4fv(UniformLocation location, bool transpose, value) {
5665 if ((value is Float32List) && (transpose is bool) && (location is UniformLoc ation || location == null)) { 5620 if ((value is Float32List) && (transpose is bool) && (location is UniformLoc ation || location == null)) {
5666 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2x4fv_Callback_3_ (unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); 5621 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2x4fv_Callback_3_ (this, location, transpose, value);
5667 return; 5622 return;
5668 } 5623 }
5669 if ((value is List<num>) && (transpose is bool) && (location is UniformLocat ion || location == null)) { 5624 if ((value is List<num>) && (transpose is bool) && (location is UniformLocat ion || location == null)) {
5670 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2x4fv_Callback_3_ (unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); 5625 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2x4fv_Callback_3_ (this, location, transpose, value);
5671 return; 5626 return;
5672 } 5627 }
5673 throw new ArgumentError("Incorrect number or type of arguments"); 5628 throw new ArgumentError("Incorrect number or type of arguments");
5674 } 5629 }
5675 5630
5676 void uniformMatrix3x2fv(UniformLocation location, bool transpose, value) { 5631 void uniformMatrix3x2fv(UniformLocation location, bool transpose, value) {
5677 if ((value is Float32List) && (transpose is bool) && (location is UniformLoc ation || location == null)) { 5632 if ((value is Float32List) && (transpose is bool) && (location is UniformLoc ation || location == null)) {
5678 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3x2fv_Callback_3_ (unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); 5633 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3x2fv_Callback_3_ (this, location, transpose, value);
5679 return; 5634 return;
5680 } 5635 }
5681 if ((value is List<num>) && (transpose is bool) && (location is UniformLocat ion || location == null)) { 5636 if ((value is List<num>) && (transpose is bool) && (location is UniformLocat ion || location == null)) {
5682 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3x2fv_Callback_3_ (unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); 5637 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3x2fv_Callback_3_ (this, location, transpose, value);
5683 return; 5638 return;
5684 } 5639 }
5685 throw new ArgumentError("Incorrect number or type of arguments"); 5640 throw new ArgumentError("Incorrect number or type of arguments");
5686 } 5641 }
5687 5642
5688 void uniformMatrix3x4fv(UniformLocation location, bool transpose, value) { 5643 void uniformMatrix3x4fv(UniformLocation location, bool transpose, value) {
5689 if ((value is Float32List) && (transpose is bool) && (location is UniformLoc ation || location == null)) { 5644 if ((value is Float32List) && (transpose is bool) && (location is UniformLoc ation || location == null)) {
5690 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3x4fv_Callback_3_ (unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); 5645 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3x4fv_Callback_3_ (this, location, transpose, value);
5691 return; 5646 return;
5692 } 5647 }
5693 if ((value is List<num>) && (transpose is bool) && (location is UniformLocat ion || location == null)) { 5648 if ((value is List<num>) && (transpose is bool) && (location is UniformLocat ion || location == null)) {
5694 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3x4fv_Callback_3_ (unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); 5649 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3x4fv_Callback_3_ (this, location, transpose, value);
5695 return; 5650 return;
5696 } 5651 }
5697 throw new ArgumentError("Incorrect number or type of arguments"); 5652 throw new ArgumentError("Incorrect number or type of arguments");
5698 } 5653 }
5699 5654
5700 void uniformMatrix4x2fv(UniformLocation location, bool transpose, value) { 5655 void uniformMatrix4x2fv(UniformLocation location, bool transpose, value) {
5701 if ((value is Float32List) && (transpose is bool) && (location is UniformLoc ation || location == null)) { 5656 if ((value is Float32List) && (transpose is bool) && (location is UniformLoc ation || location == null)) {
5702 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4x2fv_Callback_3_ (unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); 5657 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4x2fv_Callback_3_ (this, location, transpose, value);
5703 return; 5658 return;
5704 } 5659 }
5705 if ((value is List<num>) && (transpose is bool) && (location is UniformLocat ion || location == null)) { 5660 if ((value is List<num>) && (transpose is bool) && (location is UniformLocat ion || location == null)) {
5706 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4x2fv_Callback_3_ (unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); 5661 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4x2fv_Callback_3_ (this, location, transpose, value);
5707 return; 5662 return;
5708 } 5663 }
5709 throw new ArgumentError("Incorrect number or type of arguments"); 5664 throw new ArgumentError("Incorrect number or type of arguments");
5710 } 5665 }
5711 5666
5712 void uniformMatrix4x3fv(UniformLocation location, bool transpose, value) { 5667 void uniformMatrix4x3fv(UniformLocation location, bool transpose, value) {
5713 if ((value is Float32List) && (transpose is bool) && (location is UniformLoc ation || location == null)) { 5668 if ((value is Float32List) && (transpose is bool) && (location is UniformLoc ation || location == null)) {
5714 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4x3fv_Callback_3_ (unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); 5669 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4x3fv_Callback_3_ (this, location, transpose, value);
5715 return; 5670 return;
5716 } 5671 }
5717 if ((value is List<num>) && (transpose is bool) && (location is UniformLocat ion || location == null)) { 5672 if ((value is List<num>) && (transpose is bool) && (location is UniformLocat ion || location == null)) {
5718 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4x3fv_Callback_3_ (unwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(value)); 5673 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4x3fv_Callback_3_ (this, location, transpose, value);
5719 return; 5674 return;
5720 } 5675 }
5721 throw new ArgumentError("Incorrect number or type of arguments"); 5676 throw new ArgumentError("Incorrect number or type of arguments");
5722 } 5677 }
5723 5678
5724 @DomName('WebGL2RenderingContext.vertexAttribDivisor') 5679 @DomName('WebGL2RenderingContext.vertexAttribDivisor')
5725 @DocsEditable() 5680 @DocsEditable()
5726 @Experimental() // untriaged 5681 @Experimental() // untriaged
5727 void vertexAttribDivisor(int index, int divisor) => _blink.BlinkWebGL2Renderin gContext.instance.vertexAttribDivisor_Callback_2_(unwrap_jso(this), index, divis or); 5682 void vertexAttribDivisor(int index, int divisor) => _blink.BlinkWebGL2Renderin gContext.instance.vertexAttribDivisor_Callback_2_(this, index, divisor);
5728 5683
5729 @DomName('WebGL2RenderingContext.vertexAttribI4i') 5684 @DomName('WebGL2RenderingContext.vertexAttribI4i')
5730 @DocsEditable() 5685 @DocsEditable()
5731 @Experimental() // untriaged 5686 @Experimental() // untriaged
5732 void vertexAttribI4i(int index, int x, int y, int z, int w) => _blink.BlinkWeb GL2RenderingContext.instance.vertexAttribI4i_Callback_5_(unwrap_jso(this), index , x, y, z, w); 5687 void vertexAttribI4i(int index, int x, int y, int z, int w) => _blink.BlinkWeb GL2RenderingContext.instance.vertexAttribI4i_Callback_5_(this, index, x, y, z, w );
5733 5688
5734 @DomName('WebGL2RenderingContext.vertexAttribI4iv') 5689 @DomName('WebGL2RenderingContext.vertexAttribI4iv')
5735 @DocsEditable() 5690 @DocsEditable()
5736 @Experimental() // untriaged 5691 @Experimental() // untriaged
5737 void vertexAttribI4iv(int index, List<int> v) => _blink.BlinkWebGL2RenderingCo ntext.instance.vertexAttribI4iv_Callback_2_(unwrap_jso(this), index, v); 5692 void vertexAttribI4iv(int index, List<int> v) => _blink.BlinkWebGL2RenderingCo ntext.instance.vertexAttribI4iv_Callback_2_(this, index, v);
5738 5693
5739 @DomName('WebGL2RenderingContext.vertexAttribI4ui') 5694 @DomName('WebGL2RenderingContext.vertexAttribI4ui')
5740 @DocsEditable() 5695 @DocsEditable()
5741 @Experimental() // untriaged 5696 @Experimental() // untriaged
5742 void vertexAttribI4ui(int index, int x, int y, int z, int w) => _blink.BlinkWe bGL2RenderingContext.instance.vertexAttribI4ui_Callback_5_(unwrap_jso(this), ind ex, x, y, z, w); 5697 void vertexAttribI4ui(int index, int x, int y, int z, int w) => _blink.BlinkWe bGL2RenderingContext.instance.vertexAttribI4ui_Callback_5_(this, index, x, y, z, w);
5743 5698
5744 @DomName('WebGL2RenderingContext.vertexAttribI4uiv') 5699 @DomName('WebGL2RenderingContext.vertexAttribI4uiv')
5745 @DocsEditable() 5700 @DocsEditable()
5746 @Experimental() // untriaged 5701 @Experimental() // untriaged
5747 void vertexAttribI4uiv(int index, List<int> v) => _blink.BlinkWebGL2RenderingC ontext.instance.vertexAttribI4uiv_Callback_2_(unwrap_jso(this), index, v); 5702 void vertexAttribI4uiv(int index, List<int> v) => _blink.BlinkWebGL2RenderingC ontext.instance.vertexAttribI4uiv_Callback_2_(this, index, v);
5748 5703
5749 @DomName('WebGL2RenderingContext.vertexAttribIPointer') 5704 @DomName('WebGL2RenderingContext.vertexAttribIPointer')
5750 @DocsEditable() 5705 @DocsEditable()
5751 @Experimental() // untriaged 5706 @Experimental() // untriaged
5752 void vertexAttribIPointer(int index, int size, int type, int stride, int offse t) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttribIPointer_Callback_ 5_(unwrap_jso(this), index, size, type, stride, offset); 5707 void vertexAttribIPointer(int index, int size, int type, int stride, int offse t) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttribIPointer_Callback_ 5_(this, index, size, type, stride, offset);
5753 5708
5754 @DomName('WebGL2RenderingContext.waitSync') 5709 @DomName('WebGL2RenderingContext.waitSync')
5755 @DocsEditable() 5710 @DocsEditable()
5756 @Experimental() // untriaged 5711 @Experimental() // untriaged
5757 void waitSync(Sync sync, int flags, int timeout) => _blink.BlinkWebGL2Renderin gContext.instance.waitSync_Callback_3_(unwrap_jso(this), unwrap_jso(sync), flags , timeout); 5712 void waitSync(Sync sync, int flags, int timeout) => _blink.BlinkWebGL2Renderin gContext.instance.waitSync_Callback_3_(this, sync, flags, timeout);
5758 5713
5759 @DomName('WebGL2RenderingContext.canvas') 5714 @DomName('WebGL2RenderingContext.canvas')
5760 @DocsEditable() 5715 @DocsEditable()
5761 @Experimental() // untriaged 5716 @Experimental() // untriaged
5762 CanvasElement get canvas => wrap_jso(_blink.BlinkWebGL2RenderingContext.instan ce.canvas_Getter_(unwrap_jso(this))); 5717 CanvasElement get canvas => _blink.BlinkWebGL2RenderingContext.instance.canvas _Getter_(this);
5763 5718
5764 @DomName('WebGL2RenderingContext.drawingBufferHeight') 5719 @DomName('WebGL2RenderingContext.drawingBufferHeight')
5765 @DocsEditable() 5720 @DocsEditable()
5766 @Experimental() // untriaged 5721 @Experimental() // untriaged
5767 int get drawingBufferHeight => _blink.BlinkWebGL2RenderingContext.instance.dra wingBufferHeight_Getter_(unwrap_jso(this)); 5722 int get drawingBufferHeight => _blink.BlinkWebGL2RenderingContext.instance.dra wingBufferHeight_Getter_(this);
5768 5723
5769 @DomName('WebGL2RenderingContext.drawingBufferWidth') 5724 @DomName('WebGL2RenderingContext.drawingBufferWidth')
5770 @DocsEditable() 5725 @DocsEditable()
5771 @Experimental() // untriaged 5726 @Experimental() // untriaged
5772 int get drawingBufferWidth => _blink.BlinkWebGL2RenderingContext.instance.draw ingBufferWidth_Getter_(unwrap_jso(this)); 5727 int get drawingBufferWidth => _blink.BlinkWebGL2RenderingContext.instance.draw ingBufferWidth_Getter_(this);
5773 5728
5774 @DomName('WebGL2RenderingContext.activeTexture') 5729 @DomName('WebGL2RenderingContext.activeTexture')
5775 @DocsEditable() 5730 @DocsEditable()
5776 @Experimental() // untriaged 5731 @Experimental() // untriaged
5777 void activeTexture(int texture) => _blink.BlinkWebGL2RenderingContext.instance .activeTexture_Callback_1_(unwrap_jso(this), texture); 5732 void activeTexture(int texture) => _blink.BlinkWebGL2RenderingContext.instance .activeTexture_Callback_1_(this, texture);
5778 5733
5779 @DomName('WebGL2RenderingContext.attachShader') 5734 @DomName('WebGL2RenderingContext.attachShader')
5780 @DocsEditable() 5735 @DocsEditable()
5781 @Experimental() // untriaged 5736 @Experimental() // untriaged
5782 void attachShader(Program program, Shader shader) => _blink.BlinkWebGL2Renderi ngContext.instance.attachShader_Callback_2_(unwrap_jso(this), unwrap_jso(program ), unwrap_jso(shader)); 5737 void attachShader(Program program, Shader shader) => _blink.BlinkWebGL2Renderi ngContext.instance.attachShader_Callback_2_(this, program, shader);
5783 5738
5784 @DomName('WebGL2RenderingContext.bindAttribLocation') 5739 @DomName('WebGL2RenderingContext.bindAttribLocation')
5785 @DocsEditable() 5740 @DocsEditable()
5786 @Experimental() // untriaged 5741 @Experimental() // untriaged
5787 void bindAttribLocation(Program program, int index, String name) => _blink.Bli nkWebGL2RenderingContext.instance.bindAttribLocation_Callback_3_(unwrap_jso(this ), unwrap_jso(program), index, name); 5742 void bindAttribLocation(Program program, int index, String name) => _blink.Bli nkWebGL2RenderingContext.instance.bindAttribLocation_Callback_3_(this, program, index, name);
5788 5743
5789 @DomName('WebGL2RenderingContext.bindBuffer') 5744 @DomName('WebGL2RenderingContext.bindBuffer')
5790 @DocsEditable() 5745 @DocsEditable()
5791 @Experimental() // untriaged 5746 @Experimental() // untriaged
5792 void bindBuffer(int target, Buffer buffer) => _blink.BlinkWebGL2RenderingConte xt.instance.bindBuffer_Callback_2_(unwrap_jso(this), target, unwrap_jso(buffer)) ; 5747 void bindBuffer(int target, Buffer buffer) => _blink.BlinkWebGL2RenderingConte xt.instance.bindBuffer_Callback_2_(this, target, buffer);
5793 5748
5794 @DomName('WebGL2RenderingContext.bindFramebuffer') 5749 @DomName('WebGL2RenderingContext.bindFramebuffer')
5795 @DocsEditable() 5750 @DocsEditable()
5796 @Experimental() // untriaged 5751 @Experimental() // untriaged
5797 void bindFramebuffer(int target, Framebuffer framebuffer) => _blink.BlinkWebGL 2RenderingContext.instance.bindFramebuffer_Callback_2_(unwrap_jso(this), target, unwrap_jso(framebuffer)); 5752 void bindFramebuffer(int target, Framebuffer framebuffer) => _blink.BlinkWebGL 2RenderingContext.instance.bindFramebuffer_Callback_2_(this, target, framebuffer );
5798 5753
5799 @DomName('WebGL2RenderingContext.bindRenderbuffer') 5754 @DomName('WebGL2RenderingContext.bindRenderbuffer')
5800 @DocsEditable() 5755 @DocsEditable()
5801 @Experimental() // untriaged 5756 @Experimental() // untriaged
5802 void bindRenderbuffer(int target, Renderbuffer renderbuffer) => _blink.BlinkWe bGL2RenderingContext.instance.bindRenderbuffer_Callback_2_(unwrap_jso(this), tar get, unwrap_jso(renderbuffer)); 5757 void bindRenderbuffer(int target, Renderbuffer renderbuffer) => _blink.BlinkWe bGL2RenderingContext.instance.bindRenderbuffer_Callback_2_(this, target, renderb uffer);
5803 5758
5804 @DomName('WebGL2RenderingContext.bindTexture') 5759 @DomName('WebGL2RenderingContext.bindTexture')
5805 @DocsEditable() 5760 @DocsEditable()
5806 @Experimental() // untriaged 5761 @Experimental() // untriaged
5807 void bindTexture(int target, Texture texture) => _blink.BlinkWebGL2RenderingCo ntext.instance.bindTexture_Callback_2_(unwrap_jso(this), target, unwrap_jso(text ure)); 5762 void bindTexture(int target, Texture texture) => _blink.BlinkWebGL2RenderingCo ntext.instance.bindTexture_Callback_2_(this, target, texture);
5808 5763
5809 @DomName('WebGL2RenderingContext.blendColor') 5764 @DomName('WebGL2RenderingContext.blendColor')
5810 @DocsEditable() 5765 @DocsEditable()
5811 @Experimental() // untriaged 5766 @Experimental() // untriaged
5812 void blendColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGL2 RenderingContext.instance.blendColor_Callback_4_(unwrap_jso(this), red, green, b lue, alpha); 5767 void blendColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGL2 RenderingContext.instance.blendColor_Callback_4_(this, red, green, blue, alpha);
5813 5768
5814 @DomName('WebGL2RenderingContext.blendEquation') 5769 @DomName('WebGL2RenderingContext.blendEquation')
5815 @DocsEditable() 5770 @DocsEditable()
5816 @Experimental() // untriaged 5771 @Experimental() // untriaged
5817 void blendEquation(int mode) => _blink.BlinkWebGL2RenderingContext.instance.bl endEquation_Callback_1_(unwrap_jso(this), mode); 5772 void blendEquation(int mode) => _blink.BlinkWebGL2RenderingContext.instance.bl endEquation_Callback_1_(this, mode);
5818 5773
5819 @DomName('WebGL2RenderingContext.blendEquationSeparate') 5774 @DomName('WebGL2RenderingContext.blendEquationSeparate')
5820 @DocsEditable() 5775 @DocsEditable()
5821 @Experimental() // untriaged 5776 @Experimental() // untriaged
5822 void blendEquationSeparate(int modeRGB, int modeAlpha) => _blink.BlinkWebGL2Re nderingContext.instance.blendEquationSeparate_Callback_2_(unwrap_jso(this), mode RGB, modeAlpha); 5777 void blendEquationSeparate(int modeRGB, int modeAlpha) => _blink.BlinkWebGL2Re nderingContext.instance.blendEquationSeparate_Callback_2_(this, modeRGB, modeAlp ha);
5823 5778
5824 @DomName('WebGL2RenderingContext.blendFunc') 5779 @DomName('WebGL2RenderingContext.blendFunc')
5825 @DocsEditable() 5780 @DocsEditable()
5826 @Experimental() // untriaged 5781 @Experimental() // untriaged
5827 void blendFunc(int sfactor, int dfactor) => _blink.BlinkWebGL2RenderingContext .instance.blendFunc_Callback_2_(unwrap_jso(this), sfactor, dfactor); 5782 void blendFunc(int sfactor, int dfactor) => _blink.BlinkWebGL2RenderingContext .instance.blendFunc_Callback_2_(this, sfactor, dfactor);
5828 5783
5829 @DomName('WebGL2RenderingContext.blendFuncSeparate') 5784 @DomName('WebGL2RenderingContext.blendFuncSeparate')
5830 @DocsEditable() 5785 @DocsEditable()
5831 @Experimental() // untriaged 5786 @Experimental() // untriaged
5832 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) => _blink.BlinkWebGL2RenderingContext.instance.blendFuncSeparate_Callback_4_(unwrap _jso(this), srcRGB, dstRGB, srcAlpha, dstAlpha); 5787 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) => _blink.BlinkWebGL2RenderingContext.instance.blendFuncSeparate_Callback_4_(this, srcRGB, dstRGB, srcAlpha, dstAlpha);
5788
5789 @DomName('WebGL2RenderingContext.bufferByteData')
5790 @DocsEditable()
5791 @Experimental() // untriaged
5792 void bufferByteData(int target, ByteBuffer data, int usage) => _blink.BlinkWeb GL2RenderingContext.instance.bufferData_Callback_3_(this, target, data, usage);
5833 5793
5834 void bufferData(int target, data_OR_size, int usage) { 5794 void bufferData(int target, data_OR_size, int usage) {
5835 if ((usage is int) && (data_OR_size is int) && (target is int)) { 5795 if ((usage is int) && (data_OR_size is int) && (target is int)) {
5836 _blink.BlinkWebGL2RenderingContext.instance.bufferData_Callback_3_(unwrap_ jso(this), target, unwrap_jso(data_OR_size), usage); 5796 _blink.BlinkWebGL2RenderingContext.instance.bufferData_Callback_3_(this, t arget, data_OR_size, usage);
5837 return; 5797 return;
5838 } 5798 }
5839 if ((usage is int) && (data_OR_size is TypedData) && (target is int)) { 5799 if ((usage is int) && (data_OR_size is TypedData) && (target is int)) {
5840 _blink.BlinkWebGL2RenderingContext.instance.bufferData_Callback_3_(unwrap_ jso(this), target, unwrap_jso(data_OR_size), usage); 5800 _blink.BlinkWebGL2RenderingContext.instance.bufferData_Callback_3_(this, t arget, data_OR_size, usage);
5841 return; 5801 return;
5842 } 5802 }
5843 if ((usage is int) && (data_OR_size is ByteBuffer || data_OR_size == null) & & (target is int)) { 5803 if ((usage is int) && (data_OR_size is ByteBuffer || data_OR_size == null) & & (target is int)) {
5844 _blink.BlinkWebGL2RenderingContext.instance.bufferData_Callback_3_(unwrap_ jso(this), target, unwrap_jso(data_OR_size), usage); 5804 _blink.BlinkWebGL2RenderingContext.instance.bufferData_Callback_3_(this, t arget, data_OR_size, usage);
5845 return; 5805 return;
5846 } 5806 }
5847 throw new ArgumentError("Incorrect number or type of arguments"); 5807 throw new ArgumentError("Incorrect number or type of arguments");
5848 } 5808 }
5849 5809
5810 @DomName('WebGL2RenderingContext.bufferDataTyped')
5811 @DocsEditable()
5812 @Experimental() // untriaged
5813 void bufferDataTyped(int target, TypedData data, int usage) => _blink.BlinkWeb GL2RenderingContext.instance.bufferData_Callback_3_(this, target, data, usage);
5814
5815 @DomName('WebGL2RenderingContext.bufferSubByteData')
5816 @DocsEditable()
5817 @Experimental() // untriaged
5818 void bufferSubByteData(int target, int offset, ByteBuffer data) => _blink.Blin kWebGL2RenderingContext.instance.bufferSubData_Callback_3_(this, target, offset, data);
5819
5850 void bufferSubData(int target, int offset, data) { 5820 void bufferSubData(int target, int offset, data) {
5851 if ((data is TypedData) && (offset is int) && (target is int)) { 5821 if ((data is TypedData) && (offset is int) && (target is int)) {
5852 _blink.BlinkWebGL2RenderingContext.instance.bufferSubData_Callback_3_(unwr ap_jso(this), target, offset, unwrap_jso(data)); 5822 _blink.BlinkWebGL2RenderingContext.instance.bufferSubData_Callback_3_(this , target, offset, data);
5853 return; 5823 return;
5854 } 5824 }
5855 if ((data is ByteBuffer || data == null) && (offset is int) && (target is in t)) { 5825 if ((data is ByteBuffer || data == null) && (offset is int) && (target is in t)) {
5856 _blink.BlinkWebGL2RenderingContext.instance.bufferSubData_Callback_3_(unwr ap_jso(this), target, offset, unwrap_jso(data)); 5826 _blink.BlinkWebGL2RenderingContext.instance.bufferSubData_Callback_3_(this , target, offset, data);
5857 return; 5827 return;
5858 } 5828 }
5859 throw new ArgumentError("Incorrect number or type of arguments"); 5829 throw new ArgumentError("Incorrect number or type of arguments");
5860 } 5830 }
5861 5831
5832 @DomName('WebGL2RenderingContext.bufferSubDataTyped')
5833 @DocsEditable()
5834 @Experimental() // untriaged
5835 void bufferSubDataTyped(int target, int offset, TypedData data) => _blink.Blin kWebGL2RenderingContext.instance.bufferSubData_Callback_3_(this, target, offset, data);
5836
5862 @DomName('WebGL2RenderingContext.checkFramebufferStatus') 5837 @DomName('WebGL2RenderingContext.checkFramebufferStatus')
5863 @DocsEditable() 5838 @DocsEditable()
5864 @Experimental() // untriaged 5839 @Experimental() // untriaged
5865 int checkFramebufferStatus(int target) => _blink.BlinkWebGL2RenderingContext.i nstance.checkFramebufferStatus_Callback_1_(unwrap_jso(this), target); 5840 int checkFramebufferStatus(int target) => _blink.BlinkWebGL2RenderingContext.i nstance.checkFramebufferStatus_Callback_1_(this, target);
5866 5841
5867 @DomName('WebGL2RenderingContext.clear') 5842 @DomName('WebGL2RenderingContext.clear')
5868 @DocsEditable() 5843 @DocsEditable()
5869 @Experimental() // untriaged 5844 @Experimental() // untriaged
5870 void clear(int mask) => _blink.BlinkWebGL2RenderingContext.instance.clear_Call back_1_(unwrap_jso(this), mask); 5845 void clear(int mask) => _blink.BlinkWebGL2RenderingContext.instance.clear_Call back_1_(this, mask);
5871 5846
5872 @DomName('WebGL2RenderingContext.clearColor') 5847 @DomName('WebGL2RenderingContext.clearColor')
5873 @DocsEditable() 5848 @DocsEditable()
5874 @Experimental() // untriaged 5849 @Experimental() // untriaged
5875 void clearColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGL2 RenderingContext.instance.clearColor_Callback_4_(unwrap_jso(this), red, green, b lue, alpha); 5850 void clearColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGL2 RenderingContext.instance.clearColor_Callback_4_(this, red, green, blue, alpha);
5876 5851
5877 @DomName('WebGL2RenderingContext.clearDepth') 5852 @DomName('WebGL2RenderingContext.clearDepth')
5878 @DocsEditable() 5853 @DocsEditable()
5879 @Experimental() // untriaged 5854 @Experimental() // untriaged
5880 void clearDepth(num depth) => _blink.BlinkWebGL2RenderingContext.instance.clea rDepth_Callback_1_(unwrap_jso(this), depth); 5855 void clearDepth(num depth) => _blink.BlinkWebGL2RenderingContext.instance.clea rDepth_Callback_1_(this, depth);
5881 5856
5882 @DomName('WebGL2RenderingContext.clearStencil') 5857 @DomName('WebGL2RenderingContext.clearStencil')
5883 @DocsEditable() 5858 @DocsEditable()
5884 @Experimental() // untriaged 5859 @Experimental() // untriaged
5885 void clearStencil(int s) => _blink.BlinkWebGL2RenderingContext.instance.clearS tencil_Callback_1_(unwrap_jso(this), s); 5860 void clearStencil(int s) => _blink.BlinkWebGL2RenderingContext.instance.clearS tencil_Callback_1_(this, s);
5886 5861
5887 @DomName('WebGL2RenderingContext.colorMask') 5862 @DomName('WebGL2RenderingContext.colorMask')
5888 @DocsEditable() 5863 @DocsEditable()
5889 @Experimental() // untriaged 5864 @Experimental() // untriaged
5890 void colorMask(bool red, bool green, bool blue, bool alpha) => _blink.BlinkWeb GL2RenderingContext.instance.colorMask_Callback_4_(unwrap_jso(this), red, green, blue, alpha); 5865 void colorMask(bool red, bool green, bool blue, bool alpha) => _blink.BlinkWeb GL2RenderingContext.instance.colorMask_Callback_4_(this, red, green, blue, alpha );
5891 5866
5892 @DomName('WebGL2RenderingContext.compileShader') 5867 @DomName('WebGL2RenderingContext.compileShader')
5893 @DocsEditable() 5868 @DocsEditable()
5894 @Experimental() // untriaged 5869 @Experimental() // untriaged
5895 void compileShader(Shader shader) => _blink.BlinkWebGL2RenderingContext.instan ce.compileShader_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); 5870 void compileShader(Shader shader) => _blink.BlinkWebGL2RenderingContext.instan ce.compileShader_Callback_1_(this, shader);
5896 5871
5897 @DomName('WebGL2RenderingContext.compressedTexImage2D') 5872 @DomName('WebGL2RenderingContext.compressedTexImage2D')
5898 @DocsEditable() 5873 @DocsEditable()
5899 @Experimental() // untriaged 5874 @Experimental() // untriaged
5900 void compressedTexImage2D(int target, int level, int internalformat, int width , int height, int border, TypedData data) => _blink.BlinkWebGL2RenderingContext. instance.compressedTexImage2D_Callback_7_(unwrap_jso(this), target, level, inter nalformat, width, height, border, unwrap_jso(data)); 5875 void compressedTexImage2D(int target, int level, int internalformat, int width , int height, int border, TypedData data) => _blink.BlinkWebGL2RenderingContext. instance.compressedTexImage2D_Callback_7_(this, target, level, internalformat, w idth, height, border, data);
5901 5876
5902 @DomName('WebGL2RenderingContext.compressedTexSubImage2D') 5877 @DomName('WebGL2RenderingContext.compressedTexSubImage2D')
5903 @DocsEditable() 5878 @DocsEditable()
5904 @Experimental() // untriaged 5879 @Experimental() // untriaged
5905 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, TypedData data) => _blink.BlinkWebGL2Renderin gContext.instance.compressedTexSubImage2D_Callback_8_(unwrap_jso(this), target, level, xoffset, yoffset, width, height, format, unwrap_jso(data)); 5880 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, TypedData data) => _blink.BlinkWebGL2Renderin gContext.instance.compressedTexSubImage2D_Callback_8_(this, target, level, xoffs et, yoffset, width, height, format, data);
5906 5881
5907 @DomName('WebGL2RenderingContext.copyTexImage2D') 5882 @DomName('WebGL2RenderingContext.copyTexImage2D')
5908 @DocsEditable() 5883 @DocsEditable()
5909 @Experimental() // untriaged 5884 @Experimental() // untriaged
5910 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i nt width, int height, int border) => _blink.BlinkWebGL2RenderingContext.instance .copyTexImage2D_Callback_8_(unwrap_jso(this), target, level, internalformat, x, y, width, height, border); 5885 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i nt width, int height, int border) => _blink.BlinkWebGL2RenderingContext.instance .copyTexImage2D_Callback_8_(this, target, level, internalformat, x, y, width, he ight, border);
5911 5886
5912 @DomName('WebGL2RenderingContext.copyTexSubImage2D') 5887 @DomName('WebGL2RenderingContext.copyTexSubImage2D')
5913 @DocsEditable() 5888 @DocsEditable()
5914 @Experimental() // untriaged 5889 @Experimental() // untriaged
5915 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) => _blink.BlinkWebGL2RenderingContext.instance.co pyTexSubImage2D_Callback_8_(unwrap_jso(this), target, level, xoffset, yoffset, x , y, width, height); 5890 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) => _blink.BlinkWebGL2RenderingContext.instance.co pyTexSubImage2D_Callback_8_(this, target, level, xoffset, yoffset, x, y, width, height);
5916 5891
5917 @DomName('WebGL2RenderingContext.createBuffer') 5892 @DomName('WebGL2RenderingContext.createBuffer')
5918 @DocsEditable() 5893 @DocsEditable()
5919 @Experimental() // untriaged 5894 @Experimental() // untriaged
5920 Buffer createBuffer() => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance. createBuffer_Callback_0_(unwrap_jso(this))); 5895 Buffer createBuffer() => _blink.BlinkWebGL2RenderingContext.instance.createBuf fer_Callback_0_(this);
5921 5896
5922 @DomName('WebGL2RenderingContext.createFramebuffer') 5897 @DomName('WebGL2RenderingContext.createFramebuffer')
5923 @DocsEditable() 5898 @DocsEditable()
5924 @Experimental() // untriaged 5899 @Experimental() // untriaged
5925 Framebuffer createFramebuffer() => wrap_jso(_blink.BlinkWebGL2RenderingContext .instance.createFramebuffer_Callback_0_(unwrap_jso(this))); 5900 Framebuffer createFramebuffer() => _blink.BlinkWebGL2RenderingContext.instance .createFramebuffer_Callback_0_(this);
5926 5901
5927 @DomName('WebGL2RenderingContext.createProgram') 5902 @DomName('WebGL2RenderingContext.createProgram')
5928 @DocsEditable() 5903 @DocsEditable()
5929 @Experimental() // untriaged 5904 @Experimental() // untriaged
5930 Program createProgram() => wrap_jso(_blink.BlinkWebGL2RenderingContext.instanc e.createProgram_Callback_0_(unwrap_jso(this))); 5905 Program createProgram() => _blink.BlinkWebGL2RenderingContext.instance.createP rogram_Callback_0_(this);
5931 5906
5932 @DomName('WebGL2RenderingContext.createRenderbuffer') 5907 @DomName('WebGL2RenderingContext.createRenderbuffer')
5933 @DocsEditable() 5908 @DocsEditable()
5934 @Experimental() // untriaged 5909 @Experimental() // untriaged
5935 Renderbuffer createRenderbuffer() => wrap_jso(_blink.BlinkWebGL2RenderingConte xt.instance.createRenderbuffer_Callback_0_(unwrap_jso(this))); 5910 Renderbuffer createRenderbuffer() => _blink.BlinkWebGL2RenderingContext.instan ce.createRenderbuffer_Callback_0_(this);
5936 5911
5937 @DomName('WebGL2RenderingContext.createShader') 5912 @DomName('WebGL2RenderingContext.createShader')
5938 @DocsEditable() 5913 @DocsEditable()
5939 @Experimental() // untriaged 5914 @Experimental() // untriaged
5940 Shader createShader(int type) => wrap_jso(_blink.BlinkWebGL2RenderingContext.i nstance.createShader_Callback_1_(unwrap_jso(this), type)); 5915 Shader createShader(int type) => _blink.BlinkWebGL2RenderingContext.instance.c reateShader_Callback_1_(this, type);
5941 5916
5942 @DomName('WebGL2RenderingContext.createTexture') 5917 @DomName('WebGL2RenderingContext.createTexture')
5943 @DocsEditable() 5918 @DocsEditable()
5944 @Experimental() // untriaged 5919 @Experimental() // untriaged
5945 Texture createTexture() => wrap_jso(_blink.BlinkWebGL2RenderingContext.instanc e.createTexture_Callback_0_(unwrap_jso(this))); 5920 Texture createTexture() => _blink.BlinkWebGL2RenderingContext.instance.createT exture_Callback_0_(this);
5946 5921
5947 @DomName('WebGL2RenderingContext.cullFace') 5922 @DomName('WebGL2RenderingContext.cullFace')
5948 @DocsEditable() 5923 @DocsEditable()
5949 @Experimental() // untriaged 5924 @Experimental() // untriaged
5950 void cullFace(int mode) => _blink.BlinkWebGL2RenderingContext.instance.cullFac e_Callback_1_(unwrap_jso(this), mode); 5925 void cullFace(int mode) => _blink.BlinkWebGL2RenderingContext.instance.cullFac e_Callback_1_(this, mode);
5951 5926
5952 @DomName('WebGL2RenderingContext.deleteBuffer') 5927 @DomName('WebGL2RenderingContext.deleteBuffer')
5953 @DocsEditable() 5928 @DocsEditable()
5954 @Experimental() // untriaged 5929 @Experimental() // untriaged
5955 void deleteBuffer(Buffer buffer) => _blink.BlinkWebGL2RenderingContext.instanc e.deleteBuffer_Callback_1_(unwrap_jso(this), unwrap_jso(buffer)); 5930 void deleteBuffer(Buffer buffer) => _blink.BlinkWebGL2RenderingContext.instanc e.deleteBuffer_Callback_1_(this, buffer);
5956 5931
5957 @DomName('WebGL2RenderingContext.deleteFramebuffer') 5932 @DomName('WebGL2RenderingContext.deleteFramebuffer')
5958 @DocsEditable() 5933 @DocsEditable()
5959 @Experimental() // untriaged 5934 @Experimental() // untriaged
5960 void deleteFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGL2Rendering Context.instance.deleteFramebuffer_Callback_1_(unwrap_jso(this), unwrap_jso(fram ebuffer)); 5935 void deleteFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGL2Rendering Context.instance.deleteFramebuffer_Callback_1_(this, framebuffer);
5961 5936
5962 @DomName('WebGL2RenderingContext.deleteProgram') 5937 @DomName('WebGL2RenderingContext.deleteProgram')
5963 @DocsEditable() 5938 @DocsEditable()
5964 @Experimental() // untriaged 5939 @Experimental() // untriaged
5965 void deleteProgram(Program program) => _blink.BlinkWebGL2RenderingContext.inst ance.deleteProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); 5940 void deleteProgram(Program program) => _blink.BlinkWebGL2RenderingContext.inst ance.deleteProgram_Callback_1_(this, program);
5966 5941
5967 @DomName('WebGL2RenderingContext.deleteRenderbuffer') 5942 @DomName('WebGL2RenderingContext.deleteRenderbuffer')
5968 @DocsEditable() 5943 @DocsEditable()
5969 @Experimental() // untriaged 5944 @Experimental() // untriaged
5970 void deleteRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGL2Render ingContext.instance.deleteRenderbuffer_Callback_1_(unwrap_jso(this), unwrap_jso( renderbuffer)); 5945 void deleteRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGL2Render ingContext.instance.deleteRenderbuffer_Callback_1_(this, renderbuffer);
5971 5946
5972 @DomName('WebGL2RenderingContext.deleteShader') 5947 @DomName('WebGL2RenderingContext.deleteShader')
5973 @DocsEditable() 5948 @DocsEditable()
5974 @Experimental() // untriaged 5949 @Experimental() // untriaged
5975 void deleteShader(Shader shader) => _blink.BlinkWebGL2RenderingContext.instanc e.deleteShader_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); 5950 void deleteShader(Shader shader) => _blink.BlinkWebGL2RenderingContext.instanc e.deleteShader_Callback_1_(this, shader);
5976 5951
5977 @DomName('WebGL2RenderingContext.deleteTexture') 5952 @DomName('WebGL2RenderingContext.deleteTexture')
5978 @DocsEditable() 5953 @DocsEditable()
5979 @Experimental() // untriaged 5954 @Experimental() // untriaged
5980 void deleteTexture(Texture texture) => _blink.BlinkWebGL2RenderingContext.inst ance.deleteTexture_Callback_1_(unwrap_jso(this), unwrap_jso(texture)); 5955 void deleteTexture(Texture texture) => _blink.BlinkWebGL2RenderingContext.inst ance.deleteTexture_Callback_1_(this, texture);
5981 5956
5982 @DomName('WebGL2RenderingContext.depthFunc') 5957 @DomName('WebGL2RenderingContext.depthFunc')
5983 @DocsEditable() 5958 @DocsEditable()
5984 @Experimental() // untriaged 5959 @Experimental() // untriaged
5985 void depthFunc(int func) => _blink.BlinkWebGL2RenderingContext.instance.depthF unc_Callback_1_(unwrap_jso(this), func); 5960 void depthFunc(int func) => _blink.BlinkWebGL2RenderingContext.instance.depthF unc_Callback_1_(this, func);
5986 5961
5987 @DomName('WebGL2RenderingContext.depthMask') 5962 @DomName('WebGL2RenderingContext.depthMask')
5988 @DocsEditable() 5963 @DocsEditable()
5989 @Experimental() // untriaged 5964 @Experimental() // untriaged
5990 void depthMask(bool flag) => _blink.BlinkWebGL2RenderingContext.instance.depth Mask_Callback_1_(unwrap_jso(this), flag); 5965 void depthMask(bool flag) => _blink.BlinkWebGL2RenderingContext.instance.depth Mask_Callback_1_(this, flag);
5991 5966
5992 @DomName('WebGL2RenderingContext.depthRange') 5967 @DomName('WebGL2RenderingContext.depthRange')
5993 @DocsEditable() 5968 @DocsEditable()
5994 @Experimental() // untriaged 5969 @Experimental() // untriaged
5995 void depthRange(num zNear, num zFar) => _blink.BlinkWebGL2RenderingContext.ins tance.depthRange_Callback_2_(unwrap_jso(this), zNear, zFar); 5970 void depthRange(num zNear, num zFar) => _blink.BlinkWebGL2RenderingContext.ins tance.depthRange_Callback_2_(this, zNear, zFar);
5996 5971
5997 @DomName('WebGL2RenderingContext.detachShader') 5972 @DomName('WebGL2RenderingContext.detachShader')
5998 @DocsEditable() 5973 @DocsEditable()
5999 @Experimental() // untriaged 5974 @Experimental() // untriaged
6000 void detachShader(Program program, Shader shader) => _blink.BlinkWebGL2Renderi ngContext.instance.detachShader_Callback_2_(unwrap_jso(this), unwrap_jso(program ), unwrap_jso(shader)); 5975 void detachShader(Program program, Shader shader) => _blink.BlinkWebGL2Renderi ngContext.instance.detachShader_Callback_2_(this, program, shader);
6001 5976
6002 @DomName('WebGL2RenderingContext.disable') 5977 @DomName('WebGL2RenderingContext.disable')
6003 @DocsEditable() 5978 @DocsEditable()
6004 @Experimental() // untriaged 5979 @Experimental() // untriaged
6005 void disable(int cap) => _blink.BlinkWebGL2RenderingContext.instance.disable_C allback_1_(unwrap_jso(this), cap); 5980 void disable(int cap) => _blink.BlinkWebGL2RenderingContext.instance.disable_C allback_1_(this, cap);
6006 5981
6007 @DomName('WebGL2RenderingContext.disableVertexAttribArray') 5982 @DomName('WebGL2RenderingContext.disableVertexAttribArray')
6008 @DocsEditable() 5983 @DocsEditable()
6009 @Experimental() // untriaged 5984 @Experimental() // untriaged
6010 void disableVertexAttribArray(int index) => _blink.BlinkWebGL2RenderingContext .instance.disableVertexAttribArray_Callback_1_(unwrap_jso(this), index); 5985 void disableVertexAttribArray(int index) => _blink.BlinkWebGL2RenderingContext .instance.disableVertexAttribArray_Callback_1_(this, index);
6011 5986
6012 @DomName('WebGL2RenderingContext.drawArrays') 5987 @DomName('WebGL2RenderingContext.drawArrays')
6013 @DocsEditable() 5988 @DocsEditable()
6014 @Experimental() // untriaged 5989 @Experimental() // untriaged
6015 void drawArrays(int mode, int first, int count) => _blink.BlinkWebGL2Rendering Context.instance.drawArrays_Callback_3_(unwrap_jso(this), mode, first, count); 5990 void drawArrays(int mode, int first, int count) => _blink.BlinkWebGL2Rendering Context.instance.drawArrays_Callback_3_(this, mode, first, count);
6016 5991
6017 @DomName('WebGL2RenderingContext.drawElements') 5992 @DomName('WebGL2RenderingContext.drawElements')
6018 @DocsEditable() 5993 @DocsEditable()
6019 @Experimental() // untriaged 5994 @Experimental() // untriaged
6020 void drawElements(int mode, int count, int type, int offset) => _blink.BlinkWe bGL2RenderingContext.instance.drawElements_Callback_4_(unwrap_jso(this), mode, c ount, type, offset); 5995 void drawElements(int mode, int count, int type, int offset) => _blink.BlinkWe bGL2RenderingContext.instance.drawElements_Callback_4_(this, mode, count, type, offset);
6021 5996
6022 @DomName('WebGL2RenderingContext.enable') 5997 @DomName('WebGL2RenderingContext.enable')
6023 @DocsEditable() 5998 @DocsEditable()
6024 @Experimental() // untriaged 5999 @Experimental() // untriaged
6025 void enable(int cap) => _blink.BlinkWebGL2RenderingContext.instance.enable_Cal lback_1_(unwrap_jso(this), cap); 6000 void enable(int cap) => _blink.BlinkWebGL2RenderingContext.instance.enable_Cal lback_1_(this, cap);
6026 6001
6027 @DomName('WebGL2RenderingContext.enableVertexAttribArray') 6002 @DomName('WebGL2RenderingContext.enableVertexAttribArray')
6028 @DocsEditable() 6003 @DocsEditable()
6029 @Experimental() // untriaged 6004 @Experimental() // untriaged
6030 void enableVertexAttribArray(int index) => _blink.BlinkWebGL2RenderingContext. instance.enableVertexAttribArray_Callback_1_(unwrap_jso(this), index); 6005 void enableVertexAttribArray(int index) => _blink.BlinkWebGL2RenderingContext. instance.enableVertexAttribArray_Callback_1_(this, index);
6031 6006
6032 @DomName('WebGL2RenderingContext.finish') 6007 @DomName('WebGL2RenderingContext.finish')
6033 @DocsEditable() 6008 @DocsEditable()
6034 @Experimental() // untriaged 6009 @Experimental() // untriaged
6035 void finish() => _blink.BlinkWebGL2RenderingContext.instance.finish_Callback_0 _(unwrap_jso(this)); 6010 void finish() => _blink.BlinkWebGL2RenderingContext.instance.finish_Callback_0 _(this);
6036 6011
6037 @DomName('WebGL2RenderingContext.flush') 6012 @DomName('WebGL2RenderingContext.flush')
6038 @DocsEditable() 6013 @DocsEditable()
6039 @Experimental() // untriaged 6014 @Experimental() // untriaged
6040 void flush() => _blink.BlinkWebGL2RenderingContext.instance.flush_Callback_0_( unwrap_jso(this)); 6015 void flush() => _blink.BlinkWebGL2RenderingContext.instance.flush_Callback_0_( this);
6041 6016
6042 @DomName('WebGL2RenderingContext.framebufferRenderbuffer') 6017 @DomName('WebGL2RenderingContext.framebufferRenderbuffer')
6043 @DocsEditable() 6018 @DocsEditable()
6044 @Experimental() // untriaged 6019 @Experimental() // untriaged
6045 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge t, Renderbuffer renderbuffer) => _blink.BlinkWebGL2RenderingContext.instance.fra mebufferRenderbuffer_Callback_4_(unwrap_jso(this), target, attachment, renderbuf fertarget, unwrap_jso(renderbuffer)); 6020 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge t, Renderbuffer renderbuffer) => _blink.BlinkWebGL2RenderingContext.instance.fra mebufferRenderbuffer_Callback_4_(this, target, attachment, renderbuffertarget, r enderbuffer);
6046 6021
6047 @DomName('WebGL2RenderingContext.framebufferTexture2D') 6022 @DomName('WebGL2RenderingContext.framebufferTexture2D')
6048 @DocsEditable() 6023 @DocsEditable()
6049 @Experimental() // untriaged 6024 @Experimental() // untriaged
6050 void framebufferTexture2D(int target, int attachment, int textarget, Texture t exture, int level) => _blink.BlinkWebGL2RenderingContext.instance.framebufferTex ture2D_Callback_5_(unwrap_jso(this), target, attachment, textarget, unwrap_jso(t exture), level); 6025 void framebufferTexture2D(int target, int attachment, int textarget, Texture t exture, int level) => _blink.BlinkWebGL2RenderingContext.instance.framebufferTex ture2D_Callback_5_(this, target, attachment, textarget, texture, level);
6051 6026
6052 @DomName('WebGL2RenderingContext.frontFace') 6027 @DomName('WebGL2RenderingContext.frontFace')
6053 @DocsEditable() 6028 @DocsEditable()
6054 @Experimental() // untriaged 6029 @Experimental() // untriaged
6055 void frontFace(int mode) => _blink.BlinkWebGL2RenderingContext.instance.frontF ace_Callback_1_(unwrap_jso(this), mode); 6030 void frontFace(int mode) => _blink.BlinkWebGL2RenderingContext.instance.frontF ace_Callback_1_(this, mode);
6056 6031
6057 @DomName('WebGL2RenderingContext.generateMipmap') 6032 @DomName('WebGL2RenderingContext.generateMipmap')
6058 @DocsEditable() 6033 @DocsEditable()
6059 @Experimental() // untriaged 6034 @Experimental() // untriaged
6060 void generateMipmap(int target) => _blink.BlinkWebGL2RenderingContext.instance .generateMipmap_Callback_1_(unwrap_jso(this), target); 6035 void generateMipmap(int target) => _blink.BlinkWebGL2RenderingContext.instance .generateMipmap_Callback_1_(this, target);
6061 6036
6062 @DomName('WebGL2RenderingContext.getActiveAttrib') 6037 @DomName('WebGL2RenderingContext.getActiveAttrib')
6063 @DocsEditable() 6038 @DocsEditable()
6064 @Experimental() // untriaged 6039 @Experimental() // untriaged
6065 ActiveInfo getActiveAttrib(Program program, int index) => wrap_jso(_blink.Blin kWebGL2RenderingContext.instance.getActiveAttrib_Callback_2_(unwrap_jso(this), u nwrap_jso(program), index)); 6040 ActiveInfo getActiveAttrib(Program program, int index) => _blink.BlinkWebGL2Re nderingContext.instance.getActiveAttrib_Callback_2_(this, program, index);
6066 6041
6067 @DomName('WebGL2RenderingContext.getActiveUniform') 6042 @DomName('WebGL2RenderingContext.getActiveUniform')
6068 @DocsEditable() 6043 @DocsEditable()
6069 @Experimental() // untriaged 6044 @Experimental() // untriaged
6070 ActiveInfo getActiveUniform(Program program, int index) => wrap_jso(_blink.Bli nkWebGL2RenderingContext.instance.getActiveUniform_Callback_2_(unwrap_jso(this), unwrap_jso(program), index)); 6045 ActiveInfo getActiveUniform(Program program, int index) => _blink.BlinkWebGL2R enderingContext.instance.getActiveUniform_Callback_2_(this, program, index);
6071 6046
6072 @DomName('WebGL2RenderingContext.getAttachedShaders') 6047 @DomName('WebGL2RenderingContext.getAttachedShaders')
6073 @DocsEditable() 6048 @DocsEditable()
6074 @Experimental() // untriaged 6049 @Experimental() // untriaged
6075 List<Shader> getAttachedShaders(Program program) => wrap_jso(_blink.BlinkWebGL 2RenderingContext.instance.getAttachedShaders_Callback_1_(unwrap_jso(this), unwr ap_jso(program))); 6050 List<Shader> getAttachedShaders(Program program) => _blink.BlinkWebGL2Renderin gContext.instance.getAttachedShaders_Callback_1_(this, program);
6076 6051
6077 @DomName('WebGL2RenderingContext.getAttribLocation') 6052 @DomName('WebGL2RenderingContext.getAttribLocation')
6078 @DocsEditable() 6053 @DocsEditable()
6079 @Experimental() // untriaged 6054 @Experimental() // untriaged
6080 int getAttribLocation(Program program, String name) => _blink.BlinkWebGL2Rende ringContext.instance.getAttribLocation_Callback_2_(unwrap_jso(this), unwrap_jso( program), name); 6055 int getAttribLocation(Program program, String name) => _blink.BlinkWebGL2Rende ringContext.instance.getAttribLocation_Callback_2_(this, program, name);
6081 6056
6082 @DomName('WebGL2RenderingContext.getBufferParameter') 6057 @DomName('WebGL2RenderingContext.getBufferParameter')
6083 @DocsEditable() 6058 @DocsEditable()
6084 @Experimental() // untriaged 6059 @Experimental() // untriaged
6085 Object getBufferParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGL 2RenderingContext.instance.getBufferParameter_Callback_2_(unwrap_jso(this), targ et, pname)); 6060 Object getBufferParameter(int target, int pname) => (_blink.BlinkWebGL2Renderi ngContext.instance.getBufferParameter_Callback_2_(this, target, pname));
6086 6061
6087 @DomName('WebGL2RenderingContext.getContextAttributes') 6062 @DomName('WebGL2RenderingContext.getContextAttributes')
6088 @DocsEditable() 6063 @DocsEditable()
6089 @Experimental() // untriaged 6064 @Experimental() // untriaged
6090 getContextAttributes() => convertNativeDictionaryToDartDictionary(wrap_jso(_b link.BlinkWebGL2RenderingContext.instance.getContextAttributes_Callback_0_(unwra p_jso(this)))); 6065 getContextAttributes() => convertNativeDictionaryToDartDictionary((_blink.Bli nkWebGL2RenderingContext.instance.getContextAttributes_Callback_0_(this)));
6091 6066
6092 @DomName('WebGL2RenderingContext.getError') 6067 @DomName('WebGL2RenderingContext.getError')
6093 @DocsEditable() 6068 @DocsEditable()
6094 @Experimental() // untriaged 6069 @Experimental() // untriaged
6095 int getError() => _blink.BlinkWebGL2RenderingContext.instance.getError_Callbac k_0_(unwrap_jso(this)); 6070 int getError() => _blink.BlinkWebGL2RenderingContext.instance.getError_Callbac k_0_(this);
6096 6071
6097 @DomName('WebGL2RenderingContext.getExtension') 6072 @DomName('WebGL2RenderingContext.getExtension')
6098 @DocsEditable() 6073 @DocsEditable()
6099 @Experimental() // untriaged 6074 @Experimental() // untriaged
6100 Object getExtension(String name) => wrap_jso(_blink.BlinkWebGL2RenderingContex t.instance.getExtension_Callback_1_(unwrap_jso(this), name)); 6075 Object getExtension(String name) => (_blink.BlinkWebGL2RenderingContext.instan ce.getExtension_Callback_1_(this, name));
6101 6076
6102 @DomName('WebGL2RenderingContext.getFramebufferAttachmentParameter') 6077 @DomName('WebGL2RenderingContext.getFramebufferAttachmentParameter')
6103 @DocsEditable() 6078 @DocsEditable()
6104 @Experimental() // untriaged 6079 @Experimental() // untriaged
6105 Object getFramebufferAttachmentParameter(int target, int attachment, int pname ) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getFramebufferAttachme ntParameter_Callback_3_(unwrap_jso(this), target, attachment, pname)); 6080 Object getFramebufferAttachmentParameter(int target, int attachment, int pname ) => (_blink.BlinkWebGL2RenderingContext.instance.getFramebufferAttachmentParame ter_Callback_3_(this, target, attachment, pname));
6106 6081
6107 @DomName('WebGL2RenderingContext.getParameter') 6082 @DomName('WebGL2RenderingContext.getParameter')
6108 @DocsEditable() 6083 @DocsEditable()
6109 @Experimental() // untriaged 6084 @Experimental() // untriaged
6110 Object getParameter(int pname) => wrap_jso(_blink.BlinkWebGL2RenderingContext. instance.getParameter_Callback_1_(unwrap_jso(this), pname)); 6085 Object getParameter(int pname) => (_blink.BlinkWebGL2RenderingContext.instance .getParameter_Callback_1_(this, pname));
6111 6086
6112 @DomName('WebGL2RenderingContext.getProgramInfoLog') 6087 @DomName('WebGL2RenderingContext.getProgramInfoLog')
6113 @DocsEditable() 6088 @DocsEditable()
6114 @Experimental() // untriaged 6089 @Experimental() // untriaged
6115 String getProgramInfoLog(Program program) => _blink.BlinkWebGL2RenderingContex t.instance.getProgramInfoLog_Callback_1_(unwrap_jso(this), unwrap_jso(program)); 6090 String getProgramInfoLog(Program program) => _blink.BlinkWebGL2RenderingContex t.instance.getProgramInfoLog_Callback_1_(this, program);
6116 6091
6117 @DomName('WebGL2RenderingContext.getProgramParameter') 6092 @DomName('WebGL2RenderingContext.getProgramParameter')
6118 @DocsEditable() 6093 @DocsEditable()
6119 @Experimental() // untriaged 6094 @Experimental() // untriaged
6120 Object getProgramParameter(Program program, int pname) => wrap_jso(_blink.Blin kWebGL2RenderingContext.instance.getProgramParameter_Callback_2_(unwrap_jso(this ), unwrap_jso(program), pname)); 6095 Object getProgramParameter(Program program, int pname) => (_blink.BlinkWebGL2R enderingContext.instance.getProgramParameter_Callback_2_(this, program, pname));
6121 6096
6122 @DomName('WebGL2RenderingContext.getRenderbufferParameter') 6097 @DomName('WebGL2RenderingContext.getRenderbufferParameter')
6123 @DocsEditable() 6098 @DocsEditable()
6124 @Experimental() // untriaged 6099 @Experimental() // untriaged
6125 Object getRenderbufferParameter(int target, int pname) => wrap_jso(_blink.Blin kWebGL2RenderingContext.instance.getRenderbufferParameter_Callback_2_(unwrap_jso (this), target, pname)); 6100 Object getRenderbufferParameter(int target, int pname) => (_blink.BlinkWebGL2R enderingContext.instance.getRenderbufferParameter_Callback_2_(this, target, pnam e));
6126 6101
6127 @DomName('WebGL2RenderingContext.getShaderInfoLog') 6102 @DomName('WebGL2RenderingContext.getShaderInfoLog')
6128 @DocsEditable() 6103 @DocsEditable()
6129 @Experimental() // untriaged 6104 @Experimental() // untriaged
6130 String getShaderInfoLog(Shader shader) => _blink.BlinkWebGL2RenderingContext.i nstance.getShaderInfoLog_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); 6105 String getShaderInfoLog(Shader shader) => _blink.BlinkWebGL2RenderingContext.i nstance.getShaderInfoLog_Callback_1_(this, shader);
6131 6106
6132 @DomName('WebGL2RenderingContext.getShaderParameter') 6107 @DomName('WebGL2RenderingContext.getShaderParameter')
6133 @DocsEditable() 6108 @DocsEditable()
6134 @Experimental() // untriaged 6109 @Experimental() // untriaged
6135 Object getShaderParameter(Shader shader, int pname) => wrap_jso(_blink.BlinkWe bGL2RenderingContext.instance.getShaderParameter_Callback_2_(unwrap_jso(this), u nwrap_jso(shader), pname)); 6110 Object getShaderParameter(Shader shader, int pname) => (_blink.BlinkWebGL2Rend eringContext.instance.getShaderParameter_Callback_2_(this, shader, pname));
6136 6111
6137 @DomName('WebGL2RenderingContext.getShaderPrecisionFormat') 6112 @DomName('WebGL2RenderingContext.getShaderPrecisionFormat')
6138 @DocsEditable() 6113 @DocsEditable()
6139 @Experimental() // untriaged 6114 @Experimental() // untriaged
6140 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty pe) => wrap_jso(_blink.BlinkWebGL2RenderingContext.instance.getShaderPrecisionFo rmat_Callback_2_(unwrap_jso(this), shadertype, precisiontype)); 6115 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty pe) => _blink.BlinkWebGL2RenderingContext.instance.getShaderPrecisionFormat_Call back_2_(this, shadertype, precisiontype);
6141 6116
6142 @DomName('WebGL2RenderingContext.getShaderSource') 6117 @DomName('WebGL2RenderingContext.getShaderSource')
6143 @DocsEditable() 6118 @DocsEditable()
6144 @Experimental() // untriaged 6119 @Experimental() // untriaged
6145 String getShaderSource(Shader shader) => _blink.BlinkWebGL2RenderingContext.in stance.getShaderSource_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); 6120 String getShaderSource(Shader shader) => _blink.BlinkWebGL2RenderingContext.in stance.getShaderSource_Callback_1_(this, shader);
6146 6121
6147 @DomName('WebGL2RenderingContext.getSupportedExtensions') 6122 @DomName('WebGL2RenderingContext.getSupportedExtensions')
6148 @DocsEditable() 6123 @DocsEditable()
6149 @Experimental() // untriaged 6124 @Experimental() // untriaged
6150 List<String> getSupportedExtensions() => _blink.BlinkWebGL2RenderingContext.in stance.getSupportedExtensions_Callback_0_(unwrap_jso(this)); 6125 List<String> getSupportedExtensions() => _blink.BlinkWebGL2RenderingContext.in stance.getSupportedExtensions_Callback_0_(this);
6151 6126
6152 @DomName('WebGL2RenderingContext.getTexParameter') 6127 @DomName('WebGL2RenderingContext.getTexParameter')
6153 @DocsEditable() 6128 @DocsEditable()
6154 @Experimental() // untriaged 6129 @Experimental() // untriaged
6155 Object getTexParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGL2Re nderingContext.instance.getTexParameter_Callback_2_(unwrap_jso(this), target, pn ame)); 6130 Object getTexParameter(int target, int pname) => (_blink.BlinkWebGL2RenderingC ontext.instance.getTexParameter_Callback_2_(this, target, pname));
6156 6131
6157 @DomName('WebGL2RenderingContext.getUniform') 6132 @DomName('WebGL2RenderingContext.getUniform')
6158 @DocsEditable() 6133 @DocsEditable()
6159 @Experimental() // untriaged 6134 @Experimental() // untriaged
6160 Object getUniform(Program program, UniformLocation location) => wrap_jso(_blin k.BlinkWebGL2RenderingContext.instance.getUniform_Callback_2_(unwrap_jso(this), unwrap_jso(program), unwrap_jso(location))); 6135 Object getUniform(Program program, UniformLocation location) => (_blink.BlinkW ebGL2RenderingContext.instance.getUniform_Callback_2_(this, program, location));
6161 6136
6162 @DomName('WebGL2RenderingContext.getUniformLocation') 6137 @DomName('WebGL2RenderingContext.getUniformLocation')
6163 @DocsEditable() 6138 @DocsEditable()
6164 @Experimental() // untriaged 6139 @Experimental() // untriaged
6165 UniformLocation getUniformLocation(Program program, String name) => wrap_jso(_ blink.BlinkWebGL2RenderingContext.instance.getUniformLocation_Callback_2_(unwrap _jso(this), unwrap_jso(program), name)); 6140 UniformLocation getUniformLocation(Program program, String name) => _blink.Bli nkWebGL2RenderingContext.instance.getUniformLocation_Callback_2_(this, program, name);
6166 6141
6167 @DomName('WebGL2RenderingContext.getVertexAttrib') 6142 @DomName('WebGL2RenderingContext.getVertexAttrib')
6168 @DocsEditable() 6143 @DocsEditable()
6169 @Experimental() // untriaged 6144 @Experimental() // untriaged
6170 Object getVertexAttrib(int index, int pname) => wrap_jso(_blink.BlinkWebGL2Ren deringContext.instance.getVertexAttrib_Callback_2_(unwrap_jso(this), index, pnam e)); 6145 Object getVertexAttrib(int index, int pname) => (_blink.BlinkWebGL2RenderingCo ntext.instance.getVertexAttrib_Callback_2_(this, index, pname));
6171 6146
6172 @DomName('WebGL2RenderingContext.getVertexAttribOffset') 6147 @DomName('WebGL2RenderingContext.getVertexAttribOffset')
6173 @DocsEditable() 6148 @DocsEditable()
6174 @Experimental() // untriaged 6149 @Experimental() // untriaged
6175 int getVertexAttribOffset(int index, int pname) => _blink.BlinkWebGL2Rendering Context.instance.getVertexAttribOffset_Callback_2_(unwrap_jso(this), index, pnam e); 6150 int getVertexAttribOffset(int index, int pname) => _blink.BlinkWebGL2Rendering Context.instance.getVertexAttribOffset_Callback_2_(this, index, pname);
6176 6151
6177 @DomName('WebGL2RenderingContext.hint') 6152 @DomName('WebGL2RenderingContext.hint')
6178 @DocsEditable() 6153 @DocsEditable()
6179 @Experimental() // untriaged 6154 @Experimental() // untriaged
6180 void hint(int target, int mode) => _blink.BlinkWebGL2RenderingContext.instance .hint_Callback_2_(unwrap_jso(this), target, mode); 6155 void hint(int target, int mode) => _blink.BlinkWebGL2RenderingContext.instance .hint_Callback_2_(this, target, mode);
6181 6156
6182 @DomName('WebGL2RenderingContext.isBuffer') 6157 @DomName('WebGL2RenderingContext.isBuffer')
6183 @DocsEditable() 6158 @DocsEditable()
6184 @Experimental() // untriaged 6159 @Experimental() // untriaged
6185 bool isBuffer(Buffer buffer) => _blink.BlinkWebGL2RenderingContext.instance.is Buffer_Callback_1_(unwrap_jso(this), unwrap_jso(buffer)); 6160 bool isBuffer(Buffer buffer) => _blink.BlinkWebGL2RenderingContext.instance.is Buffer_Callback_1_(this, buffer);
6186 6161
6187 @DomName('WebGL2RenderingContext.isContextLost') 6162 @DomName('WebGL2RenderingContext.isContextLost')
6188 @DocsEditable() 6163 @DocsEditable()
6189 @Experimental() // untriaged 6164 @Experimental() // untriaged
6190 bool isContextLost() => _blink.BlinkWebGL2RenderingContext.instance.isContextL ost_Callback_0_(unwrap_jso(this)); 6165 bool isContextLost() => _blink.BlinkWebGL2RenderingContext.instance.isContextL ost_Callback_0_(this);
6191 6166
6192 @DomName('WebGL2RenderingContext.isEnabled') 6167 @DomName('WebGL2RenderingContext.isEnabled')
6193 @DocsEditable() 6168 @DocsEditable()
6194 @Experimental() // untriaged 6169 @Experimental() // untriaged
6195 bool isEnabled(int cap) => _blink.BlinkWebGL2RenderingContext.instance.isEnabl ed_Callback_1_(unwrap_jso(this), cap); 6170 bool isEnabled(int cap) => _blink.BlinkWebGL2RenderingContext.instance.isEnabl ed_Callback_1_(this, cap);
6196 6171
6197 @DomName('WebGL2RenderingContext.isFramebuffer') 6172 @DomName('WebGL2RenderingContext.isFramebuffer')
6198 @DocsEditable() 6173 @DocsEditable()
6199 @Experimental() // untriaged 6174 @Experimental() // untriaged
6200 bool isFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGL2RenderingCont ext.instance.isFramebuffer_Callback_1_(unwrap_jso(this), unwrap_jso(framebuffer) ); 6175 bool isFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGL2RenderingCont ext.instance.isFramebuffer_Callback_1_(this, framebuffer);
6201 6176
6202 @DomName('WebGL2RenderingContext.isProgram') 6177 @DomName('WebGL2RenderingContext.isProgram')
6203 @DocsEditable() 6178 @DocsEditable()
6204 @Experimental() // untriaged 6179 @Experimental() // untriaged
6205 bool isProgram(Program program) => _blink.BlinkWebGL2RenderingContext.instance .isProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); 6180 bool isProgram(Program program) => _blink.BlinkWebGL2RenderingContext.instance .isProgram_Callback_1_(this, program);
6206 6181
6207 @DomName('WebGL2RenderingContext.isRenderbuffer') 6182 @DomName('WebGL2RenderingContext.isRenderbuffer')
6208 @DocsEditable() 6183 @DocsEditable()
6209 @Experimental() // untriaged 6184 @Experimental() // untriaged
6210 bool isRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGL2RenderingC ontext.instance.isRenderbuffer_Callback_1_(unwrap_jso(this), unwrap_jso(renderbu ffer)); 6185 bool isRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGL2RenderingC ontext.instance.isRenderbuffer_Callback_1_(this, renderbuffer);
6211 6186
6212 @DomName('WebGL2RenderingContext.isShader') 6187 @DomName('WebGL2RenderingContext.isShader')
6213 @DocsEditable() 6188 @DocsEditable()
6214 @Experimental() // untriaged 6189 @Experimental() // untriaged
6215 bool isShader(Shader shader) => _blink.BlinkWebGL2RenderingContext.instance.is Shader_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); 6190 bool isShader(Shader shader) => _blink.BlinkWebGL2RenderingContext.instance.is Shader_Callback_1_(this, shader);
6216 6191
6217 @DomName('WebGL2RenderingContext.isTexture') 6192 @DomName('WebGL2RenderingContext.isTexture')
6218 @DocsEditable() 6193 @DocsEditable()
6219 @Experimental() // untriaged 6194 @Experimental() // untriaged
6220 bool isTexture(Texture texture) => _blink.BlinkWebGL2RenderingContext.instance .isTexture_Callback_1_(unwrap_jso(this), unwrap_jso(texture)); 6195 bool isTexture(Texture texture) => _blink.BlinkWebGL2RenderingContext.instance .isTexture_Callback_1_(this, texture);
6221 6196
6222 @DomName('WebGL2RenderingContext.lineWidth') 6197 @DomName('WebGL2RenderingContext.lineWidth')
6223 @DocsEditable() 6198 @DocsEditable()
6224 @Experimental() // untriaged 6199 @Experimental() // untriaged
6225 void lineWidth(num width) => _blink.BlinkWebGL2RenderingContext.instance.lineW idth_Callback_1_(unwrap_jso(this), width); 6200 void lineWidth(num width) => _blink.BlinkWebGL2RenderingContext.instance.lineW idth_Callback_1_(this, width);
6226 6201
6227 @DomName('WebGL2RenderingContext.linkProgram') 6202 @DomName('WebGL2RenderingContext.linkProgram')
6228 @DocsEditable() 6203 @DocsEditable()
6229 @Experimental() // untriaged 6204 @Experimental() // untriaged
6230 void linkProgram(Program program) => _blink.BlinkWebGL2RenderingContext.instan ce.linkProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); 6205 void linkProgram(Program program) => _blink.BlinkWebGL2RenderingContext.instan ce.linkProgram_Callback_1_(this, program);
6231 6206
6232 @DomName('WebGL2RenderingContext.pixelStorei') 6207 @DomName('WebGL2RenderingContext.pixelStorei')
6233 @DocsEditable() 6208 @DocsEditable()
6234 @Experimental() // untriaged 6209 @Experimental() // untriaged
6235 void pixelStorei(int pname, int param) => _blink.BlinkWebGL2RenderingContext.i nstance.pixelStorei_Callback_2_(unwrap_jso(this), pname, param); 6210 void pixelStorei(int pname, int param) => _blink.BlinkWebGL2RenderingContext.i nstance.pixelStorei_Callback_2_(this, pname, param);
6236 6211
6237 @DomName('WebGL2RenderingContext.polygonOffset') 6212 @DomName('WebGL2RenderingContext.polygonOffset')
6238 @DocsEditable() 6213 @DocsEditable()
6239 @Experimental() // untriaged 6214 @Experimental() // untriaged
6240 void polygonOffset(num factor, num units) => _blink.BlinkWebGL2RenderingContex t.instance.polygonOffset_Callback_2_(unwrap_jso(this), factor, units); 6215 void polygonOffset(num factor, num units) => _blink.BlinkWebGL2RenderingContex t.instance.polygonOffset_Callback_2_(this, factor, units);
6241 6216
6242 @DomName('WebGL2RenderingContext.readPixels') 6217 @DomName('WebGL2RenderingContext.readPixels')
6243 @DocsEditable() 6218 @DocsEditable()
6244 @Experimental() // untriaged 6219 @Experimental() // untriaged
6245 void readPixels(int x, int y, int width, int height, int format, int type, Typ edData pixels) => _blink.BlinkWebGL2RenderingContext.instance.readPixels_Callbac k_7_(unwrap_jso(this), x, y, width, height, format, type, unwrap_jso(pixels)); 6220 void readPixels(int x, int y, int width, int height, int format, int type, Typ edData pixels) => _blink.BlinkWebGL2RenderingContext.instance.readPixels_Callbac k_7_(this, x, y, width, height, format, type, pixels);
6246 6221
6247 @DomName('WebGL2RenderingContext.renderbufferStorage') 6222 @DomName('WebGL2RenderingContext.renderbufferStorage')
6248 @DocsEditable() 6223 @DocsEditable()
6249 @Experimental() // untriaged 6224 @Experimental() // untriaged
6250 void renderbufferStorage(int target, int internalformat, int width, int height ) => _blink.BlinkWebGL2RenderingContext.instance.renderbufferStorage_Callback_4_ (unwrap_jso(this), target, internalformat, width, height); 6225 void renderbufferStorage(int target, int internalformat, int width, int height ) => _blink.BlinkWebGL2RenderingContext.instance.renderbufferStorage_Callback_4_ (this, target, internalformat, width, height);
6251 6226
6252 @DomName('WebGL2RenderingContext.sampleCoverage') 6227 @DomName('WebGL2RenderingContext.sampleCoverage')
6253 @DocsEditable() 6228 @DocsEditable()
6254 @Experimental() // untriaged 6229 @Experimental() // untriaged
6255 void sampleCoverage(num value, bool invert) => _blink.BlinkWebGL2RenderingCont ext.instance.sampleCoverage_Callback_2_(unwrap_jso(this), value, invert); 6230 void sampleCoverage(num value, bool invert) => _blink.BlinkWebGL2RenderingCont ext.instance.sampleCoverage_Callback_2_(this, value, invert);
6256 6231
6257 @DomName('WebGL2RenderingContext.scissor') 6232 @DomName('WebGL2RenderingContext.scissor')
6258 @DocsEditable() 6233 @DocsEditable()
6259 @Experimental() // untriaged 6234 @Experimental() // untriaged
6260 void scissor(int x, int y, int width, int height) => _blink.BlinkWebGL2Renderi ngContext.instance.scissor_Callback_4_(unwrap_jso(this), x, y, width, height); 6235 void scissor(int x, int y, int width, int height) => _blink.BlinkWebGL2Renderi ngContext.instance.scissor_Callback_4_(this, x, y, width, height);
6261 6236
6262 @DomName('WebGL2RenderingContext.shaderSource') 6237 @DomName('WebGL2RenderingContext.shaderSource')
6263 @DocsEditable() 6238 @DocsEditable()
6264 @Experimental() // untriaged 6239 @Experimental() // untriaged
6265 void shaderSource(Shader shader, String string) => _blink.BlinkWebGL2Rendering Context.instance.shaderSource_Callback_2_(unwrap_jso(this), unwrap_jso(shader), string); 6240 void shaderSource(Shader shader, String string) => _blink.BlinkWebGL2Rendering Context.instance.shaderSource_Callback_2_(this, shader, string);
6266 6241
6267 @DomName('WebGL2RenderingContext.stencilFunc') 6242 @DomName('WebGL2RenderingContext.stencilFunc')
6268 @DocsEditable() 6243 @DocsEditable()
6269 @Experimental() // untriaged 6244 @Experimental() // untriaged
6270 void stencilFunc(int func, int ref, int mask) => _blink.BlinkWebGL2RenderingCo ntext.instance.stencilFunc_Callback_3_(unwrap_jso(this), func, ref, mask); 6245 void stencilFunc(int func, int ref, int mask) => _blink.BlinkWebGL2RenderingCo ntext.instance.stencilFunc_Callback_3_(this, func, ref, mask);
6271 6246
6272 @DomName('WebGL2RenderingContext.stencilFuncSeparate') 6247 @DomName('WebGL2RenderingContext.stencilFuncSeparate')
6273 @DocsEditable() 6248 @DocsEditable()
6274 @Experimental() // untriaged 6249 @Experimental() // untriaged
6275 void stencilFuncSeparate(int face, int func, int ref, int mask) => _blink.Blin kWebGL2RenderingContext.instance.stencilFuncSeparate_Callback_4_(unwrap_jso(this ), face, func, ref, mask); 6250 void stencilFuncSeparate(int face, int func, int ref, int mask) => _blink.Blin kWebGL2RenderingContext.instance.stencilFuncSeparate_Callback_4_(this, face, fun c, ref, mask);
6276 6251
6277 @DomName('WebGL2RenderingContext.stencilMask') 6252 @DomName('WebGL2RenderingContext.stencilMask')
6278 @DocsEditable() 6253 @DocsEditable()
6279 @Experimental() // untriaged 6254 @Experimental() // untriaged
6280 void stencilMask(int mask) => _blink.BlinkWebGL2RenderingContext.instance.sten cilMask_Callback_1_(unwrap_jso(this), mask); 6255 void stencilMask(int mask) => _blink.BlinkWebGL2RenderingContext.instance.sten cilMask_Callback_1_(this, mask);
6281 6256
6282 @DomName('WebGL2RenderingContext.stencilMaskSeparate') 6257 @DomName('WebGL2RenderingContext.stencilMaskSeparate')
6283 @DocsEditable() 6258 @DocsEditable()
6284 @Experimental() // untriaged 6259 @Experimental() // untriaged
6285 void stencilMaskSeparate(int face, int mask) => _blink.BlinkWebGL2RenderingCon text.instance.stencilMaskSeparate_Callback_2_(unwrap_jso(this), face, mask); 6260 void stencilMaskSeparate(int face, int mask) => _blink.BlinkWebGL2RenderingCon text.instance.stencilMaskSeparate_Callback_2_(this, face, mask);
6286 6261
6287 @DomName('WebGL2RenderingContext.stencilOp') 6262 @DomName('WebGL2RenderingContext.stencilOp')
6288 @DocsEditable() 6263 @DocsEditable()
6289 @Experimental() // untriaged 6264 @Experimental() // untriaged
6290 void stencilOp(int fail, int zfail, int zpass) => _blink.BlinkWebGL2RenderingC ontext.instance.stencilOp_Callback_3_(unwrap_jso(this), fail, zfail, zpass); 6265 void stencilOp(int fail, int zfail, int zpass) => _blink.BlinkWebGL2RenderingC ontext.instance.stencilOp_Callback_3_(this, fail, zfail, zpass);
6291 6266
6292 @DomName('WebGL2RenderingContext.stencilOpSeparate') 6267 @DomName('WebGL2RenderingContext.stencilOpSeparate')
6293 @DocsEditable() 6268 @DocsEditable()
6294 @Experimental() // untriaged 6269 @Experimental() // untriaged
6295 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => _blink.Bli nkWebGL2RenderingContext.instance.stencilOpSeparate_Callback_4_(unwrap_jso(this) , face, fail, zfail, zpass); 6270 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => _blink.Bli nkWebGL2RenderingContext.instance.stencilOpSeparate_Callback_4_(this, face, fail , zfail, zpass);
6296 6271
6297 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]) { 6272 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]) {
6298 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)) { 6273 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)) {
6299 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_9_(unwrap_ jso(this), target, level, internalformat, format_OR_width, height_OR_type, unwra p_jso(border_OR_canvas_OR_image_OR_pixels_OR_video), format, type, unwrap_jso(pi xels)); 6274 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_9_(this, t arget, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_ OR_image_OR_pixels_OR_video, format, type, pixels);
6300 return; 6275 return;
6301 } 6276 }
6302 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) { 6277 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) {
6303 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_(unwrap_ jso(this), target, level, internalformat, format_OR_width, height_OR_type, unwra p_jso(border_OR_canvas_OR_image_OR_pixels_OR_video)); 6278 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_(this, t arget, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_ OR_image_OR_pixels_OR_video);
6304 return; 6279 return;
6305 } 6280 }
6306 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) { 6281 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) {
6307 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_(unwrap_ jso(this), target, level, internalformat, format_OR_width, height_OR_type, unwra p_jso(border_OR_canvas_OR_image_OR_pixels_OR_video)); 6282 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_(this, t arget, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_ OR_image_OR_pixels_OR_video);
6308 return; 6283 return;
6309 } 6284 }
6310 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) { 6285 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) {
6311 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_(unwrap_ jso(this), target, level, internalformat, format_OR_width, height_OR_type, unwra p_jso(border_OR_canvas_OR_image_OR_pixels_OR_video)); 6286 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_(this, t arget, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_ OR_image_OR_pixels_OR_video);
6312 return; 6287 return;
6313 } 6288 }
6314 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) { 6289 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) {
6315 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_(unwrap_ jso(this), target, level, internalformat, format_OR_width, height_OR_type, unwra p_jso(border_OR_canvas_OR_image_OR_pixels_OR_video)); 6290 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_(this, t arget, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_ OR_image_OR_pixels_OR_video);
6316 return; 6291 return;
6317 } 6292 }
6318 throw new ArgumentError("Incorrect number or type of arguments"); 6293 throw new ArgumentError("Incorrect number or type of arguments");
6319 } 6294 }
6320 6295
6296 @DomName('WebGL2RenderingContext.texImage2DCanvas')
6297 @DocsEditable()
6298 @Experimental() // untriaged
6299 void texImage2DCanvas(int target, int level, int internalformat, int format, i nt type, CanvasElement canvas) => _blink.BlinkWebGL2RenderingContext.instance.te xImage2D_Callback_6_(this, target, level, internalformat, format, type, canvas);
6300
6301 @DomName('WebGL2RenderingContext.texImage2DImage')
6302 @DocsEditable()
6303 @Experimental() // untriaged
6304 void texImage2DImage(int target, int level, int internalformat, int format, in t type, ImageElement image) => _blink.BlinkWebGL2RenderingContext.instance.texIm age2D_Callback_6_(this, target, level, internalformat, format, type, image);
6305
6306 @DomName('WebGL2RenderingContext.texImage2DImageData')
6307 @DocsEditable()
6308 @Experimental() // untriaged
6309 void texImage2DImageData(int target, int level, int internalformat, int format , int type, ImageData pixels) => _blink.BlinkWebGL2RenderingContext.instance.tex Image2D_Callback_6_(this, target, level, internalformat, format, type, pixels);
6310
6311 @DomName('WebGL2RenderingContext.texImage2DVideo')
6312 @DocsEditable()
6313 @Experimental() // untriaged
6314 void texImage2DVideo(int target, int level, int internalformat, int format, in t type, VideoElement video) => _blink.BlinkWebGL2RenderingContext.instance.texIm age2D_Callback_6_(this, target, level, internalformat, format, type, video);
6315
6321 @DomName('WebGL2RenderingContext.texParameterf') 6316 @DomName('WebGL2RenderingContext.texParameterf')
6322 @DocsEditable() 6317 @DocsEditable()
6323 @Experimental() // untriaged 6318 @Experimental() // untriaged
6324 void texParameterf(int target, int pname, num param) => _blink.BlinkWebGL2Rend eringContext.instance.texParameterf_Callback_3_(unwrap_jso(this), target, pname, param); 6319 void texParameterf(int target, int pname, num param) => _blink.BlinkWebGL2Rend eringContext.instance.texParameterf_Callback_3_(this, target, pname, param);
6325 6320
6326 @DomName('WebGL2RenderingContext.texParameteri') 6321 @DomName('WebGL2RenderingContext.texParameteri')
6327 @DocsEditable() 6322 @DocsEditable()
6328 @Experimental() // untriaged 6323 @Experimental() // untriaged
6329 void texParameteri(int target, int pname, int param) => _blink.BlinkWebGL2Rend eringContext.instance.texParameteri_Callback_3_(unwrap_jso(this), target, pname, param); 6324 void texParameteri(int target, int pname, int param) => _blink.BlinkWebGL2Rend eringContext.instance.texParameteri_Callback_3_(this, target, pname, param);
6330 6325
6331 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]) { 6326 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]) {
6332 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)) { 6327 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)) {
6333 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_9_(unwr ap_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type, unwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video), type, unwrap_jso(pixel s)); 6328 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_9_(this , target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_fo rmat_OR_image_OR_pixels_OR_video, type, pixels);
6334 return; 6329 return;
6335 } 6330 }
6336 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) { 6331 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) {
6337 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_(unwr ap_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type, unwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video)); 6332 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_(this , target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_fo rmat_OR_image_OR_pixels_OR_video);
6338 return; 6333 return;
6339 } 6334 }
6340 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) { 6335 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) {
6341 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_(unwr ap_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type, unwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video)); 6336 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_(this , target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_fo rmat_OR_image_OR_pixels_OR_video);
6342 return; 6337 return;
6343 } 6338 }
6344 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) { 6339 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) {
6345 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_(unwr ap_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type, unwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video)); 6340 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_(this , target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_fo rmat_OR_image_OR_pixels_OR_video);
6346 return; 6341 return;
6347 } 6342 }
6348 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) { 6343 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) {
6349 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_(unwr ap_jso(this), target, level, xoffset, yoffset, format_OR_width, height_OR_type, unwrap_jso(canvas_OR_format_OR_image_OR_pixels_OR_video)); 6344 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_(this , target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_fo rmat_OR_image_OR_pixels_OR_video);
6350 return; 6345 return;
6351 } 6346 }
6352 throw new ArgumentError("Incorrect number or type of arguments"); 6347 throw new ArgumentError("Incorrect number or type of arguments");
6353 } 6348 }
6354 6349
6350 @DomName('WebGL2RenderingContext.texSubImage2DCanvas')
6351 @DocsEditable()
6352 @Experimental() // untriaged
6353 void texSubImage2DCanvas(int target, int level, int xoffset, int yoffset, int format, int type, CanvasElement canvas) => _blink.BlinkWebGL2RenderingContext.in stance.texSubImage2D_Callback_7_(this, target, level, xoffset, yoffset, format, type, canvas);
6354
6355 @DomName('WebGL2RenderingContext.texSubImage2DImage')
6356 @DocsEditable()
6357 @Experimental() // untriaged
6358 void texSubImage2DImage(int target, int level, int xoffset, int yoffset, int f ormat, int type, ImageElement image) => _blink.BlinkWebGL2RenderingContext.insta nce.texSubImage2D_Callback_7_(this, target, level, xoffset, yoffset, format, typ e, image);
6359
6360 @DomName('WebGL2RenderingContext.texSubImage2DImageData')
6361 @DocsEditable()
6362 @Experimental() // untriaged
6363 void texSubImage2DImageData(int target, int level, int xoffset, int yoffset, i nt format, int type, ImageData pixels) => _blink.BlinkWebGL2RenderingContext.ins tance.texSubImage2D_Callback_7_(this, target, level, xoffset, yoffset, format, t ype, pixels);
6364
6365 @DomName('WebGL2RenderingContext.texSubImage2DVideo')
6366 @DocsEditable()
6367 @Experimental() // untriaged
6368 void texSubImage2DVideo(int target, int level, int xoffset, int yoffset, int f ormat, int type, VideoElement video) => _blink.BlinkWebGL2RenderingContext.insta nce.texSubImage2D_Callback_7_(this, target, level, xoffset, yoffset, format, typ e, video);
6369
6355 @DomName('WebGL2RenderingContext.uniform1f') 6370 @DomName('WebGL2RenderingContext.uniform1f')
6356 @DocsEditable() 6371 @DocsEditable()
6357 @Experimental() // untriaged 6372 @Experimental() // untriaged
6358 void uniform1f(UniformLocation location, num x) => _blink.BlinkWebGL2Rendering Context.instance.uniform1f_Callback_2_(unwrap_jso(this), unwrap_jso(location), x ); 6373 void uniform1f(UniformLocation location, num x) => _blink.BlinkWebGL2Rendering Context.instance.uniform1f_Callback_2_(this, location, x);
6359 6374
6360 void uniform1fv(UniformLocation location, v) { 6375 void uniform1fv(UniformLocation location, v) {
6361 if ((v is Float32List) && (location is UniformLocation || location == null)) { 6376 if ((v is Float32List) && (location is UniformLocation || location == null)) {
6362 _blink.BlinkWebGL2RenderingContext.instance.uniform1fv_Callback_2_(unwrap_ jso(this), unwrap_jso(location), unwrap_jso(v)); 6377 _blink.BlinkWebGL2RenderingContext.instance.uniform1fv_Callback_2_(this, l ocation, v);
6363 return; 6378 return;
6364 } 6379 }
6365 if ((v is List<num>) && (location is UniformLocation || location == null)) { 6380 if ((v is List<num>) && (location is UniformLocation || location == null)) {
6366 _blink.BlinkWebGL2RenderingContext.instance.uniform1fv_Callback_2_(unwrap_ jso(this), unwrap_jso(location), unwrap_jso(v)); 6381 _blink.BlinkWebGL2RenderingContext.instance.uniform1fv_Callback_2_(this, l ocation, v);
6367 return; 6382 return;
6368 } 6383 }
6369 throw new ArgumentError("Incorrect number or type of arguments"); 6384 throw new ArgumentError("Incorrect number or type of arguments");
6370 } 6385 }
6371 6386
6372 @DomName('WebGL2RenderingContext.uniform1i') 6387 @DomName('WebGL2RenderingContext.uniform1i')
6373 @DocsEditable() 6388 @DocsEditable()
6374 @Experimental() // untriaged 6389 @Experimental() // untriaged
6375 void uniform1i(UniformLocation location, int x) => _blink.BlinkWebGL2Rendering Context.instance.uniform1i_Callback_2_(unwrap_jso(this), unwrap_jso(location), x ); 6390 void uniform1i(UniformLocation location, int x) => _blink.BlinkWebGL2Rendering Context.instance.uniform1i_Callback_2_(this, location, x);
6376 6391
6377 void uniform1iv(UniformLocation location, v) { 6392 void uniform1iv(UniformLocation location, v) {
6378 if ((v is Int32List) && (location is UniformLocation || location == null)) { 6393 if ((v is Int32List) && (location is UniformLocation || location == null)) {
6379 _blink.BlinkWebGL2RenderingContext.instance.uniform1iv_Callback_2_(unwrap_ jso(this), unwrap_jso(location), unwrap_jso(v)); 6394 _blink.BlinkWebGL2RenderingContext.instance.uniform1iv_Callback_2_(this, l ocation, v);
6380 return; 6395 return;
6381 } 6396 }
6382 if ((v is List<int>) && (location is UniformLocation || location == null)) { 6397 if ((v is List<int>) && (location is UniformLocation || location == null)) {
6383 _blink.BlinkWebGL2RenderingContext.instance.uniform1iv_Callback_2_(unwrap_ jso(this), unwrap_jso(location), unwrap_jso(v)); 6398 _blink.BlinkWebGL2RenderingContext.instance.uniform1iv_Callback_2_(this, l ocation, v);
6384 return; 6399 return;
6385 } 6400 }
6386 throw new ArgumentError("Incorrect number or type of arguments"); 6401 throw new ArgumentError("Incorrect number or type of arguments");
6387 } 6402 }
6388 6403
6389 @DomName('WebGL2RenderingContext.uniform2f') 6404 @DomName('WebGL2RenderingContext.uniform2f')
6390 @DocsEditable() 6405 @DocsEditable()
6391 @Experimental() // untriaged 6406 @Experimental() // untriaged
6392 void uniform2f(UniformLocation location, num x, num y) => _blink.BlinkWebGL2Re nderingContext.instance.uniform2f_Callback_3_(unwrap_jso(this), unwrap_jso(locat ion), x, y); 6407 void uniform2f(UniformLocation location, num x, num y) => _blink.BlinkWebGL2Re nderingContext.instance.uniform2f_Callback_3_(this, location, x, y);
6393 6408
6394 void uniform2fv(UniformLocation location, v) { 6409 void uniform2fv(UniformLocation location, v) {
6395 if ((v is Float32List) && (location is UniformLocation || location == null)) { 6410 if ((v is Float32List) && (location is UniformLocation || location == null)) {
6396 _blink.BlinkWebGL2RenderingContext.instance.uniform2fv_Callback_2_(unwrap_ jso(this), unwrap_jso(location), unwrap_jso(v)); 6411 _blink.BlinkWebGL2RenderingContext.instance.uniform2fv_Callback_2_(this, l ocation, v);
6397 return; 6412 return;
6398 } 6413 }
6399 if ((v is List<num>) && (location is UniformLocation || location == null)) { 6414 if ((v is List<num>) && (location is UniformLocation || location == null)) {
6400 _blink.BlinkWebGL2RenderingContext.instance.uniform2fv_Callback_2_(unwrap_ jso(this), unwrap_jso(location), unwrap_jso(v)); 6415 _blink.BlinkWebGL2RenderingContext.instance.uniform2fv_Callback_2_(this, l ocation, v);
6401 return; 6416 return;
6402 } 6417 }
6403 throw new ArgumentError("Incorrect number or type of arguments"); 6418 throw new ArgumentError("Incorrect number or type of arguments");
6404 } 6419 }
6405 6420
6406 @DomName('WebGL2RenderingContext.uniform2i') 6421 @DomName('WebGL2RenderingContext.uniform2i')
6407 @DocsEditable() 6422 @DocsEditable()
6408 @Experimental() // untriaged 6423 @Experimental() // untriaged
6409 void uniform2i(UniformLocation location, int x, int y) => _blink.BlinkWebGL2Re nderingContext.instance.uniform2i_Callback_3_(unwrap_jso(this), unwrap_jso(locat ion), x, y); 6424 void uniform2i(UniformLocation location, int x, int y) => _blink.BlinkWebGL2Re nderingContext.instance.uniform2i_Callback_3_(this, location, x, y);
6410 6425
6411 void uniform2iv(UniformLocation location, v) { 6426 void uniform2iv(UniformLocation location, v) {
6412 if ((v is Int32List) && (location is UniformLocation || location == null)) { 6427 if ((v is Int32List) && (location is UniformLocation || location == null)) {
6413 _blink.BlinkWebGL2RenderingContext.instance.uniform2iv_Callback_2_(unwrap_ jso(this), unwrap_jso(location), unwrap_jso(v)); 6428 _blink.BlinkWebGL2RenderingContext.instance.uniform2iv_Callback_2_(this, l ocation, v);
6414 return; 6429 return;
6415 } 6430 }
6416 if ((v is List<int>) && (location is UniformLocation || location == null)) { 6431 if ((v is List<int>) && (location is UniformLocation || location == null)) {
6417 _blink.BlinkWebGL2RenderingContext.instance.uniform2iv_Callback_2_(unwrap_ jso(this), unwrap_jso(location), unwrap_jso(v)); 6432 _blink.BlinkWebGL2RenderingContext.instance.uniform2iv_Callback_2_(this, l ocation, v);
6418 return; 6433 return;
6419 } 6434 }
6420 throw new ArgumentError("Incorrect number or type of arguments"); 6435 throw new ArgumentError("Incorrect number or type of arguments");
6421 } 6436 }
6422 6437
6423 @DomName('WebGL2RenderingContext.uniform3f') 6438 @DomName('WebGL2RenderingContext.uniform3f')
6424 @DocsEditable() 6439 @DocsEditable()
6425 @Experimental() // untriaged 6440 @Experimental() // untriaged
6426 void uniform3f(UniformLocation location, num x, num y, num z) => _blink.BlinkW ebGL2RenderingContext.instance.uniform3f_Callback_4_(unwrap_jso(this), unwrap_js o(location), x, y, z); 6441 void uniform3f(UniformLocation location, num x, num y, num z) => _blink.BlinkW ebGL2RenderingContext.instance.uniform3f_Callback_4_(this, location, x, y, z);
6427 6442
6428 void uniform3fv(UniformLocation location, v) { 6443 void uniform3fv(UniformLocation location, v) {
6429 if ((v is Float32List) && (location is UniformLocation || location == null)) { 6444 if ((v is Float32List) && (location is UniformLocation || location == null)) {
6430 _blink.BlinkWebGL2RenderingContext.instance.uniform3fv_Callback_2_(unwrap_ jso(this), unwrap_jso(location), unwrap_jso(v)); 6445 _blink.BlinkWebGL2RenderingContext.instance.uniform3fv_Callback_2_(this, l ocation, v);
6431 return; 6446 return;
6432 } 6447 }
6433 if ((v is List<num>) && (location is UniformLocation || location == null)) { 6448 if ((v is List<num>) && (location is UniformLocation || location == null)) {
6434 _blink.BlinkWebGL2RenderingContext.instance.uniform3fv_Callback_2_(unwrap_ jso(this), unwrap_jso(location), unwrap_jso(v)); 6449 _blink.BlinkWebGL2RenderingContext.instance.uniform3fv_Callback_2_(this, l ocation, v);
6435 return; 6450 return;
6436 } 6451 }
6437 throw new ArgumentError("Incorrect number or type of arguments"); 6452 throw new ArgumentError("Incorrect number or type of arguments");
6438 } 6453 }
6439 6454
6440 @DomName('WebGL2RenderingContext.uniform3i') 6455 @DomName('WebGL2RenderingContext.uniform3i')
6441 @DocsEditable() 6456 @DocsEditable()
6442 @Experimental() // untriaged 6457 @Experimental() // untriaged
6443 void uniform3i(UniformLocation location, int x, int y, int z) => _blink.BlinkW ebGL2RenderingContext.instance.uniform3i_Callback_4_(unwrap_jso(this), unwrap_js o(location), x, y, z); 6458 void uniform3i(UniformLocation location, int x, int y, int z) => _blink.BlinkW ebGL2RenderingContext.instance.uniform3i_Callback_4_(this, location, x, y, z);
6444 6459
6445 void uniform3iv(UniformLocation location, v) { 6460 void uniform3iv(UniformLocation location, v) {
6446 if ((v is Int32List) && (location is UniformLocation || location == null)) { 6461 if ((v is Int32List) && (location is UniformLocation || location == null)) {
6447 _blink.BlinkWebGL2RenderingContext.instance.uniform3iv_Callback_2_(unwrap_ jso(this), unwrap_jso(location), unwrap_jso(v)); 6462 _blink.BlinkWebGL2RenderingContext.instance.uniform3iv_Callback_2_(this, l ocation, v);
6448 return; 6463 return;
6449 } 6464 }
6450 if ((v is List<int>) && (location is UniformLocation || location == null)) { 6465 if ((v is List<int>) && (location is UniformLocation || location == null)) {
6451 _blink.BlinkWebGL2RenderingContext.instance.uniform3iv_Callback_2_(unwrap_ jso(this), unwrap_jso(location), unwrap_jso(v)); 6466 _blink.BlinkWebGL2RenderingContext.instance.uniform3iv_Callback_2_(this, l ocation, v);
6452 return; 6467 return;
6453 } 6468 }
6454 throw new ArgumentError("Incorrect number or type of arguments"); 6469 throw new ArgumentError("Incorrect number or type of arguments");
6455 } 6470 }
6456 6471
6457 @DomName('WebGL2RenderingContext.uniform4f') 6472 @DomName('WebGL2RenderingContext.uniform4f')
6458 @DocsEditable() 6473 @DocsEditable()
6459 @Experimental() // untriaged 6474 @Experimental() // untriaged
6460 void uniform4f(UniformLocation location, num x, num y, num z, num w) => _blink .BlinkWebGL2RenderingContext.instance.uniform4f_Callback_5_(unwrap_jso(this), un wrap_jso(location), x, y, z, w); 6475 void uniform4f(UniformLocation location, num x, num y, num z, num w) => _blink .BlinkWebGL2RenderingContext.instance.uniform4f_Callback_5_(this, location, x, y , z, w);
6461 6476
6462 void uniform4fv(UniformLocation location, v) { 6477 void uniform4fv(UniformLocation location, v) {
6463 if ((v is Float32List) && (location is UniformLocation || location == null)) { 6478 if ((v is Float32List) && (location is UniformLocation || location == null)) {
6464 _blink.BlinkWebGL2RenderingContext.instance.uniform4fv_Callback_2_(unwrap_ jso(this), unwrap_jso(location), unwrap_jso(v)); 6479 _blink.BlinkWebGL2RenderingContext.instance.uniform4fv_Callback_2_(this, l ocation, v);
6465 return; 6480 return;
6466 } 6481 }
6467 if ((v is List<num>) && (location is UniformLocation || location == null)) { 6482 if ((v is List<num>) && (location is UniformLocation || location == null)) {
6468 _blink.BlinkWebGL2RenderingContext.instance.uniform4fv_Callback_2_(unwrap_ jso(this), unwrap_jso(location), unwrap_jso(v)); 6483 _blink.BlinkWebGL2RenderingContext.instance.uniform4fv_Callback_2_(this, l ocation, v);
6469 return; 6484 return;
6470 } 6485 }
6471 throw new ArgumentError("Incorrect number or type of arguments"); 6486 throw new ArgumentError("Incorrect number or type of arguments");
6472 } 6487 }
6473 6488
6474 @DomName('WebGL2RenderingContext.uniform4i') 6489 @DomName('WebGL2RenderingContext.uniform4i')
6475 @DocsEditable() 6490 @DocsEditable()
6476 @Experimental() // untriaged 6491 @Experimental() // untriaged
6477 void uniform4i(UniformLocation location, int x, int y, int z, int w) => _blink .BlinkWebGL2RenderingContext.instance.uniform4i_Callback_5_(unwrap_jso(this), un wrap_jso(location), x, y, z, w); 6492 void uniform4i(UniformLocation location, int x, int y, int z, int w) => _blink .BlinkWebGL2RenderingContext.instance.uniform4i_Callback_5_(this, location, x, y , z, w);
6478 6493
6479 void uniform4iv(UniformLocation location, v) { 6494 void uniform4iv(UniformLocation location, v) {
6480 if ((v is Int32List) && (location is UniformLocation || location == null)) { 6495 if ((v is Int32List) && (location is UniformLocation || location == null)) {
6481 _blink.BlinkWebGL2RenderingContext.instance.uniform4iv_Callback_2_(unwrap_ jso(this), unwrap_jso(location), unwrap_jso(v)); 6496 _blink.BlinkWebGL2RenderingContext.instance.uniform4iv_Callback_2_(this, l ocation, v);
6482 return; 6497 return;
6483 } 6498 }
6484 if ((v is List<int>) && (location is UniformLocation || location == null)) { 6499 if ((v is List<int>) && (location is UniformLocation || location == null)) {
6485 _blink.BlinkWebGL2RenderingContext.instance.uniform4iv_Callback_2_(unwrap_ jso(this), unwrap_jso(location), unwrap_jso(v)); 6500 _blink.BlinkWebGL2RenderingContext.instance.uniform4iv_Callback_2_(this, l ocation, v);
6486 return; 6501 return;
6487 } 6502 }
6488 throw new ArgumentError("Incorrect number or type of arguments"); 6503 throw new ArgumentError("Incorrect number or type of arguments");
6489 } 6504 }
6490 6505
6491 void uniformMatrix2fv(UniformLocation location, bool transpose, array) { 6506 void uniformMatrix2fv(UniformLocation location, bool transpose, array) {
6492 if ((array is Float32List) && (transpose is bool) && (location is UniformLoc ation || location == null)) { 6507 if ((array is Float32List) && (transpose is bool) && (location is UniformLoc ation || location == null)) {
6493 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2fv_Callback_3_(u nwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array)); 6508 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2fv_Callback_3_(t his, location, transpose, array);
6494 return; 6509 return;
6495 } 6510 }
6496 if ((array is List<num>) && (transpose is bool) && (location is UniformLocat ion || location == null)) { 6511 if ((array is List<num>) && (transpose is bool) && (location is UniformLocat ion || location == null)) {
6497 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2fv_Callback_3_(u nwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array)); 6512 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix2fv_Callback_3_(t his, location, transpose, array);
6498 return; 6513 return;
6499 } 6514 }
6500 throw new ArgumentError("Incorrect number or type of arguments"); 6515 throw new ArgumentError("Incorrect number or type of arguments");
6501 } 6516 }
6502 6517
6503 void uniformMatrix3fv(UniformLocation location, bool transpose, array) { 6518 void uniformMatrix3fv(UniformLocation location, bool transpose, array) {
6504 if ((array is Float32List) && (transpose is bool) && (location is UniformLoc ation || location == null)) { 6519 if ((array is Float32List) && (transpose is bool) && (location is UniformLoc ation || location == null)) {
6505 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3fv_Callback_3_(u nwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array)); 6520 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3fv_Callback_3_(t his, location, transpose, array);
6506 return; 6521 return;
6507 } 6522 }
6508 if ((array is List<num>) && (transpose is bool) && (location is UniformLocat ion || location == null)) { 6523 if ((array is List<num>) && (transpose is bool) && (location is UniformLocat ion || location == null)) {
6509 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3fv_Callback_3_(u nwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array)); 6524 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix3fv_Callback_3_(t his, location, transpose, array);
6510 return; 6525 return;
6511 } 6526 }
6512 throw new ArgumentError("Incorrect number or type of arguments"); 6527 throw new ArgumentError("Incorrect number or type of arguments");
6513 } 6528 }
6514 6529
6515 void uniformMatrix4fv(UniformLocation location, bool transpose, array) { 6530 void uniformMatrix4fv(UniformLocation location, bool transpose, array) {
6516 if ((array is Float32List) && (transpose is bool) && (location is UniformLoc ation || location == null)) { 6531 if ((array is Float32List) && (transpose is bool) && (location is UniformLoc ation || location == null)) {
6517 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4fv_Callback_3_(u nwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array)); 6532 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4fv_Callback_3_(t his, location, transpose, array);
6518 return; 6533 return;
6519 } 6534 }
6520 if ((array is List<num>) && (transpose is bool) && (location is UniformLocat ion || location == null)) { 6535 if ((array is List<num>) && (transpose is bool) && (location is UniformLocat ion || location == null)) {
6521 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4fv_Callback_3_(u nwrap_jso(this), unwrap_jso(location), transpose, unwrap_jso(array)); 6536 _blink.BlinkWebGL2RenderingContext.instance.uniformMatrix4fv_Callback_3_(t his, location, transpose, array);
6522 return; 6537 return;
6523 } 6538 }
6524 throw new ArgumentError("Incorrect number or type of arguments"); 6539 throw new ArgumentError("Incorrect number or type of arguments");
6525 } 6540 }
6526 6541
6527 @DomName('WebGL2RenderingContext.useProgram') 6542 @DomName('WebGL2RenderingContext.useProgram')
6528 @DocsEditable() 6543 @DocsEditable()
6529 @Experimental() // untriaged 6544 @Experimental() // untriaged
6530 void useProgram(Program program) => _blink.BlinkWebGL2RenderingContext.instanc e.useProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); 6545 void useProgram(Program program) => _blink.BlinkWebGL2RenderingContext.instanc e.useProgram_Callback_1_(this, program);
6531 6546
6532 @DomName('WebGL2RenderingContext.validateProgram') 6547 @DomName('WebGL2RenderingContext.validateProgram')
6533 @DocsEditable() 6548 @DocsEditable()
6534 @Experimental() // untriaged 6549 @Experimental() // untriaged
6535 void validateProgram(Program program) => _blink.BlinkWebGL2RenderingContext.in stance.validateProgram_Callback_1_(unwrap_jso(this), unwrap_jso(program)); 6550 void validateProgram(Program program) => _blink.BlinkWebGL2RenderingContext.in stance.validateProgram_Callback_1_(this, program);
6536 6551
6537 @DomName('WebGL2RenderingContext.vertexAttrib1f') 6552 @DomName('WebGL2RenderingContext.vertexAttrib1f')
6538 @DocsEditable() 6553 @DocsEditable()
6539 @Experimental() // untriaged 6554 @Experimental() // untriaged
6540 void vertexAttrib1f(int indx, num x) => _blink.BlinkWebGL2RenderingContext.ins tance.vertexAttrib1f_Callback_2_(unwrap_jso(this), indx, x); 6555 void vertexAttrib1f(int indx, num x) => _blink.BlinkWebGL2RenderingContext.ins tance.vertexAttrib1f_Callback_2_(this, indx, x);
6541 6556
6542 void vertexAttrib1fv(int indx, values) { 6557 void vertexAttrib1fv(int indx, values) {
6543 if ((values is Float32List) && (indx is int)) { 6558 if ((values is Float32List) && (indx is int)) {
6544 _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib1fv_Callback_2_(un wrap_jso(this), indx, unwrap_jso(values)); 6559 _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib1fv_Callback_2_(th is, indx, values);
6545 return; 6560 return;
6546 } 6561 }
6547 if ((values is List<num>) && (indx is int)) { 6562 if ((values is List<num>) && (indx is int)) {
6548 _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib1fv_Callback_2_(un wrap_jso(this), indx, unwrap_jso(values)); 6563 _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib1fv_Callback_2_(th is, indx, values);
6549 return; 6564 return;
6550 } 6565 }
6551 throw new ArgumentError("Incorrect number or type of arguments"); 6566 throw new ArgumentError("Incorrect number or type of arguments");
6552 } 6567 }
6553 6568
6554 @DomName('WebGL2RenderingContext.vertexAttrib2f') 6569 @DomName('WebGL2RenderingContext.vertexAttrib2f')
6555 @DocsEditable() 6570 @DocsEditable()
6556 @Experimental() // untriaged 6571 @Experimental() // untriaged
6557 void vertexAttrib2f(int indx, num x, num y) => _blink.BlinkWebGL2RenderingCont ext.instance.vertexAttrib2f_Callback_3_(unwrap_jso(this), indx, x, y); 6572 void vertexAttrib2f(int indx, num x, num y) => _blink.BlinkWebGL2RenderingCont ext.instance.vertexAttrib2f_Callback_3_(this, indx, x, y);
6558 6573
6559 void vertexAttrib2fv(int indx, values) { 6574 void vertexAttrib2fv(int indx, values) {
6560 if ((values is Float32List) && (indx is int)) { 6575 if ((values is Float32List) && (indx is int)) {
6561 _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib2fv_Callback_2_(un wrap_jso(this), indx, unwrap_jso(values)); 6576 _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib2fv_Callback_2_(th is, indx, values);
6562 return; 6577 return;
6563 } 6578 }
6564 if ((values is List<num>) && (indx is int)) { 6579 if ((values is List<num>) && (indx is int)) {
6565 _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib2fv_Callback_2_(un wrap_jso(this), indx, unwrap_jso(values)); 6580 _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib2fv_Callback_2_(th is, indx, values);
6566 return; 6581 return;
6567 } 6582 }
6568 throw new ArgumentError("Incorrect number or type of arguments"); 6583 throw new ArgumentError("Incorrect number or type of arguments");
6569 } 6584 }
6570 6585
6571 @DomName('WebGL2RenderingContext.vertexAttrib3f') 6586 @DomName('WebGL2RenderingContext.vertexAttrib3f')
6572 @DocsEditable() 6587 @DocsEditable()
6573 @Experimental() // untriaged 6588 @Experimental() // untriaged
6574 void vertexAttrib3f(int indx, num x, num y, num z) => _blink.BlinkWebGL2Render ingContext.instance.vertexAttrib3f_Callback_4_(unwrap_jso(this), indx, x, y, z); 6589 void vertexAttrib3f(int indx, num x, num y, num z) => _blink.BlinkWebGL2Render ingContext.instance.vertexAttrib3f_Callback_4_(this, indx, x, y, z);
6575 6590
6576 void vertexAttrib3fv(int indx, values) { 6591 void vertexAttrib3fv(int indx, values) {
6577 if ((values is Float32List) && (indx is int)) { 6592 if ((values is Float32List) && (indx is int)) {
6578 _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib3fv_Callback_2_(un wrap_jso(this), indx, unwrap_jso(values)); 6593 _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib3fv_Callback_2_(th is, indx, values);
6579 return; 6594 return;
6580 } 6595 }
6581 if ((values is List<num>) && (indx is int)) { 6596 if ((values is List<num>) && (indx is int)) {
6582 _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib3fv_Callback_2_(un wrap_jso(this), indx, unwrap_jso(values)); 6597 _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib3fv_Callback_2_(th is, indx, values);
6583 return; 6598 return;
6584 } 6599 }
6585 throw new ArgumentError("Incorrect number or type of arguments"); 6600 throw new ArgumentError("Incorrect number or type of arguments");
6586 } 6601 }
6587 6602
6588 @DomName('WebGL2RenderingContext.vertexAttrib4f') 6603 @DomName('WebGL2RenderingContext.vertexAttrib4f')
6589 @DocsEditable() 6604 @DocsEditable()
6590 @Experimental() // untriaged 6605 @Experimental() // untriaged
6591 void vertexAttrib4f(int indx, num x, num y, num z, num w) => _blink.BlinkWebGL 2RenderingContext.instance.vertexAttrib4f_Callback_5_(unwrap_jso(this), indx, x, y, z, w); 6606 void vertexAttrib4f(int indx, num x, num y, num z, num w) => _blink.BlinkWebGL 2RenderingContext.instance.vertexAttrib4f_Callback_5_(this, indx, x, y, z, w);
6592 6607
6593 void vertexAttrib4fv(int indx, values) { 6608 void vertexAttrib4fv(int indx, values) {
6594 if ((values is Float32List) && (indx is int)) { 6609 if ((values is Float32List) && (indx is int)) {
6595 _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib4fv_Callback_2_(un wrap_jso(this), indx, unwrap_jso(values)); 6610 _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib4fv_Callback_2_(th is, indx, values);
6596 return; 6611 return;
6597 } 6612 }
6598 if ((values is List<num>) && (indx is int)) { 6613 if ((values is List<num>) && (indx is int)) {
6599 _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib4fv_Callback_2_(un wrap_jso(this), indx, unwrap_jso(values)); 6614 _blink.BlinkWebGL2RenderingContext.instance.vertexAttrib4fv_Callback_2_(th is, indx, values);
6600 return; 6615 return;
6601 } 6616 }
6602 throw new ArgumentError("Incorrect number or type of arguments"); 6617 throw new ArgumentError("Incorrect number or type of arguments");
6603 } 6618 }
6604 6619
6605 @DomName('WebGL2RenderingContext.vertexAttribPointer') 6620 @DomName('WebGL2RenderingContext.vertexAttribPointer')
6606 @DocsEditable() 6621 @DocsEditable()
6607 @Experimental() // untriaged 6622 @Experimental() // untriaged
6608 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttribPoi nter_Callback_6_(unwrap_jso(this), indx, size, type, normalized, stride, offset) ; 6623 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset) => _blink.BlinkWebGL2RenderingContext.instance.vertexAttribPoi nter_Callback_6_(this, indx, size, type, normalized, stride, offset);
6609 6624
6610 @DomName('WebGL2RenderingContext.viewport') 6625 @DomName('WebGL2RenderingContext.viewport')
6611 @DocsEditable() 6626 @DocsEditable()
6612 @Experimental() // untriaged 6627 @Experimental() // untriaged
6613 void viewport(int x, int y, int width, int height) => _blink.BlinkWebGL2Render ingContext.instance.viewport_Callback_4_(unwrap_jso(this), x, y, width, height); 6628 void viewport(int x, int y, int width, int height) => _blink.BlinkWebGL2Render ingContext.instance.viewport_Callback_4_(this, x, y, width, height);
6614 6629
6615 } 6630 }
6616 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6631 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6617 // for details. All rights reserved. Use of this source code is governed by a 6632 // for details. All rights reserved. Use of this source code is governed by a
6618 // BSD-style license that can be found in the LICENSE file. 6633 // BSD-style license that can be found in the LICENSE file.
6619 6634
6620 // WARNING: Do not edit - generated code. 6635 // WARNING: Do not edit - generated code.
6621 6636
6622 6637
6623 @DocsEditable() 6638 @DocsEditable()
6624 @DomName('WebGLSampler') 6639 @DomName('WebGLSampler')
6625 @Experimental() // untriaged 6640 @Experimental() // untriaged
6626 class Sampler extends DartHtmlDomObject { 6641 class Sampler extends DartHtmlDomObject {
6627 // To suppress missing implicit constructor warnings. 6642 // To suppress missing implicit constructor warnings.
6628 factory Sampler._() { throw new UnsupportedError("Not supported"); } 6643 factory Sampler._() { throw new UnsupportedError("Not supported"); }
6629 6644
6630 @Deprecated("Internal Use Only") 6645 @Deprecated("Internal Use Only")
6631 static Sampler internalCreateSampler() { 6646 static Sampler internalCreateSampler() {
6632 return new Sampler._internalWrap(); 6647 return new Sampler._internalWrap();
6633 } 6648 }
6634 6649
6635 factory Sampler._internalWrap() { 6650 factory Sampler._internalWrap() {
6636 return new Sampler.internal_(); 6651 return new Sampler.internal_();
6637 } 6652 }
6638 6653
6639 @Deprecated("Internal Use Only") 6654 @Deprecated("Internal Use Only")
6640 Sampler.internal_() { } 6655 Sampler.internal_() { }
6641 6656
6642 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
6643 int get hashCode => unwrap_jso(this).hashCode;
6644
6645 } 6657 }
6646 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6658 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6647 // for details. All rights reserved. Use of this source code is governed by a 6659 // for details. All rights reserved. Use of this source code is governed by a
6648 // BSD-style license that can be found in the LICENSE file. 6660 // BSD-style license that can be found in the LICENSE file.
6649 6661
6650 // WARNING: Do not edit - generated code. 6662 // WARNING: Do not edit - generated code.
6651 6663
6652 6664
6653 @DocsEditable() 6665 @DocsEditable()
6654 @DomName('WebGLShader') 6666 @DomName('WebGLShader')
6655 class Shader extends DartHtmlDomObject { 6667 class Shader extends DartHtmlDomObject {
6656 // To suppress missing implicit constructor warnings. 6668 // To suppress missing implicit constructor warnings.
6657 factory Shader._() { throw new UnsupportedError("Not supported"); } 6669 factory Shader._() { throw new UnsupportedError("Not supported"); }
6658 6670
6659 @Deprecated("Internal Use Only") 6671 @Deprecated("Internal Use Only")
6660 static Shader internalCreateShader() { 6672 static Shader internalCreateShader() {
6661 return new Shader._internalWrap(); 6673 return new Shader._internalWrap();
6662 } 6674 }
6663 6675
6664 factory Shader._internalWrap() { 6676 factory Shader._internalWrap() {
6665 return new Shader.internal_(); 6677 return new Shader.internal_();
6666 } 6678 }
6667 6679
6668 @Deprecated("Internal Use Only") 6680 @Deprecated("Internal Use Only")
6669 Shader.internal_() { } 6681 Shader.internal_() { }
6670 6682
6671 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
6672 int get hashCode => unwrap_jso(this).hashCode;
6673
6674 } 6683 }
6675 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6684 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6676 // for details. All rights reserved. Use of this source code is governed by a 6685 // for details. All rights reserved. Use of this source code is governed by a
6677 // BSD-style license that can be found in the LICENSE file. 6686 // BSD-style license that can be found in the LICENSE file.
6678 6687
6679 // WARNING: Do not edit - generated code. 6688 // WARNING: Do not edit - generated code.
6680 6689
6681 6690
6682 @DocsEditable() 6691 @DocsEditable()
6683 @DomName('WebGLShaderPrecisionFormat') 6692 @DomName('WebGLShaderPrecisionFormat')
6684 class ShaderPrecisionFormat extends DartHtmlDomObject { 6693 class ShaderPrecisionFormat extends DartHtmlDomObject {
6685 // To suppress missing implicit constructor warnings. 6694 // To suppress missing implicit constructor warnings.
6686 factory ShaderPrecisionFormat._() { throw new UnsupportedError("Not supported" ); } 6695 factory ShaderPrecisionFormat._() { throw new UnsupportedError("Not supported" ); }
6687 6696
6688 @Deprecated("Internal Use Only") 6697 @Deprecated("Internal Use Only")
6689 static ShaderPrecisionFormat internalCreateShaderPrecisionFormat() { 6698 static ShaderPrecisionFormat internalCreateShaderPrecisionFormat() {
6690 return new ShaderPrecisionFormat._internalWrap(); 6699 return new ShaderPrecisionFormat._internalWrap();
6691 } 6700 }
6692 6701
6693 factory ShaderPrecisionFormat._internalWrap() { 6702 factory ShaderPrecisionFormat._internalWrap() {
6694 return new ShaderPrecisionFormat.internal_(); 6703 return new ShaderPrecisionFormat.internal_();
6695 } 6704 }
6696 6705
6697 @Deprecated("Internal Use Only") 6706 @Deprecated("Internal Use Only")
6698 ShaderPrecisionFormat.internal_() { } 6707 ShaderPrecisionFormat.internal_() { }
6699 6708
6700 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
6701 int get hashCode => unwrap_jso(this).hashCode;
6702
6703 @DomName('WebGLShaderPrecisionFormat.precision') 6709 @DomName('WebGLShaderPrecisionFormat.precision')
6704 @DocsEditable() 6710 @DocsEditable()
6705 int get precision => _blink.BlinkWebGLShaderPrecisionFormat.instance.precision _Getter_(unwrap_jso(this)); 6711 int get precision => _blink.BlinkWebGLShaderPrecisionFormat.instance.precision _Getter_(this);
6706 6712
6707 @DomName('WebGLShaderPrecisionFormat.rangeMax') 6713 @DomName('WebGLShaderPrecisionFormat.rangeMax')
6708 @DocsEditable() 6714 @DocsEditable()
6709 int get rangeMax => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMax_G etter_(unwrap_jso(this)); 6715 int get rangeMax => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMax_G etter_(this);
6710 6716
6711 @DomName('WebGLShaderPrecisionFormat.rangeMin') 6717 @DomName('WebGLShaderPrecisionFormat.rangeMin')
6712 @DocsEditable() 6718 @DocsEditable()
6713 int get rangeMin => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMin_G etter_(unwrap_jso(this)); 6719 int get rangeMin => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMin_G etter_(this);
6714 6720
6715 } 6721 }
6716 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6722 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6717 // for details. All rights reserved. Use of this source code is governed by a 6723 // for details. All rights reserved. Use of this source code is governed by a
6718 // BSD-style license that can be found in the LICENSE file. 6724 // BSD-style license that can be found in the LICENSE file.
6719 6725
6720 // WARNING: Do not edit - generated code. 6726 // WARNING: Do not edit - generated code.
6721 6727
6722 6728
6723 @DocsEditable() 6729 @DocsEditable()
6724 @DomName('WebGLSync') 6730 @DomName('WebGLSync')
6725 @Experimental() // untriaged 6731 @Experimental() // untriaged
6726 class Sync extends DartHtmlDomObject { 6732 class Sync extends DartHtmlDomObject {
6727 // To suppress missing implicit constructor warnings. 6733 // To suppress missing implicit constructor warnings.
6728 factory Sync._() { throw new UnsupportedError("Not supported"); } 6734 factory Sync._() { throw new UnsupportedError("Not supported"); }
6729 6735
6730 @Deprecated("Internal Use Only") 6736 @Deprecated("Internal Use Only")
6731 static Sync internalCreateSync() { 6737 static Sync internalCreateSync() {
6732 return new Sync._internalWrap(); 6738 return new Sync._internalWrap();
6733 } 6739 }
6734 6740
6735 factory Sync._internalWrap() { 6741 factory Sync._internalWrap() {
6736 return new Sync.internal_(); 6742 return new Sync.internal_();
6737 } 6743 }
6738 6744
6739 @Deprecated("Internal Use Only") 6745 @Deprecated("Internal Use Only")
6740 Sync.internal_() { } 6746 Sync.internal_() { }
6741 6747
6742 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
6743 int get hashCode => unwrap_jso(this).hashCode;
6744
6745 } 6748 }
6746 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6749 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6747 // for details. All rights reserved. Use of this source code is governed by a 6750 // for details. All rights reserved. Use of this source code is governed by a
6748 // BSD-style license that can be found in the LICENSE file. 6751 // BSD-style license that can be found in the LICENSE file.
6749 6752
6750 // WARNING: Do not edit - generated code. 6753 // WARNING: Do not edit - generated code.
6751 6754
6752 6755
6753 @DocsEditable() 6756 @DocsEditable()
6754 @DomName('WebGLTexture') 6757 @DomName('WebGLTexture')
6755 class Texture extends DartHtmlDomObject { 6758 class Texture extends DartHtmlDomObject {
6756 // To suppress missing implicit constructor warnings. 6759 // To suppress missing implicit constructor warnings.
6757 factory Texture._() { throw new UnsupportedError("Not supported"); } 6760 factory Texture._() { throw new UnsupportedError("Not supported"); }
6758 6761
6759 @Deprecated("Internal Use Only") 6762 @Deprecated("Internal Use Only")
6760 static Texture internalCreateTexture() { 6763 static Texture internalCreateTexture() {
6761 return new Texture._internalWrap(); 6764 return new Texture._internalWrap();
6762 } 6765 }
6763 6766
6764 factory Texture._internalWrap() { 6767 factory Texture._internalWrap() {
6765 return new Texture.internal_(); 6768 return new Texture.internal_();
6766 } 6769 }
6767 6770
6768 @Deprecated("Internal Use Only") 6771 @Deprecated("Internal Use Only")
6769 Texture.internal_() { } 6772 Texture.internal_() { }
6770 6773
6771 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
6772 int get hashCode => unwrap_jso(this).hashCode;
6773
6774 } 6774 }
6775 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6775 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6776 // for details. All rights reserved. Use of this source code is governed by a 6776 // for details. All rights reserved. Use of this source code is governed by a
6777 // BSD-style license that can be found in the LICENSE file. 6777 // BSD-style license that can be found in the LICENSE file.
6778 6778
6779 // WARNING: Do not edit - generated code. 6779 // WARNING: Do not edit - generated code.
6780 6780
6781 6781
6782 @DocsEditable() 6782 @DocsEditable()
6783 @DomName('WebGLTransformFeedback') 6783 @DomName('WebGLTransformFeedback')
6784 @Experimental() // untriaged 6784 @Experimental() // untriaged
6785 class TransformFeedback extends DartHtmlDomObject { 6785 class TransformFeedback extends DartHtmlDomObject {
6786 // To suppress missing implicit constructor warnings. 6786 // To suppress missing implicit constructor warnings.
6787 factory TransformFeedback._() { throw new UnsupportedError("Not supported"); } 6787 factory TransformFeedback._() { throw new UnsupportedError("Not supported"); }
6788 6788
6789 @Deprecated("Internal Use Only") 6789 @Deprecated("Internal Use Only")
6790 static TransformFeedback internalCreateTransformFeedback() { 6790 static TransformFeedback internalCreateTransformFeedback() {
6791 return new TransformFeedback._internalWrap(); 6791 return new TransformFeedback._internalWrap();
6792 } 6792 }
6793 6793
6794 factory TransformFeedback._internalWrap() { 6794 factory TransformFeedback._internalWrap() {
6795 return new TransformFeedback.internal_(); 6795 return new TransformFeedback.internal_();
6796 } 6796 }
6797 6797
6798 @Deprecated("Internal Use Only") 6798 @Deprecated("Internal Use Only")
6799 TransformFeedback.internal_() { } 6799 TransformFeedback.internal_() { }
6800 6800
6801 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
6802 int get hashCode => unwrap_jso(this).hashCode;
6803
6804 } 6801 }
6805 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6802 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6806 // for details. All rights reserved. Use of this source code is governed by a 6803 // for details. All rights reserved. Use of this source code is governed by a
6807 // BSD-style license that can be found in the LICENSE file. 6804 // BSD-style license that can be found in the LICENSE file.
6808 6805
6809 // WARNING: Do not edit - generated code. 6806 // WARNING: Do not edit - generated code.
6810 6807
6811 6808
6812 @DocsEditable() 6809 @DocsEditable()
6813 @DomName('WebGLUniformLocation') 6810 @DomName('WebGLUniformLocation')
6814 class UniformLocation extends DartHtmlDomObject { 6811 class UniformLocation extends DartHtmlDomObject {
6815 // To suppress missing implicit constructor warnings. 6812 // To suppress missing implicit constructor warnings.
6816 factory UniformLocation._() { throw new UnsupportedError("Not supported"); } 6813 factory UniformLocation._() { throw new UnsupportedError("Not supported"); }
6817 6814
6818 @Deprecated("Internal Use Only") 6815 @Deprecated("Internal Use Only")
6819 static UniformLocation internalCreateUniformLocation() { 6816 static UniformLocation internalCreateUniformLocation() {
6820 return new UniformLocation._internalWrap(); 6817 return new UniformLocation._internalWrap();
6821 } 6818 }
6822 6819
6823 factory UniformLocation._internalWrap() { 6820 factory UniformLocation._internalWrap() {
6824 return new UniformLocation.internal_(); 6821 return new UniformLocation.internal_();
6825 } 6822 }
6826 6823
6827 @Deprecated("Internal Use Only") 6824 @Deprecated("Internal Use Only")
6828 UniformLocation.internal_() { } 6825 UniformLocation.internal_() { }
6829 6826
6830 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
6831 int get hashCode => unwrap_jso(this).hashCode;
6832
6833 } 6827 }
6834 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6828 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6835 // for details. All rights reserved. Use of this source code is governed by a 6829 // for details. All rights reserved. Use of this source code is governed by a
6836 // BSD-style license that can be found in the LICENSE file. 6830 // BSD-style license that can be found in the LICENSE file.
6837 6831
6838 // WARNING: Do not edit - generated code. 6832 // WARNING: Do not edit - generated code.
6839 6833
6840 6834
6841 @DocsEditable() 6835 @DocsEditable()
6842 @DomName('WebGLVertexArrayObject') 6836 @DomName('WebGLVertexArrayObject')
6843 @Experimental() // untriaged 6837 @Experimental() // untriaged
6844 class VertexArrayObject extends DartHtmlDomObject { 6838 class VertexArrayObject extends DartHtmlDomObject {
6845 // To suppress missing implicit constructor warnings. 6839 // To suppress missing implicit constructor warnings.
6846 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } 6840 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); }
6847 6841
6848 @Deprecated("Internal Use Only") 6842 @Deprecated("Internal Use Only")
6849 static VertexArrayObject internalCreateVertexArrayObject() { 6843 static VertexArrayObject internalCreateVertexArrayObject() {
6850 return new VertexArrayObject._internalWrap(); 6844 return new VertexArrayObject._internalWrap();
6851 } 6845 }
6852 6846
6853 factory VertexArrayObject._internalWrap() { 6847 factory VertexArrayObject._internalWrap() {
6854 return new VertexArrayObject.internal_(); 6848 return new VertexArrayObject.internal_();
6855 } 6849 }
6856 6850
6857 @Deprecated("Internal Use Only") 6851 @Deprecated("Internal Use Only")
6858 VertexArrayObject.internal_() { } 6852 VertexArrayObject.internal_() { }
6859 6853
6860 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
6861 int get hashCode => unwrap_jso(this).hashCode;
6862
6863 } 6854 }
6864 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6855 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6865 // for details. All rights reserved. Use of this source code is governed by a 6856 // for details. All rights reserved. Use of this source code is governed by a
6866 // BSD-style license that can be found in the LICENSE file. 6857 // BSD-style license that can be found in the LICENSE file.
6867 6858
6868 // WARNING: Do not edit - generated code. 6859 // WARNING: Do not edit - generated code.
6869 6860
6870 6861
6871 @DocsEditable() 6862 @DocsEditable()
6872 @DomName('WebGLVertexArrayObjectOES') 6863 @DomName('WebGLVertexArrayObjectOES')
6873 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ 6864 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
6874 @Experimental() // experimental 6865 @Experimental() // experimental
6875 class VertexArrayObjectOes extends DartHtmlDomObject { 6866 class VertexArrayObjectOes extends DartHtmlDomObject {
6876 // To suppress missing implicit constructor warnings. 6867 // To suppress missing implicit constructor warnings.
6877 factory VertexArrayObjectOes._() { throw new UnsupportedError("Not supported") ; } 6868 factory VertexArrayObjectOes._() { throw new UnsupportedError("Not supported") ; }
6878 6869
6879 @Deprecated("Internal Use Only") 6870 @Deprecated("Internal Use Only")
6880 static VertexArrayObjectOes internalCreateVertexArrayObjectOes() { 6871 static VertexArrayObjectOes internalCreateVertexArrayObjectOes() {
6881 return new VertexArrayObjectOes._internalWrap(); 6872 return new VertexArrayObjectOes._internalWrap();
6882 } 6873 }
6883 6874
6884 factory VertexArrayObjectOes._internalWrap() { 6875 factory VertexArrayObjectOes._internalWrap() {
6885 return new VertexArrayObjectOes.internal_(); 6876 return new VertexArrayObjectOes.internal_();
6886 } 6877 }
6887 6878
6888 @Deprecated("Internal Use Only") 6879 @Deprecated("Internal Use Only")
6889 VertexArrayObjectOes.internal_() { } 6880 VertexArrayObjectOes.internal_() { }
6890 6881
6891 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
6892 int get hashCode => unwrap_jso(this).hashCode;
6893
6894 } 6882 }
6895 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6883 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6896 // for details. All rights reserved. Use of this source code is governed by a 6884 // for details. All rights reserved. Use of this source code is governed by a
6897 // BSD-style license that can be found in the LICENSE file. 6885 // BSD-style license that can be found in the LICENSE file.
6898 6886
6899 // WARNING: Do not edit - generated code. 6887 // WARNING: Do not edit - generated code.
6900 6888
6901 6889
6902 @DocsEditable() 6890 @DocsEditable()
6903 @DomName('WebGL2RenderingContextBase') 6891 @DomName('WebGL2RenderingContextBase')
6904 @Experimental() // untriaged 6892 @Experimental() // untriaged
6905 class _WebGL2RenderingContextBase extends DartHtmlDomObject implements _WebGLRen deringContextBase { 6893 class _WebGL2RenderingContextBase extends DartHtmlDomObject implements _WebGLRen deringContextBase {
6906 // To suppress missing implicit constructor warnings. 6894 // To suppress missing implicit constructor warnings.
6907 factory _WebGL2RenderingContextBase._() { throw new UnsupportedError("Not supp orted"); } 6895 factory _WebGL2RenderingContextBase._() { throw new UnsupportedError("Not supp orted"); }
6908 6896
6909 @Deprecated("Internal Use Only") 6897 @Deprecated("Internal Use Only")
6910 static _WebGL2RenderingContextBase internalCreate_WebGL2RenderingContextBase() { 6898 static _WebGL2RenderingContextBase internalCreate_WebGL2RenderingContextBase() {
6911 return new _WebGL2RenderingContextBase._internalWrap(); 6899 return new _WebGL2RenderingContextBase._internalWrap();
6912 } 6900 }
6913 6901
6914 factory _WebGL2RenderingContextBase._internalWrap() { 6902 factory _WebGL2RenderingContextBase._internalWrap() {
6915 return new _WebGL2RenderingContextBase.internal_(); 6903 return new _WebGL2RenderingContextBase.internal_();
6916 } 6904 }
6917 6905
6918 @Deprecated("Internal Use Only") 6906 @Deprecated("Internal Use Only")
6919 _WebGL2RenderingContextBase.internal_() { } 6907 _WebGL2RenderingContextBase.internal_() { }
6920 6908
6921 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
6922 int get hashCode => unwrap_jso(this).hashCode;
6923
6924 } 6909 }
6925 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6910 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6926 // for details. All rights reserved. Use of this source code is governed by a 6911 // for details. All rights reserved. Use of this source code is governed by a
6927 // BSD-style license that can be found in the LICENSE file. 6912 // BSD-style license that can be found in the LICENSE file.
6928 6913
6929 // WARNING: Do not edit - generated code. 6914 // WARNING: Do not edit - generated code.
6930 6915
6931 6916
6932 @DocsEditable() 6917 @DocsEditable()
6933 @DomName('WebGLRenderingContextBase') 6918 @DomName('WebGLRenderingContextBase')
6934 @Experimental() // untriaged 6919 @Experimental() // untriaged
6935 class _WebGLRenderingContextBase extends DartHtmlDomObject { 6920 class _WebGLRenderingContextBase extends DartHtmlDomObject {
6936 // To suppress missing implicit constructor warnings. 6921 // To suppress missing implicit constructor warnings.
6937 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo rted"); } 6922 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo rted"); }
6938 6923
6939 } 6924 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698