| OLD | NEW |
| 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 // DO NOT EDIT | 11 // DO NOT EDIT |
| 11 // Auto-generated dart:web_gl library. | 12 // Auto-generated dart:web_gl library. |
| 12 | 13 |
| 13 | 14 |
| 14 | 15 |
| 15 | 16 |
| 16 | 17 |
| 17 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 18 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 18 // for details. All rights reserved. Use of this source code is governed by a | 19 // for details. All rights reserved. Use of this source code is governed by a |
| 19 // BSD-style license that can be found in the LICENSE file. | 20 // BSD-style license that can be found in the LICENSE file. |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 | 325 |
| 325 @DocsEditable() | 326 @DocsEditable() |
| 326 @DomName('WebGLActiveInfo') | 327 @DomName('WebGLActiveInfo') |
| 327 @Unstable() | 328 @Unstable() |
| 328 class ActiveInfo extends NativeFieldWrapperClass2 { | 329 class ActiveInfo extends NativeFieldWrapperClass2 { |
| 329 // To suppress missing implicit constructor warnings. | 330 // To suppress missing implicit constructor warnings. |
| 330 factory ActiveInfo._() { throw new UnsupportedError("Not supported"); } | 331 factory ActiveInfo._() { throw new UnsupportedError("Not supported"); } |
| 331 | 332 |
| 332 @DomName('WebGLActiveInfo.name') | 333 @DomName('WebGLActiveInfo.name') |
| 333 @DocsEditable() | 334 @DocsEditable() |
| 334 String get name native "WebGLActiveInfo_name_Getter"; | 335 String get name => blink.Native_WebGLActiveInfo_name_Getter(this); |
| 335 | 336 |
| 336 @DomName('WebGLActiveInfo.size') | 337 @DomName('WebGLActiveInfo.size') |
| 337 @DocsEditable() | 338 @DocsEditable() |
| 338 int get size native "WebGLActiveInfo_size_Getter"; | 339 int get size => blink.Native_WebGLActiveInfo_size_Getter(this); |
| 339 | 340 |
| 340 @DomName('WebGLActiveInfo.type') | 341 @DomName('WebGLActiveInfo.type') |
| 341 @DocsEditable() | 342 @DocsEditable() |
| 342 int get type native "WebGLActiveInfo_type_Getter"; | 343 int get type => blink.Native_WebGLActiveInfo_type_Getter(this); |
| 343 | 344 |
| 344 } | 345 } |
| 345 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 346 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 346 // for details. All rights reserved. Use of this source code is governed by a | 347 // for details. All rights reserved. Use of this source code is governed by a |
| 347 // BSD-style license that can be found in the LICENSE file. | 348 // BSD-style license that can be found in the LICENSE file. |
| 348 | 349 |
| 349 // WARNING: Do not edit - generated code. | 350 // WARNING: Do not edit - generated code. |
| 350 | 351 |
| 351 | 352 |
| 352 @DocsEditable() | 353 @DocsEditable() |
| 353 @DomName('ANGLEInstancedArrays') | 354 @DomName('ANGLEInstancedArrays') |
| 354 @Experimental() // untriaged | 355 @Experimental() // untriaged |
| 355 class AngleInstancedArrays extends NativeFieldWrapperClass2 { | 356 class AngleInstancedArrays extends NativeFieldWrapperClass2 { |
| 356 // To suppress missing implicit constructor warnings. | 357 // To suppress missing implicit constructor warnings. |
| 357 factory AngleInstancedArrays._() { throw new UnsupportedError("Not supported")
; } | 358 factory AngleInstancedArrays._() { throw new UnsupportedError("Not supported")
; } |
| 358 | 359 |
| 359 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE') | 360 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE') |
| 360 @DocsEditable() | 361 @DocsEditable() |
| 361 @Experimental() // untriaged | 362 @Experimental() // untriaged |
| 362 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; | 363 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; |
| 363 | 364 |
| 364 @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE') | 365 @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE') |
| 365 @DocsEditable() | 366 @DocsEditable() |
| 366 @Experimental() // untriaged | 367 @Experimental() // untriaged |
| 367 void drawArraysInstancedAngle(int mode, int first, int count, int primcount) n
ative "ANGLEInstancedArrays_drawArraysInstancedANGLE_Callback"; | 368 void drawArraysInstancedAngle(int mode, int first, int count, int primcount) =
> blink.Native_ANGLEInstancedArrays_drawArraysInstancedANGLE_Callback(this, mode
, first, count, primcount); |
| 368 | 369 |
| 369 @DomName('ANGLEInstancedArrays.drawElementsInstancedANGLE') | 370 @DomName('ANGLEInstancedArrays.drawElementsInstancedANGLE') |
| 370 @DocsEditable() | 371 @DocsEditable() |
| 371 @Experimental() // untriaged | 372 @Experimental() // untriaged |
| 372 void drawElementsInstancedAngle(int mode, int count, int type, int offset, int
primcount) native "ANGLEInstancedArrays_drawElementsInstancedANGLE_Callback"; | 373 void drawElementsInstancedAngle(int mode, int count, int type, int offset, int
primcount) => blink.Native_ANGLEInstancedArrays_drawElementsInstancedANGLE_Call
back(this, mode, count, type, offset, primcount); |
| 373 | 374 |
| 374 @DomName('ANGLEInstancedArrays.vertexAttribDivisorANGLE') | 375 @DomName('ANGLEInstancedArrays.vertexAttribDivisorANGLE') |
| 375 @DocsEditable() | 376 @DocsEditable() |
| 376 @Experimental() // untriaged | 377 @Experimental() // untriaged |
| 377 void vertexAttribDivisorAngle(int index, int divisor) native "ANGLEInstancedAr
rays_vertexAttribDivisorANGLE_Callback"; | 378 void vertexAttribDivisorAngle(int index, int divisor) => blink.Native_ANGLEIns
tancedArrays_vertexAttribDivisorANGLE_Callback(this, index, divisor); |
| 378 | 379 |
| 379 } | 380 } |
| 380 // 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 |
| 381 // 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 |
| 382 // BSD-style license that can be found in the LICENSE file. | 383 // BSD-style license that can be found in the LICENSE file. |
| 383 | 384 |
| 384 // WARNING: Do not edit - generated code. | 385 // WARNING: Do not edit - generated code. |
| 385 | 386 |
| 386 | 387 |
| 387 @DocsEditable() | 388 @DocsEditable() |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 515 * bits. | 516 * bits. |
| 516 */ | 517 */ |
| 517 @DomName('WebGLContextAttributes') | 518 @DomName('WebGLContextAttributes') |
| 518 @Unstable() | 519 @Unstable() |
| 519 class ContextAttributes extends NativeFieldWrapperClass2 { | 520 class ContextAttributes extends NativeFieldWrapperClass2 { |
| 520 // To suppress missing implicit constructor warnings. | 521 // To suppress missing implicit constructor warnings. |
| 521 factory ContextAttributes._() { throw new UnsupportedError("Not supported"); } | 522 factory ContextAttributes._() { throw new UnsupportedError("Not supported"); } |
| 522 | 523 |
| 523 @DomName('WebGLContextAttributes.alpha') | 524 @DomName('WebGLContextAttributes.alpha') |
| 524 @DocsEditable() | 525 @DocsEditable() |
| 525 bool get alpha native "WebGLContextAttributes_alpha_Getter"; | 526 bool get alpha => blink.Native_WebGLContextAttributes_alpha_Getter(this); |
| 526 | 527 |
| 527 @DomName('WebGLContextAttributes.alpha') | 528 @DomName('WebGLContextAttributes.alpha') |
| 528 @DocsEditable() | 529 @DocsEditable() |
| 529 void set alpha(bool value) native "WebGLContextAttributes_alpha_Setter"; | 530 void set alpha(bool value) => blink.Native_WebGLContextAttributes_alpha_Setter
(this, value); |
| 530 | 531 |
| 531 @DomName('WebGLContextAttributes.antialias') | 532 @DomName('WebGLContextAttributes.antialias') |
| 532 @DocsEditable() | 533 @DocsEditable() |
| 533 bool get antialias native "WebGLContextAttributes_antialias_Getter"; | 534 bool get antialias => blink.Native_WebGLContextAttributes_antialias_Getter(thi
s); |
| 534 | 535 |
| 535 @DomName('WebGLContextAttributes.antialias') | 536 @DomName('WebGLContextAttributes.antialias') |
| 536 @DocsEditable() | 537 @DocsEditable() |
| 537 void set antialias(bool value) native "WebGLContextAttributes_antialias_Setter
"; | 538 void set antialias(bool value) => blink.Native_WebGLContextAttributes_antialia
s_Setter(this, value); |
| 538 | 539 |
| 539 @DomName('WebGLContextAttributes.depth') | 540 @DomName('WebGLContextAttributes.depth') |
| 540 @DocsEditable() | 541 @DocsEditable() |
| 541 bool get depth native "WebGLContextAttributes_depth_Getter"; | 542 bool get depth => blink.Native_WebGLContextAttributes_depth_Getter(this); |
| 542 | 543 |
| 543 @DomName('WebGLContextAttributes.depth') | 544 @DomName('WebGLContextAttributes.depth') |
| 544 @DocsEditable() | 545 @DocsEditable() |
| 545 void set depth(bool value) native "WebGLContextAttributes_depth_Setter"; | 546 void set depth(bool value) => blink.Native_WebGLContextAttributes_depth_Setter
(this, value); |
| 546 | 547 |
| 547 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat') | 548 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat') |
| 548 @DocsEditable() | 549 @DocsEditable() |
| 549 @Experimental() // untriaged | 550 @Experimental() // untriaged |
| 550 bool get failIfMajorPerformanceCaveat native "WebGLContextAttributes_failIfMaj
orPerformanceCaveat_Getter"; | 551 bool get failIfMajorPerformanceCaveat => blink.Native_WebGLContextAttributes_f
ailIfMajorPerformanceCaveat_Getter(this); |
| 551 | 552 |
| 552 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat') | 553 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat') |
| 553 @DocsEditable() | 554 @DocsEditable() |
| 554 @Experimental() // untriaged | 555 @Experimental() // untriaged |
| 555 void set failIfMajorPerformanceCaveat(bool value) native "WebGLContextAttribut
es_failIfMajorPerformanceCaveat_Setter"; | 556 void set failIfMajorPerformanceCaveat(bool value) => blink.Native_WebGLContext
Attributes_failIfMajorPerformanceCaveat_Setter(this, value); |
| 556 | 557 |
| 557 @DomName('WebGLContextAttributes.premultipliedAlpha') | 558 @DomName('WebGLContextAttributes.premultipliedAlpha') |
| 558 @DocsEditable() | 559 @DocsEditable() |
| 559 bool get premultipliedAlpha native "WebGLContextAttributes_premultipliedAlpha_
Getter"; | 560 bool get premultipliedAlpha => blink.Native_WebGLContextAttributes_premultipli
edAlpha_Getter(this); |
| 560 | 561 |
| 561 @DomName('WebGLContextAttributes.premultipliedAlpha') | 562 @DomName('WebGLContextAttributes.premultipliedAlpha') |
| 562 @DocsEditable() | 563 @DocsEditable() |
| 563 void set premultipliedAlpha(bool value) native "WebGLContextAttributes_premult
ipliedAlpha_Setter"; | 564 void set premultipliedAlpha(bool value) => blink.Native_WebGLContextAttributes
_premultipliedAlpha_Setter(this, value); |
| 564 | 565 |
| 565 @DomName('WebGLContextAttributes.preserveDrawingBuffer') | 566 @DomName('WebGLContextAttributes.preserveDrawingBuffer') |
| 566 @DocsEditable() | 567 @DocsEditable() |
| 567 bool get preserveDrawingBuffer native "WebGLContextAttributes_preserveDrawingB
uffer_Getter"; | 568 bool get preserveDrawingBuffer => blink.Native_WebGLContextAttributes_preserve
DrawingBuffer_Getter(this); |
| 568 | 569 |
| 569 @DomName('WebGLContextAttributes.preserveDrawingBuffer') | 570 @DomName('WebGLContextAttributes.preserveDrawingBuffer') |
| 570 @DocsEditable() | 571 @DocsEditable() |
| 571 void set preserveDrawingBuffer(bool value) native "WebGLContextAttributes_pres
erveDrawingBuffer_Setter"; | 572 void set preserveDrawingBuffer(bool value) => blink.Native_WebGLContextAttribu
tes_preserveDrawingBuffer_Setter(this, value); |
| 572 | 573 |
| 573 @DomName('WebGLContextAttributes.stencil') | 574 @DomName('WebGLContextAttributes.stencil') |
| 574 @DocsEditable() | 575 @DocsEditable() |
| 575 bool get stencil native "WebGLContextAttributes_stencil_Getter"; | 576 bool get stencil => blink.Native_WebGLContextAttributes_stencil_Getter(this); |
| 576 | 577 |
| 577 @DomName('WebGLContextAttributes.stencil') | 578 @DomName('WebGLContextAttributes.stencil') |
| 578 @DocsEditable() | 579 @DocsEditable() |
| 579 void set stencil(bool value) native "WebGLContextAttributes_stencil_Setter"; | 580 void set stencil(bool value) => blink.Native_WebGLContextAttributes_stencil_Se
tter(this, value); |
| 580 | 581 |
| 581 } | 582 } |
| 582 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 583 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 583 // for details. All rights reserved. Use of this source code is governed by a | 584 // for details. All rights reserved. Use of this source code is governed by a |
| 584 // BSD-style license that can be found in the LICENSE file. | 585 // BSD-style license that can be found in the LICENSE file. |
| 585 | 586 |
| 586 // WARNING: Do not edit - generated code. | 587 // WARNING: Do not edit - generated code. |
| 587 | 588 |
| 588 | 589 |
| 589 @DocsEditable() | 590 @DocsEditable() |
| 590 @DomName('WebGLContextEvent') | 591 @DomName('WebGLContextEvent') |
| 591 @Unstable() | 592 @Unstable() |
| 592 class ContextEvent extends Event { | 593 class ContextEvent extends Event { |
| 593 // To suppress missing implicit constructor warnings. | 594 // To suppress missing implicit constructor warnings. |
| 594 factory ContextEvent._() { throw new UnsupportedError("Not supported"); } | 595 factory ContextEvent._() { throw new UnsupportedError("Not supported"); } |
| 595 | 596 |
| 596 @DomName('WebGLContextEvent.statusMessage') | 597 @DomName('WebGLContextEvent.statusMessage') |
| 597 @DocsEditable() | 598 @DocsEditable() |
| 598 String get statusMessage native "WebGLContextEvent_statusMessage_Getter"; | 599 String get statusMessage => blink.Native_WebGLContextEvent_statusMessage_Gette
r(this); |
| 599 | 600 |
| 600 } | 601 } |
| 601 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 602 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 602 // for details. All rights reserved. Use of this source code is governed by a | 603 // for details. All rights reserved. Use of this source code is governed by a |
| 603 // BSD-style license that can be found in the LICENSE file. | 604 // BSD-style license that can be found in the LICENSE file. |
| 604 | 605 |
| 605 // WARNING: Do not edit - generated code. | 606 // WARNING: Do not edit - generated code. |
| 606 | 607 |
| 607 | 608 |
| 608 @DocsEditable() | 609 @DocsEditable() |
| (...skipping 23 matching lines...) Expand all Loading... |
| 632 @DocsEditable() | 633 @DocsEditable() |
| 633 @DomName('WebGLDebugShaders') | 634 @DomName('WebGLDebugShaders') |
| 634 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/ | 635 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/ |
| 635 @Experimental() // experimental | 636 @Experimental() // experimental |
| 636 class DebugShaders extends NativeFieldWrapperClass2 { | 637 class DebugShaders extends NativeFieldWrapperClass2 { |
| 637 // To suppress missing implicit constructor warnings. | 638 // To suppress missing implicit constructor warnings. |
| 638 factory DebugShaders._() { throw new UnsupportedError("Not supported"); } | 639 factory DebugShaders._() { throw new UnsupportedError("Not supported"); } |
| 639 | 640 |
| 640 @DomName('WebGLDebugShaders.getTranslatedShaderSource') | 641 @DomName('WebGLDebugShaders.getTranslatedShaderSource') |
| 641 @DocsEditable() | 642 @DocsEditable() |
| 642 String getTranslatedShaderSource(Shader shader) native "WebGLDebugShaders_getT
ranslatedShaderSource_Callback"; | 643 String getTranslatedShaderSource(Shader shader) => blink.Native_WebGLDebugShad
ers_getTranslatedShaderSource_Callback(this, shader); |
| 643 | 644 |
| 644 } | 645 } |
| 645 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 646 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 646 // for details. All rights reserved. Use of this source code is governed by a | 647 // for details. All rights reserved. Use of this source code is governed by a |
| 647 // BSD-style license that can be found in the LICENSE file. | 648 // BSD-style license that can be found in the LICENSE file. |
| 648 | 649 |
| 649 // WARNING: Do not edit - generated code. | 650 // WARNING: Do not edit - generated code. |
| 650 | 651 |
| 651 | 652 |
| 652 @DocsEditable() | 653 @DocsEditable() |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 808 @DomName('WebGLDrawBuffers.MAX_COLOR_ATTACHMENTS_WEBGL') | 809 @DomName('WebGLDrawBuffers.MAX_COLOR_ATTACHMENTS_WEBGL') |
| 809 @DocsEditable() | 810 @DocsEditable() |
| 810 static const int MAX_COLOR_ATTACHMENTS_WEBGL = 0x8CDF; | 811 static const int MAX_COLOR_ATTACHMENTS_WEBGL = 0x8CDF; |
| 811 | 812 |
| 812 @DomName('WebGLDrawBuffers.MAX_DRAW_BUFFERS_WEBGL') | 813 @DomName('WebGLDrawBuffers.MAX_DRAW_BUFFERS_WEBGL') |
| 813 @DocsEditable() | 814 @DocsEditable() |
| 814 static const int MAX_DRAW_BUFFERS_WEBGL = 0x8824; | 815 static const int MAX_DRAW_BUFFERS_WEBGL = 0x8824; |
| 815 | 816 |
| 816 @DomName('WebGLDrawBuffers.drawBuffersWEBGL') | 817 @DomName('WebGLDrawBuffers.drawBuffersWEBGL') |
| 817 @DocsEditable() | 818 @DocsEditable() |
| 818 void drawBuffersWebgl(List<int> buffers) native "WebGLDrawBuffers_drawBuffersW
EBGL_Callback"; | 819 void drawBuffersWebgl(List<int> buffers) => blink.Native_WebGLDrawBuffers_draw
BuffersWEBGL_Callback(this, buffers); |
| 819 | 820 |
| 820 } | 821 } |
| 821 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 822 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 822 // for details. All rights reserved. Use of this source code is governed by a | 823 // for details. All rights reserved. Use of this source code is governed by a |
| 823 // BSD-style license that can be found in the LICENSE file. | 824 // BSD-style license that can be found in the LICENSE file. |
| 824 | 825 |
| 825 // WARNING: Do not edit - generated code. | 826 // WARNING: Do not edit - generated code. |
| 826 | 827 |
| 827 | 828 |
| 828 @DocsEditable() | 829 @DocsEditable() |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 883 @DocsEditable() | 884 @DocsEditable() |
| 884 @DomName('WebGLLoseContext') | 885 @DomName('WebGLLoseContext') |
| 885 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/ | 886 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/ |
| 886 @Experimental() | 887 @Experimental() |
| 887 class LoseContext extends NativeFieldWrapperClass2 { | 888 class LoseContext extends NativeFieldWrapperClass2 { |
| 888 // To suppress missing implicit constructor warnings. | 889 // To suppress missing implicit constructor warnings. |
| 889 factory LoseContext._() { throw new UnsupportedError("Not supported"); } | 890 factory LoseContext._() { throw new UnsupportedError("Not supported"); } |
| 890 | 891 |
| 891 @DomName('WebGLLoseContext.loseContext') | 892 @DomName('WebGLLoseContext.loseContext') |
| 892 @DocsEditable() | 893 @DocsEditable() |
| 893 void loseContext() native "WebGLLoseContext_loseContext_Callback"; | 894 void loseContext() => blink.Native_WebGLLoseContext_loseContext_Callback(this)
; |
| 894 | 895 |
| 895 @DomName('WebGLLoseContext.restoreContext') | 896 @DomName('WebGLLoseContext.restoreContext') |
| 896 @DocsEditable() | 897 @DocsEditable() |
| 897 void restoreContext() native "WebGLLoseContext_restoreContext_Callback"; | 898 void restoreContext() => blink.Native_WebGLLoseContext_restoreContext_Callback
(this); |
| 898 | 899 |
| 899 } | 900 } |
| 900 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 901 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 901 // for details. All rights reserved. Use of this source code is governed by a | 902 // for details. All rights reserved. Use of this source code is governed by a |
| 902 // BSD-style license that can be found in the LICENSE file. | 903 // BSD-style license that can be found in the LICENSE file. |
| 903 | 904 |
| 904 // WARNING: Do not edit - generated code. | 905 // WARNING: Do not edit - generated code. |
| 905 | 906 |
| 906 | 907 |
| 907 @DocsEditable() | 908 @DocsEditable() |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1015 class OesVertexArrayObject extends NativeFieldWrapperClass2 { | 1016 class OesVertexArrayObject extends NativeFieldWrapperClass2 { |
| 1016 // To suppress missing implicit constructor warnings. | 1017 // To suppress missing implicit constructor warnings. |
| 1017 factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported")
; } | 1018 factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported")
; } |
| 1018 | 1019 |
| 1019 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') | 1020 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') |
| 1020 @DocsEditable() | 1021 @DocsEditable() |
| 1021 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; | 1022 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; |
| 1022 | 1023 |
| 1023 @DomName('OESVertexArrayObject.bindVertexArrayOES') | 1024 @DomName('OESVertexArrayObject.bindVertexArrayOES') |
| 1024 @DocsEditable() | 1025 @DocsEditable() |
| 1025 void bindVertexArray(VertexArrayObject arrayObject) native "OESVertexArrayObje
ct_bindVertexArrayOES_Callback"; | 1026 void bindVertexArray(VertexArrayObject arrayObject) => blink.Native_OESVertexA
rrayObject_bindVertexArrayOES_Callback(this, arrayObject); |
| 1026 | 1027 |
| 1027 @DomName('OESVertexArrayObject.createVertexArrayOES') | 1028 @DomName('OESVertexArrayObject.createVertexArrayOES') |
| 1028 @DocsEditable() | 1029 @DocsEditable() |
| 1029 VertexArrayObject createVertexArray() native "OESVertexArrayObject_createVerte
xArrayOES_Callback"; | 1030 VertexArrayObject createVertexArray() => blink.Native_OESVertexArrayObject_cre
ateVertexArrayOES_Callback(this); |
| 1030 | 1031 |
| 1031 @DomName('OESVertexArrayObject.deleteVertexArrayOES') | 1032 @DomName('OESVertexArrayObject.deleteVertexArrayOES') |
| 1032 @DocsEditable() | 1033 @DocsEditable() |
| 1033 void deleteVertexArray(VertexArrayObject arrayObject) native "OESVertexArrayOb
ject_deleteVertexArrayOES_Callback"; | 1034 void deleteVertexArray(VertexArrayObject arrayObject) => blink.Native_OESVerte
xArrayObject_deleteVertexArrayOES_Callback(this, arrayObject); |
| 1034 | 1035 |
| 1035 @DomName('OESVertexArrayObject.isVertexArrayOES') | 1036 @DomName('OESVertexArrayObject.isVertexArrayOES') |
| 1036 @DocsEditable() | 1037 @DocsEditable() |
| 1037 bool isVertexArray(VertexArrayObject arrayObject) native "OESVertexArrayObject
_isVertexArrayOES_Callback"; | 1038 bool isVertexArray(VertexArrayObject arrayObject) => blink.Native_OESVertexArr
ayObject_isVertexArrayOES_Callback(this, arrayObject); |
| 1038 | 1039 |
| 1039 } | 1040 } |
| 1040 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1041 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1041 // for details. All rights reserved. Use of this source code is governed by a | 1042 // for details. All rights reserved. Use of this source code is governed by a |
| 1042 // BSD-style license that can be found in the LICENSE file. | 1043 // BSD-style license that can be found in the LICENSE file. |
| 1043 | 1044 |
| 1044 // WARNING: Do not edit - generated code. | 1045 // WARNING: Do not edit - generated code. |
| 1045 | 1046 |
| 1046 | 1047 |
| 1047 @DocsEditable() | 1048 @DocsEditable() |
| (...skipping 1211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2259 @DomName('WebGLRenderingContext.VIEWPORT') | 2260 @DomName('WebGLRenderingContext.VIEWPORT') |
| 2260 @DocsEditable() | 2261 @DocsEditable() |
| 2261 static const int VIEWPORT = 0x0BA2; | 2262 static const int VIEWPORT = 0x0BA2; |
| 2262 | 2263 |
| 2263 @DomName('WebGLRenderingContext.ZERO') | 2264 @DomName('WebGLRenderingContext.ZERO') |
| 2264 @DocsEditable() | 2265 @DocsEditable() |
| 2265 static const int ZERO = 0; | 2266 static const int ZERO = 0; |
| 2266 | 2267 |
| 2267 @DomName('WebGLRenderingContext.drawingBufferHeight') | 2268 @DomName('WebGLRenderingContext.drawingBufferHeight') |
| 2268 @DocsEditable() | 2269 @DocsEditable() |
| 2269 int get drawingBufferHeight native "WebGLRenderingContext_drawingBufferHeight_
Getter"; | 2270 int get drawingBufferHeight => blink.Native_WebGLRenderingContext_drawingBuffe
rHeight_Getter(this); |
| 2270 | 2271 |
| 2271 @DomName('WebGLRenderingContext.drawingBufferWidth') | 2272 @DomName('WebGLRenderingContext.drawingBufferWidth') |
| 2272 @DocsEditable() | 2273 @DocsEditable() |
| 2273 int get drawingBufferWidth native "WebGLRenderingContext_drawingBufferWidth_Ge
tter"; | 2274 int get drawingBufferWidth => blink.Native_WebGLRenderingContext_drawingBuffer
Width_Getter(this); |
| 2274 | 2275 |
| 2275 @DomName('WebGLRenderingContext.activeTexture') | 2276 @DomName('WebGLRenderingContext.activeTexture') |
| 2276 @DocsEditable() | 2277 @DocsEditable() |
| 2277 void activeTexture(int texture) native "WebGLRenderingContext_activeTexture_Ca
llback"; | 2278 void activeTexture(int texture) => blink.Native_WebGLRenderingContext_activeTe
xture_Callback(this, texture); |
| 2278 | 2279 |
| 2279 @DomName('WebGLRenderingContext.attachShader') | 2280 @DomName('WebGLRenderingContext.attachShader') |
| 2280 @DocsEditable() | 2281 @DocsEditable() |
| 2281 void attachShader(Program program, Shader shader) native "WebGLRenderingContex
t_attachShader_Callback"; | 2282 void attachShader(Program program, Shader shader) => blink.Native_WebGLRenderi
ngContext_attachShader_Callback(this, program, shader); |
| 2282 | 2283 |
| 2283 @DomName('WebGLRenderingContext.bindAttribLocation') | 2284 @DomName('WebGLRenderingContext.bindAttribLocation') |
| 2284 @DocsEditable() | 2285 @DocsEditable() |
| 2285 void bindAttribLocation(Program program, int index, String name) native "WebGL
RenderingContext_bindAttribLocation_Callback"; | 2286 void bindAttribLocation(Program program, int index, String name) => blink.Nati
ve_WebGLRenderingContext_bindAttribLocation_Callback(this, program, index, name)
; |
| 2286 | 2287 |
| 2287 @DomName('WebGLRenderingContext.bindBuffer') | 2288 @DomName('WebGLRenderingContext.bindBuffer') |
| 2288 @DocsEditable() | 2289 @DocsEditable() |
| 2289 void bindBuffer(int target, Buffer buffer) native "WebGLRenderingContext_bindB
uffer_Callback"; | 2290 void bindBuffer(int target, Buffer buffer) => blink.Native_WebGLRenderingConte
xt_bindBuffer_Callback(this, target, buffer); |
| 2290 | 2291 |
| 2291 @DomName('WebGLRenderingContext.bindFramebuffer') | 2292 @DomName('WebGLRenderingContext.bindFramebuffer') |
| 2292 @DocsEditable() | 2293 @DocsEditable() |
| 2293 void bindFramebuffer(int target, Framebuffer framebuffer) native "WebGLRenderi
ngContext_bindFramebuffer_Callback"; | 2294 void bindFramebuffer(int target, Framebuffer framebuffer) => blink.Native_WebG
LRenderingContext_bindFramebuffer_Callback(this, target, framebuffer); |
| 2294 | 2295 |
| 2295 @DomName('WebGLRenderingContext.bindRenderbuffer') | 2296 @DomName('WebGLRenderingContext.bindRenderbuffer') |
| 2296 @DocsEditable() | 2297 @DocsEditable() |
| 2297 void bindRenderbuffer(int target, Renderbuffer renderbuffer) native "WebGLRend
eringContext_bindRenderbuffer_Callback"; | 2298 void bindRenderbuffer(int target, Renderbuffer renderbuffer) => blink.Native_W
ebGLRenderingContext_bindRenderbuffer_Callback(this, target, renderbuffer); |
| 2298 | 2299 |
| 2299 @DomName('WebGLRenderingContext.bindTexture') | 2300 @DomName('WebGLRenderingContext.bindTexture') |
| 2300 @DocsEditable() | 2301 @DocsEditable() |
| 2301 void bindTexture(int target, Texture texture) native "WebGLRenderingContext_bi
ndTexture_Callback"; | 2302 void bindTexture(int target, Texture texture) => blink.Native_WebGLRenderingCo
ntext_bindTexture_Callback(this, target, texture); |
| 2302 | 2303 |
| 2303 @DomName('WebGLRenderingContext.blendColor') | 2304 @DomName('WebGLRenderingContext.blendColor') |
| 2304 @DocsEditable() | 2305 @DocsEditable() |
| 2305 void blendColor(num red, num green, num blue, num alpha) native "WebGLRenderin
gContext_blendColor_Callback"; | 2306 void blendColor(num red, num green, num blue, num alpha) => blink.Native_WebGL
RenderingContext_blendColor_Callback(this, red, green, blue, alpha); |
| 2306 | 2307 |
| 2307 @DomName('WebGLRenderingContext.blendEquation') | 2308 @DomName('WebGLRenderingContext.blendEquation') |
| 2308 @DocsEditable() | 2309 @DocsEditable() |
| 2309 void blendEquation(int mode) native "WebGLRenderingContext_blendEquation_Callb
ack"; | 2310 void blendEquation(int mode) => blink.Native_WebGLRenderingContext_blendEquati
on_Callback(this, mode); |
| 2310 | 2311 |
| 2311 @DomName('WebGLRenderingContext.blendEquationSeparate') | 2312 @DomName('WebGLRenderingContext.blendEquationSeparate') |
| 2312 @DocsEditable() | 2313 @DocsEditable() |
| 2313 void blendEquationSeparate(int modeRGB, int modeAlpha) native "WebGLRenderingC
ontext_blendEquationSeparate_Callback"; | 2314 void blendEquationSeparate(int modeRGB, int modeAlpha) => blink.Native_WebGLRe
nderingContext_blendEquationSeparate_Callback(this, modeRGB, modeAlpha); |
| 2314 | 2315 |
| 2315 @DomName('WebGLRenderingContext.blendFunc') | 2316 @DomName('WebGLRenderingContext.blendFunc') |
| 2316 @DocsEditable() | 2317 @DocsEditable() |
| 2317 void blendFunc(int sfactor, int dfactor) native "WebGLRenderingContext_blendFu
nc_Callback"; | 2318 void blendFunc(int sfactor, int dfactor) => blink.Native_WebGLRenderingContext
_blendFunc_Callback(this, sfactor, dfactor); |
| 2318 | 2319 |
| 2319 @DomName('WebGLRenderingContext.blendFuncSeparate') | 2320 @DomName('WebGLRenderingContext.blendFuncSeparate') |
| 2320 @DocsEditable() | 2321 @DocsEditable() |
| 2321 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) nat
ive "WebGLRenderingContext_blendFuncSeparate_Callback"; | 2322 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) =>
blink.Native_WebGLRenderingContext_blendFuncSeparate_Callback(this, srcRGB, dstR
GB, srcAlpha, dstAlpha); |
| 2322 | 2323 |
| 2323 @DomName('WebGLRenderingContext.bufferByteData') | 2324 @DomName('WebGLRenderingContext.bufferByteData') |
| 2324 @DocsEditable() | 2325 @DocsEditable() |
| 2325 void bufferByteData(int target, ByteBuffer data, int usage) native "WebGLRende
ringContext_bufferByteData_Callback"; | 2326 void bufferByteData(int target, ByteBuffer data, int usage) => blink.Native_We
bGLRenderingContext_bufferByteData_Callback(this, target, data, usage); |
| 2326 | 2327 |
| 2327 void bufferData(int target, data_OR_size, int usage) { | 2328 void bufferData(int target, data_OR_size, int usage) { |
| 2328 if ((usage is int || usage == null) && (data_OR_size is TypedData || data_OR
_size == null) && (target is int || target == null)) { | 2329 if ((usage is int || usage == null) && (data_OR_size is TypedData || data_OR
_size == null) && (target is int || target == null)) { |
| 2329 _bufferData_1(target, data_OR_size, usage); | 2330 _bufferData_1(target, data_OR_size, usage); |
| 2330 return; | 2331 return; |
| 2331 } | 2332 } |
| 2332 if ((usage is int || usage == null) && (data_OR_size is ByteBuffer || data_O
R_size == null) && (target is int || target == null)) { | 2333 if ((usage is int || usage == null) && (data_OR_size is ByteBuffer || data_O
R_size == null) && (target is int || target == null)) { |
| 2333 _bufferData_2(target, data_OR_size, usage); | 2334 _bufferData_2(target, data_OR_size, usage); |
| 2334 return; | 2335 return; |
| 2335 } | 2336 } |
| 2336 if ((usage is int || usage == null) && (data_OR_size is int || data_OR_size
== null) && (target is int || target == null)) { | 2337 if ((usage is int || usage == null) && (data_OR_size is int || data_OR_size
== null) && (target is int || target == null)) { |
| 2337 _bufferData_3(target, data_OR_size, usage); | 2338 _bufferData_3(target, data_OR_size, usage); |
| 2338 return; | 2339 return; |
| 2339 } | 2340 } |
| 2340 throw new ArgumentError("Incorrect number or type of arguments"); | 2341 throw new ArgumentError("Incorrect number or type of arguments"); |
| 2341 } | 2342 } |
| 2342 | 2343 |
| 2343 void _bufferData_1(target, data_OR_size, usage) native "WebGLRenderingContext_
_bufferData_1_Callback"; | 2344 void _bufferData_1(target, data_OR_size, usage) => blink.Native_WebGLRendering
Context__bufferData_1_Callback(this, target, data_OR_size, usage); |
| 2344 | 2345 |
| 2345 void _bufferData_2(target, data_OR_size, usage) native "WebGLRenderingContext_
_bufferData_2_Callback"; | 2346 void _bufferData_2(target, data_OR_size, usage) => blink.Native_WebGLRendering
Context__bufferData_2_Callback(this, target, data_OR_size, usage); |
| 2346 | 2347 |
| 2347 void _bufferData_3(target, data_OR_size, usage) native "WebGLRenderingContext_
_bufferData_3_Callback"; | 2348 void _bufferData_3(target, data_OR_size, usage) => blink.Native_WebGLRendering
Context__bufferData_3_Callback(this, target, data_OR_size, usage); |
| 2348 | 2349 |
| 2349 @DomName('WebGLRenderingContext.bufferDataTyped') | 2350 @DomName('WebGLRenderingContext.bufferDataTyped') |
| 2350 @DocsEditable() | 2351 @DocsEditable() |
| 2351 void bufferDataTyped(int target, TypedData data, int usage) native "WebGLRende
ringContext_bufferDataTyped_Callback"; | 2352 void bufferDataTyped(int target, TypedData data, int usage) => blink.Native_We
bGLRenderingContext_bufferDataTyped_Callback(this, target, data, usage); |
| 2352 | 2353 |
| 2353 @DomName('WebGLRenderingContext.bufferSubByteData') | 2354 @DomName('WebGLRenderingContext.bufferSubByteData') |
| 2354 @DocsEditable() | 2355 @DocsEditable() |
| 2355 void bufferSubByteData(int target, int offset, ByteBuffer data) native "WebGLR
enderingContext_bufferSubByteData_Callback"; | 2356 void bufferSubByteData(int target, int offset, ByteBuffer data) => blink.Nativ
e_WebGLRenderingContext_bufferSubByteData_Callback(this, target, offset, data); |
| 2356 | 2357 |
| 2357 void bufferSubData(int target, int offset, data) { | 2358 void bufferSubData(int target, int offset, data) { |
| 2358 if ((data is TypedData || data == null) && (offset is int || offset == null)
&& (target is int || target == null)) { | 2359 if ((data is TypedData || data == null) && (offset is int || offset == null)
&& (target is int || target == null)) { |
| 2359 _bufferSubData_1(target, offset, data); | 2360 _bufferSubData_1(target, offset, data); |
| 2360 return; | 2361 return; |
| 2361 } | 2362 } |
| 2362 if ((data is ByteBuffer || data == null) && (offset is int || offset == null
) && (target is int || target == null)) { | 2363 if ((data is ByteBuffer || data == null) && (offset is int || offset == null
) && (target is int || target == null)) { |
| 2363 _bufferSubData_2(target, offset, data); | 2364 _bufferSubData_2(target, offset, data); |
| 2364 return; | 2365 return; |
| 2365 } | 2366 } |
| 2366 throw new ArgumentError("Incorrect number or type of arguments"); | 2367 throw new ArgumentError("Incorrect number or type of arguments"); |
| 2367 } | 2368 } |
| 2368 | 2369 |
| 2369 void _bufferSubData_1(target, offset, data) native "WebGLRenderingContext__buf
ferSubData_1_Callback"; | 2370 void _bufferSubData_1(target, offset, data) => blink.Native_WebGLRenderingCont
ext__bufferSubData_1_Callback(this, target, offset, data); |
| 2370 | 2371 |
| 2371 void _bufferSubData_2(target, offset, data) native "WebGLRenderingContext__buf
ferSubData_2_Callback"; | 2372 void _bufferSubData_2(target, offset, data) => blink.Native_WebGLRenderingCont
ext__bufferSubData_2_Callback(this, target, offset, data); |
| 2372 | 2373 |
| 2373 @DomName('WebGLRenderingContext.bufferSubDataTyped') | 2374 @DomName('WebGLRenderingContext.bufferSubDataTyped') |
| 2374 @DocsEditable() | 2375 @DocsEditable() |
| 2375 void bufferSubDataTyped(int target, int offset, TypedData data) native "WebGLR
enderingContext_bufferSubDataTyped_Callback"; | 2376 void bufferSubDataTyped(int target, int offset, TypedData data) => blink.Nativ
e_WebGLRenderingContext_bufferSubDataTyped_Callback(this, target, offset, data); |
| 2376 | 2377 |
| 2377 @DomName('WebGLRenderingContext.checkFramebufferStatus') | 2378 @DomName('WebGLRenderingContext.checkFramebufferStatus') |
| 2378 @DocsEditable() | 2379 @DocsEditable() |
| 2379 int checkFramebufferStatus(int target) native "WebGLRenderingContext_checkFram
ebufferStatus_Callback"; | 2380 int checkFramebufferStatus(int target) => blink.Native_WebGLRenderingContext_c
heckFramebufferStatus_Callback(this, target); |
| 2380 | 2381 |
| 2381 @DomName('WebGLRenderingContext.clear') | 2382 @DomName('WebGLRenderingContext.clear') |
| 2382 @DocsEditable() | 2383 @DocsEditable() |
| 2383 void clear(int mask) native "WebGLRenderingContext_clear_Callback"; | 2384 void clear(int mask) => blink.Native_WebGLRenderingContext_clear_Callback(this
, mask); |
| 2384 | 2385 |
| 2385 @DomName('WebGLRenderingContext.clearColor') | 2386 @DomName('WebGLRenderingContext.clearColor') |
| 2386 @DocsEditable() | 2387 @DocsEditable() |
| 2387 void clearColor(num red, num green, num blue, num alpha) native "WebGLRenderin
gContext_clearColor_Callback"; | 2388 void clearColor(num red, num green, num blue, num alpha) => blink.Native_WebGL
RenderingContext_clearColor_Callback(this, red, green, blue, alpha); |
| 2388 | 2389 |
| 2389 @DomName('WebGLRenderingContext.clearDepth') | 2390 @DomName('WebGLRenderingContext.clearDepth') |
| 2390 @DocsEditable() | 2391 @DocsEditable() |
| 2391 void clearDepth(num depth) native "WebGLRenderingContext_clearDepth_Callback"; | 2392 void clearDepth(num depth) => blink.Native_WebGLRenderingContext_clearDepth_Ca
llback(this, depth); |
| 2392 | 2393 |
| 2393 @DomName('WebGLRenderingContext.clearStencil') | 2394 @DomName('WebGLRenderingContext.clearStencil') |
| 2394 @DocsEditable() | 2395 @DocsEditable() |
| 2395 void clearStencil(int s) native "WebGLRenderingContext_clearStencil_Callback"; | 2396 void clearStencil(int s) => blink.Native_WebGLRenderingContext_clearStencil_Ca
llback(this, s); |
| 2396 | 2397 |
| 2397 @DomName('WebGLRenderingContext.colorMask') | 2398 @DomName('WebGLRenderingContext.colorMask') |
| 2398 @DocsEditable() | 2399 @DocsEditable() |
| 2399 void colorMask(bool red, bool green, bool blue, bool alpha) native "WebGLRende
ringContext_colorMask_Callback"; | 2400 void colorMask(bool red, bool green, bool blue, bool alpha) => blink.Native_We
bGLRenderingContext_colorMask_Callback(this, red, green, blue, alpha); |
| 2400 | 2401 |
| 2401 @DomName('WebGLRenderingContext.compileShader') | 2402 @DomName('WebGLRenderingContext.compileShader') |
| 2402 @DocsEditable() | 2403 @DocsEditable() |
| 2403 void compileShader(Shader shader) native "WebGLRenderingContext_compileShader_
Callback"; | 2404 void compileShader(Shader shader) => blink.Native_WebGLRenderingContext_compil
eShader_Callback(this, shader); |
| 2404 | 2405 |
| 2405 @DomName('WebGLRenderingContext.compressedTexImage2D') | 2406 @DomName('WebGLRenderingContext.compressedTexImage2D') |
| 2406 @DocsEditable() | 2407 @DocsEditable() |
| 2407 void compressedTexImage2D(int target, int level, int internalformat, int width
, int height, int border, TypedData data) native "WebGLRenderingContext_compress
edTexImage2D_Callback"; | 2408 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, height
, border, data); |
| 2408 | 2409 |
| 2409 @DomName('WebGLRenderingContext.compressedTexSubImage2D') | 2410 @DomName('WebGLRenderingContext.compressedTexSubImage2D') |
| 2410 @DocsEditable() | 2411 @DocsEditable() |
| 2411 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset,
int width, int height, int format, TypedData data) native "WebGLRenderingContext
_compressedTexSubImage2D_Callback"; | 2412 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset,
int width, int height, int format, TypedData data) => blink.Native_WebGLRenderin
gContext_compressedTexSubImage2D_Callback(this, target, level, xoffset, yoffset,
width, height, format, data); |
| 2412 | 2413 |
| 2413 @DomName('WebGLRenderingContext.copyTexImage2D') | 2414 @DomName('WebGLRenderingContext.copyTexImage2D') |
| 2414 @DocsEditable() | 2415 @DocsEditable() |
| 2415 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border) native "WebGLRenderingContext_copyTexImage2D_C
allback"; | 2416 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border) => blink.Native_WebGLRenderingContext_copyTexI
mage2D_Callback(this, target, level, internalformat, x, y, width, height, border
); |
| 2416 | 2417 |
| 2417 @DomName('WebGLRenderingContext.copyTexSubImage2D') | 2418 @DomName('WebGLRenderingContext.copyTexSubImage2D') |
| 2418 @DocsEditable() | 2419 @DocsEditable() |
| 2419 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height) native "WebGLRenderingContext_copyTexSubImage2D_C
allback"; | 2420 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height) => blink.Native_WebGLRenderingContext_copyTexSubI
mage2D_Callback(this, target, level, xoffset, yoffset, x, y, width, height); |
| 2420 | 2421 |
| 2421 @DomName('WebGLRenderingContext.createBuffer') | 2422 @DomName('WebGLRenderingContext.createBuffer') |
| 2422 @DocsEditable() | 2423 @DocsEditable() |
| 2423 Buffer createBuffer() native "WebGLRenderingContext_createBuffer_Callback"; | 2424 Buffer createBuffer() => blink.Native_WebGLRenderingContext_createBuffer_Callb
ack(this); |
| 2424 | 2425 |
| 2425 @DomName('WebGLRenderingContext.createFramebuffer') | 2426 @DomName('WebGLRenderingContext.createFramebuffer') |
| 2426 @DocsEditable() | 2427 @DocsEditable() |
| 2427 Framebuffer createFramebuffer() native "WebGLRenderingContext_createFramebuffe
r_Callback"; | 2428 Framebuffer createFramebuffer() => blink.Native_WebGLRenderingContext_createFr
amebuffer_Callback(this); |
| 2428 | 2429 |
| 2429 @DomName('WebGLRenderingContext.createProgram') | 2430 @DomName('WebGLRenderingContext.createProgram') |
| 2430 @DocsEditable() | 2431 @DocsEditable() |
| 2431 Program createProgram() native "WebGLRenderingContext_createProgram_Callback"; | 2432 Program createProgram() => blink.Native_WebGLRenderingContext_createProgram_Ca
llback(this); |
| 2432 | 2433 |
| 2433 @DomName('WebGLRenderingContext.createRenderbuffer') | 2434 @DomName('WebGLRenderingContext.createRenderbuffer') |
| 2434 @DocsEditable() | 2435 @DocsEditable() |
| 2435 Renderbuffer createRenderbuffer() native "WebGLRenderingContext_createRenderbu
ffer_Callback"; | 2436 Renderbuffer createRenderbuffer() => blink.Native_WebGLRenderingContext_create
Renderbuffer_Callback(this); |
| 2436 | 2437 |
| 2437 @DomName('WebGLRenderingContext.createShader') | 2438 @DomName('WebGLRenderingContext.createShader') |
| 2438 @DocsEditable() | 2439 @DocsEditable() |
| 2439 Shader createShader(int type) native "WebGLRenderingContext_createShader_Callb
ack"; | 2440 Shader createShader(int type) => blink.Native_WebGLRenderingContext_createShad
er_Callback(this, type); |
| 2440 | 2441 |
| 2441 @DomName('WebGLRenderingContext.createTexture') | 2442 @DomName('WebGLRenderingContext.createTexture') |
| 2442 @DocsEditable() | 2443 @DocsEditable() |
| 2443 Texture createTexture() native "WebGLRenderingContext_createTexture_Callback"; | 2444 Texture createTexture() => blink.Native_WebGLRenderingContext_createTexture_Ca
llback(this); |
| 2444 | 2445 |
| 2445 @DomName('WebGLRenderingContext.cullFace') | 2446 @DomName('WebGLRenderingContext.cullFace') |
| 2446 @DocsEditable() | 2447 @DocsEditable() |
| 2447 void cullFace(int mode) native "WebGLRenderingContext_cullFace_Callback"; | 2448 void cullFace(int mode) => blink.Native_WebGLRenderingContext_cullFace_Callbac
k(this, mode); |
| 2448 | 2449 |
| 2449 @DomName('WebGLRenderingContext.deleteBuffer') | 2450 @DomName('WebGLRenderingContext.deleteBuffer') |
| 2450 @DocsEditable() | 2451 @DocsEditable() |
| 2451 void deleteBuffer(Buffer buffer) native "WebGLRenderingContext_deleteBuffer_Ca
llback"; | 2452 void deleteBuffer(Buffer buffer) => blink.Native_WebGLRenderingContext_deleteB
uffer_Callback(this, buffer); |
| 2452 | 2453 |
| 2453 @DomName('WebGLRenderingContext.deleteFramebuffer') | 2454 @DomName('WebGLRenderingContext.deleteFramebuffer') |
| 2454 @DocsEditable() | 2455 @DocsEditable() |
| 2455 void deleteFramebuffer(Framebuffer framebuffer) native "WebGLRenderingContext_
deleteFramebuffer_Callback"; | 2456 void deleteFramebuffer(Framebuffer framebuffer) => blink.Native_WebGLRendering
Context_deleteFramebuffer_Callback(this, framebuffer); |
| 2456 | 2457 |
| 2457 @DomName('WebGLRenderingContext.deleteProgram') | 2458 @DomName('WebGLRenderingContext.deleteProgram') |
| 2458 @DocsEditable() | 2459 @DocsEditable() |
| 2459 void deleteProgram(Program program) native "WebGLRenderingContext_deleteProgra
m_Callback"; | 2460 void deleteProgram(Program program) => blink.Native_WebGLRenderingContext_dele
teProgram_Callback(this, program); |
| 2460 | 2461 |
| 2461 @DomName('WebGLRenderingContext.deleteRenderbuffer') | 2462 @DomName('WebGLRenderingContext.deleteRenderbuffer') |
| 2462 @DocsEditable() | 2463 @DocsEditable() |
| 2463 void deleteRenderbuffer(Renderbuffer renderbuffer) native "WebGLRenderingConte
xt_deleteRenderbuffer_Callback"; | 2464 void deleteRenderbuffer(Renderbuffer renderbuffer) => blink.Native_WebGLRender
ingContext_deleteRenderbuffer_Callback(this, renderbuffer); |
| 2464 | 2465 |
| 2465 @DomName('WebGLRenderingContext.deleteShader') | 2466 @DomName('WebGLRenderingContext.deleteShader') |
| 2466 @DocsEditable() | 2467 @DocsEditable() |
| 2467 void deleteShader(Shader shader) native "WebGLRenderingContext_deleteShader_Ca
llback"; | 2468 void deleteShader(Shader shader) => blink.Native_WebGLRenderingContext_deleteS
hader_Callback(this, shader); |
| 2468 | 2469 |
| 2469 @DomName('WebGLRenderingContext.deleteTexture') | 2470 @DomName('WebGLRenderingContext.deleteTexture') |
| 2470 @DocsEditable() | 2471 @DocsEditable() |
| 2471 void deleteTexture(Texture texture) native "WebGLRenderingContext_deleteTextur
e_Callback"; | 2472 void deleteTexture(Texture texture) => blink.Native_WebGLRenderingContext_dele
teTexture_Callback(this, texture); |
| 2472 | 2473 |
| 2473 @DomName('WebGLRenderingContext.depthFunc') | 2474 @DomName('WebGLRenderingContext.depthFunc') |
| 2474 @DocsEditable() | 2475 @DocsEditable() |
| 2475 void depthFunc(int func) native "WebGLRenderingContext_depthFunc_Callback"; | 2476 void depthFunc(int func) => blink.Native_WebGLRenderingContext_depthFunc_Callb
ack(this, func); |
| 2476 | 2477 |
| 2477 @DomName('WebGLRenderingContext.depthMask') | 2478 @DomName('WebGLRenderingContext.depthMask') |
| 2478 @DocsEditable() | 2479 @DocsEditable() |
| 2479 void depthMask(bool flag) native "WebGLRenderingContext_depthMask_Callback"; | 2480 void depthMask(bool flag) => blink.Native_WebGLRenderingContext_depthMask_Call
back(this, flag); |
| 2480 | 2481 |
| 2481 @DomName('WebGLRenderingContext.depthRange') | 2482 @DomName('WebGLRenderingContext.depthRange') |
| 2482 @DocsEditable() | 2483 @DocsEditable() |
| 2483 void depthRange(num zNear, num zFar) native "WebGLRenderingContext_depthRange_
Callback"; | 2484 void depthRange(num zNear, num zFar) => blink.Native_WebGLRenderingContext_dep
thRange_Callback(this, zNear, zFar); |
| 2484 | 2485 |
| 2485 @DomName('WebGLRenderingContext.detachShader') | 2486 @DomName('WebGLRenderingContext.detachShader') |
| 2486 @DocsEditable() | 2487 @DocsEditable() |
| 2487 void detachShader(Program program, Shader shader) native "WebGLRenderingContex
t_detachShader_Callback"; | 2488 void detachShader(Program program, Shader shader) => blink.Native_WebGLRenderi
ngContext_detachShader_Callback(this, program, shader); |
| 2488 | 2489 |
| 2489 @DomName('WebGLRenderingContext.disable') | 2490 @DomName('WebGLRenderingContext.disable') |
| 2490 @DocsEditable() | 2491 @DocsEditable() |
| 2491 void disable(int cap) native "WebGLRenderingContext_disable_Callback"; | 2492 void disable(int cap) => blink.Native_WebGLRenderingContext_disable_Callback(t
his, cap); |
| 2492 | 2493 |
| 2493 @DomName('WebGLRenderingContext.disableVertexAttribArray') | 2494 @DomName('WebGLRenderingContext.disableVertexAttribArray') |
| 2494 @DocsEditable() | 2495 @DocsEditable() |
| 2495 void disableVertexAttribArray(int index) native "WebGLRenderingContext_disable
VertexAttribArray_Callback"; | 2496 void disableVertexAttribArray(int index) => blink.Native_WebGLRenderingContext
_disableVertexAttribArray_Callback(this, index); |
| 2496 | 2497 |
| 2497 @DomName('WebGLRenderingContext.drawArrays') | 2498 @DomName('WebGLRenderingContext.drawArrays') |
| 2498 @DocsEditable() | 2499 @DocsEditable() |
| 2499 void drawArrays(int mode, int first, int count) native "WebGLRenderingContext_
drawArrays_Callback"; | 2500 void drawArrays(int mode, int first, int count) => blink.Native_WebGLRendering
Context_drawArrays_Callback(this, mode, first, count); |
| 2500 | 2501 |
| 2501 @DomName('WebGLRenderingContext.drawElements') | 2502 @DomName('WebGLRenderingContext.drawElements') |
| 2502 @DocsEditable() | 2503 @DocsEditable() |
| 2503 void drawElements(int mode, int count, int type, int offset) native "WebGLRend
eringContext_drawElements_Callback"; | 2504 void drawElements(int mode, int count, int type, int offset) => blink.Native_W
ebGLRenderingContext_drawElements_Callback(this, mode, count, type, offset); |
| 2504 | 2505 |
| 2505 @DomName('WebGLRenderingContext.enable') | 2506 @DomName('WebGLRenderingContext.enable') |
| 2506 @DocsEditable() | 2507 @DocsEditable() |
| 2507 void enable(int cap) native "WebGLRenderingContext_enable_Callback"; | 2508 void enable(int cap) => blink.Native_WebGLRenderingContext_enable_Callback(thi
s, cap); |
| 2508 | 2509 |
| 2509 @DomName('WebGLRenderingContext.enableVertexAttribArray') | 2510 @DomName('WebGLRenderingContext.enableVertexAttribArray') |
| 2510 @DocsEditable() | 2511 @DocsEditable() |
| 2511 void enableVertexAttribArray(int index) native "WebGLRenderingContext_enableVe
rtexAttribArray_Callback"; | 2512 void enableVertexAttribArray(int index) => blink.Native_WebGLRenderingContext_
enableVertexAttribArray_Callback(this, index); |
| 2512 | 2513 |
| 2513 @DomName('WebGLRenderingContext.finish') | 2514 @DomName('WebGLRenderingContext.finish') |
| 2514 @DocsEditable() | 2515 @DocsEditable() |
| 2515 void finish() native "WebGLRenderingContext_finish_Callback"; | 2516 void finish() => blink.Native_WebGLRenderingContext_finish_Callback(this); |
| 2516 | 2517 |
| 2517 @DomName('WebGLRenderingContext.flush') | 2518 @DomName('WebGLRenderingContext.flush') |
| 2518 @DocsEditable() | 2519 @DocsEditable() |
| 2519 void flush() native "WebGLRenderingContext_flush_Callback"; | 2520 void flush() => blink.Native_WebGLRenderingContext_flush_Callback(this); |
| 2520 | 2521 |
| 2521 @DomName('WebGLRenderingContext.framebufferRenderbuffer') | 2522 @DomName('WebGLRenderingContext.framebufferRenderbuffer') |
| 2522 @DocsEditable() | 2523 @DocsEditable() |
| 2523 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge
t, Renderbuffer renderbuffer) native "WebGLRenderingContext_framebufferRenderbuf
fer_Callback"; | 2524 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge
t, Renderbuffer renderbuffer) => blink.Native_WebGLRenderingContext_framebufferR
enderbuffer_Callback(this, target, attachment, renderbuffertarget, renderbuffer)
; |
| 2524 | 2525 |
| 2525 @DomName('WebGLRenderingContext.framebufferTexture2D') | 2526 @DomName('WebGLRenderingContext.framebufferTexture2D') |
| 2526 @DocsEditable() | 2527 @DocsEditable() |
| 2527 void framebufferTexture2D(int target, int attachment, int textarget, Texture t
exture, int level) native "WebGLRenderingContext_framebufferTexture2D_Callback"; | 2528 void framebufferTexture2D(int target, int attachment, int textarget, Texture t
exture, int level) => blink.Native_WebGLRenderingContext_framebufferTexture2D_Ca
llback(this, target, attachment, textarget, texture, level); |
| 2528 | 2529 |
| 2529 @DomName('WebGLRenderingContext.frontFace') | 2530 @DomName('WebGLRenderingContext.frontFace') |
| 2530 @DocsEditable() | 2531 @DocsEditable() |
| 2531 void frontFace(int mode) native "WebGLRenderingContext_frontFace_Callback"; | 2532 void frontFace(int mode) => blink.Native_WebGLRenderingContext_frontFace_Callb
ack(this, mode); |
| 2532 | 2533 |
| 2533 @DomName('WebGLRenderingContext.generateMipmap') | 2534 @DomName('WebGLRenderingContext.generateMipmap') |
| 2534 @DocsEditable() | 2535 @DocsEditable() |
| 2535 void generateMipmap(int target) native "WebGLRenderingContext_generateMipmap_C
allback"; | 2536 void generateMipmap(int target) => blink.Native_WebGLRenderingContext_generate
Mipmap_Callback(this, target); |
| 2536 | 2537 |
| 2537 @DomName('WebGLRenderingContext.getActiveAttrib') | 2538 @DomName('WebGLRenderingContext.getActiveAttrib') |
| 2538 @DocsEditable() | 2539 @DocsEditable() |
| 2539 ActiveInfo getActiveAttrib(Program program, int index) native "WebGLRenderingC
ontext_getActiveAttrib_Callback"; | 2540 ActiveInfo getActiveAttrib(Program program, int index) => blink.Native_WebGLRe
nderingContext_getActiveAttrib_Callback(this, program, index); |
| 2540 | 2541 |
| 2541 @DomName('WebGLRenderingContext.getActiveUniform') | 2542 @DomName('WebGLRenderingContext.getActiveUniform') |
| 2542 @DocsEditable() | 2543 @DocsEditable() |
| 2543 ActiveInfo getActiveUniform(Program program, int index) native "WebGLRendering
Context_getActiveUniform_Callback"; | 2544 ActiveInfo getActiveUniform(Program program, int index) => blink.Native_WebGLR
enderingContext_getActiveUniform_Callback(this, program, index); |
| 2544 | 2545 |
| 2545 @DomName('WebGLRenderingContext.getAttachedShaders') | 2546 @DomName('WebGLRenderingContext.getAttachedShaders') |
| 2546 @DocsEditable() | 2547 @DocsEditable() |
| 2547 void getAttachedShaders(Program program) native "WebGLRenderingContext_getAtta
chedShaders_Callback"; | 2548 void getAttachedShaders(Program program) => blink.Native_WebGLRenderingContext
_getAttachedShaders_Callback(this, program); |
| 2548 | 2549 |
| 2549 @DomName('WebGLRenderingContext.getAttribLocation') | 2550 @DomName('WebGLRenderingContext.getAttribLocation') |
| 2550 @DocsEditable() | 2551 @DocsEditable() |
| 2551 int getAttribLocation(Program program, String name) native "WebGLRenderingCont
ext_getAttribLocation_Callback"; | 2552 int getAttribLocation(Program program, String name) => blink.Native_WebGLRende
ringContext_getAttribLocation_Callback(this, program, name); |
| 2552 | 2553 |
| 2553 @DomName('WebGLRenderingContext.getBufferParameter') | 2554 @DomName('WebGLRenderingContext.getBufferParameter') |
| 2554 @DocsEditable() | 2555 @DocsEditable() |
| 2555 Object getBufferParameter(int target, int pname) native "WebGLRenderingContext
_getBufferParameter_Callback"; | 2556 Object getBufferParameter(int target, int pname) => blink.Native_WebGLRenderin
gContext_getBufferParameter_Callback(this, target, pname); |
| 2556 | 2557 |
| 2557 @DomName('WebGLRenderingContext.getContextAttributes') | 2558 @DomName('WebGLRenderingContext.getContextAttributes') |
| 2558 @DocsEditable() | 2559 @DocsEditable() |
| 2559 ContextAttributes getContextAttributes() native "WebGLRenderingContext_getCont
extAttributes_Callback"; | 2560 ContextAttributes getContextAttributes() => blink.Native_WebGLRenderingContext
_getContextAttributes_Callback(this); |
| 2560 | 2561 |
| 2561 @DomName('WebGLRenderingContext.getError') | 2562 @DomName('WebGLRenderingContext.getError') |
| 2562 @DocsEditable() | 2563 @DocsEditable() |
| 2563 int getError() native "WebGLRenderingContext_getError_Callback"; | 2564 int getError() => blink.Native_WebGLRenderingContext_getError_Callback(this); |
| 2564 | 2565 |
| 2565 @DomName('WebGLRenderingContext.getExtension') | 2566 @DomName('WebGLRenderingContext.getExtension') |
| 2566 @DocsEditable() | 2567 @DocsEditable() |
| 2567 Object getExtension(String name) native "WebGLRenderingContext_getExtension_Ca
llback"; | 2568 Object getExtension(String name) => blink.Native_WebGLRenderingContext_getExte
nsion_Callback(this, name); |
| 2568 | 2569 |
| 2569 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') | 2570 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') |
| 2570 @DocsEditable() | 2571 @DocsEditable() |
| 2571 Object getFramebufferAttachmentParameter(int target, int attachment, int pname
) native "WebGLRenderingContext_getFramebufferAttachmentParameter_Callback"; | 2572 Object getFramebufferAttachmentParameter(int target, int attachment, int pname
) => blink.Native_WebGLRenderingContext_getFramebufferAttachmentParameter_Callba
ck(this, target, attachment, pname); |
| 2572 | 2573 |
| 2573 @DomName('WebGLRenderingContext.getParameter') | 2574 @DomName('WebGLRenderingContext.getParameter') |
| 2574 @DocsEditable() | 2575 @DocsEditable() |
| 2575 Object getParameter(int pname) native "WebGLRenderingContext_getParameter_Call
back"; | 2576 Object getParameter(int pname) => blink.Native_WebGLRenderingContext_getParame
ter_Callback(this, pname); |
| 2576 | 2577 |
| 2577 @DomName('WebGLRenderingContext.getProgramInfoLog') | 2578 @DomName('WebGLRenderingContext.getProgramInfoLog') |
| 2578 @DocsEditable() | 2579 @DocsEditable() |
| 2579 String getProgramInfoLog(Program program) native "WebGLRenderingContext_getPro
gramInfoLog_Callback"; | 2580 String getProgramInfoLog(Program program) => blink.Native_WebGLRenderingContex
t_getProgramInfoLog_Callback(this, program); |
| 2580 | 2581 |
| 2581 @DomName('WebGLRenderingContext.getProgramParameter') | 2582 @DomName('WebGLRenderingContext.getProgramParameter') |
| 2582 @DocsEditable() | 2583 @DocsEditable() |
| 2583 Object getProgramParameter(Program program, int pname) native "WebGLRenderingC
ontext_getProgramParameter_Callback"; | 2584 Object getProgramParameter(Program program, int pname) => blink.Native_WebGLRe
nderingContext_getProgramParameter_Callback(this, program, pname); |
| 2584 | 2585 |
| 2585 @DomName('WebGLRenderingContext.getRenderbufferParameter') | 2586 @DomName('WebGLRenderingContext.getRenderbufferParameter') |
| 2586 @DocsEditable() | 2587 @DocsEditable() |
| 2587 Object getRenderbufferParameter(int target, int pname) native "WebGLRenderingC
ontext_getRenderbufferParameter_Callback"; | 2588 Object getRenderbufferParameter(int target, int pname) => blink.Native_WebGLRe
nderingContext_getRenderbufferParameter_Callback(this, target, pname); |
| 2588 | 2589 |
| 2589 @DomName('WebGLRenderingContext.getShaderInfoLog') | 2590 @DomName('WebGLRenderingContext.getShaderInfoLog') |
| 2590 @DocsEditable() | 2591 @DocsEditable() |
| 2591 String getShaderInfoLog(Shader shader) native "WebGLRenderingContext_getShader
InfoLog_Callback"; | 2592 String getShaderInfoLog(Shader shader) => blink.Native_WebGLRenderingContext_g
etShaderInfoLog_Callback(this, shader); |
| 2592 | 2593 |
| 2593 @DomName('WebGLRenderingContext.getShaderParameter') | 2594 @DomName('WebGLRenderingContext.getShaderParameter') |
| 2594 @DocsEditable() | 2595 @DocsEditable() |
| 2595 Object getShaderParameter(Shader shader, int pname) native "WebGLRenderingCont
ext_getShaderParameter_Callback"; | 2596 Object getShaderParameter(Shader shader, int pname) => blink.Native_WebGLRende
ringContext_getShaderParameter_Callback(this, shader, pname); |
| 2596 | 2597 |
| 2597 @DomName('WebGLRenderingContext.getShaderPrecisionFormat') | 2598 @DomName('WebGLRenderingContext.getShaderPrecisionFormat') |
| 2598 @DocsEditable() | 2599 @DocsEditable() |
| 2599 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty
pe) native "WebGLRenderingContext_getShaderPrecisionFormat_Callback"; | 2600 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty
pe) => blink.Native_WebGLRenderingContext_getShaderPrecisionFormat_Callback(this
, shadertype, precisiontype); |
| 2600 | 2601 |
| 2601 @DomName('WebGLRenderingContext.getShaderSource') | 2602 @DomName('WebGLRenderingContext.getShaderSource') |
| 2602 @DocsEditable() | 2603 @DocsEditable() |
| 2603 String getShaderSource(Shader shader) native "WebGLRenderingContext_getShaderS
ource_Callback"; | 2604 String getShaderSource(Shader shader) => blink.Native_WebGLRenderingContext_ge
tShaderSource_Callback(this, shader); |
| 2604 | 2605 |
| 2605 @DomName('WebGLRenderingContext.getSupportedExtensions') | 2606 @DomName('WebGLRenderingContext.getSupportedExtensions') |
| 2606 @DocsEditable() | 2607 @DocsEditable() |
| 2607 List<String> getSupportedExtensions() native "WebGLRenderingContext_getSupport
edExtensions_Callback"; | 2608 List<String> getSupportedExtensions() => blink.Native_WebGLRenderingContext_ge
tSupportedExtensions_Callback(this); |
| 2608 | 2609 |
| 2609 @DomName('WebGLRenderingContext.getTexParameter') | 2610 @DomName('WebGLRenderingContext.getTexParameter') |
| 2610 @DocsEditable() | 2611 @DocsEditable() |
| 2611 Object getTexParameter(int target, int pname) native "WebGLRenderingContext_ge
tTexParameter_Callback"; | 2612 Object getTexParameter(int target, int pname) => blink.Native_WebGLRenderingCo
ntext_getTexParameter_Callback(this, target, pname); |
| 2612 | 2613 |
| 2613 @DomName('WebGLRenderingContext.getUniform') | 2614 @DomName('WebGLRenderingContext.getUniform') |
| 2614 @DocsEditable() | 2615 @DocsEditable() |
| 2615 Object getUniform(Program program, UniformLocation location) native "WebGLRend
eringContext_getUniform_Callback"; | 2616 Object getUniform(Program program, UniformLocation location) => blink.Native_W
ebGLRenderingContext_getUniform_Callback(this, program, location); |
| 2616 | 2617 |
| 2617 @DomName('WebGLRenderingContext.getUniformLocation') | 2618 @DomName('WebGLRenderingContext.getUniformLocation') |
| 2618 @DocsEditable() | 2619 @DocsEditable() |
| 2619 UniformLocation getUniformLocation(Program program, String name) native "WebGL
RenderingContext_getUniformLocation_Callback"; | 2620 UniformLocation getUniformLocation(Program program, String name) => blink.Nati
ve_WebGLRenderingContext_getUniformLocation_Callback(this, program, name); |
| 2620 | 2621 |
| 2621 @DomName('WebGLRenderingContext.getVertexAttrib') | 2622 @DomName('WebGLRenderingContext.getVertexAttrib') |
| 2622 @DocsEditable() | 2623 @DocsEditable() |
| 2623 Object getVertexAttrib(int index, int pname) native "WebGLRenderingContext_get
VertexAttrib_Callback"; | 2624 Object getVertexAttrib(int index, int pname) => blink.Native_WebGLRenderingCon
text_getVertexAttrib_Callback(this, index, pname); |
| 2624 | 2625 |
| 2625 @DomName('WebGLRenderingContext.getVertexAttribOffset') | 2626 @DomName('WebGLRenderingContext.getVertexAttribOffset') |
| 2626 @DocsEditable() | 2627 @DocsEditable() |
| 2627 int getVertexAttribOffset(int index, int pname) native "WebGLRenderingContext_
getVertexAttribOffset_Callback"; | 2628 int getVertexAttribOffset(int index, int pname) => blink.Native_WebGLRendering
Context_getVertexAttribOffset_Callback(this, index, pname); |
| 2628 | 2629 |
| 2629 @DomName('WebGLRenderingContext.hint') | 2630 @DomName('WebGLRenderingContext.hint') |
| 2630 @DocsEditable() | 2631 @DocsEditable() |
| 2631 void hint(int target, int mode) native "WebGLRenderingContext_hint_Callback"; | 2632 void hint(int target, int mode) => blink.Native_WebGLRenderingContext_hint_Cal
lback(this, target, mode); |
| 2632 | 2633 |
| 2633 @DomName('WebGLRenderingContext.isBuffer') | 2634 @DomName('WebGLRenderingContext.isBuffer') |
| 2634 @DocsEditable() | 2635 @DocsEditable() |
| 2635 bool isBuffer(Buffer buffer) native "WebGLRenderingContext_isBuffer_Callback"; | 2636 bool isBuffer(Buffer buffer) => blink.Native_WebGLRenderingContext_isBuffer_Ca
llback(this, buffer); |
| 2636 | 2637 |
| 2637 @DomName('WebGLRenderingContext.isContextLost') | 2638 @DomName('WebGLRenderingContext.isContextLost') |
| 2638 @DocsEditable() | 2639 @DocsEditable() |
| 2639 bool isContextLost() native "WebGLRenderingContext_isContextLost_Callback"; | 2640 bool isContextLost() => blink.Native_WebGLRenderingContext_isContextLost_Callb
ack(this); |
| 2640 | 2641 |
| 2641 @DomName('WebGLRenderingContext.isEnabled') | 2642 @DomName('WebGLRenderingContext.isEnabled') |
| 2642 @DocsEditable() | 2643 @DocsEditable() |
| 2643 bool isEnabled(int cap) native "WebGLRenderingContext_isEnabled_Callback"; | 2644 bool isEnabled(int cap) => blink.Native_WebGLRenderingContext_isEnabled_Callba
ck(this, cap); |
| 2644 | 2645 |
| 2645 @DomName('WebGLRenderingContext.isFramebuffer') | 2646 @DomName('WebGLRenderingContext.isFramebuffer') |
| 2646 @DocsEditable() | 2647 @DocsEditable() |
| 2647 bool isFramebuffer(Framebuffer framebuffer) native "WebGLRenderingContext_isFr
amebuffer_Callback"; | 2648 bool isFramebuffer(Framebuffer framebuffer) => blink.Native_WebGLRenderingCont
ext_isFramebuffer_Callback(this, framebuffer); |
| 2648 | 2649 |
| 2649 @DomName('WebGLRenderingContext.isProgram') | 2650 @DomName('WebGLRenderingContext.isProgram') |
| 2650 @DocsEditable() | 2651 @DocsEditable() |
| 2651 bool isProgram(Program program) native "WebGLRenderingContext_isProgram_Callba
ck"; | 2652 bool isProgram(Program program) => blink.Native_WebGLRenderingContext_isProgra
m_Callback(this, program); |
| 2652 | 2653 |
| 2653 @DomName('WebGLRenderingContext.isRenderbuffer') | 2654 @DomName('WebGLRenderingContext.isRenderbuffer') |
| 2654 @DocsEditable() | 2655 @DocsEditable() |
| 2655 bool isRenderbuffer(Renderbuffer renderbuffer) native "WebGLRenderingContext_i
sRenderbuffer_Callback"; | 2656 bool isRenderbuffer(Renderbuffer renderbuffer) => blink.Native_WebGLRenderingC
ontext_isRenderbuffer_Callback(this, renderbuffer); |
| 2656 | 2657 |
| 2657 @DomName('WebGLRenderingContext.isShader') | 2658 @DomName('WebGLRenderingContext.isShader') |
| 2658 @DocsEditable() | 2659 @DocsEditable() |
| 2659 bool isShader(Shader shader) native "WebGLRenderingContext_isShader_Callback"; | 2660 bool isShader(Shader shader) => blink.Native_WebGLRenderingContext_isShader_Ca
llback(this, shader); |
| 2660 | 2661 |
| 2661 @DomName('WebGLRenderingContext.isTexture') | 2662 @DomName('WebGLRenderingContext.isTexture') |
| 2662 @DocsEditable() | 2663 @DocsEditable() |
| 2663 bool isTexture(Texture texture) native "WebGLRenderingContext_isTexture_Callba
ck"; | 2664 bool isTexture(Texture texture) => blink.Native_WebGLRenderingContext_isTextur
e_Callback(this, texture); |
| 2664 | 2665 |
| 2665 @DomName('WebGLRenderingContext.lineWidth') | 2666 @DomName('WebGLRenderingContext.lineWidth') |
| 2666 @DocsEditable() | 2667 @DocsEditable() |
| 2667 void lineWidth(num width) native "WebGLRenderingContext_lineWidth_Callback"; | 2668 void lineWidth(num width) => blink.Native_WebGLRenderingContext_lineWidth_Call
back(this, width); |
| 2668 | 2669 |
| 2669 @DomName('WebGLRenderingContext.linkProgram') | 2670 @DomName('WebGLRenderingContext.linkProgram') |
| 2670 @DocsEditable() | 2671 @DocsEditable() |
| 2671 void linkProgram(Program program) native "WebGLRenderingContext_linkProgram_Ca
llback"; | 2672 void linkProgram(Program program) => blink.Native_WebGLRenderingContext_linkPr
ogram_Callback(this, program); |
| 2672 | 2673 |
| 2673 @DomName('WebGLRenderingContext.pixelStorei') | 2674 @DomName('WebGLRenderingContext.pixelStorei') |
| 2674 @DocsEditable() | 2675 @DocsEditable() |
| 2675 void pixelStorei(int pname, int param) native "WebGLRenderingContext_pixelStor
ei_Callback"; | 2676 void pixelStorei(int pname, int param) => blink.Native_WebGLRenderingContext_p
ixelStorei_Callback(this, pname, param); |
| 2676 | 2677 |
| 2677 @DomName('WebGLRenderingContext.polygonOffset') | 2678 @DomName('WebGLRenderingContext.polygonOffset') |
| 2678 @DocsEditable() | 2679 @DocsEditable() |
| 2679 void polygonOffset(num factor, num units) native "WebGLRenderingContext_polygo
nOffset_Callback"; | 2680 void polygonOffset(num factor, num units) => blink.Native_WebGLRenderingContex
t_polygonOffset_Callback(this, factor, units); |
| 2680 | 2681 |
| 2681 @DomName('WebGLRenderingContext.readPixels') | 2682 @DomName('WebGLRenderingContext.readPixels') |
| 2682 @DocsEditable() | 2683 @DocsEditable() |
| 2683 void readPixels(int x, int y, int width, int height, int format, int type, Typ
edData pixels) native "WebGLRenderingContext_readPixels_Callback"; | 2684 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); |
| 2684 | 2685 |
| 2685 @DomName('WebGLRenderingContext.renderbufferStorage') | 2686 @DomName('WebGLRenderingContext.renderbufferStorage') |
| 2686 @DocsEditable() | 2687 @DocsEditable() |
| 2687 void renderbufferStorage(int target, int internalformat, int width, int height
) native "WebGLRenderingContext_renderbufferStorage_Callback"; | 2688 void renderbufferStorage(int target, int internalformat, int width, int height
) => blink.Native_WebGLRenderingContext_renderbufferStorage_Callback(this, targe
t, internalformat, width, height); |
| 2688 | 2689 |
| 2689 @DomName('WebGLRenderingContext.sampleCoverage') | 2690 @DomName('WebGLRenderingContext.sampleCoverage') |
| 2690 @DocsEditable() | 2691 @DocsEditable() |
| 2691 void sampleCoverage(num value, bool invert) native "WebGLRenderingContext_samp
leCoverage_Callback"; | 2692 void sampleCoverage(num value, bool invert) => blink.Native_WebGLRenderingCont
ext_sampleCoverage_Callback(this, value, invert); |
| 2692 | 2693 |
| 2693 @DomName('WebGLRenderingContext.scissor') | 2694 @DomName('WebGLRenderingContext.scissor') |
| 2694 @DocsEditable() | 2695 @DocsEditable() |
| 2695 void scissor(int x, int y, int width, int height) native "WebGLRenderingContex
t_scissor_Callback"; | 2696 void scissor(int x, int y, int width, int height) => blink.Native_WebGLRenderi
ngContext_scissor_Callback(this, x, y, width, height); |
| 2696 | 2697 |
| 2697 @DomName('WebGLRenderingContext.shaderSource') | 2698 @DomName('WebGLRenderingContext.shaderSource') |
| 2698 @DocsEditable() | 2699 @DocsEditable() |
| 2699 void shaderSource(Shader shader, String string) native "WebGLRenderingContext_
shaderSource_Callback"; | 2700 void shaderSource(Shader shader, String string) => blink.Native_WebGLRendering
Context_shaderSource_Callback(this, shader, string); |
| 2700 | 2701 |
| 2701 @DomName('WebGLRenderingContext.stencilFunc') | 2702 @DomName('WebGLRenderingContext.stencilFunc') |
| 2702 @DocsEditable() | 2703 @DocsEditable() |
| 2703 void stencilFunc(int func, int ref, int mask) native "WebGLRenderingContext_st
encilFunc_Callback"; | 2704 void stencilFunc(int func, int ref, int mask) => blink.Native_WebGLRenderingCo
ntext_stencilFunc_Callback(this, func, ref, mask); |
| 2704 | 2705 |
| 2705 @DomName('WebGLRenderingContext.stencilFuncSeparate') | 2706 @DomName('WebGLRenderingContext.stencilFuncSeparate') |
| 2706 @DocsEditable() | 2707 @DocsEditable() |
| 2707 void stencilFuncSeparate(int face, int func, int ref, int mask) native "WebGLR
enderingContext_stencilFuncSeparate_Callback"; | 2708 void stencilFuncSeparate(int face, int func, int ref, int mask) => blink.Nativ
e_WebGLRenderingContext_stencilFuncSeparate_Callback(this, face, func, ref, mask
); |
| 2708 | 2709 |
| 2709 @DomName('WebGLRenderingContext.stencilMask') | 2710 @DomName('WebGLRenderingContext.stencilMask') |
| 2710 @DocsEditable() | 2711 @DocsEditable() |
| 2711 void stencilMask(int mask) native "WebGLRenderingContext_stencilMask_Callback"
; | 2712 void stencilMask(int mask) => blink.Native_WebGLRenderingContext_stencilMask_C
allback(this, mask); |
| 2712 | 2713 |
| 2713 @DomName('WebGLRenderingContext.stencilMaskSeparate') | 2714 @DomName('WebGLRenderingContext.stencilMaskSeparate') |
| 2714 @DocsEditable() | 2715 @DocsEditable() |
| 2715 void stencilMaskSeparate(int face, int mask) native "WebGLRenderingContext_ste
ncilMaskSeparate_Callback"; | 2716 void stencilMaskSeparate(int face, int mask) => blink.Native_WebGLRenderingCon
text_stencilMaskSeparate_Callback(this, face, mask); |
| 2716 | 2717 |
| 2717 @DomName('WebGLRenderingContext.stencilOp') | 2718 @DomName('WebGLRenderingContext.stencilOp') |
| 2718 @DocsEditable() | 2719 @DocsEditable() |
| 2719 void stencilOp(int fail, int zfail, int zpass) native "WebGLRenderingContext_s
tencilOp_Callback"; | 2720 void stencilOp(int fail, int zfail, int zpass) => blink.Native_WebGLRenderingC
ontext_stencilOp_Callback(this, fail, zfail, zpass); |
| 2720 | 2721 |
| 2721 @DomName('WebGLRenderingContext.stencilOpSeparate') | 2722 @DomName('WebGLRenderingContext.stencilOpSeparate') |
| 2722 @DocsEditable() | 2723 @DocsEditable() |
| 2723 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native "WebGL
RenderingContext_stencilOpSeparate_Callback"; | 2724 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => blink.Nati
ve_WebGLRenderingContext_stencilOpSeparate_Callback(this, face, fail, zfail, zpa
ss); |
| 2724 | 2725 |
| 2725 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]) { | 2726 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]) { |
| 2726 if ((pixels is TypedData || pixels == null) && (type is int || type == null)
&& (format is int || format == null) && (border_OR_canvas_OR_image_OR_pixels_OR
_video is int || border_OR_canvas_OR_image_OR_pixels_OR_video == null) && (heigh
t_OR_type is int || height_OR_type == null) && (format_OR_width is int || format
_OR_width == null) && (internalformat is int || internalformat == null) && (leve
l is int || level == null) && (target is int || target == null)) { | 2727 if ((pixels is TypedData || pixels == null) && (type is int || type == null)
&& (format is int || format == null) && (border_OR_canvas_OR_image_OR_pixels_OR
_video is int || border_OR_canvas_OR_image_OR_pixels_OR_video == null) && (heigh
t_OR_type is int || height_OR_type == null) && (format_OR_width is int || format
_OR_width == null) && (internalformat is int || internalformat == null) && (leve
l is int || level == null) && (target is int || target == null)) { |
| 2727 _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); | 2728 _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); |
| 2728 return; | 2729 return; |
| 2729 } | 2730 } |
| 2730 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_
canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || height_
OR_type == null) && (format_OR_width is int || format_OR_width == null) && (inte
rnalformat is int || internalformat == null) && (level is int || level == null)
&& (target is int || target == null) && format == null && type == null && pixels
== null) { | 2731 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_
canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || height_
OR_type == null) && (format_OR_width is int || format_OR_width == null) && (inte
rnalformat is int || internalformat == null) && (level is int || level == null)
&& (target is int || target == null) && format == null && type == null && pixels
== null) { |
| 2731 _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); | 2732 _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 2732 return; | 2733 return; |
| 2733 } | 2734 } |
| 2734 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement || border_
OR_canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig
ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (i
nternalformat is int || internalformat == null) && (level is int || level == nul
l) && (target is int || target == null) && format == null && type == null && pix
els == null) { | 2735 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement || border_
OR_canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig
ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (i
nternalformat is int || internalformat == null) && (level is int || level == nul
l) && (target is int || target == null) && format == null && type == null && pix
els == null) { |
| 2735 _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); | 2736 _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 2736 return; | 2737 return; |
| 2737 } | 2738 } |
| 2738 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement || border
_OR_canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || hei
ght_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (
internalformat is int || internalformat == null) && (level is int || level == nu
ll) && (target is int || target == null) && format == null && type == null && pi
xels == null) { | 2739 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement || border
_OR_canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || hei
ght_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (
internalformat is int || internalformat == null) && (level is int || level == nu
ll) && (target is int || target == null) && format == null && type == null && pi
xels == null) { |
| 2739 _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); | 2740 _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 2740 return; | 2741 return; |
| 2741 } | 2742 } |
| 2742 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement || border_
OR_canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig
ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (i
nternalformat is int || internalformat == null) && (level is int || level == nul
l) && (target is int || target == null) && format == null && type == null && pix
els == null) { | 2743 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement || border_
OR_canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig
ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (i
nternalformat is int || internalformat == null) && (level is int || level == nul
l) && (target is int || target == null) && format == null && type == null && pix
els == null) { |
| 2743 _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); | 2744 _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 2744 return; | 2745 return; |
| 2745 } | 2746 } |
| 2746 throw new ArgumentError("Incorrect number or type of arguments"); | 2747 throw new ArgumentError("Incorrect number or type of arguments"); |
| 2747 } | 2748 } |
| 2748 | 2749 |
| 2749 void _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels) native
"WebGLRenderingContext__texImage2D_1_Callback"; | 2750 void _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels) => blin
k.Native_WebGLRenderingContext__texImage2D_1_Callback(this, target, level, inter
nalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_
OR_video, format, type, pixels); |
| 2750 | 2751 |
| 2751 void _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext
__texImage2D_2_Callback"; | 2752 void _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video) => blink.Native_WebGLRenderin
gContext__texImage2D_2_Callback(this, target, level, internalformat, format_OR_w
idth, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 2752 | 2753 |
| 2753 void _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext
__texImage2D_3_Callback"; | 2754 void _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video) => blink.Native_WebGLRenderin
gContext__texImage2D_3_Callback(this, target, level, internalformat, format_OR_w
idth, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 2754 | 2755 |
| 2755 void _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext
__texImage2D_4_Callback"; | 2756 void _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video) => blink.Native_WebGLRenderin
gContext__texImage2D_4_Callback(this, target, level, internalformat, format_OR_w
idth, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 2756 | 2757 |
| 2757 void _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext
__texImage2D_5_Callback"; | 2758 void _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video) => blink.Native_WebGLRenderin
gContext__texImage2D_5_Callback(this, target, level, internalformat, format_OR_w
idth, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 2758 | 2759 |
| 2759 @DomName('WebGLRenderingContext.texImage2DCanvas') | 2760 @DomName('WebGLRenderingContext.texImage2DCanvas') |
| 2760 @DocsEditable() | 2761 @DocsEditable() |
| 2761 void texImage2DCanvas(int target, int level, int internalformat, int format, i
nt type, CanvasElement canvas) native "WebGLRenderingContext_texImage2DCanvas_Ca
llback"; | 2762 void texImage2DCanvas(int target, int level, int internalformat, int format, i
nt type, CanvasElement canvas) => blink.Native_WebGLRenderingContext_texImage2DC
anvas_Callback(this, target, level, internalformat, format, type, canvas); |
| 2762 | 2763 |
| 2763 @DomName('WebGLRenderingContext.texImage2DImage') | 2764 @DomName('WebGLRenderingContext.texImage2DImage') |
| 2764 @DocsEditable() | 2765 @DocsEditable() |
| 2765 void texImage2DImage(int target, int level, int internalformat, int format, in
t type, ImageElement image) native "WebGLRenderingContext_texImage2DImage_Callba
ck"; | 2766 void texImage2DImage(int target, int level, int internalformat, int format, in
t type, ImageElement image) => blink.Native_WebGLRenderingContext_texImage2DImag
e_Callback(this, target, level, internalformat, format, type, image); |
| 2766 | 2767 |
| 2767 @DomName('WebGLRenderingContext.texImage2DImageData') | 2768 @DomName('WebGLRenderingContext.texImage2DImageData') |
| 2768 @DocsEditable() | 2769 @DocsEditable() |
| 2769 void texImage2DImageData(int target, int level, int internalformat, int format
, int type, ImageData pixels) native "WebGLRenderingContext_texImage2DImageData_
Callback"; | 2770 void texImage2DImageData(int target, int level, int internalformat, int format
, int type, ImageData pixels) => blink.Native_WebGLRenderingContext_texImage2DIm
ageData_Callback(this, target, level, internalformat, format, type, pixels); |
| 2770 | 2771 |
| 2771 @DomName('WebGLRenderingContext.texImage2DVideo') | 2772 @DomName('WebGLRenderingContext.texImage2DVideo') |
| 2772 @DocsEditable() | 2773 @DocsEditable() |
| 2773 void texImage2DVideo(int target, int level, int internalformat, int format, in
t type, VideoElement video) native "WebGLRenderingContext_texImage2DVideo_Callba
ck"; | 2774 void texImage2DVideo(int target, int level, int internalformat, int format, in
t type, VideoElement video) => blink.Native_WebGLRenderingContext_texImage2DVide
o_Callback(this, target, level, internalformat, format, type, video); |
| 2774 | 2775 |
| 2775 @DomName('WebGLRenderingContext.texParameterf') | 2776 @DomName('WebGLRenderingContext.texParameterf') |
| 2776 @DocsEditable() | 2777 @DocsEditable() |
| 2777 void texParameterf(int target, int pname, num param) native "WebGLRenderingCon
text_texParameterf_Callback"; | 2778 void texParameterf(int target, int pname, num param) => blink.Native_WebGLRend
eringContext_texParameterf_Callback(this, target, pname, param); |
| 2778 | 2779 |
| 2779 @DomName('WebGLRenderingContext.texParameteri') | 2780 @DomName('WebGLRenderingContext.texParameteri') |
| 2780 @DocsEditable() | 2781 @DocsEditable() |
| 2781 void texParameteri(int target, int pname, int param) native "WebGLRenderingCon
text_texParameteri_Callback"; | 2782 void texParameteri(int target, int pname, int param) => blink.Native_WebGLRend
eringContext_texParameteri_Callback(this, target, pname, param); |
| 2782 | 2783 |
| 2783 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]) { | 2784 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]) { |
| 2784 if ((pixels is TypedData || pixels == null) && (type is int || type == null)
&& (canvas_OR_format_OR_image_OR_pixels_OR_video is int || canvas_OR_format_OR_
image_OR_pixels_OR_video == null) && (height_OR_type is int || height_OR_type ==
null) && (format_OR_width is int || format_OR_width == null) && (yoffset is int
|| yoffset == null) && (xoffset is int || xoffset == null) && (level is int ||
level == null) && (target is int || target == null)) { | 2785 if ((pixels is TypedData || pixels == null) && (type is int || type == null)
&& (canvas_OR_format_OR_image_OR_pixels_OR_video is int || canvas_OR_format_OR_
image_OR_pixels_OR_video == null) && (height_OR_type is int || height_OR_type ==
null) && (format_OR_width is int || format_OR_width == null) && (yoffset is int
|| yoffset == null) && (xoffset is int || xoffset == null) && (level is int ||
level == null) && (target is int || target == null)) { |
| 2785 _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); | 2786 _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); |
| 2786 return; | 2787 return; |
| 2787 } | 2788 } |
| 2788 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || canvas_OR_
format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || height_
OR_type == null) && (format_OR_width is int || format_OR_width == null) && (yoff
set is int || yoffset == null) && (xoffset is int || xoffset == null) && (level
is int || level == null) && (target is int || target == null) && type == null &&
pixels == null) { | 2789 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || canvas_OR_
format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || height_
OR_type == null) && (format_OR_width is int || format_OR_width == null) && (yoff
set is int || yoffset == null) && (xoffset is int || xoffset == null) && (level
is int || level == null) && (target is int || target == null) && type == null &&
pixels == null) { |
| 2789 _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); | 2790 _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 2790 return; | 2791 return; |
| 2791 } | 2792 } |
| 2792 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement || canvas_
OR_format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig
ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (y
offset is int || yoffset == null) && (xoffset is int || xoffset == null) && (lev
el is int || level == null) && (target is int || target == null) && type == null
&& pixels == null) { | 2793 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement || canvas_
OR_format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig
ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (y
offset is int || yoffset == null) && (xoffset is int || xoffset == null) && (lev
el is int || level == null) && (target is int || target == null) && type == null
&& pixels == null) { |
| 2793 _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); | 2794 _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 2794 return; | 2795 return; |
| 2795 } | 2796 } |
| 2796 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement || canvas
_OR_format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || hei
ght_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (
yoffset is int || yoffset == null) && (xoffset is int || xoffset == null) && (le
vel is int || level == null) && (target is int || target == null) && type == nul
l && pixels == null) { | 2797 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement || canvas
_OR_format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || hei
ght_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (
yoffset is int || yoffset == null) && (xoffset is int || xoffset == null) && (le
vel is int || level == null) && (target is int || target == null) && type == nul
l && pixels == null) { |
| 2797 _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); | 2798 _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 2798 return; | 2799 return; |
| 2799 } | 2800 } |
| 2800 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement || canvas_
OR_format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig
ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (y
offset is int || yoffset == null) && (xoffset is int || xoffset == null) && (lev
el is int || level == null) && (target is int || target == null) && type == null
&& pixels == null) { | 2801 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement || canvas_
OR_format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig
ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (y
offset is int || yoffset == null) && (xoffset is int || xoffset == null) && (lev
el is int || level == null) && (target is int || target == null) && type == null
&& pixels == null) { |
| 2801 _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); | 2802 _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 2802 return; | 2803 return; |
| 2803 } | 2804 } |
| 2804 throw new ArgumentError("Incorrect number or type of arguments"); | 2805 throw new ArgumentError("Incorrect number or type of arguments"); |
| 2805 } | 2806 } |
| 2806 | 2807 |
| 2807 void _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels) native "We
bGLRenderingContext__texSubImage2D_1_Callback"; | 2808 void _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels) => blink.N
ative_WebGLRenderingContext__texSubImage2D_1_Callback(this, target, level, xoffs
et, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixel
s_OR_video, type, pixels); |
| 2808 | 2809 |
| 2809 void _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo
ntext__texSubImage2D_2_Callback"; | 2810 void _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) => blink.Native_WebGLRen
deringContext__texSubImage2D_2_Callback(this, target, level, xoffset, yoffset, f
ormat_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 2810 | 2811 |
| 2811 void _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo
ntext__texSubImage2D_3_Callback"; | 2812 void _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) => blink.Native_WebGLRen
deringContext__texSubImage2D_3_Callback(this, target, level, xoffset, yoffset, f
ormat_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 2812 | 2813 |
| 2813 void _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo
ntext__texSubImage2D_4_Callback"; | 2814 void _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) => blink.Native_WebGLRen
deringContext__texSubImage2D_4_Callback(this, target, level, xoffset, yoffset, f
ormat_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 2814 | 2815 |
| 2815 void _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo
ntext__texSubImage2D_5_Callback"; | 2816 void _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) => blink.Native_WebGLRen
deringContext__texSubImage2D_5_Callback(this, target, level, xoffset, yoffset, f
ormat_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 2816 | 2817 |
| 2817 @DomName('WebGLRenderingContext.texSubImage2DCanvas') | 2818 @DomName('WebGLRenderingContext.texSubImage2DCanvas') |
| 2818 @DocsEditable() | 2819 @DocsEditable() |
| 2819 void texSubImage2DCanvas(int target, int level, int xoffset, int yoffset, int
format, int type, CanvasElement canvas) native "WebGLRenderingContext_texSubImag
e2DCanvas_Callback"; | 2820 void texSubImage2DCanvas(int target, int level, int xoffset, int yoffset, int
format, int type, CanvasElement canvas) => blink.Native_WebGLRenderingContext_te
xSubImage2DCanvas_Callback(this, target, level, xoffset, yoffset, format, type,
canvas); |
| 2820 | 2821 |
| 2821 @DomName('WebGLRenderingContext.texSubImage2DImage') | 2822 @DomName('WebGLRenderingContext.texSubImage2DImage') |
| 2822 @DocsEditable() | 2823 @DocsEditable() |
| 2823 void texSubImage2DImage(int target, int level, int xoffset, int yoffset, int f
ormat, int type, ImageElement image) native "WebGLRenderingContext_texSubImage2D
Image_Callback"; | 2824 void texSubImage2DImage(int target, int level, int xoffset, int yoffset, int f
ormat, int type, ImageElement image) => blink.Native_WebGLRenderingContext_texSu
bImage2DImage_Callback(this, target, level, xoffset, yoffset, format, type, imag
e); |
| 2824 | 2825 |
| 2825 @DomName('WebGLRenderingContext.texSubImage2DImageData') | 2826 @DomName('WebGLRenderingContext.texSubImage2DImageData') |
| 2826 @DocsEditable() | 2827 @DocsEditable() |
| 2827 void texSubImage2DImageData(int target, int level, int xoffset, int yoffset, i
nt format, int type, ImageData pixels) native "WebGLRenderingContext_texSubImage
2DImageData_Callback"; | 2828 void texSubImage2DImageData(int target, int level, int xoffset, int yoffset, i
nt format, int type, ImageData pixels) => blink.Native_WebGLRenderingContext_tex
SubImage2DImageData_Callback(this, target, level, xoffset, yoffset, format, type
, pixels); |
| 2828 | 2829 |
| 2829 @DomName('WebGLRenderingContext.texSubImage2DVideo') | 2830 @DomName('WebGLRenderingContext.texSubImage2DVideo') |
| 2830 @DocsEditable() | 2831 @DocsEditable() |
| 2831 void texSubImage2DVideo(int target, int level, int xoffset, int yoffset, int f
ormat, int type, VideoElement video) native "WebGLRenderingContext_texSubImage2D
Video_Callback"; | 2832 void texSubImage2DVideo(int target, int level, int xoffset, int yoffset, int f
ormat, int type, VideoElement video) => blink.Native_WebGLRenderingContext_texSu
bImage2DVideo_Callback(this, target, level, xoffset, yoffset, format, type, vide
o); |
| 2832 | 2833 |
| 2833 @DomName('WebGLRenderingContext.uniform1f') | 2834 @DomName('WebGLRenderingContext.uniform1f') |
| 2834 @DocsEditable() | 2835 @DocsEditable() |
| 2835 void uniform1f(UniformLocation location, num x) native "WebGLRenderingContext_
uniform1f_Callback"; | 2836 void uniform1f(UniformLocation location, num x) => blink.Native_WebGLRendering
Context_uniform1f_Callback(this, location, x); |
| 2836 | 2837 |
| 2837 @DomName('WebGLRenderingContext.uniform1fv') | 2838 @DomName('WebGLRenderingContext.uniform1fv') |
| 2838 @DocsEditable() | 2839 @DocsEditable() |
| 2839 void uniform1fv(UniformLocation location, Float32List v) native "WebGLRenderin
gContext_uniform1fv_Callback"; | 2840 void uniform1fv(UniformLocation location, Float32List v) => blink.Native_WebGL
RenderingContext_uniform1fv_Callback(this, location, v); |
| 2840 | 2841 |
| 2841 @DomName('WebGLRenderingContext.uniform1i') | 2842 @DomName('WebGLRenderingContext.uniform1i') |
| 2842 @DocsEditable() | 2843 @DocsEditable() |
| 2843 void uniform1i(UniformLocation location, int x) native "WebGLRenderingContext_
uniform1i_Callback"; | 2844 void uniform1i(UniformLocation location, int x) => blink.Native_WebGLRendering
Context_uniform1i_Callback(this, location, x); |
| 2844 | 2845 |
| 2845 @DomName('WebGLRenderingContext.uniform1iv') | 2846 @DomName('WebGLRenderingContext.uniform1iv') |
| 2846 @DocsEditable() | 2847 @DocsEditable() |
| 2847 void uniform1iv(UniformLocation location, Int32List v) native "WebGLRenderingC
ontext_uniform1iv_Callback"; | 2848 void uniform1iv(UniformLocation location, Int32List v) => blink.Native_WebGLRe
nderingContext_uniform1iv_Callback(this, location, v); |
| 2848 | 2849 |
| 2849 @DomName('WebGLRenderingContext.uniform2f') | 2850 @DomName('WebGLRenderingContext.uniform2f') |
| 2850 @DocsEditable() | 2851 @DocsEditable() |
| 2851 void uniform2f(UniformLocation location, num x, num y) native "WebGLRenderingC
ontext_uniform2f_Callback"; | 2852 void uniform2f(UniformLocation location, num x, num y) => blink.Native_WebGLRe
nderingContext_uniform2f_Callback(this, location, x, y); |
| 2852 | 2853 |
| 2853 @DomName('WebGLRenderingContext.uniform2fv') | 2854 @DomName('WebGLRenderingContext.uniform2fv') |
| 2854 @DocsEditable() | 2855 @DocsEditable() |
| 2855 void uniform2fv(UniformLocation location, Float32List v) native "WebGLRenderin
gContext_uniform2fv_Callback"; | 2856 void uniform2fv(UniformLocation location, Float32List v) => blink.Native_WebGL
RenderingContext_uniform2fv_Callback(this, location, v); |
| 2856 | 2857 |
| 2857 @DomName('WebGLRenderingContext.uniform2i') | 2858 @DomName('WebGLRenderingContext.uniform2i') |
| 2858 @DocsEditable() | 2859 @DocsEditable() |
| 2859 void uniform2i(UniformLocation location, int x, int y) native "WebGLRenderingC
ontext_uniform2i_Callback"; | 2860 void uniform2i(UniformLocation location, int x, int y) => blink.Native_WebGLRe
nderingContext_uniform2i_Callback(this, location, x, y); |
| 2860 | 2861 |
| 2861 @DomName('WebGLRenderingContext.uniform2iv') | 2862 @DomName('WebGLRenderingContext.uniform2iv') |
| 2862 @DocsEditable() | 2863 @DocsEditable() |
| 2863 void uniform2iv(UniformLocation location, Int32List v) native "WebGLRenderingC
ontext_uniform2iv_Callback"; | 2864 void uniform2iv(UniformLocation location, Int32List v) => blink.Native_WebGLRe
nderingContext_uniform2iv_Callback(this, location, v); |
| 2864 | 2865 |
| 2865 @DomName('WebGLRenderingContext.uniform3f') | 2866 @DomName('WebGLRenderingContext.uniform3f') |
| 2866 @DocsEditable() | 2867 @DocsEditable() |
| 2867 void uniform3f(UniformLocation location, num x, num y, num z) native "WebGLRen
deringContext_uniform3f_Callback"; | 2868 void uniform3f(UniformLocation location, num x, num y, num z) => blink.Native_
WebGLRenderingContext_uniform3f_Callback(this, location, x, y, z); |
| 2868 | 2869 |
| 2869 @DomName('WebGLRenderingContext.uniform3fv') | 2870 @DomName('WebGLRenderingContext.uniform3fv') |
| 2870 @DocsEditable() | 2871 @DocsEditable() |
| 2871 void uniform3fv(UniformLocation location, Float32List v) native "WebGLRenderin
gContext_uniform3fv_Callback"; | 2872 void uniform3fv(UniformLocation location, Float32List v) => blink.Native_WebGL
RenderingContext_uniform3fv_Callback(this, location, v); |
| 2872 | 2873 |
| 2873 @DomName('WebGLRenderingContext.uniform3i') | 2874 @DomName('WebGLRenderingContext.uniform3i') |
| 2874 @DocsEditable() | 2875 @DocsEditable() |
| 2875 void uniform3i(UniformLocation location, int x, int y, int z) native "WebGLRen
deringContext_uniform3i_Callback"; | 2876 void uniform3i(UniformLocation location, int x, int y, int z) => blink.Native_
WebGLRenderingContext_uniform3i_Callback(this, location, x, y, z); |
| 2876 | 2877 |
| 2877 @DomName('WebGLRenderingContext.uniform3iv') | 2878 @DomName('WebGLRenderingContext.uniform3iv') |
| 2878 @DocsEditable() | 2879 @DocsEditable() |
| 2879 void uniform3iv(UniformLocation location, Int32List v) native "WebGLRenderingC
ontext_uniform3iv_Callback"; | 2880 void uniform3iv(UniformLocation location, Int32List v) => blink.Native_WebGLRe
nderingContext_uniform3iv_Callback(this, location, v); |
| 2880 | 2881 |
| 2881 @DomName('WebGLRenderingContext.uniform4f') | 2882 @DomName('WebGLRenderingContext.uniform4f') |
| 2882 @DocsEditable() | 2883 @DocsEditable() |
| 2883 void uniform4f(UniformLocation location, num x, num y, num z, num w) native "W
ebGLRenderingContext_uniform4f_Callback"; | 2884 void uniform4f(UniformLocation location, num x, num y, num z, num w) => blink.
Native_WebGLRenderingContext_uniform4f_Callback(this, location, x, y, z, w); |
| 2884 | 2885 |
| 2885 @DomName('WebGLRenderingContext.uniform4fv') | 2886 @DomName('WebGLRenderingContext.uniform4fv') |
| 2886 @DocsEditable() | 2887 @DocsEditable() |
| 2887 void uniform4fv(UniformLocation location, Float32List v) native "WebGLRenderin
gContext_uniform4fv_Callback"; | 2888 void uniform4fv(UniformLocation location, Float32List v) => blink.Native_WebGL
RenderingContext_uniform4fv_Callback(this, location, v); |
| 2888 | 2889 |
| 2889 @DomName('WebGLRenderingContext.uniform4i') | 2890 @DomName('WebGLRenderingContext.uniform4i') |
| 2890 @DocsEditable() | 2891 @DocsEditable() |
| 2891 void uniform4i(UniformLocation location, int x, int y, int z, int w) native "W
ebGLRenderingContext_uniform4i_Callback"; | 2892 void uniform4i(UniformLocation location, int x, int y, int z, int w) => blink.
Native_WebGLRenderingContext_uniform4i_Callback(this, location, x, y, z, w); |
| 2892 | 2893 |
| 2893 @DomName('WebGLRenderingContext.uniform4iv') | 2894 @DomName('WebGLRenderingContext.uniform4iv') |
| 2894 @DocsEditable() | 2895 @DocsEditable() |
| 2895 void uniform4iv(UniformLocation location, Int32List v) native "WebGLRenderingC
ontext_uniform4iv_Callback"; | 2896 void uniform4iv(UniformLocation location, Int32List v) => blink.Native_WebGLRe
nderingContext_uniform4iv_Callback(this, location, v); |
| 2896 | 2897 |
| 2897 @DomName('WebGLRenderingContext.uniformMatrix2fv') | 2898 @DomName('WebGLRenderingContext.uniformMatrix2fv') |
| 2898 @DocsEditable() | 2899 @DocsEditable() |
| 2899 void uniformMatrix2fv(UniformLocation location, bool transpose, Float32List ar
ray) native "WebGLRenderingContext_uniformMatrix2fv_Callback"; | 2900 void uniformMatrix2fv(UniformLocation location, bool transpose, Float32List ar
ray) => blink.Native_WebGLRenderingContext_uniformMatrix2fv_Callback(this, locat
ion, transpose, array); |
| 2900 | 2901 |
| 2901 @DomName('WebGLRenderingContext.uniformMatrix3fv') | 2902 @DomName('WebGLRenderingContext.uniformMatrix3fv') |
| 2902 @DocsEditable() | 2903 @DocsEditable() |
| 2903 void uniformMatrix3fv(UniformLocation location, bool transpose, Float32List ar
ray) native "WebGLRenderingContext_uniformMatrix3fv_Callback"; | 2904 void uniformMatrix3fv(UniformLocation location, bool transpose, Float32List ar
ray) => blink.Native_WebGLRenderingContext_uniformMatrix3fv_Callback(this, locat
ion, transpose, array); |
| 2904 | 2905 |
| 2905 @DomName('WebGLRenderingContext.uniformMatrix4fv') | 2906 @DomName('WebGLRenderingContext.uniformMatrix4fv') |
| 2906 @DocsEditable() | 2907 @DocsEditable() |
| 2907 void uniformMatrix4fv(UniformLocation location, bool transpose, Float32List ar
ray) native "WebGLRenderingContext_uniformMatrix4fv_Callback"; | 2908 void uniformMatrix4fv(UniformLocation location, bool transpose, Float32List ar
ray) => blink.Native_WebGLRenderingContext_uniformMatrix4fv_Callback(this, locat
ion, transpose, array); |
| 2908 | 2909 |
| 2909 @DomName('WebGLRenderingContext.useProgram') | 2910 @DomName('WebGLRenderingContext.useProgram') |
| 2910 @DocsEditable() | 2911 @DocsEditable() |
| 2911 void useProgram(Program program) native "WebGLRenderingContext_useProgram_Call
back"; | 2912 void useProgram(Program program) => blink.Native_WebGLRenderingContext_useProg
ram_Callback(this, program); |
| 2912 | 2913 |
| 2913 @DomName('WebGLRenderingContext.validateProgram') | 2914 @DomName('WebGLRenderingContext.validateProgram') |
| 2914 @DocsEditable() | 2915 @DocsEditable() |
| 2915 void validateProgram(Program program) native "WebGLRenderingContext_validatePr
ogram_Callback"; | 2916 void validateProgram(Program program) => blink.Native_WebGLRenderingContext_va
lidateProgram_Callback(this, program); |
| 2916 | 2917 |
| 2917 @DomName('WebGLRenderingContext.vertexAttrib1f') | 2918 @DomName('WebGLRenderingContext.vertexAttrib1f') |
| 2918 @DocsEditable() | 2919 @DocsEditable() |
| 2919 void vertexAttrib1f(int indx, num x) native "WebGLRenderingContext_vertexAttri
b1f_Callback"; | 2920 void vertexAttrib1f(int indx, num x) => blink.Native_WebGLRenderingContext_ver
texAttrib1f_Callback(this, indx, x); |
| 2920 | 2921 |
| 2921 @DomName('WebGLRenderingContext.vertexAttrib1fv') | 2922 @DomName('WebGLRenderingContext.vertexAttrib1fv') |
| 2922 @DocsEditable() | 2923 @DocsEditable() |
| 2923 void vertexAttrib1fv(int indx, Float32List values) native "WebGLRenderingConte
xt_vertexAttrib1fv_Callback"; | 2924 void vertexAttrib1fv(int indx, Float32List values) => blink.Native_WebGLRender
ingContext_vertexAttrib1fv_Callback(this, indx, values); |
| 2924 | 2925 |
| 2925 @DomName('WebGLRenderingContext.vertexAttrib2f') | 2926 @DomName('WebGLRenderingContext.vertexAttrib2f') |
| 2926 @DocsEditable() | 2927 @DocsEditable() |
| 2927 void vertexAttrib2f(int indx, num x, num y) native "WebGLRenderingContext_vert
exAttrib2f_Callback"; | 2928 void vertexAttrib2f(int indx, num x, num y) => blink.Native_WebGLRenderingCont
ext_vertexAttrib2f_Callback(this, indx, x, y); |
| 2928 | 2929 |
| 2929 @DomName('WebGLRenderingContext.vertexAttrib2fv') | 2930 @DomName('WebGLRenderingContext.vertexAttrib2fv') |
| 2930 @DocsEditable() | 2931 @DocsEditable() |
| 2931 void vertexAttrib2fv(int indx, Float32List values) native "WebGLRenderingConte
xt_vertexAttrib2fv_Callback"; | 2932 void vertexAttrib2fv(int indx, Float32List values) => blink.Native_WebGLRender
ingContext_vertexAttrib2fv_Callback(this, indx, values); |
| 2932 | 2933 |
| 2933 @DomName('WebGLRenderingContext.vertexAttrib3f') | 2934 @DomName('WebGLRenderingContext.vertexAttrib3f') |
| 2934 @DocsEditable() | 2935 @DocsEditable() |
| 2935 void vertexAttrib3f(int indx, num x, num y, num z) native "WebGLRenderingConte
xt_vertexAttrib3f_Callback"; | 2936 void vertexAttrib3f(int indx, num x, num y, num z) => blink.Native_WebGLRender
ingContext_vertexAttrib3f_Callback(this, indx, x, y, z); |
| 2936 | 2937 |
| 2937 @DomName('WebGLRenderingContext.vertexAttrib3fv') | 2938 @DomName('WebGLRenderingContext.vertexAttrib3fv') |
| 2938 @DocsEditable() | 2939 @DocsEditable() |
| 2939 void vertexAttrib3fv(int indx, Float32List values) native "WebGLRenderingConte
xt_vertexAttrib3fv_Callback"; | 2940 void vertexAttrib3fv(int indx, Float32List values) => blink.Native_WebGLRender
ingContext_vertexAttrib3fv_Callback(this, indx, values); |
| 2940 | 2941 |
| 2941 @DomName('WebGLRenderingContext.vertexAttrib4f') | 2942 @DomName('WebGLRenderingContext.vertexAttrib4f') |
| 2942 @DocsEditable() | 2943 @DocsEditable() |
| 2943 void vertexAttrib4f(int indx, num x, num y, num z, num w) native "WebGLRenderi
ngContext_vertexAttrib4f_Callback"; | 2944 void vertexAttrib4f(int indx, num x, num y, num z, num w) => blink.Native_WebG
LRenderingContext_vertexAttrib4f_Callback(this, indx, x, y, z, w); |
| 2944 | 2945 |
| 2945 @DomName('WebGLRenderingContext.vertexAttrib4fv') | 2946 @DomName('WebGLRenderingContext.vertexAttrib4fv') |
| 2946 @DocsEditable() | 2947 @DocsEditable() |
| 2947 void vertexAttrib4fv(int indx, Float32List values) native "WebGLRenderingConte
xt_vertexAttrib4fv_Callback"; | 2948 void vertexAttrib4fv(int indx, Float32List values) => blink.Native_WebGLRender
ingContext_vertexAttrib4fv_Callback(this, indx, values); |
| 2948 | 2949 |
| 2949 @DomName('WebGLRenderingContext.vertexAttribPointer') | 2950 @DomName('WebGLRenderingContext.vertexAttribPointer') |
| 2950 @DocsEditable() | 2951 @DocsEditable() |
| 2951 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) native "WebGLRenderingContext_vertexAttribPointer_Callback"; | 2952 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) => blink.Native_WebGLRenderingContext_vertexAttribPointer_Call
back(this, indx, size, type, normalized, stride, offset); |
| 2952 | 2953 |
| 2953 @DomName('WebGLRenderingContext.viewport') | 2954 @DomName('WebGLRenderingContext.viewport') |
| 2954 @DocsEditable() | 2955 @DocsEditable() |
| 2955 void viewport(int x, int y, int width, int height) native "WebGLRenderingConte
xt_viewport_Callback"; | 2956 void viewport(int x, int y, int width, int height) => blink.Native_WebGLRender
ingContext_viewport_Callback(this, x, y, width, height); |
| 2956 | 2957 |
| 2957 | 2958 |
| 2958 /** | 2959 /** |
| 2959 * Sets the currently bound texture to [data]. | 2960 * Sets the currently bound texture to [data]. |
| 2960 * | 2961 * |
| 2961 * [data] can be either an [ImageElement], a | 2962 * [data] can be either an [ImageElement], a |
| 2962 * [CanvasElement], a [VideoElement], or an [ImageData] object. | 2963 * [CanvasElement], a [VideoElement], or an [ImageData] object. |
| 2963 * | 2964 * |
| 2964 * To use [texImage2d] with a TypedData object, use [texImage2dTyped]. | 2965 * To use [texImage2d] with a TypedData object, use [texImage2dTyped]. |
| 2965 * | 2966 * |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3037 | 3038 |
| 3038 | 3039 |
| 3039 @DocsEditable() | 3040 @DocsEditable() |
| 3040 @DomName('WebGLShaderPrecisionFormat') | 3041 @DomName('WebGLShaderPrecisionFormat') |
| 3041 class ShaderPrecisionFormat extends NativeFieldWrapperClass2 { | 3042 class ShaderPrecisionFormat extends NativeFieldWrapperClass2 { |
| 3042 // To suppress missing implicit constructor warnings. | 3043 // To suppress missing implicit constructor warnings. |
| 3043 factory ShaderPrecisionFormat._() { throw new UnsupportedError("Not supported"
); } | 3044 factory ShaderPrecisionFormat._() { throw new UnsupportedError("Not supported"
); } |
| 3044 | 3045 |
| 3045 @DomName('WebGLShaderPrecisionFormat.precision') | 3046 @DomName('WebGLShaderPrecisionFormat.precision') |
| 3046 @DocsEditable() | 3047 @DocsEditable() |
| 3047 int get precision native "WebGLShaderPrecisionFormat_precision_Getter"; | 3048 int get precision => blink.Native_WebGLShaderPrecisionFormat_precision_Getter(
this); |
| 3048 | 3049 |
| 3049 @DomName('WebGLShaderPrecisionFormat.rangeMax') | 3050 @DomName('WebGLShaderPrecisionFormat.rangeMax') |
| 3050 @DocsEditable() | 3051 @DocsEditable() |
| 3051 int get rangeMax native "WebGLShaderPrecisionFormat_rangeMax_Getter"; | 3052 int get rangeMax => blink.Native_WebGLShaderPrecisionFormat_rangeMax_Getter(th
is); |
| 3052 | 3053 |
| 3053 @DomName('WebGLShaderPrecisionFormat.rangeMin') | 3054 @DomName('WebGLShaderPrecisionFormat.rangeMin') |
| 3054 @DocsEditable() | 3055 @DocsEditable() |
| 3055 int get rangeMin native "WebGLShaderPrecisionFormat_rangeMin_Getter"; | 3056 int get rangeMin => blink.Native_WebGLShaderPrecisionFormat_rangeMin_Getter(th
is); |
| 3056 | 3057 |
| 3057 } | 3058 } |
| 3058 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3059 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3059 // for details. All rights reserved. Use of this source code is governed by a | 3060 // for details. All rights reserved. Use of this source code is governed by a |
| 3060 // BSD-style license that can be found in the LICENSE file. | 3061 // BSD-style license that can be found in the LICENSE file. |
| 3061 | 3062 |
| 3062 // WARNING: Do not edit - generated code. | 3063 // WARNING: Do not edit - generated code. |
| 3063 | 3064 |
| 3064 | 3065 |
| 3065 @DocsEditable() | 3066 @DocsEditable() |
| (...skipping 26 matching lines...) Expand all Loading... |
| 3092 | 3093 |
| 3093 @DocsEditable() | 3094 @DocsEditable() |
| 3094 @DomName('WebGLVertexArrayObjectOES') | 3095 @DomName('WebGLVertexArrayObjectOES') |
| 3095 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ | 3096 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ |
| 3096 @Experimental() // experimental | 3097 @Experimental() // experimental |
| 3097 class VertexArrayObject extends NativeFieldWrapperClass2 { | 3098 class VertexArrayObject extends NativeFieldWrapperClass2 { |
| 3098 // To suppress missing implicit constructor warnings. | 3099 // To suppress missing implicit constructor warnings. |
| 3099 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } | 3100 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } |
| 3100 | 3101 |
| 3101 } | 3102 } |
| OLD | NEW |