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

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

Issue 319283003: Refactor dart:_blink into classes to improve startup time (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
1 library dart.dom.web_gl; 1 library dart.dom.web_gl;
2 2
3 import 'dart:async'; 3 import 'dart:async';
4 import 'dart:collection'; 4 import 'dart:collection';
5 import 'dart:_internal' hide deprecated; 5 import 'dart:_internal' hide deprecated;
6 import 'dart:html'; 6 import 'dart:html';
7 import 'dart:html_common'; 7 import 'dart:html_common';
8 import 'dart:nativewrappers'; 8 import 'dart:nativewrappers';
9 import 'dart:typed_data'; 9 import 'dart:typed_data';
10 import 'dart:_blink' as _blink; 10 import 'dart:_blink' as _blink;
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 360
361 @DocsEditable() 361 @DocsEditable()
362 @DomName('WebGLActiveInfo') 362 @DomName('WebGLActiveInfo')
363 @Unstable() 363 @Unstable()
364 class ActiveInfo extends NativeFieldWrapperClass2 { 364 class ActiveInfo extends NativeFieldWrapperClass2 {
365 // To suppress missing implicit constructor warnings. 365 // To suppress missing implicit constructor warnings.
366 factory ActiveInfo._() { throw new UnsupportedError("Not supported"); } 366 factory ActiveInfo._() { throw new UnsupportedError("Not supported"); }
367 367
368 @DomName('WebGLActiveInfo.name') 368 @DomName('WebGLActiveInfo.name')
369 @DocsEditable() 369 @DocsEditable()
370 String get name => _blink.Native_WebGLActiveInfo_name_Getter(this); 370 String get name => _blink.BlinkWebGLActiveInfo.$name_Getter(this);
371 371
372 @DomName('WebGLActiveInfo.size') 372 @DomName('WebGLActiveInfo.size')
373 @DocsEditable() 373 @DocsEditable()
374 int get size => _blink.Native_WebGLActiveInfo_size_Getter(this); 374 int get size => _blink.BlinkWebGLActiveInfo.$size_Getter(this);
375 375
376 @DomName('WebGLActiveInfo.type') 376 @DomName('WebGLActiveInfo.type')
377 @DocsEditable() 377 @DocsEditable()
378 int get type => _blink.Native_WebGLActiveInfo_type_Getter(this); 378 int get type => _blink.BlinkWebGLActiveInfo.$type_Getter(this);
379 379
380 } 380 }
381 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 381 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
382 // for details. All rights reserved. Use of this source code is governed by a 382 // for details. All rights reserved. Use of this source code is governed by a
383 // BSD-style license that can be found in the LICENSE file. 383 // BSD-style license that can be found in the LICENSE file.
384 384
385 // WARNING: Do not edit - generated code. 385 // WARNING: Do not edit - generated code.
386 386
387 387
388 @DocsEditable() 388 @DocsEditable()
389 @DomName('ANGLEInstancedArrays') 389 @DomName('ANGLEInstancedArrays')
390 @Experimental() // untriaged 390 @Experimental() // untriaged
391 class AngleInstancedArrays extends NativeFieldWrapperClass2 { 391 class AngleInstancedArrays extends NativeFieldWrapperClass2 {
392 // To suppress missing implicit constructor warnings. 392 // To suppress missing implicit constructor warnings.
393 factory AngleInstancedArrays._() { throw new UnsupportedError("Not supported") ; } 393 factory AngleInstancedArrays._() { throw new UnsupportedError("Not supported") ; }
394 394
395 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE') 395 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE')
396 @DocsEditable() 396 @DocsEditable()
397 @Experimental() // untriaged 397 @Experimental() // untriaged
398 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; 398 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE;
399 399
400 @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE') 400 @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE')
401 @DocsEditable() 401 @DocsEditable()
402 @Experimental() // untriaged 402 @Experimental() // untriaged
403 void drawArraysInstancedAngle(int mode, int first, int count, int primcount) = > _blink.Native_ANGLEInstancedArrays_drawArraysInstancedANGLE_Callback(this, mod e, first, count, primcount); 403 void drawArraysInstancedAngle(int mode, int first, int count, int primcount) = > _blink.BlinkANGLEInstancedArrays.$drawArraysInstancedANGLE_Callback(this, mode , first, count, primcount);
404 404
405 @DomName('ANGLEInstancedArrays.drawElementsInstancedANGLE') 405 @DomName('ANGLEInstancedArrays.drawElementsInstancedANGLE')
406 @DocsEditable() 406 @DocsEditable()
407 @Experimental() // untriaged 407 @Experimental() // untriaged
408 void drawElementsInstancedAngle(int mode, int count, int type, int offset, int primcount) => _blink.Native_ANGLEInstancedArrays_drawElementsInstancedANGLE_Cal lback(this, mode, count, type, offset, primcount); 408 void drawElementsInstancedAngle(int mode, int count, int type, int offset, int primcount) => _blink.BlinkANGLEInstancedArrays.$drawElementsInstancedANGLE_Call back(this, mode, count, type, offset, primcount);
409 409
410 @DomName('ANGLEInstancedArrays.vertexAttribDivisorANGLE') 410 @DomName('ANGLEInstancedArrays.vertexAttribDivisorANGLE')
411 @DocsEditable() 411 @DocsEditable()
412 @Experimental() // untriaged 412 @Experimental() // untriaged
413 void vertexAttribDivisorAngle(int index, int divisor) => _blink.Native_ANGLEIn stancedArrays_vertexAttribDivisorANGLE_Callback(this, index, divisor); 413 void vertexAttribDivisorAngle(int index, int divisor) => _blink.BlinkANGLEInst ancedArrays.$vertexAttribDivisorANGLE_Callback(this, index, divisor);
414 414
415 } 415 }
416 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 416 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
417 // for details. All rights reserved. Use of this source code is governed by a 417 // for details. All rights reserved. Use of this source code is governed by a
418 // BSD-style license that can be found in the LICENSE file. 418 // BSD-style license that can be found in the LICENSE file.
419 419
420 // WARNING: Do not edit - generated code. 420 // WARNING: Do not edit - generated code.
421 421
422 422
423 @DocsEditable() 423 @DocsEditable()
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 * bits. 551 * bits.
552 */ 552 */
553 @DomName('WebGLContextAttributes') 553 @DomName('WebGLContextAttributes')
554 @Unstable() 554 @Unstable()
555 class ContextAttributes extends NativeFieldWrapperClass2 { 555 class ContextAttributes extends NativeFieldWrapperClass2 {
556 // To suppress missing implicit constructor warnings. 556 // To suppress missing implicit constructor warnings.
557 factory ContextAttributes._() { throw new UnsupportedError("Not supported"); } 557 factory ContextAttributes._() { throw new UnsupportedError("Not supported"); }
558 558
559 @DomName('WebGLContextAttributes.alpha') 559 @DomName('WebGLContextAttributes.alpha')
560 @DocsEditable() 560 @DocsEditable()
561 bool get alpha => _blink.Native_WebGLContextAttributes_alpha_Getter(this); 561 bool get alpha => _blink.BlinkWebGLContextAttributes.$alpha_Getter(this);
562 562
563 @DomName('WebGLContextAttributes.alpha') 563 @DomName('WebGLContextAttributes.alpha')
564 @DocsEditable() 564 @DocsEditable()
565 void set alpha(bool value) => _blink.Native_WebGLContextAttributes_alpha_Sette r(this, value); 565 void set alpha(bool value) => _blink.BlinkWebGLContextAttributes.$alpha_Setter (this, value);
566 566
567 @DomName('WebGLContextAttributes.antialias') 567 @DomName('WebGLContextAttributes.antialias')
568 @DocsEditable() 568 @DocsEditable()
569 bool get antialias => _blink.Native_WebGLContextAttributes_antialias_Getter(th is); 569 bool get antialias => _blink.BlinkWebGLContextAttributes.$antialias_Getter(thi s);
570 570
571 @DomName('WebGLContextAttributes.antialias') 571 @DomName('WebGLContextAttributes.antialias')
572 @DocsEditable() 572 @DocsEditable()
573 void set antialias(bool value) => _blink.Native_WebGLContextAttributes_antiali as_Setter(this, value); 573 void set antialias(bool value) => _blink.BlinkWebGLContextAttributes.$antialia s_Setter(this, value);
574 574
575 @DomName('WebGLContextAttributes.depth') 575 @DomName('WebGLContextAttributes.depth')
576 @DocsEditable() 576 @DocsEditable()
577 bool get depth => _blink.Native_WebGLContextAttributes_depth_Getter(this); 577 bool get depth => _blink.BlinkWebGLContextAttributes.$depth_Getter(this);
578 578
579 @DomName('WebGLContextAttributes.depth') 579 @DomName('WebGLContextAttributes.depth')
580 @DocsEditable() 580 @DocsEditable()
581 void set depth(bool value) => _blink.Native_WebGLContextAttributes_depth_Sette r(this, value); 581 void set depth(bool value) => _blink.BlinkWebGLContextAttributes.$depth_Setter (this, value);
582 582
583 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat') 583 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat')
584 @DocsEditable() 584 @DocsEditable()
585 @Experimental() // untriaged 585 @Experimental() // untriaged
586 bool get failIfMajorPerformanceCaveat => _blink.Native_WebGLContextAttributes_ failIfMajorPerformanceCaveat_Getter(this); 586 bool get failIfMajorPerformanceCaveat => _blink.BlinkWebGLContextAttributes.$f ailIfMajorPerformanceCaveat_Getter(this);
587 587
588 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat') 588 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat')
589 @DocsEditable() 589 @DocsEditable()
590 @Experimental() // untriaged 590 @Experimental() // untriaged
591 void set failIfMajorPerformanceCaveat(bool value) => _blink.Native_WebGLContex tAttributes_failIfMajorPerformanceCaveat_Setter(this, value); 591 void set failIfMajorPerformanceCaveat(bool value) => _blink.BlinkWebGLContextA ttributes.$failIfMajorPerformanceCaveat_Setter(this, value);
592 592
593 @DomName('WebGLContextAttributes.premultipliedAlpha') 593 @DomName('WebGLContextAttributes.premultipliedAlpha')
594 @DocsEditable() 594 @DocsEditable()
595 bool get premultipliedAlpha => _blink.Native_WebGLContextAttributes_premultipl iedAlpha_Getter(this); 595 bool get premultipliedAlpha => _blink.BlinkWebGLContextAttributes.$premultipli edAlpha_Getter(this);
596 596
597 @DomName('WebGLContextAttributes.premultipliedAlpha') 597 @DomName('WebGLContextAttributes.premultipliedAlpha')
598 @DocsEditable() 598 @DocsEditable()
599 void set premultipliedAlpha(bool value) => _blink.Native_WebGLContextAttribute s_premultipliedAlpha_Setter(this, value); 599 void set premultipliedAlpha(bool value) => _blink.BlinkWebGLContextAttributes. $premultipliedAlpha_Setter(this, value);
600 600
601 @DomName('WebGLContextAttributes.preserveDrawingBuffer') 601 @DomName('WebGLContextAttributes.preserveDrawingBuffer')
602 @DocsEditable() 602 @DocsEditable()
603 bool get preserveDrawingBuffer => _blink.Native_WebGLContextAttributes_preserv eDrawingBuffer_Getter(this); 603 bool get preserveDrawingBuffer => _blink.BlinkWebGLContextAttributes.$preserve DrawingBuffer_Getter(this);
604 604
605 @DomName('WebGLContextAttributes.preserveDrawingBuffer') 605 @DomName('WebGLContextAttributes.preserveDrawingBuffer')
606 @DocsEditable() 606 @DocsEditable()
607 void set preserveDrawingBuffer(bool value) => _blink.Native_WebGLContextAttrib utes_preserveDrawingBuffer_Setter(this, value); 607 void set preserveDrawingBuffer(bool value) => _blink.BlinkWebGLContextAttribut es.$preserveDrawingBuffer_Setter(this, value);
608 608
609 @DomName('WebGLContextAttributes.stencil') 609 @DomName('WebGLContextAttributes.stencil')
610 @DocsEditable() 610 @DocsEditable()
611 bool get stencil => _blink.Native_WebGLContextAttributes_stencil_Getter(this); 611 bool get stencil => _blink.BlinkWebGLContextAttributes.$stencil_Getter(this);
612 612
613 @DomName('WebGLContextAttributes.stencil') 613 @DomName('WebGLContextAttributes.stencil')
614 @DocsEditable() 614 @DocsEditable()
615 void set stencil(bool value) => _blink.Native_WebGLContextAttributes_stencil_S etter(this, value); 615 void set stencil(bool value) => _blink.BlinkWebGLContextAttributes.$stencil_Se tter(this, value);
616 616
617 } 617 }
618 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 618 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
619 // for details. All rights reserved. Use of this source code is governed by a 619 // for details. All rights reserved. Use of this source code is governed by a
620 // BSD-style license that can be found in the LICENSE file. 620 // BSD-style license that can be found in the LICENSE file.
621 621
622 // WARNING: Do not edit - generated code. 622 // WARNING: Do not edit - generated code.
623 623
624 624
625 @DocsEditable() 625 @DocsEditable()
626 @DomName('WebGLContextEvent') 626 @DomName('WebGLContextEvent')
627 @Unstable() 627 @Unstable()
628 class ContextEvent extends Event { 628 class ContextEvent extends Event {
629 // To suppress missing implicit constructor warnings. 629 // To suppress missing implicit constructor warnings.
630 factory ContextEvent._() { throw new UnsupportedError("Not supported"); } 630 factory ContextEvent._() { throw new UnsupportedError("Not supported"); }
631 631
632 @DomName('WebGLContextEvent.statusMessage') 632 @DomName('WebGLContextEvent.statusMessage')
633 @DocsEditable() 633 @DocsEditable()
634 String get statusMessage => _blink.Native_WebGLContextEvent_statusMessage_Gett er(this); 634 String get statusMessage => _blink.BlinkWebGLContextEvent.$statusMessage_Gette r(this);
635 635
636 } 636 }
637 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 637 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
638 // for details. All rights reserved. Use of this source code is governed by a 638 // for details. All rights reserved. Use of this source code is governed by a
639 // BSD-style license that can be found in the LICENSE file. 639 // BSD-style license that can be found in the LICENSE file.
640 640
641 // WARNING: Do not edit - generated code. 641 // WARNING: Do not edit - generated code.
642 642
643 643
644 @DocsEditable() 644 @DocsEditable()
(...skipping 23 matching lines...) Expand all
668 @DocsEditable() 668 @DocsEditable()
669 @DomName('WebGLDebugShaders') 669 @DomName('WebGLDebugShaders')
670 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/ 670 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/
671 @Experimental() // experimental 671 @Experimental() // experimental
672 class DebugShaders extends NativeFieldWrapperClass2 { 672 class DebugShaders extends NativeFieldWrapperClass2 {
673 // To suppress missing implicit constructor warnings. 673 // To suppress missing implicit constructor warnings.
674 factory DebugShaders._() { throw new UnsupportedError("Not supported"); } 674 factory DebugShaders._() { throw new UnsupportedError("Not supported"); }
675 675
676 @DomName('WebGLDebugShaders.getTranslatedShaderSource') 676 @DomName('WebGLDebugShaders.getTranslatedShaderSource')
677 @DocsEditable() 677 @DocsEditable()
678 String getTranslatedShaderSource(Shader shader) => _blink.Native_WebGLDebugSha ders_getTranslatedShaderSource_Callback(this, shader); 678 String getTranslatedShaderSource(Shader shader) => _blink.BlinkWebGLDebugShade rs.$getTranslatedShaderSource_Callback(this, shader);
679 679
680 } 680 }
681 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 681 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
682 // for details. All rights reserved. Use of this source code is governed by a 682 // for details. All rights reserved. Use of this source code is governed by a
683 // BSD-style license that can be found in the LICENSE file. 683 // BSD-style license that can be found in the LICENSE file.
684 684
685 // WARNING: Do not edit - generated code. 685 // WARNING: Do not edit - generated code.
686 686
687 687
688 @DocsEditable() 688 @DocsEditable()
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
844 @DomName('WebGLDrawBuffers.MAX_COLOR_ATTACHMENTS_WEBGL') 844 @DomName('WebGLDrawBuffers.MAX_COLOR_ATTACHMENTS_WEBGL')
845 @DocsEditable() 845 @DocsEditable()
846 static const int MAX_COLOR_ATTACHMENTS_WEBGL = 0x8CDF; 846 static const int MAX_COLOR_ATTACHMENTS_WEBGL = 0x8CDF;
847 847
848 @DomName('WebGLDrawBuffers.MAX_DRAW_BUFFERS_WEBGL') 848 @DomName('WebGLDrawBuffers.MAX_DRAW_BUFFERS_WEBGL')
849 @DocsEditable() 849 @DocsEditable()
850 static const int MAX_DRAW_BUFFERS_WEBGL = 0x8824; 850 static const int MAX_DRAW_BUFFERS_WEBGL = 0x8824;
851 851
852 @DomName('WebGLDrawBuffers.drawBuffersWEBGL') 852 @DomName('WebGLDrawBuffers.drawBuffersWEBGL')
853 @DocsEditable() 853 @DocsEditable()
854 void drawBuffersWebgl(List<int> buffers) => _blink.Native_WebGLDrawBuffers_dra wBuffersWEBGL_Callback(this, buffers); 854 void drawBuffersWebgl(List<int> buffers) => _blink.BlinkWebGLDrawBuffers.$draw BuffersWEBGL_Callback(this, buffers);
855 855
856 } 856 }
857 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 857 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
858 // for details. All rights reserved. Use of this source code is governed by a 858 // for details. All rights reserved. Use of this source code is governed by a
859 // BSD-style license that can be found in the LICENSE file. 859 // BSD-style license that can be found in the LICENSE file.
860 860
861 // WARNING: Do not edit - generated code. 861 // WARNING: Do not edit - generated code.
862 862
863 863
864 @DocsEditable() 864 @DocsEditable()
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
919 @DocsEditable() 919 @DocsEditable()
920 @DomName('WebGLLoseContext') 920 @DomName('WebGLLoseContext')
921 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/ 921 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/
922 @Experimental() 922 @Experimental()
923 class LoseContext extends NativeFieldWrapperClass2 { 923 class LoseContext extends NativeFieldWrapperClass2 {
924 // To suppress missing implicit constructor warnings. 924 // To suppress missing implicit constructor warnings.
925 factory LoseContext._() { throw new UnsupportedError("Not supported"); } 925 factory LoseContext._() { throw new UnsupportedError("Not supported"); }
926 926
927 @DomName('WebGLLoseContext.loseContext') 927 @DomName('WebGLLoseContext.loseContext')
928 @DocsEditable() 928 @DocsEditable()
929 void loseContext() => _blink.Native_WebGLLoseContext_loseContext_Callback(this ); 929 void loseContext() => _blink.BlinkWebGLLoseContext.$loseContext_Callback(this) ;
930 930
931 @DomName('WebGLLoseContext.restoreContext') 931 @DomName('WebGLLoseContext.restoreContext')
932 @DocsEditable() 932 @DocsEditable()
933 void restoreContext() => _blink.Native_WebGLLoseContext_restoreContext_Callbac k(this); 933 void restoreContext() => _blink.BlinkWebGLLoseContext.$restoreContext_Callback (this);
934 934
935 } 935 }
936 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 936 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
937 // for details. All rights reserved. Use of this source code is governed by a 937 // for details. All rights reserved. Use of this source code is governed by a
938 // BSD-style license that can be found in the LICENSE file. 938 // BSD-style license that can be found in the LICENSE file.
939 939
940 // WARNING: Do not edit - generated code. 940 // WARNING: Do not edit - generated code.
941 941
942 942
943 @DocsEditable() 943 @DocsEditable()
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
1051 class OesVertexArrayObject extends NativeFieldWrapperClass2 { 1051 class OesVertexArrayObject extends NativeFieldWrapperClass2 {
1052 // To suppress missing implicit constructor warnings. 1052 // To suppress missing implicit constructor warnings.
1053 factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported") ; } 1053 factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported") ; }
1054 1054
1055 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') 1055 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES')
1056 @DocsEditable() 1056 @DocsEditable()
1057 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; 1057 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5;
1058 1058
1059 @DomName('OESVertexArrayObject.bindVertexArrayOES') 1059 @DomName('OESVertexArrayObject.bindVertexArrayOES')
1060 @DocsEditable() 1060 @DocsEditable()
1061 void bindVertexArray(VertexArrayObject arrayObject) => _blink.Native_OESVertex ArrayObject_bindVertexArrayOES_Callback(this, arrayObject); 1061 void bindVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertexAr rayObject.$bindVertexArrayOES_Callback(this, arrayObject);
1062 1062
1063 @DomName('OESVertexArrayObject.createVertexArrayOES') 1063 @DomName('OESVertexArrayObject.createVertexArrayOES')
1064 @DocsEditable() 1064 @DocsEditable()
1065 VertexArrayObject createVertexArray() => _blink.Native_OESVertexArrayObject_cr eateVertexArrayOES_Callback(this); 1065 VertexArrayObject createVertexArray() => _blink.BlinkOESVertexArrayObject.$cre ateVertexArrayOES_Callback(this);
1066 1066
1067 @DomName('OESVertexArrayObject.deleteVertexArrayOES') 1067 @DomName('OESVertexArrayObject.deleteVertexArrayOES')
1068 @DocsEditable() 1068 @DocsEditable()
1069 void deleteVertexArray(VertexArrayObject arrayObject) => _blink.Native_OESVert exArrayObject_deleteVertexArrayOES_Callback(this, arrayObject); 1069 void deleteVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertex ArrayObject.$deleteVertexArrayOES_Callback(this, arrayObject);
1070 1070
1071 @DomName('OESVertexArrayObject.isVertexArrayOES') 1071 @DomName('OESVertexArrayObject.isVertexArrayOES')
1072 @DocsEditable() 1072 @DocsEditable()
1073 bool isVertexArray(VertexArrayObject arrayObject) => _blink.Native_OESVertexAr rayObject_isVertexArrayOES_Callback(this, arrayObject); 1073 bool isVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertexArra yObject.$isVertexArrayOES_Callback(this, arrayObject);
1074 1074
1075 } 1075 }
1076 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1076 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1077 // for details. All rights reserved. Use of this source code is governed by a 1077 // for details. All rights reserved. Use of this source code is governed by a
1078 // BSD-style license that can be found in the LICENSE file. 1078 // BSD-style license that can be found in the LICENSE file.
1079 1079
1080 // WARNING: Do not edit - generated code. 1080 // WARNING: Do not edit - generated code.
1081 1081
1082 1082
1083 @DocsEditable() 1083 @DocsEditable()
(...skipping 1211 matching lines...) Expand 10 before | Expand all | Expand 10 after
2295 @DomName('WebGLRenderingContext.VIEWPORT') 2295 @DomName('WebGLRenderingContext.VIEWPORT')
2296 @DocsEditable() 2296 @DocsEditable()
2297 static const int VIEWPORT = 0x0BA2; 2297 static const int VIEWPORT = 0x0BA2;
2298 2298
2299 @DomName('WebGLRenderingContext.ZERO') 2299 @DomName('WebGLRenderingContext.ZERO')
2300 @DocsEditable() 2300 @DocsEditable()
2301 static const int ZERO = 0; 2301 static const int ZERO = 0;
2302 2302
2303 @DomName('WebGLRenderingContext.drawingBufferHeight') 2303 @DomName('WebGLRenderingContext.drawingBufferHeight')
2304 @DocsEditable() 2304 @DocsEditable()
2305 int get drawingBufferHeight => _blink.Native_WebGLRenderingContext_drawingBuff erHeight_Getter(this); 2305 int get drawingBufferHeight => _blink.BlinkWebGLRenderingContext.$drawingBuffe rHeight_Getter(this);
2306 2306
2307 @DomName('WebGLRenderingContext.drawingBufferWidth') 2307 @DomName('WebGLRenderingContext.drawingBufferWidth')
2308 @DocsEditable() 2308 @DocsEditable()
2309 int get drawingBufferWidth => _blink.Native_WebGLRenderingContext_drawingBuffe rWidth_Getter(this); 2309 int get drawingBufferWidth => _blink.BlinkWebGLRenderingContext.$drawingBuffer Width_Getter(this);
2310 2310
2311 @DomName('WebGLRenderingContext.activeTexture') 2311 @DomName('WebGLRenderingContext.activeTexture')
2312 @DocsEditable() 2312 @DocsEditable()
2313 void activeTexture(int texture) => _blink.Native_WebGLRenderingContext_activeT exture_Callback(this, texture); 2313 void activeTexture(int texture) => _blink.BlinkWebGLRenderingContext.$activeTe xture_Callback(this, texture);
2314 2314
2315 @DomName('WebGLRenderingContext.attachShader') 2315 @DomName('WebGLRenderingContext.attachShader')
2316 @DocsEditable() 2316 @DocsEditable()
2317 void attachShader(Program program, Shader shader) => _blink.Native_WebGLRender ingContext_attachShader_Callback(this, program, shader); 2317 void attachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderin gContext.$attachShader_Callback(this, program, shader);
2318 2318
2319 @DomName('WebGLRenderingContext.bindAttribLocation') 2319 @DomName('WebGLRenderingContext.bindAttribLocation')
2320 @DocsEditable() 2320 @DocsEditable()
2321 void bindAttribLocation(Program program, int index, String name) => _blink.Nat ive_WebGLRenderingContext_bindAttribLocation_Callback(this, program, index, name ); 2321 void bindAttribLocation(Program program, int index, String name) => _blink.Bli nkWebGLRenderingContext.$bindAttribLocation_Callback(this, program, index, name) ;
2322 2322
2323 @DomName('WebGLRenderingContext.bindBuffer') 2323 @DomName('WebGLRenderingContext.bindBuffer')
2324 @DocsEditable() 2324 @DocsEditable()
2325 void bindBuffer(int target, Buffer buffer) => _blink.Native_WebGLRenderingCont ext_bindBuffer_Callback(this, target, buffer); 2325 void bindBuffer(int target, Buffer buffer) => _blink.BlinkWebGLRenderingContex t.$bindBuffer_Callback(this, target, buffer);
2326 2326
2327 @DomName('WebGLRenderingContext.bindFramebuffer') 2327 @DomName('WebGLRenderingContext.bindFramebuffer')
2328 @DocsEditable() 2328 @DocsEditable()
2329 void bindFramebuffer(int target, Framebuffer framebuffer) => _blink.Native_Web GLRenderingContext_bindFramebuffer_Callback(this, target, framebuffer); 2329 void bindFramebuffer(int target, Framebuffer framebuffer) => _blink.BlinkWebGL RenderingContext.$bindFramebuffer_Callback(this, target, framebuffer);
2330 2330
2331 @DomName('WebGLRenderingContext.bindRenderbuffer') 2331 @DomName('WebGLRenderingContext.bindRenderbuffer')
2332 @DocsEditable() 2332 @DocsEditable()
2333 void bindRenderbuffer(int target, Renderbuffer renderbuffer) => _blink.Native_ WebGLRenderingContext_bindRenderbuffer_Callback(this, target, renderbuffer); 2333 void bindRenderbuffer(int target, Renderbuffer renderbuffer) => _blink.BlinkWe bGLRenderingContext.$bindRenderbuffer_Callback(this, target, renderbuffer);
2334 2334
2335 @DomName('WebGLRenderingContext.bindTexture') 2335 @DomName('WebGLRenderingContext.bindTexture')
2336 @DocsEditable() 2336 @DocsEditable()
2337 void bindTexture(int target, Texture texture) => _blink.Native_WebGLRenderingC ontext_bindTexture_Callback(this, target, texture); 2337 void bindTexture(int target, Texture texture) => _blink.BlinkWebGLRenderingCon text.$bindTexture_Callback(this, target, texture);
2338 2338
2339 @DomName('WebGLRenderingContext.blendColor') 2339 @DomName('WebGLRenderingContext.blendColor')
2340 @DocsEditable() 2340 @DocsEditable()
2341 void blendColor(num red, num green, num blue, num alpha) => _blink.Native_WebG LRenderingContext_blendColor_Callback(this, red, green, blue, alpha); 2341 void blendColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGLR enderingContext.$blendColor_Callback(this, red, green, blue, alpha);
2342 2342
2343 @DomName('WebGLRenderingContext.blendEquation') 2343 @DomName('WebGLRenderingContext.blendEquation')
2344 @DocsEditable() 2344 @DocsEditable()
2345 void blendEquation(int mode) => _blink.Native_WebGLRenderingContext_blendEquat ion_Callback(this, mode); 2345 void blendEquation(int mode) => _blink.BlinkWebGLRenderingContext.$blendEquati on_Callback(this, mode);
2346 2346
2347 @DomName('WebGLRenderingContext.blendEquationSeparate') 2347 @DomName('WebGLRenderingContext.blendEquationSeparate')
2348 @DocsEditable() 2348 @DocsEditable()
2349 void blendEquationSeparate(int modeRGB, int modeAlpha) => _blink.Native_WebGLR enderingContext_blendEquationSeparate_Callback(this, modeRGB, modeAlpha); 2349 void blendEquationSeparate(int modeRGB, int modeAlpha) => _blink.BlinkWebGLRen deringContext.$blendEquationSeparate_Callback(this, modeRGB, modeAlpha);
2350 2350
2351 @DomName('WebGLRenderingContext.blendFunc') 2351 @DomName('WebGLRenderingContext.blendFunc')
2352 @DocsEditable() 2352 @DocsEditable()
2353 void blendFunc(int sfactor, int dfactor) => _blink.Native_WebGLRenderingContex t_blendFunc_Callback(this, sfactor, dfactor); 2353 void blendFunc(int sfactor, int dfactor) => _blink.BlinkWebGLRenderingContext. $blendFunc_Callback(this, sfactor, dfactor);
2354 2354
2355 @DomName('WebGLRenderingContext.blendFuncSeparate') 2355 @DomName('WebGLRenderingContext.blendFuncSeparate')
2356 @DocsEditable() 2356 @DocsEditable()
2357 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) => _blink.Native_WebGLRenderingContext_blendFuncSeparate_Callback(this, srcRGB, dst RGB, srcAlpha, dstAlpha); 2357 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) => _blink.BlinkWebGLRenderingContext.$blendFuncSeparate_Callback(this, srcRGB, dstR GB, srcAlpha, dstAlpha);
2358 2358
2359 @DomName('WebGLRenderingContext.bufferByteData') 2359 @DomName('WebGLRenderingContext.bufferByteData')
2360 @DocsEditable() 2360 @DocsEditable()
2361 void bufferByteData(int target, ByteBuffer data, int usage) => _blink.Native_W ebGLRenderingContext_bufferByteData_Callback(this, target, data, usage); 2361 void bufferByteData(int target, ByteBuffer data, int usage) => _blink.BlinkWeb GLRenderingContext.$bufferByteData_Callback(this, target, data, usage);
2362 2362
2363 void bufferData(int target, data_OR_size, int usage) => _blink.Native_WebGLRen deringContext_bufferData(this, target, data_OR_size, usage); 2363 void bufferData(int target, data_OR_size, int usage) => _blink.BlinkWebGLRende ringContext.$bufferData(this, target, data_OR_size, usage);
2364 2364
2365 @DomName('WebGLRenderingContext.bufferDataTyped') 2365 @DomName('WebGLRenderingContext.bufferDataTyped')
2366 @DocsEditable() 2366 @DocsEditable()
2367 void bufferDataTyped(int target, TypedData data, int usage) => _blink.Native_W ebGLRenderingContext_bufferDataTyped_Callback(this, target, data, usage); 2367 void bufferDataTyped(int target, TypedData data, int usage) => _blink.BlinkWeb GLRenderingContext.$bufferDataTyped_Callback(this, target, data, usage);
2368 2368
2369 @DomName('WebGLRenderingContext.bufferSubByteData') 2369 @DomName('WebGLRenderingContext.bufferSubByteData')
2370 @DocsEditable() 2370 @DocsEditable()
2371 void bufferSubByteData(int target, int offset, ByteBuffer data) => _blink.Nati ve_WebGLRenderingContext_bufferSubByteData_Callback(this, target, offset, data); 2371 void bufferSubByteData(int target, int offset, ByteBuffer data) => _blink.Blin kWebGLRenderingContext.$bufferSubByteData_Callback(this, target, offset, data);
2372 2372
2373 void bufferSubData(int target, int offset, data) => _blink.Native_WebGLRenderi ngContext_bufferSubData(this, target, offset, data); 2373 void bufferSubData(int target, int offset, data) => _blink.BlinkWebGLRendering Context.$bufferSubData(this, target, offset, data);
2374 2374
2375 @DomName('WebGLRenderingContext.bufferSubDataTyped') 2375 @DomName('WebGLRenderingContext.bufferSubDataTyped')
2376 @DocsEditable() 2376 @DocsEditable()
2377 void bufferSubDataTyped(int target, int offset, TypedData data) => _blink.Nati ve_WebGLRenderingContext_bufferSubDataTyped_Callback(this, target, offset, data) ; 2377 void bufferSubDataTyped(int target, int offset, TypedData data) => _blink.Blin kWebGLRenderingContext.$bufferSubDataTyped_Callback(this, target, offset, data);
2378 2378
2379 @DomName('WebGLRenderingContext.checkFramebufferStatus') 2379 @DomName('WebGLRenderingContext.checkFramebufferStatus')
2380 @DocsEditable() 2380 @DocsEditable()
2381 int checkFramebufferStatus(int target) => _blink.Native_WebGLRenderingContext_ checkFramebufferStatus_Callback(this, target); 2381 int checkFramebufferStatus(int target) => _blink.BlinkWebGLRenderingContext.$c heckFramebufferStatus_Callback(this, target);
2382 2382
2383 @DomName('WebGLRenderingContext.clear') 2383 @DomName('WebGLRenderingContext.clear')
2384 @DocsEditable() 2384 @DocsEditable()
2385 void clear(int mask) => _blink.Native_WebGLRenderingContext_clear_Callback(thi s, mask); 2385 void clear(int mask) => _blink.BlinkWebGLRenderingContext.$clear_Callback(this , mask);
2386 2386
2387 @DomName('WebGLRenderingContext.clearColor') 2387 @DomName('WebGLRenderingContext.clearColor')
2388 @DocsEditable() 2388 @DocsEditable()
2389 void clearColor(num red, num green, num blue, num alpha) => _blink.Native_WebG LRenderingContext_clearColor_Callback(this, red, green, blue, alpha); 2389 void clearColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGLR enderingContext.$clearColor_Callback(this, red, green, blue, alpha);
2390 2390
2391 @DomName('WebGLRenderingContext.clearDepth') 2391 @DomName('WebGLRenderingContext.clearDepth')
2392 @DocsEditable() 2392 @DocsEditable()
2393 void clearDepth(num depth) => _blink.Native_WebGLRenderingContext_clearDepth_C allback(this, depth); 2393 void clearDepth(num depth) => _blink.BlinkWebGLRenderingContext.$clearDepth_Ca llback(this, depth);
2394 2394
2395 @DomName('WebGLRenderingContext.clearStencil') 2395 @DomName('WebGLRenderingContext.clearStencil')
2396 @DocsEditable() 2396 @DocsEditable()
2397 void clearStencil(int s) => _blink.Native_WebGLRenderingContext_clearStencil_C allback(this, s); 2397 void clearStencil(int s) => _blink.BlinkWebGLRenderingContext.$clearStencil_Ca llback(this, s);
2398 2398
2399 @DomName('WebGLRenderingContext.colorMask') 2399 @DomName('WebGLRenderingContext.colorMask')
2400 @DocsEditable() 2400 @DocsEditable()
2401 void colorMask(bool red, bool green, bool blue, bool alpha) => _blink.Native_W ebGLRenderingContext_colorMask_Callback(this, red, green, blue, alpha); 2401 void colorMask(bool red, bool green, bool blue, bool alpha) => _blink.BlinkWeb GLRenderingContext.$colorMask_Callback(this, red, green, blue, alpha);
2402 2402
2403 @DomName('WebGLRenderingContext.compileShader') 2403 @DomName('WebGLRenderingContext.compileShader')
2404 @DocsEditable() 2404 @DocsEditable()
2405 void compileShader(Shader shader) => _blink.Native_WebGLRenderingContext_compi leShader_Callback(this, shader); 2405 void compileShader(Shader shader) => _blink.BlinkWebGLRenderingContext.$compil eShader_Callback(this, shader);
2406 2406
2407 @DomName('WebGLRenderingContext.compressedTexImage2D') 2407 @DomName('WebGLRenderingContext.compressedTexImage2D')
2408 @DocsEditable() 2408 @DocsEditable()
2409 void compressedTexImage2D(int target, int level, int internalformat, int width , int height, int border, TypedData data) => _blink.Native_WebGLRenderingContext _compressedTexImage2D_Callback(this, target, level, internalformat, width, heigh t, border, data); 2409 void compressedTexImage2D(int target, int level, int internalformat, int width , int height, int border, TypedData data) => _blink.BlinkWebGLRenderingContext.$ compressedTexImage2D_Callback(this, target, level, internalformat, width, height , border, data);
2410 2410
2411 @DomName('WebGLRenderingContext.compressedTexSubImage2D') 2411 @DomName('WebGLRenderingContext.compressedTexSubImage2D')
2412 @DocsEditable() 2412 @DocsEditable()
2413 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, TypedData data) => _blink.Native_WebGLRenderi ngContext_compressedTexSubImage2D_Callback(this, target, level, xoffset, yoffset , width, height, format, data); 2413 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, TypedData data) => _blink.BlinkWebGLRendering Context.$compressedTexSubImage2D_Callback(this, target, level, xoffset, yoffset, width, height, format, data);
2414 2414
2415 @DomName('WebGLRenderingContext.copyTexImage2D') 2415 @DomName('WebGLRenderingContext.copyTexImage2D')
2416 @DocsEditable() 2416 @DocsEditable()
2417 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i nt width, int height, int border) => _blink.Native_WebGLRenderingContext_copyTex Image2D_Callback(this, target, level, internalformat, x, y, width, height, borde r); 2417 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i nt width, int height, int border) => _blink.BlinkWebGLRenderingContext.$copyTexI mage2D_Callback(this, target, level, internalformat, x, y, width, height, border );
2418 2418
2419 @DomName('WebGLRenderingContext.copyTexSubImage2D') 2419 @DomName('WebGLRenderingContext.copyTexSubImage2D')
2420 @DocsEditable() 2420 @DocsEditable()
2421 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) => _blink.Native_WebGLRenderingContext_copyTexSub Image2D_Callback(this, target, level, xoffset, yoffset, x, y, width, height); 2421 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) => _blink.BlinkWebGLRenderingContext.$copyTexSubI mage2D_Callback(this, target, level, xoffset, yoffset, x, y, width, height);
2422 2422
2423 @DomName('WebGLRenderingContext.createBuffer') 2423 @DomName('WebGLRenderingContext.createBuffer')
2424 @DocsEditable() 2424 @DocsEditable()
2425 Buffer createBuffer() => _blink.Native_WebGLRenderingContext_createBuffer_Call back(this); 2425 Buffer createBuffer() => _blink.BlinkWebGLRenderingContext.$createBuffer_Callb ack(this);
2426 2426
2427 @DomName('WebGLRenderingContext.createFramebuffer') 2427 @DomName('WebGLRenderingContext.createFramebuffer')
2428 @DocsEditable() 2428 @DocsEditable()
2429 Framebuffer createFramebuffer() => _blink.Native_WebGLRenderingContext_createF ramebuffer_Callback(this); 2429 Framebuffer createFramebuffer() => _blink.BlinkWebGLRenderingContext.$createFr amebuffer_Callback(this);
2430 2430
2431 @DomName('WebGLRenderingContext.createProgram') 2431 @DomName('WebGLRenderingContext.createProgram')
2432 @DocsEditable() 2432 @DocsEditable()
2433 Program createProgram() => _blink.Native_WebGLRenderingContext_createProgram_C allback(this); 2433 Program createProgram() => _blink.BlinkWebGLRenderingContext.$createProgram_Ca llback(this);
2434 2434
2435 @DomName('WebGLRenderingContext.createRenderbuffer') 2435 @DomName('WebGLRenderingContext.createRenderbuffer')
2436 @DocsEditable() 2436 @DocsEditable()
2437 Renderbuffer createRenderbuffer() => _blink.Native_WebGLRenderingContext_creat eRenderbuffer_Callback(this); 2437 Renderbuffer createRenderbuffer() => _blink.BlinkWebGLRenderingContext.$create Renderbuffer_Callback(this);
2438 2438
2439 @DomName('WebGLRenderingContext.createShader') 2439 @DomName('WebGLRenderingContext.createShader')
2440 @DocsEditable() 2440 @DocsEditable()
2441 Shader createShader(int type) => _blink.Native_WebGLRenderingContext_createSha der_Callback(this, type); 2441 Shader createShader(int type) => _blink.BlinkWebGLRenderingContext.$createShad er_Callback(this, type);
2442 2442
2443 @DomName('WebGLRenderingContext.createTexture') 2443 @DomName('WebGLRenderingContext.createTexture')
2444 @DocsEditable() 2444 @DocsEditable()
2445 Texture createTexture() => _blink.Native_WebGLRenderingContext_createTexture_C allback(this); 2445 Texture createTexture() => _blink.BlinkWebGLRenderingContext.$createTexture_Ca llback(this);
2446 2446
2447 @DomName('WebGLRenderingContext.cullFace') 2447 @DomName('WebGLRenderingContext.cullFace')
2448 @DocsEditable() 2448 @DocsEditable()
2449 void cullFace(int mode) => _blink.Native_WebGLRenderingContext_cullFace_Callba ck(this, mode); 2449 void cullFace(int mode) => _blink.BlinkWebGLRenderingContext.$cullFace_Callbac k(this, mode);
2450 2450
2451 @DomName('WebGLRenderingContext.deleteBuffer') 2451 @DomName('WebGLRenderingContext.deleteBuffer')
2452 @DocsEditable() 2452 @DocsEditable()
2453 void deleteBuffer(Buffer buffer) => _blink.Native_WebGLRenderingContext_delete Buffer_Callback(this, buffer); 2453 void deleteBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.$deleteB uffer_Callback(this, buffer);
2454 2454
2455 @DomName('WebGLRenderingContext.deleteFramebuffer') 2455 @DomName('WebGLRenderingContext.deleteFramebuffer')
2456 @DocsEditable() 2456 @DocsEditable()
2457 void deleteFramebuffer(Framebuffer framebuffer) => _blink.Native_WebGLRenderin gContext_deleteFramebuffer_Callback(this, framebuffer); 2457 void deleteFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGLRenderingC ontext.$deleteFramebuffer_Callback(this, framebuffer);
2458 2458
2459 @DomName('WebGLRenderingContext.deleteProgram') 2459 @DomName('WebGLRenderingContext.deleteProgram')
2460 @DocsEditable() 2460 @DocsEditable()
2461 void deleteProgram(Program program) => _blink.Native_WebGLRenderingContext_del eteProgram_Callback(this, program); 2461 void deleteProgram(Program program) => _blink.BlinkWebGLRenderingContext.$dele teProgram_Callback(this, program);
2462 2462
2463 @DomName('WebGLRenderingContext.deleteRenderbuffer') 2463 @DomName('WebGLRenderingContext.deleteRenderbuffer')
2464 @DocsEditable() 2464 @DocsEditable()
2465 void deleteRenderbuffer(Renderbuffer renderbuffer) => _blink.Native_WebGLRende ringContext_deleteRenderbuffer_Callback(this, renderbuffer); 2465 void deleteRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderi ngContext.$deleteRenderbuffer_Callback(this, renderbuffer);
2466 2466
2467 @DomName('WebGLRenderingContext.deleteShader') 2467 @DomName('WebGLRenderingContext.deleteShader')
2468 @DocsEditable() 2468 @DocsEditable()
2469 void deleteShader(Shader shader) => _blink.Native_WebGLRenderingContext_delete Shader_Callback(this, shader); 2469 void deleteShader(Shader shader) => _blink.BlinkWebGLRenderingContext.$deleteS hader_Callback(this, shader);
2470 2470
2471 @DomName('WebGLRenderingContext.deleteTexture') 2471 @DomName('WebGLRenderingContext.deleteTexture')
2472 @DocsEditable() 2472 @DocsEditable()
2473 void deleteTexture(Texture texture) => _blink.Native_WebGLRenderingContext_del eteTexture_Callback(this, texture); 2473 void deleteTexture(Texture texture) => _blink.BlinkWebGLRenderingContext.$dele teTexture_Callback(this, texture);
2474 2474
2475 @DomName('WebGLRenderingContext.depthFunc') 2475 @DomName('WebGLRenderingContext.depthFunc')
2476 @DocsEditable() 2476 @DocsEditable()
2477 void depthFunc(int func) => _blink.Native_WebGLRenderingContext_depthFunc_Call back(this, func); 2477 void depthFunc(int func) => _blink.BlinkWebGLRenderingContext.$depthFunc_Callb ack(this, func);
2478 2478
2479 @DomName('WebGLRenderingContext.depthMask') 2479 @DomName('WebGLRenderingContext.depthMask')
2480 @DocsEditable() 2480 @DocsEditable()
2481 void depthMask(bool flag) => _blink.Native_WebGLRenderingContext_depthMask_Cal lback(this, flag); 2481 void depthMask(bool flag) => _blink.BlinkWebGLRenderingContext.$depthMask_Call back(this, flag);
2482 2482
2483 @DomName('WebGLRenderingContext.depthRange') 2483 @DomName('WebGLRenderingContext.depthRange')
2484 @DocsEditable() 2484 @DocsEditable()
2485 void depthRange(num zNear, num zFar) => _blink.Native_WebGLRenderingContext_de pthRange_Callback(this, zNear, zFar); 2485 void depthRange(num zNear, num zFar) => _blink.BlinkWebGLRenderingContext.$dep thRange_Callback(this, zNear, zFar);
2486 2486
2487 @DomName('WebGLRenderingContext.detachShader') 2487 @DomName('WebGLRenderingContext.detachShader')
2488 @DocsEditable() 2488 @DocsEditable()
2489 void detachShader(Program program, Shader shader) => _blink.Native_WebGLRender ingContext_detachShader_Callback(this, program, shader); 2489 void detachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderin gContext.$detachShader_Callback(this, program, shader);
2490 2490
2491 @DomName('WebGLRenderingContext.disable') 2491 @DomName('WebGLRenderingContext.disable')
2492 @DocsEditable() 2492 @DocsEditable()
2493 void disable(int cap) => _blink.Native_WebGLRenderingContext_disable_Callback( this, cap); 2493 void disable(int cap) => _blink.BlinkWebGLRenderingContext.$disable_Callback(t his, cap);
2494 2494
2495 @DomName('WebGLRenderingContext.disableVertexAttribArray') 2495 @DomName('WebGLRenderingContext.disableVertexAttribArray')
2496 @DocsEditable() 2496 @DocsEditable()
2497 void disableVertexAttribArray(int index) => _blink.Native_WebGLRenderingContex t_disableVertexAttribArray_Callback(this, index); 2497 void disableVertexAttribArray(int index) => _blink.BlinkWebGLRenderingContext. $disableVertexAttribArray_Callback(this, index);
2498 2498
2499 @DomName('WebGLRenderingContext.drawArrays') 2499 @DomName('WebGLRenderingContext.drawArrays')
2500 @DocsEditable() 2500 @DocsEditable()
2501 void drawArrays(int mode, int first, int count) => _blink.Native_WebGLRenderin gContext_drawArrays_Callback(this, mode, first, count); 2501 void drawArrays(int mode, int first, int count) => _blink.BlinkWebGLRenderingC ontext.$drawArrays_Callback(this, mode, first, count);
2502 2502
2503 @DomName('WebGLRenderingContext.drawElements') 2503 @DomName('WebGLRenderingContext.drawElements')
2504 @DocsEditable() 2504 @DocsEditable()
2505 void drawElements(int mode, int count, int type, int offset) => _blink.Native_ WebGLRenderingContext_drawElements_Callback(this, mode, count, type, offset); 2505 void drawElements(int mode, int count, int type, int offset) => _blink.BlinkWe bGLRenderingContext.$drawElements_Callback(this, mode, count, type, offset);
2506 2506
2507 @DomName('WebGLRenderingContext.enable') 2507 @DomName('WebGLRenderingContext.enable')
2508 @DocsEditable() 2508 @DocsEditable()
2509 void enable(int cap) => _blink.Native_WebGLRenderingContext_enable_Callback(th is, cap); 2509 void enable(int cap) => _blink.BlinkWebGLRenderingContext.$enable_Callback(thi s, cap);
2510 2510
2511 @DomName('WebGLRenderingContext.enableVertexAttribArray') 2511 @DomName('WebGLRenderingContext.enableVertexAttribArray')
2512 @DocsEditable() 2512 @DocsEditable()
2513 void enableVertexAttribArray(int index) => _blink.Native_WebGLRenderingContext _enableVertexAttribArray_Callback(this, index); 2513 void enableVertexAttribArray(int index) => _blink.BlinkWebGLRenderingContext.$ enableVertexAttribArray_Callback(this, index);
2514 2514
2515 @DomName('WebGLRenderingContext.finish') 2515 @DomName('WebGLRenderingContext.finish')
2516 @DocsEditable() 2516 @DocsEditable()
2517 void finish() => _blink.Native_WebGLRenderingContext_finish_Callback(this); 2517 void finish() => _blink.BlinkWebGLRenderingContext.$finish_Callback(this);
2518 2518
2519 @DomName('WebGLRenderingContext.flush') 2519 @DomName('WebGLRenderingContext.flush')
2520 @DocsEditable() 2520 @DocsEditable()
2521 void flush() => _blink.Native_WebGLRenderingContext_flush_Callback(this); 2521 void flush() => _blink.BlinkWebGLRenderingContext.$flush_Callback(this);
2522 2522
2523 @DomName('WebGLRenderingContext.framebufferRenderbuffer') 2523 @DomName('WebGLRenderingContext.framebufferRenderbuffer')
2524 @DocsEditable() 2524 @DocsEditable()
2525 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge t, Renderbuffer renderbuffer) => _blink.Native_WebGLRenderingContext_framebuffer Renderbuffer_Callback(this, target, attachment, renderbuffertarget, renderbuffer ); 2525 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge t, Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingContext.$framebufferR enderbuffer_Callback(this, target, attachment, renderbuffertarget, renderbuffer) ;
2526 2526
2527 @DomName('WebGLRenderingContext.framebufferTexture2D') 2527 @DomName('WebGLRenderingContext.framebufferTexture2D')
2528 @DocsEditable() 2528 @DocsEditable()
2529 void framebufferTexture2D(int target, int attachment, int textarget, Texture t exture, int level) => _blink.Native_WebGLRenderingContext_framebufferTexture2D_C allback(this, target, attachment, textarget, texture, level); 2529 void framebufferTexture2D(int target, int attachment, int textarget, Texture t exture, int level) => _blink.BlinkWebGLRenderingContext.$framebufferTexture2D_Ca llback(this, target, attachment, textarget, texture, level);
2530 2530
2531 @DomName('WebGLRenderingContext.frontFace') 2531 @DomName('WebGLRenderingContext.frontFace')
2532 @DocsEditable() 2532 @DocsEditable()
2533 void frontFace(int mode) => _blink.Native_WebGLRenderingContext_frontFace_Call back(this, mode); 2533 void frontFace(int mode) => _blink.BlinkWebGLRenderingContext.$frontFace_Callb ack(this, mode);
2534 2534
2535 @DomName('WebGLRenderingContext.generateMipmap') 2535 @DomName('WebGLRenderingContext.generateMipmap')
2536 @DocsEditable() 2536 @DocsEditable()
2537 void generateMipmap(int target) => _blink.Native_WebGLRenderingContext_generat eMipmap_Callback(this, target); 2537 void generateMipmap(int target) => _blink.BlinkWebGLRenderingContext.$generate Mipmap_Callback(this, target);
2538 2538
2539 @DomName('WebGLRenderingContext.getActiveAttrib') 2539 @DomName('WebGLRenderingContext.getActiveAttrib')
2540 @DocsEditable() 2540 @DocsEditable()
2541 ActiveInfo getActiveAttrib(Program program, int index) => _blink.Native_WebGLR enderingContext_getActiveAttrib_Callback(this, program, index); 2541 ActiveInfo getActiveAttrib(Program program, int index) => _blink.BlinkWebGLRen deringContext.$getActiveAttrib_Callback(this, program, index);
2542 2542
2543 @DomName('WebGLRenderingContext.getActiveUniform') 2543 @DomName('WebGLRenderingContext.getActiveUniform')
2544 @DocsEditable() 2544 @DocsEditable()
2545 ActiveInfo getActiveUniform(Program program, int index) => _blink.Native_WebGL RenderingContext_getActiveUniform_Callback(this, program, index); 2545 ActiveInfo getActiveUniform(Program program, int index) => _blink.BlinkWebGLRe nderingContext.$getActiveUniform_Callback(this, program, index);
2546 2546
2547 @DomName('WebGLRenderingContext.getAttachedShaders') 2547 @DomName('WebGLRenderingContext.getAttachedShaders')
2548 @DocsEditable() 2548 @DocsEditable()
2549 void getAttachedShaders(Program program) => _blink.Native_WebGLRenderingContex t_getAttachedShaders_Callback(this, program); 2549 void getAttachedShaders(Program program) => _blink.BlinkWebGLRenderingContext. $getAttachedShaders_Callback(this, program);
2550 2550
2551 @DomName('WebGLRenderingContext.getAttribLocation') 2551 @DomName('WebGLRenderingContext.getAttribLocation')
2552 @DocsEditable() 2552 @DocsEditable()
2553 int getAttribLocation(Program program, String name) => _blink.Native_WebGLRend eringContext_getAttribLocation_Callback(this, program, name); 2553 int getAttribLocation(Program program, String name) => _blink.BlinkWebGLRender ingContext.$getAttribLocation_Callback(this, program, name);
2554 2554
2555 @DomName('WebGLRenderingContext.getBufferParameter') 2555 @DomName('WebGLRenderingContext.getBufferParameter')
2556 @DocsEditable() 2556 @DocsEditable()
2557 Object getBufferParameter(int target, int pname) => _blink.Native_WebGLRenderi ngContext_getBufferParameter_Callback(this, target, pname); 2557 Object getBufferParameter(int target, int pname) => _blink.BlinkWebGLRendering Context.$getBufferParameter_Callback(this, target, pname);
2558 2558
2559 @DomName('WebGLRenderingContext.getContextAttributes') 2559 @DomName('WebGLRenderingContext.getContextAttributes')
2560 @DocsEditable() 2560 @DocsEditable()
2561 ContextAttributes getContextAttributes() => _blink.Native_WebGLRenderingContex t_getContextAttributes_Callback(this); 2561 ContextAttributes getContextAttributes() => _blink.BlinkWebGLRenderingContext. $getContextAttributes_Callback(this);
2562 2562
2563 @DomName('WebGLRenderingContext.getError') 2563 @DomName('WebGLRenderingContext.getError')
2564 @DocsEditable() 2564 @DocsEditable()
2565 int getError() => _blink.Native_WebGLRenderingContext_getError_Callback(this); 2565 int getError() => _blink.BlinkWebGLRenderingContext.$getError_Callback(this);
2566 2566
2567 @DomName('WebGLRenderingContext.getExtension') 2567 @DomName('WebGLRenderingContext.getExtension')
2568 @DocsEditable() 2568 @DocsEditable()
2569 Object getExtension(String name) => _blink.Native_WebGLRenderingContext_getExt ension_Callback(this, name); 2569 Object getExtension(String name) => _blink.BlinkWebGLRenderingContext.$getExte nsion_Callback(this, name);
2570 2570
2571 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') 2571 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter')
2572 @DocsEditable() 2572 @DocsEditable()
2573 Object getFramebufferAttachmentParameter(int target, int attachment, int pname ) => _blink.Native_WebGLRenderingContext_getFramebufferAttachmentParameter_Callb ack(this, target, attachment, pname); 2573 Object getFramebufferAttachmentParameter(int target, int attachment, int pname ) => _blink.BlinkWebGLRenderingContext.$getFramebufferAttachmentParameter_Callba ck(this, target, attachment, pname);
2574 2574
2575 @DomName('WebGLRenderingContext.getParameter') 2575 @DomName('WebGLRenderingContext.getParameter')
2576 @DocsEditable() 2576 @DocsEditable()
2577 Object getParameter(int pname) => _blink.Native_WebGLRenderingContext_getParam eter_Callback(this, pname); 2577 Object getParameter(int pname) => _blink.BlinkWebGLRenderingContext.$getParame ter_Callback(this, pname);
2578 2578
2579 @DomName('WebGLRenderingContext.getProgramInfoLog') 2579 @DomName('WebGLRenderingContext.getProgramInfoLog')
2580 @DocsEditable() 2580 @DocsEditable()
2581 String getProgramInfoLog(Program program) => _blink.Native_WebGLRenderingConte xt_getProgramInfoLog_Callback(this, program); 2581 String getProgramInfoLog(Program program) => _blink.BlinkWebGLRenderingContext .$getProgramInfoLog_Callback(this, program);
2582 2582
2583 @DomName('WebGLRenderingContext.getProgramParameter') 2583 @DomName('WebGLRenderingContext.getProgramParameter')
2584 @DocsEditable() 2584 @DocsEditable()
2585 Object getProgramParameter(Program program, int pname) => _blink.Native_WebGLR enderingContext_getProgramParameter_Callback(this, program, pname); 2585 Object getProgramParameter(Program program, int pname) => _blink.BlinkWebGLRen deringContext.$getProgramParameter_Callback(this, program, pname);
2586 2586
2587 @DomName('WebGLRenderingContext.getRenderbufferParameter') 2587 @DomName('WebGLRenderingContext.getRenderbufferParameter')
2588 @DocsEditable() 2588 @DocsEditable()
2589 Object getRenderbufferParameter(int target, int pname) => _blink.Native_WebGLR enderingContext_getRenderbufferParameter_Callback(this, target, pname); 2589 Object getRenderbufferParameter(int target, int pname) => _blink.BlinkWebGLRen deringContext.$getRenderbufferParameter_Callback(this, target, pname);
2590 2590
2591 @DomName('WebGLRenderingContext.getShaderInfoLog') 2591 @DomName('WebGLRenderingContext.getShaderInfoLog')
2592 @DocsEditable() 2592 @DocsEditable()
2593 String getShaderInfoLog(Shader shader) => _blink.Native_WebGLRenderingContext_ getShaderInfoLog_Callback(this, shader); 2593 String getShaderInfoLog(Shader shader) => _blink.BlinkWebGLRenderingContext.$g etShaderInfoLog_Callback(this, shader);
2594 2594
2595 @DomName('WebGLRenderingContext.getShaderParameter') 2595 @DomName('WebGLRenderingContext.getShaderParameter')
2596 @DocsEditable() 2596 @DocsEditable()
2597 Object getShaderParameter(Shader shader, int pname) => _blink.Native_WebGLRend eringContext_getShaderParameter_Callback(this, shader, pname); 2597 Object getShaderParameter(Shader shader, int pname) => _blink.BlinkWebGLRender ingContext.$getShaderParameter_Callback(this, shader, pname);
2598 2598
2599 @DomName('WebGLRenderingContext.getShaderPrecisionFormat') 2599 @DomName('WebGLRenderingContext.getShaderPrecisionFormat')
2600 @DocsEditable() 2600 @DocsEditable()
2601 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty pe) => _blink.Native_WebGLRenderingContext_getShaderPrecisionFormat_Callback(thi s, shadertype, precisiontype); 2601 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty pe) => _blink.BlinkWebGLRenderingContext.$getShaderPrecisionFormat_Callback(this , shadertype, precisiontype);
2602 2602
2603 @DomName('WebGLRenderingContext.getShaderSource') 2603 @DomName('WebGLRenderingContext.getShaderSource')
2604 @DocsEditable() 2604 @DocsEditable()
2605 String getShaderSource(Shader shader) => _blink.Native_WebGLRenderingContext_g etShaderSource_Callback(this, shader); 2605 String getShaderSource(Shader shader) => _blink.BlinkWebGLRenderingContext.$ge tShaderSource_Callback(this, shader);
2606 2606
2607 @DomName('WebGLRenderingContext.getSupportedExtensions') 2607 @DomName('WebGLRenderingContext.getSupportedExtensions')
2608 @DocsEditable() 2608 @DocsEditable()
2609 List<String> getSupportedExtensions() => _blink.Native_WebGLRenderingContext_g etSupportedExtensions_Callback(this); 2609 List<String> getSupportedExtensions() => _blink.BlinkWebGLRenderingContext.$ge tSupportedExtensions_Callback(this);
2610 2610
2611 @DomName('WebGLRenderingContext.getTexParameter') 2611 @DomName('WebGLRenderingContext.getTexParameter')
2612 @DocsEditable() 2612 @DocsEditable()
2613 Object getTexParameter(int target, int pname) => _blink.Native_WebGLRenderingC ontext_getTexParameter_Callback(this, target, pname); 2613 Object getTexParameter(int target, int pname) => _blink.BlinkWebGLRenderingCon text.$getTexParameter_Callback(this, target, pname);
2614 2614
2615 @DomName('WebGLRenderingContext.getUniform') 2615 @DomName('WebGLRenderingContext.getUniform')
2616 @DocsEditable() 2616 @DocsEditable()
2617 Object getUniform(Program program, UniformLocation location) => _blink.Native_ WebGLRenderingContext_getUniform_Callback(this, program, location); 2617 Object getUniform(Program program, UniformLocation location) => _blink.BlinkWe bGLRenderingContext.$getUniform_Callback(this, program, location);
2618 2618
2619 @DomName('WebGLRenderingContext.getUniformLocation') 2619 @DomName('WebGLRenderingContext.getUniformLocation')
2620 @DocsEditable() 2620 @DocsEditable()
2621 UniformLocation getUniformLocation(Program program, String name) => _blink.Nat ive_WebGLRenderingContext_getUniformLocation_Callback(this, program, name); 2621 UniformLocation getUniformLocation(Program program, String name) => _blink.Bli nkWebGLRenderingContext.$getUniformLocation_Callback(this, program, name);
2622 2622
2623 @DomName('WebGLRenderingContext.getVertexAttrib') 2623 @DomName('WebGLRenderingContext.getVertexAttrib')
2624 @DocsEditable() 2624 @DocsEditable()
2625 Object getVertexAttrib(int index, int pname) => _blink.Native_WebGLRenderingCo ntext_getVertexAttrib_Callback(this, index, pname); 2625 Object getVertexAttrib(int index, int pname) => _blink.BlinkWebGLRenderingCont ext.$getVertexAttrib_Callback(this, index, pname);
2626 2626
2627 @DomName('WebGLRenderingContext.getVertexAttribOffset') 2627 @DomName('WebGLRenderingContext.getVertexAttribOffset')
2628 @DocsEditable() 2628 @DocsEditable()
2629 int getVertexAttribOffset(int index, int pname) => _blink.Native_WebGLRenderin gContext_getVertexAttribOffset_Callback(this, index, pname); 2629 int getVertexAttribOffset(int index, int pname) => _blink.BlinkWebGLRenderingC ontext.$getVertexAttribOffset_Callback(this, index, pname);
2630 2630
2631 @DomName('WebGLRenderingContext.hint') 2631 @DomName('WebGLRenderingContext.hint')
2632 @DocsEditable() 2632 @DocsEditable()
2633 void hint(int target, int mode) => _blink.Native_WebGLRenderingContext_hint_Ca llback(this, target, mode); 2633 void hint(int target, int mode) => _blink.BlinkWebGLRenderingContext.$hint_Cal lback(this, target, mode);
2634 2634
2635 @DomName('WebGLRenderingContext.isBuffer') 2635 @DomName('WebGLRenderingContext.isBuffer')
2636 @DocsEditable() 2636 @DocsEditable()
2637 bool isBuffer(Buffer buffer) => _blink.Native_WebGLRenderingContext_isBuffer_C allback(this, buffer); 2637 bool isBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.$isBuffer_Ca llback(this, buffer);
2638 2638
2639 @DomName('WebGLRenderingContext.isContextLost') 2639 @DomName('WebGLRenderingContext.isContextLost')
2640 @DocsEditable() 2640 @DocsEditable()
2641 bool isContextLost() => _blink.Native_WebGLRenderingContext_isContextLost_Call back(this); 2641 bool isContextLost() => _blink.BlinkWebGLRenderingContext.$isContextLost_Callb ack(this);
2642 2642
2643 @DomName('WebGLRenderingContext.isEnabled') 2643 @DomName('WebGLRenderingContext.isEnabled')
2644 @DocsEditable() 2644 @DocsEditable()
2645 bool isEnabled(int cap) => _blink.Native_WebGLRenderingContext_isEnabled_Callb ack(this, cap); 2645 bool isEnabled(int cap) => _blink.BlinkWebGLRenderingContext.$isEnabled_Callba ck(this, cap);
2646 2646
2647 @DomName('WebGLRenderingContext.isFramebuffer') 2647 @DomName('WebGLRenderingContext.isFramebuffer')
2648 @DocsEditable() 2648 @DocsEditable()
2649 bool isFramebuffer(Framebuffer framebuffer) => _blink.Native_WebGLRenderingCon text_isFramebuffer_Callback(this, framebuffer); 2649 bool isFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGLRenderingConte xt.$isFramebuffer_Callback(this, framebuffer);
2650 2650
2651 @DomName('WebGLRenderingContext.isProgram') 2651 @DomName('WebGLRenderingContext.isProgram')
2652 @DocsEditable() 2652 @DocsEditable()
2653 bool isProgram(Program program) => _blink.Native_WebGLRenderingContext_isProgr am_Callback(this, program); 2653 bool isProgram(Program program) => _blink.BlinkWebGLRenderingContext.$isProgra m_Callback(this, program);
2654 2654
2655 @DomName('WebGLRenderingContext.isRenderbuffer') 2655 @DomName('WebGLRenderingContext.isRenderbuffer')
2656 @DocsEditable() 2656 @DocsEditable()
2657 bool isRenderbuffer(Renderbuffer renderbuffer) => _blink.Native_WebGLRendering Context_isRenderbuffer_Callback(this, renderbuffer); 2657 bool isRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingCo ntext.$isRenderbuffer_Callback(this, renderbuffer);
2658 2658
2659 @DomName('WebGLRenderingContext.isShader') 2659 @DomName('WebGLRenderingContext.isShader')
2660 @DocsEditable() 2660 @DocsEditable()
2661 bool isShader(Shader shader) => _blink.Native_WebGLRenderingContext_isShader_C allback(this, shader); 2661 bool isShader(Shader shader) => _blink.BlinkWebGLRenderingContext.$isShader_Ca llback(this, shader);
2662 2662
2663 @DomName('WebGLRenderingContext.isTexture') 2663 @DomName('WebGLRenderingContext.isTexture')
2664 @DocsEditable() 2664 @DocsEditable()
2665 bool isTexture(Texture texture) => _blink.Native_WebGLRenderingContext_isTextu re_Callback(this, texture); 2665 bool isTexture(Texture texture) => _blink.BlinkWebGLRenderingContext.$isTextur e_Callback(this, texture);
2666 2666
2667 @DomName('WebGLRenderingContext.lineWidth') 2667 @DomName('WebGLRenderingContext.lineWidth')
2668 @DocsEditable() 2668 @DocsEditable()
2669 void lineWidth(num width) => _blink.Native_WebGLRenderingContext_lineWidth_Cal lback(this, width); 2669 void lineWidth(num width) => _blink.BlinkWebGLRenderingContext.$lineWidth_Call back(this, width);
2670 2670
2671 @DomName('WebGLRenderingContext.linkProgram') 2671 @DomName('WebGLRenderingContext.linkProgram')
2672 @DocsEditable() 2672 @DocsEditable()
2673 void linkProgram(Program program) => _blink.Native_WebGLRenderingContext_linkP rogram_Callback(this, program); 2673 void linkProgram(Program program) => _blink.BlinkWebGLRenderingContext.$linkPr ogram_Callback(this, program);
2674 2674
2675 @DomName('WebGLRenderingContext.pixelStorei') 2675 @DomName('WebGLRenderingContext.pixelStorei')
2676 @DocsEditable() 2676 @DocsEditable()
2677 void pixelStorei(int pname, int param) => _blink.Native_WebGLRenderingContext_ pixelStorei_Callback(this, pname, param); 2677 void pixelStorei(int pname, int param) => _blink.BlinkWebGLRenderingContext.$p ixelStorei_Callback(this, pname, param);
2678 2678
2679 @DomName('WebGLRenderingContext.polygonOffset') 2679 @DomName('WebGLRenderingContext.polygonOffset')
2680 @DocsEditable() 2680 @DocsEditable()
2681 void polygonOffset(num factor, num units) => _blink.Native_WebGLRenderingConte xt_polygonOffset_Callback(this, factor, units); 2681 void polygonOffset(num factor, num units) => _blink.BlinkWebGLRenderingContext .$polygonOffset_Callback(this, factor, units);
2682 2682
2683 @DomName('WebGLRenderingContext.readPixels') 2683 @DomName('WebGLRenderingContext.readPixels')
2684 @DocsEditable() 2684 @DocsEditable()
2685 void readPixels(int x, int y, int width, int height, int format, int type, Typ edData pixels) => _blink.Native_WebGLRenderingContext_readPixels_Callback(this, x, y, width, height, format, type, pixels); 2685 void readPixels(int x, int y, int width, int height, int format, int type, Typ edData pixels) => _blink.BlinkWebGLRenderingContext.$readPixels_Callback(this, x , y, width, height, format, type, pixels);
2686 2686
2687 @DomName('WebGLRenderingContext.renderbufferStorage') 2687 @DomName('WebGLRenderingContext.renderbufferStorage')
2688 @DocsEditable() 2688 @DocsEditable()
2689 void renderbufferStorage(int target, int internalformat, int width, int height ) => _blink.Native_WebGLRenderingContext_renderbufferStorage_Callback(this, targ et, internalformat, width, height); 2689 void renderbufferStorage(int target, int internalformat, int width, int height ) => _blink.BlinkWebGLRenderingContext.$renderbufferStorage_Callback(this, targe t, internalformat, width, height);
2690 2690
2691 @DomName('WebGLRenderingContext.sampleCoverage') 2691 @DomName('WebGLRenderingContext.sampleCoverage')
2692 @DocsEditable() 2692 @DocsEditable()
2693 void sampleCoverage(num value, bool invert) => _blink.Native_WebGLRenderingCon text_sampleCoverage_Callback(this, value, invert); 2693 void sampleCoverage(num value, bool invert) => _blink.BlinkWebGLRenderingConte xt.$sampleCoverage_Callback(this, value, invert);
2694 2694
2695 @DomName('WebGLRenderingContext.scissor') 2695 @DomName('WebGLRenderingContext.scissor')
2696 @DocsEditable() 2696 @DocsEditable()
2697 void scissor(int x, int y, int width, int height) => _blink.Native_WebGLRender ingContext_scissor_Callback(this, x, y, width, height); 2697 void scissor(int x, int y, int width, int height) => _blink.BlinkWebGLRenderin gContext.$scissor_Callback(this, x, y, width, height);
2698 2698
2699 @DomName('WebGLRenderingContext.shaderSource') 2699 @DomName('WebGLRenderingContext.shaderSource')
2700 @DocsEditable() 2700 @DocsEditable()
2701 void shaderSource(Shader shader, String string) => _blink.Native_WebGLRenderin gContext_shaderSource_Callback(this, shader, string); 2701 void shaderSource(Shader shader, String string) => _blink.BlinkWebGLRenderingC ontext.$shaderSource_Callback(this, shader, string);
2702 2702
2703 @DomName('WebGLRenderingContext.stencilFunc') 2703 @DomName('WebGLRenderingContext.stencilFunc')
2704 @DocsEditable() 2704 @DocsEditable()
2705 void stencilFunc(int func, int ref, int mask) => _blink.Native_WebGLRenderingC ontext_stencilFunc_Callback(this, func, ref, mask); 2705 void stencilFunc(int func, int ref, int mask) => _blink.BlinkWebGLRenderingCon text.$stencilFunc_Callback(this, func, ref, mask);
2706 2706
2707 @DomName('WebGLRenderingContext.stencilFuncSeparate') 2707 @DomName('WebGLRenderingContext.stencilFuncSeparate')
2708 @DocsEditable() 2708 @DocsEditable()
2709 void stencilFuncSeparate(int face, int func, int ref, int mask) => _blink.Nati ve_WebGLRenderingContext_stencilFuncSeparate_Callback(this, face, func, ref, mas k); 2709 void stencilFuncSeparate(int face, int func, int ref, int mask) => _blink.Blin kWebGLRenderingContext.$stencilFuncSeparate_Callback(this, face, func, ref, mask );
2710 2710
2711 @DomName('WebGLRenderingContext.stencilMask') 2711 @DomName('WebGLRenderingContext.stencilMask')
2712 @DocsEditable() 2712 @DocsEditable()
2713 void stencilMask(int mask) => _blink.Native_WebGLRenderingContext_stencilMask_ Callback(this, mask); 2713 void stencilMask(int mask) => _blink.BlinkWebGLRenderingContext.$stencilMask_C allback(this, mask);
2714 2714
2715 @DomName('WebGLRenderingContext.stencilMaskSeparate') 2715 @DomName('WebGLRenderingContext.stencilMaskSeparate')
2716 @DocsEditable() 2716 @DocsEditable()
2717 void stencilMaskSeparate(int face, int mask) => _blink.Native_WebGLRenderingCo ntext_stencilMaskSeparate_Callback(this, face, mask); 2717 void stencilMaskSeparate(int face, int mask) => _blink.BlinkWebGLRenderingCont ext.$stencilMaskSeparate_Callback(this, face, mask);
2718 2718
2719 @DomName('WebGLRenderingContext.stencilOp') 2719 @DomName('WebGLRenderingContext.stencilOp')
2720 @DocsEditable() 2720 @DocsEditable()
2721 void stencilOp(int fail, int zfail, int zpass) => _blink.Native_WebGLRendering Context_stencilOp_Callback(this, fail, zfail, zpass); 2721 void stencilOp(int fail, int zfail, int zpass) => _blink.BlinkWebGLRenderingCo ntext.$stencilOp_Callback(this, fail, zfail, zpass);
2722 2722
2723 @DomName('WebGLRenderingContext.stencilOpSeparate') 2723 @DomName('WebGLRenderingContext.stencilOpSeparate')
2724 @DocsEditable() 2724 @DocsEditable()
2725 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => _blink.Nat ive_WebGLRenderingContext_stencilOpSeparate_Callback(this, face, fail, zfail, zp ass); 2725 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => _blink.Bli nkWebGLRenderingContext.$stencilOpSeparate_Callback(this, face, fail, zfail, zpa ss);
2726 2726
2727 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]) => _blink.Native_WebGLRenderingContext_texImage2D( this, target, level, internalformat, format_OR_width, height_OR_type, border_OR_ canvas_OR_image_OR_pixels_OR_video, format, type, pixels); 2727 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]) => _blink.BlinkWebGLRenderingContext.$texImage2D(t his, target, level, internalformat, format_OR_width, height_OR_type, border_OR_c anvas_OR_image_OR_pixels_OR_video, format, type, pixels);
2728 2728
2729 @DomName('WebGLRenderingContext.texImage2DCanvas') 2729 @DomName('WebGLRenderingContext.texImage2DCanvas')
2730 @DocsEditable() 2730 @DocsEditable()
2731 void texImage2DCanvas(int target, int level, int internalformat, int format, i nt type, CanvasElement canvas) => _blink.Native_WebGLRenderingContext_texImage2D Canvas_Callback(this, target, level, internalformat, format, type, canvas); 2731 void texImage2DCanvas(int target, int level, int internalformat, int format, i nt type, CanvasElement canvas) => _blink.BlinkWebGLRenderingContext.$texImage2DC anvas_Callback(this, target, level, internalformat, format, type, canvas);
2732 2732
2733 @DomName('WebGLRenderingContext.texImage2DImage') 2733 @DomName('WebGLRenderingContext.texImage2DImage')
2734 @DocsEditable() 2734 @DocsEditable()
2735 void texImage2DImage(int target, int level, int internalformat, int format, in t type, ImageElement image) => _blink.Native_WebGLRenderingContext_texImage2DIma ge_Callback(this, target, level, internalformat, format, type, image); 2735 void texImage2DImage(int target, int level, int internalformat, int format, in t type, ImageElement image) => _blink.BlinkWebGLRenderingContext.$texImage2DImag e_Callback(this, target, level, internalformat, format, type, image);
2736 2736
2737 @DomName('WebGLRenderingContext.texImage2DImageData') 2737 @DomName('WebGLRenderingContext.texImage2DImageData')
2738 @DocsEditable() 2738 @DocsEditable()
2739 void texImage2DImageData(int target, int level, int internalformat, int format , int type, ImageData pixels) => _blink.Native_WebGLRenderingContext_texImage2DI mageData_Callback(this, target, level, internalformat, format, type, pixels); 2739 void texImage2DImageData(int target, int level, int internalformat, int format , int type, ImageData pixels) => _blink.BlinkWebGLRenderingContext.$texImage2DIm ageData_Callback(this, target, level, internalformat, format, type, pixels);
2740 2740
2741 @DomName('WebGLRenderingContext.texImage2DVideo') 2741 @DomName('WebGLRenderingContext.texImage2DVideo')
2742 @DocsEditable() 2742 @DocsEditable()
2743 void texImage2DVideo(int target, int level, int internalformat, int format, in t type, VideoElement video) => _blink.Native_WebGLRenderingContext_texImage2DVid eo_Callback(this, target, level, internalformat, format, type, video); 2743 void texImage2DVideo(int target, int level, int internalformat, int format, in t type, VideoElement video) => _blink.BlinkWebGLRenderingContext.$texImage2DVide o_Callback(this, target, level, internalformat, format, type, video);
2744 2744
2745 @DomName('WebGLRenderingContext.texParameterf') 2745 @DomName('WebGLRenderingContext.texParameterf')
2746 @DocsEditable() 2746 @DocsEditable()
2747 void texParameterf(int target, int pname, num param) => _blink.Native_WebGLRen deringContext_texParameterf_Callback(this, target, pname, param); 2747 void texParameterf(int target, int pname, num param) => _blink.BlinkWebGLRende ringContext.$texParameterf_Callback(this, target, pname, param);
2748 2748
2749 @DomName('WebGLRenderingContext.texParameteri') 2749 @DomName('WebGLRenderingContext.texParameteri')
2750 @DocsEditable() 2750 @DocsEditable()
2751 void texParameteri(int target, int pname, int param) => _blink.Native_WebGLRen deringContext_texParameteri_Callback(this, target, pname, param); 2751 void texParameteri(int target, int pname, int param) => _blink.BlinkWebGLRende ringContext.$texParameteri_Callback(this, target, pname, param);
2752 2752
2753 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]) => _blink.Native_WebGLRenderingContext_texSubImage2D( this, target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_O R_format_OR_image_OR_pixels_OR_video, type, pixels); 2753 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]) => _blink.BlinkWebGLRenderingContext.$texSubImage2D(t his, target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR _format_OR_image_OR_pixels_OR_video, type, pixels);
2754 2754
2755 @DomName('WebGLRenderingContext.texSubImage2DCanvas') 2755 @DomName('WebGLRenderingContext.texSubImage2DCanvas')
2756 @DocsEditable() 2756 @DocsEditable()
2757 void texSubImage2DCanvas(int target, int level, int xoffset, int yoffset, int format, int type, CanvasElement canvas) => _blink.Native_WebGLRenderingContext_t exSubImage2DCanvas_Callback(this, target, level, xoffset, yoffset, format, type, canvas); 2757 void texSubImage2DCanvas(int target, int level, int xoffset, int yoffset, int format, int type, CanvasElement canvas) => _blink.BlinkWebGLRenderingContext.$te xSubImage2DCanvas_Callback(this, target, level, xoffset, yoffset, format, type, canvas);
2758 2758
2759 @DomName('WebGLRenderingContext.texSubImage2DImage') 2759 @DomName('WebGLRenderingContext.texSubImage2DImage')
2760 @DocsEditable() 2760 @DocsEditable()
2761 void texSubImage2DImage(int target, int level, int xoffset, int yoffset, int f ormat, int type, ImageElement image) => _blink.Native_WebGLRenderingContext_texS ubImage2DImage_Callback(this, target, level, xoffset, yoffset, format, type, ima ge); 2761 void texSubImage2DImage(int target, int level, int xoffset, int yoffset, int f ormat, int type, ImageElement image) => _blink.BlinkWebGLRenderingContext.$texSu bImage2DImage_Callback(this, target, level, xoffset, yoffset, format, type, imag e);
2762 2762
2763 @DomName('WebGLRenderingContext.texSubImage2DImageData') 2763 @DomName('WebGLRenderingContext.texSubImage2DImageData')
2764 @DocsEditable() 2764 @DocsEditable()
2765 void texSubImage2DImageData(int target, int level, int xoffset, int yoffset, i nt format, int type, ImageData pixels) => _blink.Native_WebGLRenderingContext_te xSubImage2DImageData_Callback(this, target, level, xoffset, yoffset, format, typ e, pixels); 2765 void texSubImage2DImageData(int target, int level, int xoffset, int yoffset, i nt format, int type, ImageData pixels) => _blink.BlinkWebGLRenderingContext.$tex SubImage2DImageData_Callback(this, target, level, xoffset, yoffset, format, type , pixels);
2766 2766
2767 @DomName('WebGLRenderingContext.texSubImage2DVideo') 2767 @DomName('WebGLRenderingContext.texSubImage2DVideo')
2768 @DocsEditable() 2768 @DocsEditable()
2769 void texSubImage2DVideo(int target, int level, int xoffset, int yoffset, int f ormat, int type, VideoElement video) => _blink.Native_WebGLRenderingContext_texS ubImage2DVideo_Callback(this, target, level, xoffset, yoffset, format, type, vid eo); 2769 void texSubImage2DVideo(int target, int level, int xoffset, int yoffset, int f ormat, int type, VideoElement video) => _blink.BlinkWebGLRenderingContext.$texSu bImage2DVideo_Callback(this, target, level, xoffset, yoffset, format, type, vide o);
2770 2770
2771 @DomName('WebGLRenderingContext.uniform1f') 2771 @DomName('WebGLRenderingContext.uniform1f')
2772 @DocsEditable() 2772 @DocsEditable()
2773 void uniform1f(UniformLocation location, num x) => _blink.Native_WebGLRenderin gContext_uniform1f_Callback(this, location, x); 2773 void uniform1f(UniformLocation location, num x) => _blink.BlinkWebGLRenderingC ontext.$uniform1f_Callback(this, location, x);
2774 2774
2775 @DomName('WebGLRenderingContext.uniform1fv') 2775 @DomName('WebGLRenderingContext.uniform1fv')
2776 @DocsEditable() 2776 @DocsEditable()
2777 void uniform1fv(UniformLocation location, Float32List v) => _blink.Native_WebG LRenderingContext_uniform1fv_Callback(this, location, v); 2777 void uniform1fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR enderingContext.$uniform1fv_Callback(this, location, v);
2778 2778
2779 @DomName('WebGLRenderingContext.uniform1i') 2779 @DomName('WebGLRenderingContext.uniform1i')
2780 @DocsEditable() 2780 @DocsEditable()
2781 void uniform1i(UniformLocation location, int x) => _blink.Native_WebGLRenderin gContext_uniform1i_Callback(this, location, x); 2781 void uniform1i(UniformLocation location, int x) => _blink.BlinkWebGLRenderingC ontext.$uniform1i_Callback(this, location, x);
2782 2782
2783 @DomName('WebGLRenderingContext.uniform1iv') 2783 @DomName('WebGLRenderingContext.uniform1iv')
2784 @DocsEditable() 2784 @DocsEditable()
2785 void uniform1iv(UniformLocation location, Int32List v) => _blink.Native_WebGLR enderingContext_uniform1iv_Callback(this, location, v); 2785 void uniform1iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen deringContext.$uniform1iv_Callback(this, location, v);
2786 2786
2787 @DomName('WebGLRenderingContext.uniform2f') 2787 @DomName('WebGLRenderingContext.uniform2f')
2788 @DocsEditable() 2788 @DocsEditable()
2789 void uniform2f(UniformLocation location, num x, num y) => _blink.Native_WebGLR enderingContext_uniform2f_Callback(this, location, x, y); 2789 void uniform2f(UniformLocation location, num x, num y) => _blink.BlinkWebGLRen deringContext.$uniform2f_Callback(this, location, x, y);
2790 2790
2791 @DomName('WebGLRenderingContext.uniform2fv') 2791 @DomName('WebGLRenderingContext.uniform2fv')
2792 @DocsEditable() 2792 @DocsEditable()
2793 void uniform2fv(UniformLocation location, Float32List v) => _blink.Native_WebG LRenderingContext_uniform2fv_Callback(this, location, v); 2793 void uniform2fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR enderingContext.$uniform2fv_Callback(this, location, v);
2794 2794
2795 @DomName('WebGLRenderingContext.uniform2i') 2795 @DomName('WebGLRenderingContext.uniform2i')
2796 @DocsEditable() 2796 @DocsEditable()
2797 void uniform2i(UniformLocation location, int x, int y) => _blink.Native_WebGLR enderingContext_uniform2i_Callback(this, location, x, y); 2797 void uniform2i(UniformLocation location, int x, int y) => _blink.BlinkWebGLRen deringContext.$uniform2i_Callback(this, location, x, y);
2798 2798
2799 @DomName('WebGLRenderingContext.uniform2iv') 2799 @DomName('WebGLRenderingContext.uniform2iv')
2800 @DocsEditable() 2800 @DocsEditable()
2801 void uniform2iv(UniformLocation location, Int32List v) => _blink.Native_WebGLR enderingContext_uniform2iv_Callback(this, location, v); 2801 void uniform2iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen deringContext.$uniform2iv_Callback(this, location, v);
2802 2802
2803 @DomName('WebGLRenderingContext.uniform3f') 2803 @DomName('WebGLRenderingContext.uniform3f')
2804 @DocsEditable() 2804 @DocsEditable()
2805 void uniform3f(UniformLocation location, num x, num y, num z) => _blink.Native _WebGLRenderingContext_uniform3f_Callback(this, location, x, y, z); 2805 void uniform3f(UniformLocation location, num x, num y, num z) => _blink.BlinkW ebGLRenderingContext.$uniform3f_Callback(this, location, x, y, z);
2806 2806
2807 @DomName('WebGLRenderingContext.uniform3fv') 2807 @DomName('WebGLRenderingContext.uniform3fv')
2808 @DocsEditable() 2808 @DocsEditable()
2809 void uniform3fv(UniformLocation location, Float32List v) => _blink.Native_WebG LRenderingContext_uniform3fv_Callback(this, location, v); 2809 void uniform3fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR enderingContext.$uniform3fv_Callback(this, location, v);
2810 2810
2811 @DomName('WebGLRenderingContext.uniform3i') 2811 @DomName('WebGLRenderingContext.uniform3i')
2812 @DocsEditable() 2812 @DocsEditable()
2813 void uniform3i(UniformLocation location, int x, int y, int z) => _blink.Native _WebGLRenderingContext_uniform3i_Callback(this, location, x, y, z); 2813 void uniform3i(UniformLocation location, int x, int y, int z) => _blink.BlinkW ebGLRenderingContext.$uniform3i_Callback(this, location, x, y, z);
2814 2814
2815 @DomName('WebGLRenderingContext.uniform3iv') 2815 @DomName('WebGLRenderingContext.uniform3iv')
2816 @DocsEditable() 2816 @DocsEditable()
2817 void uniform3iv(UniformLocation location, Int32List v) => _blink.Native_WebGLR enderingContext_uniform3iv_Callback(this, location, v); 2817 void uniform3iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen deringContext.$uniform3iv_Callback(this, location, v);
2818 2818
2819 @DomName('WebGLRenderingContext.uniform4f') 2819 @DomName('WebGLRenderingContext.uniform4f')
2820 @DocsEditable() 2820 @DocsEditable()
2821 void uniform4f(UniformLocation location, num x, num y, num z, num w) => _blink .Native_WebGLRenderingContext_uniform4f_Callback(this, location, x, y, z, w); 2821 void uniform4f(UniformLocation location, num x, num y, num z, num w) => _blink .BlinkWebGLRenderingContext.$uniform4f_Callback(this, location, x, y, z, w);
2822 2822
2823 @DomName('WebGLRenderingContext.uniform4fv') 2823 @DomName('WebGLRenderingContext.uniform4fv')
2824 @DocsEditable() 2824 @DocsEditable()
2825 void uniform4fv(UniformLocation location, Float32List v) => _blink.Native_WebG LRenderingContext_uniform4fv_Callback(this, location, v); 2825 void uniform4fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR enderingContext.$uniform4fv_Callback(this, location, v);
2826 2826
2827 @DomName('WebGLRenderingContext.uniform4i') 2827 @DomName('WebGLRenderingContext.uniform4i')
2828 @DocsEditable() 2828 @DocsEditable()
2829 void uniform4i(UniformLocation location, int x, int y, int z, int w) => _blink .Native_WebGLRenderingContext_uniform4i_Callback(this, location, x, y, z, w); 2829 void uniform4i(UniformLocation location, int x, int y, int z, int w) => _blink .BlinkWebGLRenderingContext.$uniform4i_Callback(this, location, x, y, z, w);
2830 2830
2831 @DomName('WebGLRenderingContext.uniform4iv') 2831 @DomName('WebGLRenderingContext.uniform4iv')
2832 @DocsEditable() 2832 @DocsEditable()
2833 void uniform4iv(UniformLocation location, Int32List v) => _blink.Native_WebGLR enderingContext_uniform4iv_Callback(this, location, v); 2833 void uniform4iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen deringContext.$uniform4iv_Callback(this, location, v);
2834 2834
2835 @DomName('WebGLRenderingContext.uniformMatrix2fv') 2835 @DomName('WebGLRenderingContext.uniformMatrix2fv')
2836 @DocsEditable() 2836 @DocsEditable()
2837 void uniformMatrix2fv(UniformLocation location, bool transpose, Float32List ar ray) => _blink.Native_WebGLRenderingContext_uniformMatrix2fv_Callback(this, loca tion, transpose, array); 2837 void uniformMatrix2fv(UniformLocation location, bool transpose, Float32List ar ray) => _blink.BlinkWebGLRenderingContext.$uniformMatrix2fv_Callback(this, locat ion, transpose, array);
2838 2838
2839 @DomName('WebGLRenderingContext.uniformMatrix3fv') 2839 @DomName('WebGLRenderingContext.uniformMatrix3fv')
2840 @DocsEditable() 2840 @DocsEditable()
2841 void uniformMatrix3fv(UniformLocation location, bool transpose, Float32List ar ray) => _blink.Native_WebGLRenderingContext_uniformMatrix3fv_Callback(this, loca tion, transpose, array); 2841 void uniformMatrix3fv(UniformLocation location, bool transpose, Float32List ar ray) => _blink.BlinkWebGLRenderingContext.$uniformMatrix3fv_Callback(this, locat ion, transpose, array);
2842 2842
2843 @DomName('WebGLRenderingContext.uniformMatrix4fv') 2843 @DomName('WebGLRenderingContext.uniformMatrix4fv')
2844 @DocsEditable() 2844 @DocsEditable()
2845 void uniformMatrix4fv(UniformLocation location, bool transpose, Float32List ar ray) => _blink.Native_WebGLRenderingContext_uniformMatrix4fv_Callback(this, loca tion, transpose, array); 2845 void uniformMatrix4fv(UniformLocation location, bool transpose, Float32List ar ray) => _blink.BlinkWebGLRenderingContext.$uniformMatrix4fv_Callback(this, locat ion, transpose, array);
2846 2846
2847 @DomName('WebGLRenderingContext.useProgram') 2847 @DomName('WebGLRenderingContext.useProgram')
2848 @DocsEditable() 2848 @DocsEditable()
2849 void useProgram(Program program) => _blink.Native_WebGLRenderingContext_usePro gram_Callback(this, program); 2849 void useProgram(Program program) => _blink.BlinkWebGLRenderingContext.$useProg ram_Callback(this, program);
2850 2850
2851 @DomName('WebGLRenderingContext.validateProgram') 2851 @DomName('WebGLRenderingContext.validateProgram')
2852 @DocsEditable() 2852 @DocsEditable()
2853 void validateProgram(Program program) => _blink.Native_WebGLRenderingContext_v alidateProgram_Callback(this, program); 2853 void validateProgram(Program program) => _blink.BlinkWebGLRenderingContext.$va lidateProgram_Callback(this, program);
2854 2854
2855 @DomName('WebGLRenderingContext.vertexAttrib1f') 2855 @DomName('WebGLRenderingContext.vertexAttrib1f')
2856 @DocsEditable() 2856 @DocsEditable()
2857 void vertexAttrib1f(int indx, num x) => _blink.Native_WebGLRenderingContext_ve rtexAttrib1f_Callback(this, indx, x); 2857 void vertexAttrib1f(int indx, num x) => _blink.BlinkWebGLRenderingContext.$ver texAttrib1f_Callback(this, indx, x);
2858 2858
2859 @DomName('WebGLRenderingContext.vertexAttrib1fv') 2859 @DomName('WebGLRenderingContext.vertexAttrib1fv')
2860 @DocsEditable() 2860 @DocsEditable()
2861 void vertexAttrib1fv(int indx, Float32List values) => _blink.Native_WebGLRende ringContext_vertexAttrib1fv_Callback(this, indx, values); 2861 void vertexAttrib1fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi ngContext.$vertexAttrib1fv_Callback(this, indx, values);
2862 2862
2863 @DomName('WebGLRenderingContext.vertexAttrib2f') 2863 @DomName('WebGLRenderingContext.vertexAttrib2f')
2864 @DocsEditable() 2864 @DocsEditable()
2865 void vertexAttrib2f(int indx, num x, num y) => _blink.Native_WebGLRenderingCon text_vertexAttrib2f_Callback(this, indx, x, y); 2865 void vertexAttrib2f(int indx, num x, num y) => _blink.BlinkWebGLRenderingConte xt.$vertexAttrib2f_Callback(this, indx, x, y);
2866 2866
2867 @DomName('WebGLRenderingContext.vertexAttrib2fv') 2867 @DomName('WebGLRenderingContext.vertexAttrib2fv')
2868 @DocsEditable() 2868 @DocsEditable()
2869 void vertexAttrib2fv(int indx, Float32List values) => _blink.Native_WebGLRende ringContext_vertexAttrib2fv_Callback(this, indx, values); 2869 void vertexAttrib2fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi ngContext.$vertexAttrib2fv_Callback(this, indx, values);
2870 2870
2871 @DomName('WebGLRenderingContext.vertexAttrib3f') 2871 @DomName('WebGLRenderingContext.vertexAttrib3f')
2872 @DocsEditable() 2872 @DocsEditable()
2873 void vertexAttrib3f(int indx, num x, num y, num z) => _blink.Native_WebGLRende ringContext_vertexAttrib3f_Callback(this, indx, x, y, z); 2873 void vertexAttrib3f(int indx, num x, num y, num z) => _blink.BlinkWebGLRenderi ngContext.$vertexAttrib3f_Callback(this, indx, x, y, z);
2874 2874
2875 @DomName('WebGLRenderingContext.vertexAttrib3fv') 2875 @DomName('WebGLRenderingContext.vertexAttrib3fv')
2876 @DocsEditable() 2876 @DocsEditable()
2877 void vertexAttrib3fv(int indx, Float32List values) => _blink.Native_WebGLRende ringContext_vertexAttrib3fv_Callback(this, indx, values); 2877 void vertexAttrib3fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi ngContext.$vertexAttrib3fv_Callback(this, indx, values);
2878 2878
2879 @DomName('WebGLRenderingContext.vertexAttrib4f') 2879 @DomName('WebGLRenderingContext.vertexAttrib4f')
2880 @DocsEditable() 2880 @DocsEditable()
2881 void vertexAttrib4f(int indx, num x, num y, num z, num w) => _blink.Native_Web GLRenderingContext_vertexAttrib4f_Callback(this, indx, x, y, z, w); 2881 void vertexAttrib4f(int indx, num x, num y, num z, num w) => _blink.BlinkWebGL RenderingContext.$vertexAttrib4f_Callback(this, indx, x, y, z, w);
2882 2882
2883 @DomName('WebGLRenderingContext.vertexAttrib4fv') 2883 @DomName('WebGLRenderingContext.vertexAttrib4fv')
2884 @DocsEditable() 2884 @DocsEditable()
2885 void vertexAttrib4fv(int indx, Float32List values) => _blink.Native_WebGLRende ringContext_vertexAttrib4fv_Callback(this, indx, values); 2885 void vertexAttrib4fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi ngContext.$vertexAttrib4fv_Callback(this, indx, values);
2886 2886
2887 @DomName('WebGLRenderingContext.vertexAttribPointer') 2887 @DomName('WebGLRenderingContext.vertexAttribPointer')
2888 @DocsEditable() 2888 @DocsEditable()
2889 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset) => _blink.Native_WebGLRenderingContext_vertexAttribPointer_Cal lback(this, indx, size, type, normalized, stride, offset); 2889 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset) => _blink.BlinkWebGLRenderingContext.$vertexAttribPointer_Call back(this, indx, size, type, normalized, stride, offset);
2890 2890
2891 @DomName('WebGLRenderingContext.viewport') 2891 @DomName('WebGLRenderingContext.viewport')
2892 @DocsEditable() 2892 @DocsEditable()
2893 void viewport(int x, int y, int width, int height) => _blink.Native_WebGLRende ringContext_viewport_Callback(this, x, y, width, height); 2893 void viewport(int x, int y, int width, int height) => _blink.BlinkWebGLRenderi ngContext.$viewport_Callback(this, x, y, width, height);
2894 2894
2895 2895
2896 /** 2896 /**
2897 * Sets the currently bound texture to [data]. 2897 * Sets the currently bound texture to [data].
2898 * 2898 *
2899 * [data] can be either an [ImageElement], a 2899 * [data] can be either an [ImageElement], a
2900 * [CanvasElement], a [VideoElement], or an [ImageData] object. 2900 * [CanvasElement], a [VideoElement], or an [ImageData] object.
2901 * 2901 *
2902 * To use [texImage2d] with a TypedData object, use [texImage2dTyped]. 2902 * To use [texImage2d] with a TypedData object, use [texImage2dTyped].
2903 * 2903 *
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
2975 2975
2976 2976
2977 @DocsEditable() 2977 @DocsEditable()
2978 @DomName('WebGLShaderPrecisionFormat') 2978 @DomName('WebGLShaderPrecisionFormat')
2979 class ShaderPrecisionFormat extends NativeFieldWrapperClass2 { 2979 class ShaderPrecisionFormat extends NativeFieldWrapperClass2 {
2980 // To suppress missing implicit constructor warnings. 2980 // To suppress missing implicit constructor warnings.
2981 factory ShaderPrecisionFormat._() { throw new UnsupportedError("Not supported" ); } 2981 factory ShaderPrecisionFormat._() { throw new UnsupportedError("Not supported" ); }
2982 2982
2983 @DomName('WebGLShaderPrecisionFormat.precision') 2983 @DomName('WebGLShaderPrecisionFormat.precision')
2984 @DocsEditable() 2984 @DocsEditable()
2985 int get precision => _blink.Native_WebGLShaderPrecisionFormat_precision_Getter (this); 2985 int get precision => _blink.BlinkWebGLShaderPrecisionFormat.$precision_Getter( this);
2986 2986
2987 @DomName('WebGLShaderPrecisionFormat.rangeMax') 2987 @DomName('WebGLShaderPrecisionFormat.rangeMax')
2988 @DocsEditable() 2988 @DocsEditable()
2989 int get rangeMax => _blink.Native_WebGLShaderPrecisionFormat_rangeMax_Getter(t his); 2989 int get rangeMax => _blink.BlinkWebGLShaderPrecisionFormat.$rangeMax_Getter(th is);
2990 2990
2991 @DomName('WebGLShaderPrecisionFormat.rangeMin') 2991 @DomName('WebGLShaderPrecisionFormat.rangeMin')
2992 @DocsEditable() 2992 @DocsEditable()
2993 int get rangeMin => _blink.Native_WebGLShaderPrecisionFormat_rangeMin_Getter(t his); 2993 int get rangeMin => _blink.BlinkWebGLShaderPrecisionFormat.$rangeMin_Getter(th is);
2994 2994
2995 } 2995 }
2996 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2996 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2997 // for details. All rights reserved. Use of this source code is governed by a 2997 // for details. All rights reserved. Use of this source code is governed by a
2998 // BSD-style license that can be found in the LICENSE file. 2998 // BSD-style license that can be found in the LICENSE file.
2999 2999
3000 // WARNING: Do not edit - generated code. 3000 // WARNING: Do not edit - generated code.
3001 3001
3002 3002
3003 @DocsEditable() 3003 @DocsEditable()
(...skipping 26 matching lines...) Expand all
3030 3030
3031 @DocsEditable() 3031 @DocsEditable()
3032 @DomName('WebGLVertexArrayObjectOES') 3032 @DomName('WebGLVertexArrayObjectOES')
3033 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ 3033 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
3034 @Experimental() // experimental 3034 @Experimental() // experimental
3035 class VertexArrayObject extends NativeFieldWrapperClass2 { 3035 class VertexArrayObject extends NativeFieldWrapperClass2 {
3036 // To suppress missing implicit constructor warnings. 3036 // To suppress missing implicit constructor warnings.
3037 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } 3037 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); }
3038 3038
3039 } 3039 }
OLDNEW
« no previous file with comments | « sdk/lib/web_audio/dartium/web_audio_dartium.dart ('k') | sdk/lib/web_sql/dartium/web_sql_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698