| 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 import 'dart:_blink' as _blink; |
| 11 // DO NOT EDIT | 11 // DO NOT EDIT |
| 12 // Auto-generated dart:web_gl library. | 12 // Auto-generated dart:web_gl library. |
| 13 | 13 |
| 14 | 14 |
| 15 | 15 |
| 16 | 16 |
| 17 | 17 |
| 18 // 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 |
| 19 // 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 |
| 20 // 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... |
| 325 | 325 |
| 326 @DocsEditable() | 326 @DocsEditable() |
| 327 @DomName('WebGLActiveInfo') | 327 @DomName('WebGLActiveInfo') |
| 328 @Unstable() | 328 @Unstable() |
| 329 class ActiveInfo extends NativeFieldWrapperClass2 { | 329 class ActiveInfo extends NativeFieldWrapperClass2 { |
| 330 // To suppress missing implicit constructor warnings. | 330 // To suppress missing implicit constructor warnings. |
| 331 factory ActiveInfo._() { throw new UnsupportedError("Not supported"); } | 331 factory ActiveInfo._() { throw new UnsupportedError("Not supported"); } |
| 332 | 332 |
| 333 @DomName('WebGLActiveInfo.name') | 333 @DomName('WebGLActiveInfo.name') |
| 334 @DocsEditable() | 334 @DocsEditable() |
| 335 String get name => blink.Native_WebGLActiveInfo_name_Getter(this); | 335 String get name => _blink.Native_WebGLActiveInfo_name_Getter(this); |
| 336 | 336 |
| 337 @DomName('WebGLActiveInfo.size') | 337 @DomName('WebGLActiveInfo.size') |
| 338 @DocsEditable() | 338 @DocsEditable() |
| 339 int get size => blink.Native_WebGLActiveInfo_size_Getter(this); | 339 int get size => _blink.Native_WebGLActiveInfo_size_Getter(this); |
| 340 | 340 |
| 341 @DomName('WebGLActiveInfo.type') | 341 @DomName('WebGLActiveInfo.type') |
| 342 @DocsEditable() | 342 @DocsEditable() |
| 343 int get type => blink.Native_WebGLActiveInfo_type_Getter(this); | 343 int get type => _blink.Native_WebGLActiveInfo_type_Getter(this); |
| 344 | 344 |
| 345 } | 345 } |
| 346 // 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 |
| 347 // 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 |
| 348 // BSD-style license that can be found in the LICENSE file. | 348 // BSD-style license that can be found in the LICENSE file. |
| 349 | 349 |
| 350 // WARNING: Do not edit - generated code. | 350 // WARNING: Do not edit - generated code. |
| 351 | 351 |
| 352 | 352 |
| 353 @DocsEditable() | 353 @DocsEditable() |
| 354 @DomName('ANGLEInstancedArrays') | 354 @DomName('ANGLEInstancedArrays') |
| 355 @Experimental() // untriaged | 355 @Experimental() // untriaged |
| 356 class AngleInstancedArrays extends NativeFieldWrapperClass2 { | 356 class AngleInstancedArrays extends NativeFieldWrapperClass2 { |
| 357 // To suppress missing implicit constructor warnings. | 357 // To suppress missing implicit constructor warnings. |
| 358 factory AngleInstancedArrays._() { throw new UnsupportedError("Not supported")
; } | 358 factory AngleInstancedArrays._() { throw new UnsupportedError("Not supported")
; } |
| 359 | 359 |
| 360 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE') | 360 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE') |
| 361 @DocsEditable() | 361 @DocsEditable() |
| 362 @Experimental() // untriaged | 362 @Experimental() // untriaged |
| 363 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; | 363 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; |
| 364 | 364 |
| 365 @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE') | 365 @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE') |
| 366 @DocsEditable() | 366 @DocsEditable() |
| 367 @Experimental() // untriaged | 367 @Experimental() // untriaged |
| 368 void drawArraysInstancedAngle(int mode, int first, int count, int primcount) =
> blink.Native_ANGLEInstancedArrays_drawArraysInstancedANGLE_Callback(this, mode
, first, count, primcount); | 368 void drawArraysInstancedAngle(int mode, int first, int count, int primcount) =
> _blink.Native_ANGLEInstancedArrays_drawArraysInstancedANGLE_Callback(this, mod
e, first, count, primcount); |
| 369 | 369 |
| 370 @DomName('ANGLEInstancedArrays.drawElementsInstancedANGLE') | 370 @DomName('ANGLEInstancedArrays.drawElementsInstancedANGLE') |
| 371 @DocsEditable() | 371 @DocsEditable() |
| 372 @Experimental() // untriaged | 372 @Experimental() // untriaged |
| 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 void drawElementsInstancedAngle(int mode, int count, int type, int offset, int
primcount) => _blink.Native_ANGLEInstancedArrays_drawElementsInstancedANGLE_Cal
lback(this, mode, count, type, offset, primcount); |
| 374 | 374 |
| 375 @DomName('ANGLEInstancedArrays.vertexAttribDivisorANGLE') | 375 @DomName('ANGLEInstancedArrays.vertexAttribDivisorANGLE') |
| 376 @DocsEditable() | 376 @DocsEditable() |
| 377 @Experimental() // untriaged | 377 @Experimental() // untriaged |
| 378 void vertexAttribDivisorAngle(int index, int divisor) => blink.Native_ANGLEIns
tancedArrays_vertexAttribDivisorANGLE_Callback(this, index, divisor); | 378 void vertexAttribDivisorAngle(int index, int divisor) => _blink.Native_ANGLEIn
stancedArrays_vertexAttribDivisorANGLE_Callback(this, index, divisor); |
| 379 | 379 |
| 380 } | 380 } |
| 381 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 381 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 382 // for details. All rights reserved. Use of this source code is governed by a | 382 // for details. All rights reserved. Use of this source code is governed by a |
| 383 // BSD-style license that can be found in the LICENSE file. | 383 // BSD-style license that can be found in the LICENSE file. |
| 384 | 384 |
| 385 // WARNING: Do not edit - generated code. | 385 // WARNING: Do not edit - generated code. |
| 386 | 386 |
| 387 | 387 |
| 388 @DocsEditable() | 388 @DocsEditable() |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 516 * bits. | 516 * bits. |
| 517 */ | 517 */ |
| 518 @DomName('WebGLContextAttributes') | 518 @DomName('WebGLContextAttributes') |
| 519 @Unstable() | 519 @Unstable() |
| 520 class ContextAttributes extends NativeFieldWrapperClass2 { | 520 class ContextAttributes extends NativeFieldWrapperClass2 { |
| 521 // To suppress missing implicit constructor warnings. | 521 // To suppress missing implicit constructor warnings. |
| 522 factory ContextAttributes._() { throw new UnsupportedError("Not supported"); } | 522 factory ContextAttributes._() { throw new UnsupportedError("Not supported"); } |
| 523 | 523 |
| 524 @DomName('WebGLContextAttributes.alpha') | 524 @DomName('WebGLContextAttributes.alpha') |
| 525 @DocsEditable() | 525 @DocsEditable() |
| 526 bool get alpha => blink.Native_WebGLContextAttributes_alpha_Getter(this); | 526 bool get alpha => _blink.Native_WebGLContextAttributes_alpha_Getter(this); |
| 527 | 527 |
| 528 @DomName('WebGLContextAttributes.alpha') | 528 @DomName('WebGLContextAttributes.alpha') |
| 529 @DocsEditable() | 529 @DocsEditable() |
| 530 void set alpha(bool value) => blink.Native_WebGLContextAttributes_alpha_Setter
(this, value); | 530 void set alpha(bool value) => _blink.Native_WebGLContextAttributes_alpha_Sette
r(this, value); |
| 531 | 531 |
| 532 @DomName('WebGLContextAttributes.antialias') | 532 @DomName('WebGLContextAttributes.antialias') |
| 533 @DocsEditable() | 533 @DocsEditable() |
| 534 bool get antialias => blink.Native_WebGLContextAttributes_antialias_Getter(thi
s); | 534 bool get antialias => _blink.Native_WebGLContextAttributes_antialias_Getter(th
is); |
| 535 | 535 |
| 536 @DomName('WebGLContextAttributes.antialias') | 536 @DomName('WebGLContextAttributes.antialias') |
| 537 @DocsEditable() | 537 @DocsEditable() |
| 538 void set antialias(bool value) => blink.Native_WebGLContextAttributes_antialia
s_Setter(this, value); | 538 void set antialias(bool value) => _blink.Native_WebGLContextAttributes_antiali
as_Setter(this, value); |
| 539 | 539 |
| 540 @DomName('WebGLContextAttributes.depth') | 540 @DomName('WebGLContextAttributes.depth') |
| 541 @DocsEditable() | 541 @DocsEditable() |
| 542 bool get depth => blink.Native_WebGLContextAttributes_depth_Getter(this); | 542 bool get depth => _blink.Native_WebGLContextAttributes_depth_Getter(this); |
| 543 | 543 |
| 544 @DomName('WebGLContextAttributes.depth') | 544 @DomName('WebGLContextAttributes.depth') |
| 545 @DocsEditable() | 545 @DocsEditable() |
| 546 void set depth(bool value) => blink.Native_WebGLContextAttributes_depth_Setter
(this, value); | 546 void set depth(bool value) => _blink.Native_WebGLContextAttributes_depth_Sette
r(this, value); |
| 547 | 547 |
| 548 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat') | 548 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat') |
| 549 @DocsEditable() | 549 @DocsEditable() |
| 550 @Experimental() // untriaged | 550 @Experimental() // untriaged |
| 551 bool get failIfMajorPerformanceCaveat => blink.Native_WebGLContextAttributes_f
ailIfMajorPerformanceCaveat_Getter(this); | 551 bool get failIfMajorPerformanceCaveat => _blink.Native_WebGLContextAttributes_
failIfMajorPerformanceCaveat_Getter(this); |
| 552 | 552 |
| 553 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat') | 553 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat') |
| 554 @DocsEditable() | 554 @DocsEditable() |
| 555 @Experimental() // untriaged | 555 @Experimental() // untriaged |
| 556 void set failIfMajorPerformanceCaveat(bool value) => blink.Native_WebGLContext
Attributes_failIfMajorPerformanceCaveat_Setter(this, value); | 556 void set failIfMajorPerformanceCaveat(bool value) => _blink.Native_WebGLContex
tAttributes_failIfMajorPerformanceCaveat_Setter(this, value); |
| 557 | 557 |
| 558 @DomName('WebGLContextAttributes.premultipliedAlpha') | 558 @DomName('WebGLContextAttributes.premultipliedAlpha') |
| 559 @DocsEditable() | 559 @DocsEditable() |
| 560 bool get premultipliedAlpha => blink.Native_WebGLContextAttributes_premultipli
edAlpha_Getter(this); | 560 bool get premultipliedAlpha => _blink.Native_WebGLContextAttributes_premultipl
iedAlpha_Getter(this); |
| 561 | 561 |
| 562 @DomName('WebGLContextAttributes.premultipliedAlpha') | 562 @DomName('WebGLContextAttributes.premultipliedAlpha') |
| 563 @DocsEditable() | 563 @DocsEditable() |
| 564 void set premultipliedAlpha(bool value) => blink.Native_WebGLContextAttributes
_premultipliedAlpha_Setter(this, value); | 564 void set premultipliedAlpha(bool value) => _blink.Native_WebGLContextAttribute
s_premultipliedAlpha_Setter(this, value); |
| 565 | 565 |
| 566 @DomName('WebGLContextAttributes.preserveDrawingBuffer') | 566 @DomName('WebGLContextAttributes.preserveDrawingBuffer') |
| 567 @DocsEditable() | 567 @DocsEditable() |
| 568 bool get preserveDrawingBuffer => blink.Native_WebGLContextAttributes_preserve
DrawingBuffer_Getter(this); | 568 bool get preserveDrawingBuffer => _blink.Native_WebGLContextAttributes_preserv
eDrawingBuffer_Getter(this); |
| 569 | 569 |
| 570 @DomName('WebGLContextAttributes.preserveDrawingBuffer') | 570 @DomName('WebGLContextAttributes.preserveDrawingBuffer') |
| 571 @DocsEditable() | 571 @DocsEditable() |
| 572 void set preserveDrawingBuffer(bool value) => blink.Native_WebGLContextAttribu
tes_preserveDrawingBuffer_Setter(this, value); | 572 void set preserveDrawingBuffer(bool value) => _blink.Native_WebGLContextAttrib
utes_preserveDrawingBuffer_Setter(this, value); |
| 573 | 573 |
| 574 @DomName('WebGLContextAttributes.stencil') | 574 @DomName('WebGLContextAttributes.stencil') |
| 575 @DocsEditable() | 575 @DocsEditable() |
| 576 bool get stencil => blink.Native_WebGLContextAttributes_stencil_Getter(this); | 576 bool get stencil => _blink.Native_WebGLContextAttributes_stencil_Getter(this); |
| 577 | 577 |
| 578 @DomName('WebGLContextAttributes.stencil') | 578 @DomName('WebGLContextAttributes.stencil') |
| 579 @DocsEditable() | 579 @DocsEditable() |
| 580 void set stencil(bool value) => blink.Native_WebGLContextAttributes_stencil_Se
tter(this, value); | 580 void set stencil(bool value) => _blink.Native_WebGLContextAttributes_stencil_S
etter(this, value); |
| 581 | 581 |
| 582 } | 582 } |
| 583 // 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 |
| 584 // 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 |
| 585 // BSD-style license that can be found in the LICENSE file. | 585 // BSD-style license that can be found in the LICENSE file. |
| 586 | 586 |
| 587 // WARNING: Do not edit - generated code. | 587 // WARNING: Do not edit - generated code. |
| 588 | 588 |
| 589 | 589 |
| 590 @DocsEditable() | 590 @DocsEditable() |
| 591 @DomName('WebGLContextEvent') | 591 @DomName('WebGLContextEvent') |
| 592 @Unstable() | 592 @Unstable() |
| 593 class ContextEvent extends Event { | 593 class ContextEvent extends Event { |
| 594 // To suppress missing implicit constructor warnings. | 594 // To suppress missing implicit constructor warnings. |
| 595 factory ContextEvent._() { throw new UnsupportedError("Not supported"); } | 595 factory ContextEvent._() { throw new UnsupportedError("Not supported"); } |
| 596 | 596 |
| 597 @DomName('WebGLContextEvent.statusMessage') | 597 @DomName('WebGLContextEvent.statusMessage') |
| 598 @DocsEditable() | 598 @DocsEditable() |
| 599 String get statusMessage => blink.Native_WebGLContextEvent_statusMessage_Gette
r(this); | 599 String get statusMessage => _blink.Native_WebGLContextEvent_statusMessage_Gett
er(this); |
| 600 | 600 |
| 601 } | 601 } |
| 602 // 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 |
| 603 // 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 |
| 604 // BSD-style license that can be found in the LICENSE file. | 604 // BSD-style license that can be found in the LICENSE file. |
| 605 | 605 |
| 606 // WARNING: Do not edit - generated code. | 606 // WARNING: Do not edit - generated code. |
| 607 | 607 |
| 608 | 608 |
| 609 @DocsEditable() | 609 @DocsEditable() |
| (...skipping 23 matching lines...) Expand all Loading... |
| 633 @DocsEditable() | 633 @DocsEditable() |
| 634 @DomName('WebGLDebugShaders') | 634 @DomName('WebGLDebugShaders') |
| 635 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/ | 635 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/ |
| 636 @Experimental() // experimental | 636 @Experimental() // experimental |
| 637 class DebugShaders extends NativeFieldWrapperClass2 { | 637 class DebugShaders extends NativeFieldWrapperClass2 { |
| 638 // To suppress missing implicit constructor warnings. | 638 // To suppress missing implicit constructor warnings. |
| 639 factory DebugShaders._() { throw new UnsupportedError("Not supported"); } | 639 factory DebugShaders._() { throw new UnsupportedError("Not supported"); } |
| 640 | 640 |
| 641 @DomName('WebGLDebugShaders.getTranslatedShaderSource') | 641 @DomName('WebGLDebugShaders.getTranslatedShaderSource') |
| 642 @DocsEditable() | 642 @DocsEditable() |
| 643 String getTranslatedShaderSource(Shader shader) => blink.Native_WebGLDebugShad
ers_getTranslatedShaderSource_Callback(this, shader); | 643 String getTranslatedShaderSource(Shader shader) => _blink.Native_WebGLDebugSha
ders_getTranslatedShaderSource_Callback(this, shader); |
| 644 | 644 |
| 645 } | 645 } |
| 646 // 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 |
| 647 // 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 |
| 648 // BSD-style license that can be found in the LICENSE file. | 648 // BSD-style license that can be found in the LICENSE file. |
| 649 | 649 |
| 650 // WARNING: Do not edit - generated code. | 650 // WARNING: Do not edit - generated code. |
| 651 | 651 |
| 652 | 652 |
| 653 @DocsEditable() | 653 @DocsEditable() |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 809 @DomName('WebGLDrawBuffers.MAX_COLOR_ATTACHMENTS_WEBGL') | 809 @DomName('WebGLDrawBuffers.MAX_COLOR_ATTACHMENTS_WEBGL') |
| 810 @DocsEditable() | 810 @DocsEditable() |
| 811 static const int MAX_COLOR_ATTACHMENTS_WEBGL = 0x8CDF; | 811 static const int MAX_COLOR_ATTACHMENTS_WEBGL = 0x8CDF; |
| 812 | 812 |
| 813 @DomName('WebGLDrawBuffers.MAX_DRAW_BUFFERS_WEBGL') | 813 @DomName('WebGLDrawBuffers.MAX_DRAW_BUFFERS_WEBGL') |
| 814 @DocsEditable() | 814 @DocsEditable() |
| 815 static const int MAX_DRAW_BUFFERS_WEBGL = 0x8824; | 815 static const int MAX_DRAW_BUFFERS_WEBGL = 0x8824; |
| 816 | 816 |
| 817 @DomName('WebGLDrawBuffers.drawBuffersWEBGL') | 817 @DomName('WebGLDrawBuffers.drawBuffersWEBGL') |
| 818 @DocsEditable() | 818 @DocsEditable() |
| 819 void drawBuffersWebgl(List<int> buffers) => blink.Native_WebGLDrawBuffers_draw
BuffersWEBGL_Callback(this, buffers); | 819 void drawBuffersWebgl(List<int> buffers) => _blink.Native_WebGLDrawBuffers_dra
wBuffersWEBGL_Callback(this, buffers); |
| 820 | 820 |
| 821 } | 821 } |
| 822 // 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 |
| 823 // 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 |
| 824 // BSD-style license that can be found in the LICENSE file. | 824 // BSD-style license that can be found in the LICENSE file. |
| 825 | 825 |
| 826 // WARNING: Do not edit - generated code. | 826 // WARNING: Do not edit - generated code. |
| 827 | 827 |
| 828 | 828 |
| 829 @DocsEditable() | 829 @DocsEditable() |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 884 @DocsEditable() | 884 @DocsEditable() |
| 885 @DomName('WebGLLoseContext') | 885 @DomName('WebGLLoseContext') |
| 886 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/ | 886 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/ |
| 887 @Experimental() | 887 @Experimental() |
| 888 class LoseContext extends NativeFieldWrapperClass2 { | 888 class LoseContext extends NativeFieldWrapperClass2 { |
| 889 // To suppress missing implicit constructor warnings. | 889 // To suppress missing implicit constructor warnings. |
| 890 factory LoseContext._() { throw new UnsupportedError("Not supported"); } | 890 factory LoseContext._() { throw new UnsupportedError("Not supported"); } |
| 891 | 891 |
| 892 @DomName('WebGLLoseContext.loseContext') | 892 @DomName('WebGLLoseContext.loseContext') |
| 893 @DocsEditable() | 893 @DocsEditable() |
| 894 void loseContext() => blink.Native_WebGLLoseContext_loseContext_Callback(this)
; | 894 void loseContext() => _blink.Native_WebGLLoseContext_loseContext_Callback(this
); |
| 895 | 895 |
| 896 @DomName('WebGLLoseContext.restoreContext') | 896 @DomName('WebGLLoseContext.restoreContext') |
| 897 @DocsEditable() | 897 @DocsEditable() |
| 898 void restoreContext() => blink.Native_WebGLLoseContext_restoreContext_Callback
(this); | 898 void restoreContext() => _blink.Native_WebGLLoseContext_restoreContext_Callbac
k(this); |
| 899 | 899 |
| 900 } | 900 } |
| 901 // 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 |
| 902 // 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 |
| 903 // BSD-style license that can be found in the LICENSE file. | 903 // BSD-style license that can be found in the LICENSE file. |
| 904 | 904 |
| 905 // WARNING: Do not edit - generated code. | 905 // WARNING: Do not edit - generated code. |
| 906 | 906 |
| 907 | 907 |
| 908 @DocsEditable() | 908 @DocsEditable() |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1016 class OesVertexArrayObject extends NativeFieldWrapperClass2 { | 1016 class OesVertexArrayObject extends NativeFieldWrapperClass2 { |
| 1017 // To suppress missing implicit constructor warnings. | 1017 // To suppress missing implicit constructor warnings. |
| 1018 factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported")
; } | 1018 factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported")
; } |
| 1019 | 1019 |
| 1020 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') | 1020 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') |
| 1021 @DocsEditable() | 1021 @DocsEditable() |
| 1022 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; | 1022 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; |
| 1023 | 1023 |
| 1024 @DomName('OESVertexArrayObject.bindVertexArrayOES') | 1024 @DomName('OESVertexArrayObject.bindVertexArrayOES') |
| 1025 @DocsEditable() | 1025 @DocsEditable() |
| 1026 void bindVertexArray(VertexArrayObject arrayObject) => blink.Native_OESVertexA
rrayObject_bindVertexArrayOES_Callback(this, arrayObject); | 1026 void bindVertexArray(VertexArrayObject arrayObject) => _blink.Native_OESVertex
ArrayObject_bindVertexArrayOES_Callback(this, arrayObject); |
| 1027 | 1027 |
| 1028 @DomName('OESVertexArrayObject.createVertexArrayOES') | 1028 @DomName('OESVertexArrayObject.createVertexArrayOES') |
| 1029 @DocsEditable() | 1029 @DocsEditable() |
| 1030 VertexArrayObject createVertexArray() => blink.Native_OESVertexArrayObject_cre
ateVertexArrayOES_Callback(this); | 1030 VertexArrayObject createVertexArray() => _blink.Native_OESVertexArrayObject_cr
eateVertexArrayOES_Callback(this); |
| 1031 | 1031 |
| 1032 @DomName('OESVertexArrayObject.deleteVertexArrayOES') | 1032 @DomName('OESVertexArrayObject.deleteVertexArrayOES') |
| 1033 @DocsEditable() | 1033 @DocsEditable() |
| 1034 void deleteVertexArray(VertexArrayObject arrayObject) => blink.Native_OESVerte
xArrayObject_deleteVertexArrayOES_Callback(this, arrayObject); | 1034 void deleteVertexArray(VertexArrayObject arrayObject) => _blink.Native_OESVert
exArrayObject_deleteVertexArrayOES_Callback(this, arrayObject); |
| 1035 | 1035 |
| 1036 @DomName('OESVertexArrayObject.isVertexArrayOES') | 1036 @DomName('OESVertexArrayObject.isVertexArrayOES') |
| 1037 @DocsEditable() | 1037 @DocsEditable() |
| 1038 bool isVertexArray(VertexArrayObject arrayObject) => blink.Native_OESVertexArr
ayObject_isVertexArrayOES_Callback(this, arrayObject); | 1038 bool isVertexArray(VertexArrayObject arrayObject) => _blink.Native_OESVertexAr
rayObject_isVertexArrayOES_Callback(this, arrayObject); |
| 1039 | 1039 |
| 1040 } | 1040 } |
| 1041 // 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 |
| 1042 // 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 |
| 1043 // BSD-style license that can be found in the LICENSE file. | 1043 // BSD-style license that can be found in the LICENSE file. |
| 1044 | 1044 |
| 1045 // WARNING: Do not edit - generated code. | 1045 // WARNING: Do not edit - generated code. |
| 1046 | 1046 |
| 1047 | 1047 |
| 1048 @DocsEditable() | 1048 @DocsEditable() |
| (...skipping 1211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2260 @DomName('WebGLRenderingContext.VIEWPORT') | 2260 @DomName('WebGLRenderingContext.VIEWPORT') |
| 2261 @DocsEditable() | 2261 @DocsEditable() |
| 2262 static const int VIEWPORT = 0x0BA2; | 2262 static const int VIEWPORT = 0x0BA2; |
| 2263 | 2263 |
| 2264 @DomName('WebGLRenderingContext.ZERO') | 2264 @DomName('WebGLRenderingContext.ZERO') |
| 2265 @DocsEditable() | 2265 @DocsEditable() |
| 2266 static const int ZERO = 0; | 2266 static const int ZERO = 0; |
| 2267 | 2267 |
| 2268 @DomName('WebGLRenderingContext.drawingBufferHeight') | 2268 @DomName('WebGLRenderingContext.drawingBufferHeight') |
| 2269 @DocsEditable() | 2269 @DocsEditable() |
| 2270 int get drawingBufferHeight => blink.Native_WebGLRenderingContext_drawingBuffe
rHeight_Getter(this); | 2270 int get drawingBufferHeight => _blink.Native_WebGLRenderingContext_drawingBuff
erHeight_Getter(this); |
| 2271 | 2271 |
| 2272 @DomName('WebGLRenderingContext.drawingBufferWidth') | 2272 @DomName('WebGLRenderingContext.drawingBufferWidth') |
| 2273 @DocsEditable() | 2273 @DocsEditable() |
| 2274 int get drawingBufferWidth => blink.Native_WebGLRenderingContext_drawingBuffer
Width_Getter(this); | 2274 int get drawingBufferWidth => _blink.Native_WebGLRenderingContext_drawingBuffe
rWidth_Getter(this); |
| 2275 | 2275 |
| 2276 @DomName('WebGLRenderingContext.activeTexture') | 2276 @DomName('WebGLRenderingContext.activeTexture') |
| 2277 @DocsEditable() | 2277 @DocsEditable() |
| 2278 void activeTexture(int texture) => blink.Native_WebGLRenderingContext_activeTe
xture_Callback(this, texture); | 2278 void activeTexture(int texture) => _blink.Native_WebGLRenderingContext_activeT
exture_Callback(this, texture); |
| 2279 | 2279 |
| 2280 @DomName('WebGLRenderingContext.attachShader') | 2280 @DomName('WebGLRenderingContext.attachShader') |
| 2281 @DocsEditable() | 2281 @DocsEditable() |
| 2282 void attachShader(Program program, Shader shader) => blink.Native_WebGLRenderi
ngContext_attachShader_Callback(this, program, shader); | 2282 void attachShader(Program program, Shader shader) => _blink.Native_WebGLRender
ingContext_attachShader_Callback(this, program, shader); |
| 2283 | 2283 |
| 2284 @DomName('WebGLRenderingContext.bindAttribLocation') | 2284 @DomName('WebGLRenderingContext.bindAttribLocation') |
| 2285 @DocsEditable() | 2285 @DocsEditable() |
| 2286 void bindAttribLocation(Program program, int index, String name) => blink.Nati
ve_WebGLRenderingContext_bindAttribLocation_Callback(this, program, index, name)
; | 2286 void bindAttribLocation(Program program, int index, String name) => _blink.Nat
ive_WebGLRenderingContext_bindAttribLocation_Callback(this, program, index, name
); |
| 2287 | 2287 |
| 2288 @DomName('WebGLRenderingContext.bindBuffer') | 2288 @DomName('WebGLRenderingContext.bindBuffer') |
| 2289 @DocsEditable() | 2289 @DocsEditable() |
| 2290 void bindBuffer(int target, Buffer buffer) => blink.Native_WebGLRenderingConte
xt_bindBuffer_Callback(this, target, buffer); | 2290 void bindBuffer(int target, Buffer buffer) => _blink.Native_WebGLRenderingCont
ext_bindBuffer_Callback(this, target, buffer); |
| 2291 | 2291 |
| 2292 @DomName('WebGLRenderingContext.bindFramebuffer') | 2292 @DomName('WebGLRenderingContext.bindFramebuffer') |
| 2293 @DocsEditable() | 2293 @DocsEditable() |
| 2294 void bindFramebuffer(int target, Framebuffer framebuffer) => blink.Native_WebG
LRenderingContext_bindFramebuffer_Callback(this, target, framebuffer); | 2294 void bindFramebuffer(int target, Framebuffer framebuffer) => _blink.Native_Web
GLRenderingContext_bindFramebuffer_Callback(this, target, framebuffer); |
| 2295 | 2295 |
| 2296 @DomName('WebGLRenderingContext.bindRenderbuffer') | 2296 @DomName('WebGLRenderingContext.bindRenderbuffer') |
| 2297 @DocsEditable() | 2297 @DocsEditable() |
| 2298 void bindRenderbuffer(int target, Renderbuffer renderbuffer) => blink.Native_W
ebGLRenderingContext_bindRenderbuffer_Callback(this, target, renderbuffer); | 2298 void bindRenderbuffer(int target, Renderbuffer renderbuffer) => _blink.Native_
WebGLRenderingContext_bindRenderbuffer_Callback(this, target, renderbuffer); |
| 2299 | 2299 |
| 2300 @DomName('WebGLRenderingContext.bindTexture') | 2300 @DomName('WebGLRenderingContext.bindTexture') |
| 2301 @DocsEditable() | 2301 @DocsEditable() |
| 2302 void bindTexture(int target, Texture texture) => blink.Native_WebGLRenderingCo
ntext_bindTexture_Callback(this, target, texture); | 2302 void bindTexture(int target, Texture texture) => _blink.Native_WebGLRenderingC
ontext_bindTexture_Callback(this, target, texture); |
| 2303 | 2303 |
| 2304 @DomName('WebGLRenderingContext.blendColor') | 2304 @DomName('WebGLRenderingContext.blendColor') |
| 2305 @DocsEditable() | 2305 @DocsEditable() |
| 2306 void blendColor(num red, num green, num blue, num alpha) => blink.Native_WebGL
RenderingContext_blendColor_Callback(this, red, green, blue, alpha); | 2306 void blendColor(num red, num green, num blue, num alpha) => _blink.Native_WebG
LRenderingContext_blendColor_Callback(this, red, green, blue, alpha); |
| 2307 | 2307 |
| 2308 @DomName('WebGLRenderingContext.blendEquation') | 2308 @DomName('WebGLRenderingContext.blendEquation') |
| 2309 @DocsEditable() | 2309 @DocsEditable() |
| 2310 void blendEquation(int mode) => blink.Native_WebGLRenderingContext_blendEquati
on_Callback(this, mode); | 2310 void blendEquation(int mode) => _blink.Native_WebGLRenderingContext_blendEquat
ion_Callback(this, mode); |
| 2311 | 2311 |
| 2312 @DomName('WebGLRenderingContext.blendEquationSeparate') | 2312 @DomName('WebGLRenderingContext.blendEquationSeparate') |
| 2313 @DocsEditable() | 2313 @DocsEditable() |
| 2314 void blendEquationSeparate(int modeRGB, int modeAlpha) => blink.Native_WebGLRe
nderingContext_blendEquationSeparate_Callback(this, modeRGB, modeAlpha); | 2314 void blendEquationSeparate(int modeRGB, int modeAlpha) => _blink.Native_WebGLR
enderingContext_blendEquationSeparate_Callback(this, modeRGB, modeAlpha); |
| 2315 | 2315 |
| 2316 @DomName('WebGLRenderingContext.blendFunc') | 2316 @DomName('WebGLRenderingContext.blendFunc') |
| 2317 @DocsEditable() | 2317 @DocsEditable() |
| 2318 void blendFunc(int sfactor, int dfactor) => blink.Native_WebGLRenderingContext
_blendFunc_Callback(this, sfactor, dfactor); | 2318 void blendFunc(int sfactor, int dfactor) => _blink.Native_WebGLRenderingContex
t_blendFunc_Callback(this, sfactor, dfactor); |
| 2319 | 2319 |
| 2320 @DomName('WebGLRenderingContext.blendFuncSeparate') | 2320 @DomName('WebGLRenderingContext.blendFuncSeparate') |
| 2321 @DocsEditable() | 2321 @DocsEditable() |
| 2322 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) =>
blink.Native_WebGLRenderingContext_blendFuncSeparate_Callback(this, srcRGB, dstR
GB, srcAlpha, dstAlpha); | 2322 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) =>
_blink.Native_WebGLRenderingContext_blendFuncSeparate_Callback(this, srcRGB, dst
RGB, srcAlpha, dstAlpha); |
| 2323 | 2323 |
| 2324 @DomName('WebGLRenderingContext.bufferByteData') | 2324 @DomName('WebGLRenderingContext.bufferByteData') |
| 2325 @DocsEditable() | 2325 @DocsEditable() |
| 2326 void bufferByteData(int target, ByteBuffer data, int usage) => blink.Native_We
bGLRenderingContext_bufferByteData_Callback(this, target, data, usage); | 2326 void bufferByteData(int target, ByteBuffer data, int usage) => _blink.Native_W
ebGLRenderingContext_bufferByteData_Callback(this, target, data, usage); |
| 2327 | 2327 |
| 2328 void bufferData(int target, data_OR_size, int usage) { | 2328 void bufferData(int target, data_OR_size, int usage) { |
| 2329 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)) { |
| 2330 _bufferData_1(target, data_OR_size, usage); | 2330 _bufferData_1(target, data_OR_size, usage); |
| 2331 return; | 2331 return; |
| 2332 } | 2332 } |
| 2333 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)) { |
| 2334 _bufferData_2(target, data_OR_size, usage); | 2334 _bufferData_2(target, data_OR_size, usage); |
| 2335 return; | 2335 return; |
| 2336 } | 2336 } |
| 2337 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)) { |
| 2338 _bufferData_3(target, data_OR_size, usage); | 2338 _bufferData_3(target, data_OR_size, usage); |
| 2339 return; | 2339 return; |
| 2340 } | 2340 } |
| 2341 throw new ArgumentError("Incorrect number or type of arguments"); | 2341 throw new ArgumentError("Incorrect number or type of arguments"); |
| 2342 } | 2342 } |
| 2343 | 2343 |
| 2344 void _bufferData_1(target, data_OR_size, usage) => blink.Native_WebGLRendering
Context__bufferData_1_Callback(this, target, data_OR_size, usage); | 2344 void _bufferData_1(target, data_OR_size, usage) => _blink.Native_WebGLRenderin
gContext__bufferData_1_Callback(this, target, data_OR_size, usage); |
| 2345 | 2345 |
| 2346 void _bufferData_2(target, data_OR_size, usage) => blink.Native_WebGLRendering
Context__bufferData_2_Callback(this, target, data_OR_size, usage); | 2346 void _bufferData_2(target, data_OR_size, usage) => _blink.Native_WebGLRenderin
gContext__bufferData_2_Callback(this, target, data_OR_size, usage); |
| 2347 | 2347 |
| 2348 void _bufferData_3(target, data_OR_size, usage) => blink.Native_WebGLRendering
Context__bufferData_3_Callback(this, target, data_OR_size, usage); | 2348 void _bufferData_3(target, data_OR_size, usage) => _blink.Native_WebGLRenderin
gContext__bufferData_3_Callback(this, target, data_OR_size, usage); |
| 2349 | 2349 |
| 2350 @DomName('WebGLRenderingContext.bufferDataTyped') | 2350 @DomName('WebGLRenderingContext.bufferDataTyped') |
| 2351 @DocsEditable() | 2351 @DocsEditable() |
| 2352 void bufferDataTyped(int target, TypedData data, int usage) => blink.Native_We
bGLRenderingContext_bufferDataTyped_Callback(this, target, data, usage); | 2352 void bufferDataTyped(int target, TypedData data, int usage) => _blink.Native_W
ebGLRenderingContext_bufferDataTyped_Callback(this, target, data, usage); |
| 2353 | 2353 |
| 2354 @DomName('WebGLRenderingContext.bufferSubByteData') | 2354 @DomName('WebGLRenderingContext.bufferSubByteData') |
| 2355 @DocsEditable() | 2355 @DocsEditable() |
| 2356 void bufferSubByteData(int target, int offset, ByteBuffer data) => blink.Nativ
e_WebGLRenderingContext_bufferSubByteData_Callback(this, target, offset, data); | 2356 void bufferSubByteData(int target, int offset, ByteBuffer data) => _blink.Nati
ve_WebGLRenderingContext_bufferSubByteData_Callback(this, target, offset, data); |
| 2357 | 2357 |
| 2358 void bufferSubData(int target, int offset, data) { | 2358 void bufferSubData(int target, int offset, data) { |
| 2359 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)) { |
| 2360 _bufferSubData_1(target, offset, data); | 2360 _bufferSubData_1(target, offset, data); |
| 2361 return; | 2361 return; |
| 2362 } | 2362 } |
| 2363 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)) { |
| 2364 _bufferSubData_2(target, offset, data); | 2364 _bufferSubData_2(target, offset, data); |
| 2365 return; | 2365 return; |
| 2366 } | 2366 } |
| 2367 throw new ArgumentError("Incorrect number or type of arguments"); | 2367 throw new ArgumentError("Incorrect number or type of arguments"); |
| 2368 } | 2368 } |
| 2369 | 2369 |
| 2370 void _bufferSubData_1(target, offset, data) => blink.Native_WebGLRenderingCont
ext__bufferSubData_1_Callback(this, target, offset, data); | 2370 void _bufferSubData_1(target, offset, data) => _blink.Native_WebGLRenderingCon
text__bufferSubData_1_Callback(this, target, offset, data); |
| 2371 | 2371 |
| 2372 void _bufferSubData_2(target, offset, data) => blink.Native_WebGLRenderingCont
ext__bufferSubData_2_Callback(this, target, offset, data); | 2372 void _bufferSubData_2(target, offset, data) => _blink.Native_WebGLRenderingCon
text__bufferSubData_2_Callback(this, target, offset, data); |
| 2373 | 2373 |
| 2374 @DomName('WebGLRenderingContext.bufferSubDataTyped') | 2374 @DomName('WebGLRenderingContext.bufferSubDataTyped') |
| 2375 @DocsEditable() | 2375 @DocsEditable() |
| 2376 void bufferSubDataTyped(int target, int offset, TypedData data) => blink.Nativ
e_WebGLRenderingContext_bufferSubDataTyped_Callback(this, target, offset, data); | 2376 void bufferSubDataTyped(int target, int offset, TypedData data) => _blink.Nati
ve_WebGLRenderingContext_bufferSubDataTyped_Callback(this, target, offset, data)
; |
| 2377 | 2377 |
| 2378 @DomName('WebGLRenderingContext.checkFramebufferStatus') | 2378 @DomName('WebGLRenderingContext.checkFramebufferStatus') |
| 2379 @DocsEditable() | 2379 @DocsEditable() |
| 2380 int checkFramebufferStatus(int target) => blink.Native_WebGLRenderingContext_c
heckFramebufferStatus_Callback(this, target); | 2380 int checkFramebufferStatus(int target) => _blink.Native_WebGLRenderingContext_
checkFramebufferStatus_Callback(this, target); |
| 2381 | 2381 |
| 2382 @DomName('WebGLRenderingContext.clear') | 2382 @DomName('WebGLRenderingContext.clear') |
| 2383 @DocsEditable() | 2383 @DocsEditable() |
| 2384 void clear(int mask) => blink.Native_WebGLRenderingContext_clear_Callback(this
, mask); | 2384 void clear(int mask) => _blink.Native_WebGLRenderingContext_clear_Callback(thi
s, mask); |
| 2385 | 2385 |
| 2386 @DomName('WebGLRenderingContext.clearColor') | 2386 @DomName('WebGLRenderingContext.clearColor') |
| 2387 @DocsEditable() | 2387 @DocsEditable() |
| 2388 void clearColor(num red, num green, num blue, num alpha) => blink.Native_WebGL
RenderingContext_clearColor_Callback(this, red, green, blue, alpha); | 2388 void clearColor(num red, num green, num blue, num alpha) => _blink.Native_WebG
LRenderingContext_clearColor_Callback(this, red, green, blue, alpha); |
| 2389 | 2389 |
| 2390 @DomName('WebGLRenderingContext.clearDepth') | 2390 @DomName('WebGLRenderingContext.clearDepth') |
| 2391 @DocsEditable() | 2391 @DocsEditable() |
| 2392 void clearDepth(num depth) => blink.Native_WebGLRenderingContext_clearDepth_Ca
llback(this, depth); | 2392 void clearDepth(num depth) => _blink.Native_WebGLRenderingContext_clearDepth_C
allback(this, depth); |
| 2393 | 2393 |
| 2394 @DomName('WebGLRenderingContext.clearStencil') | 2394 @DomName('WebGLRenderingContext.clearStencil') |
| 2395 @DocsEditable() | 2395 @DocsEditable() |
| 2396 void clearStencil(int s) => blink.Native_WebGLRenderingContext_clearStencil_Ca
llback(this, s); | 2396 void clearStencil(int s) => _blink.Native_WebGLRenderingContext_clearStencil_C
allback(this, s); |
| 2397 | 2397 |
| 2398 @DomName('WebGLRenderingContext.colorMask') | 2398 @DomName('WebGLRenderingContext.colorMask') |
| 2399 @DocsEditable() | 2399 @DocsEditable() |
| 2400 void colorMask(bool red, bool green, bool blue, bool alpha) => blink.Native_We
bGLRenderingContext_colorMask_Callback(this, red, green, blue, alpha); | 2400 void colorMask(bool red, bool green, bool blue, bool alpha) => _blink.Native_W
ebGLRenderingContext_colorMask_Callback(this, red, green, blue, alpha); |
| 2401 | 2401 |
| 2402 @DomName('WebGLRenderingContext.compileShader') | 2402 @DomName('WebGLRenderingContext.compileShader') |
| 2403 @DocsEditable() | 2403 @DocsEditable() |
| 2404 void compileShader(Shader shader) => blink.Native_WebGLRenderingContext_compil
eShader_Callback(this, shader); | 2404 void compileShader(Shader shader) => _blink.Native_WebGLRenderingContext_compi
leShader_Callback(this, shader); |
| 2405 | 2405 |
| 2406 @DomName('WebGLRenderingContext.compressedTexImage2D') | 2406 @DomName('WebGLRenderingContext.compressedTexImage2D') |
| 2407 @DocsEditable() | 2407 @DocsEditable() |
| 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 void compressedTexImage2D(int target, int level, int internalformat, int width
, int height, int border, TypedData data) => _blink.Native_WebGLRenderingContext
_compressedTexImage2D_Callback(this, target, level, internalformat, width, heigh
t, border, data); |
| 2409 | 2409 |
| 2410 @DomName('WebGLRenderingContext.compressedTexSubImage2D') | 2410 @DomName('WebGLRenderingContext.compressedTexSubImage2D') |
| 2411 @DocsEditable() | 2411 @DocsEditable() |
| 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 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset,
int width, int height, int format, TypedData data) => _blink.Native_WebGLRenderi
ngContext_compressedTexSubImage2D_Callback(this, target, level, xoffset, yoffset
, width, height, format, data); |
| 2413 | 2413 |
| 2414 @DomName('WebGLRenderingContext.copyTexImage2D') | 2414 @DomName('WebGLRenderingContext.copyTexImage2D') |
| 2415 @DocsEditable() | 2415 @DocsEditable() |
| 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 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border) => _blink.Native_WebGLRenderingContext_copyTex
Image2D_Callback(this, target, level, internalformat, x, y, width, height, borde
r); |
| 2417 | 2417 |
| 2418 @DomName('WebGLRenderingContext.copyTexSubImage2D') | 2418 @DomName('WebGLRenderingContext.copyTexSubImage2D') |
| 2419 @DocsEditable() | 2419 @DocsEditable() |
| 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 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height) => _blink.Native_WebGLRenderingContext_copyTexSub
Image2D_Callback(this, target, level, xoffset, yoffset, x, y, width, height); |
| 2421 | 2421 |
| 2422 @DomName('WebGLRenderingContext.createBuffer') | 2422 @DomName('WebGLRenderingContext.createBuffer') |
| 2423 @DocsEditable() | 2423 @DocsEditable() |
| 2424 Buffer createBuffer() => blink.Native_WebGLRenderingContext_createBuffer_Callb
ack(this); | 2424 Buffer createBuffer() => _blink.Native_WebGLRenderingContext_createBuffer_Call
back(this); |
| 2425 | 2425 |
| 2426 @DomName('WebGLRenderingContext.createFramebuffer') | 2426 @DomName('WebGLRenderingContext.createFramebuffer') |
| 2427 @DocsEditable() | 2427 @DocsEditable() |
| 2428 Framebuffer createFramebuffer() => blink.Native_WebGLRenderingContext_createFr
amebuffer_Callback(this); | 2428 Framebuffer createFramebuffer() => _blink.Native_WebGLRenderingContext_createF
ramebuffer_Callback(this); |
| 2429 | 2429 |
| 2430 @DomName('WebGLRenderingContext.createProgram') | 2430 @DomName('WebGLRenderingContext.createProgram') |
| 2431 @DocsEditable() | 2431 @DocsEditable() |
| 2432 Program createProgram() => blink.Native_WebGLRenderingContext_createProgram_Ca
llback(this); | 2432 Program createProgram() => _blink.Native_WebGLRenderingContext_createProgram_C
allback(this); |
| 2433 | 2433 |
| 2434 @DomName('WebGLRenderingContext.createRenderbuffer') | 2434 @DomName('WebGLRenderingContext.createRenderbuffer') |
| 2435 @DocsEditable() | 2435 @DocsEditable() |
| 2436 Renderbuffer createRenderbuffer() => blink.Native_WebGLRenderingContext_create
Renderbuffer_Callback(this); | 2436 Renderbuffer createRenderbuffer() => _blink.Native_WebGLRenderingContext_creat
eRenderbuffer_Callback(this); |
| 2437 | 2437 |
| 2438 @DomName('WebGLRenderingContext.createShader') | 2438 @DomName('WebGLRenderingContext.createShader') |
| 2439 @DocsEditable() | 2439 @DocsEditable() |
| 2440 Shader createShader(int type) => blink.Native_WebGLRenderingContext_createShad
er_Callback(this, type); | 2440 Shader createShader(int type) => _blink.Native_WebGLRenderingContext_createSha
der_Callback(this, type); |
| 2441 | 2441 |
| 2442 @DomName('WebGLRenderingContext.createTexture') | 2442 @DomName('WebGLRenderingContext.createTexture') |
| 2443 @DocsEditable() | 2443 @DocsEditable() |
| 2444 Texture createTexture() => blink.Native_WebGLRenderingContext_createTexture_Ca
llback(this); | 2444 Texture createTexture() => _blink.Native_WebGLRenderingContext_createTexture_C
allback(this); |
| 2445 | 2445 |
| 2446 @DomName('WebGLRenderingContext.cullFace') | 2446 @DomName('WebGLRenderingContext.cullFace') |
| 2447 @DocsEditable() | 2447 @DocsEditable() |
| 2448 void cullFace(int mode) => blink.Native_WebGLRenderingContext_cullFace_Callbac
k(this, mode); | 2448 void cullFace(int mode) => _blink.Native_WebGLRenderingContext_cullFace_Callba
ck(this, mode); |
| 2449 | 2449 |
| 2450 @DomName('WebGLRenderingContext.deleteBuffer') | 2450 @DomName('WebGLRenderingContext.deleteBuffer') |
| 2451 @DocsEditable() | 2451 @DocsEditable() |
| 2452 void deleteBuffer(Buffer buffer) => blink.Native_WebGLRenderingContext_deleteB
uffer_Callback(this, buffer); | 2452 void deleteBuffer(Buffer buffer) => _blink.Native_WebGLRenderingContext_delete
Buffer_Callback(this, buffer); |
| 2453 | 2453 |
| 2454 @DomName('WebGLRenderingContext.deleteFramebuffer') | 2454 @DomName('WebGLRenderingContext.deleteFramebuffer') |
| 2455 @DocsEditable() | 2455 @DocsEditable() |
| 2456 void deleteFramebuffer(Framebuffer framebuffer) => blink.Native_WebGLRendering
Context_deleteFramebuffer_Callback(this, framebuffer); | 2456 void deleteFramebuffer(Framebuffer framebuffer) => _blink.Native_WebGLRenderin
gContext_deleteFramebuffer_Callback(this, framebuffer); |
| 2457 | 2457 |
| 2458 @DomName('WebGLRenderingContext.deleteProgram') | 2458 @DomName('WebGLRenderingContext.deleteProgram') |
| 2459 @DocsEditable() | 2459 @DocsEditable() |
| 2460 void deleteProgram(Program program) => blink.Native_WebGLRenderingContext_dele
teProgram_Callback(this, program); | 2460 void deleteProgram(Program program) => _blink.Native_WebGLRenderingContext_del
eteProgram_Callback(this, program); |
| 2461 | 2461 |
| 2462 @DomName('WebGLRenderingContext.deleteRenderbuffer') | 2462 @DomName('WebGLRenderingContext.deleteRenderbuffer') |
| 2463 @DocsEditable() | 2463 @DocsEditable() |
| 2464 void deleteRenderbuffer(Renderbuffer renderbuffer) => blink.Native_WebGLRender
ingContext_deleteRenderbuffer_Callback(this, renderbuffer); | 2464 void deleteRenderbuffer(Renderbuffer renderbuffer) => _blink.Native_WebGLRende
ringContext_deleteRenderbuffer_Callback(this, renderbuffer); |
| 2465 | 2465 |
| 2466 @DomName('WebGLRenderingContext.deleteShader') | 2466 @DomName('WebGLRenderingContext.deleteShader') |
| 2467 @DocsEditable() | 2467 @DocsEditable() |
| 2468 void deleteShader(Shader shader) => blink.Native_WebGLRenderingContext_deleteS
hader_Callback(this, shader); | 2468 void deleteShader(Shader shader) => _blink.Native_WebGLRenderingContext_delete
Shader_Callback(this, shader); |
| 2469 | 2469 |
| 2470 @DomName('WebGLRenderingContext.deleteTexture') | 2470 @DomName('WebGLRenderingContext.deleteTexture') |
| 2471 @DocsEditable() | 2471 @DocsEditable() |
| 2472 void deleteTexture(Texture texture) => blink.Native_WebGLRenderingContext_dele
teTexture_Callback(this, texture); | 2472 void deleteTexture(Texture texture) => _blink.Native_WebGLRenderingContext_del
eteTexture_Callback(this, texture); |
| 2473 | 2473 |
| 2474 @DomName('WebGLRenderingContext.depthFunc') | 2474 @DomName('WebGLRenderingContext.depthFunc') |
| 2475 @DocsEditable() | 2475 @DocsEditable() |
| 2476 void depthFunc(int func) => blink.Native_WebGLRenderingContext_depthFunc_Callb
ack(this, func); | 2476 void depthFunc(int func) => _blink.Native_WebGLRenderingContext_depthFunc_Call
back(this, func); |
| 2477 | 2477 |
| 2478 @DomName('WebGLRenderingContext.depthMask') | 2478 @DomName('WebGLRenderingContext.depthMask') |
| 2479 @DocsEditable() | 2479 @DocsEditable() |
| 2480 void depthMask(bool flag) => blink.Native_WebGLRenderingContext_depthMask_Call
back(this, flag); | 2480 void depthMask(bool flag) => _blink.Native_WebGLRenderingContext_depthMask_Cal
lback(this, flag); |
| 2481 | 2481 |
| 2482 @DomName('WebGLRenderingContext.depthRange') | 2482 @DomName('WebGLRenderingContext.depthRange') |
| 2483 @DocsEditable() | 2483 @DocsEditable() |
| 2484 void depthRange(num zNear, num zFar) => blink.Native_WebGLRenderingContext_dep
thRange_Callback(this, zNear, zFar); | 2484 void depthRange(num zNear, num zFar) => _blink.Native_WebGLRenderingContext_de
pthRange_Callback(this, zNear, zFar); |
| 2485 | 2485 |
| 2486 @DomName('WebGLRenderingContext.detachShader') | 2486 @DomName('WebGLRenderingContext.detachShader') |
| 2487 @DocsEditable() | 2487 @DocsEditable() |
| 2488 void detachShader(Program program, Shader shader) => blink.Native_WebGLRenderi
ngContext_detachShader_Callback(this, program, shader); | 2488 void detachShader(Program program, Shader shader) => _blink.Native_WebGLRender
ingContext_detachShader_Callback(this, program, shader); |
| 2489 | 2489 |
| 2490 @DomName('WebGLRenderingContext.disable') | 2490 @DomName('WebGLRenderingContext.disable') |
| 2491 @DocsEditable() | 2491 @DocsEditable() |
| 2492 void disable(int cap) => blink.Native_WebGLRenderingContext_disable_Callback(t
his, cap); | 2492 void disable(int cap) => _blink.Native_WebGLRenderingContext_disable_Callback(
this, cap); |
| 2493 | 2493 |
| 2494 @DomName('WebGLRenderingContext.disableVertexAttribArray') | 2494 @DomName('WebGLRenderingContext.disableVertexAttribArray') |
| 2495 @DocsEditable() | 2495 @DocsEditable() |
| 2496 void disableVertexAttribArray(int index) => blink.Native_WebGLRenderingContext
_disableVertexAttribArray_Callback(this, index); | 2496 void disableVertexAttribArray(int index) => _blink.Native_WebGLRenderingContex
t_disableVertexAttribArray_Callback(this, index); |
| 2497 | 2497 |
| 2498 @DomName('WebGLRenderingContext.drawArrays') | 2498 @DomName('WebGLRenderingContext.drawArrays') |
| 2499 @DocsEditable() | 2499 @DocsEditable() |
| 2500 void drawArrays(int mode, int first, int count) => blink.Native_WebGLRendering
Context_drawArrays_Callback(this, mode, first, count); | 2500 void drawArrays(int mode, int first, int count) => _blink.Native_WebGLRenderin
gContext_drawArrays_Callback(this, mode, first, count); |
| 2501 | 2501 |
| 2502 @DomName('WebGLRenderingContext.drawElements') | 2502 @DomName('WebGLRenderingContext.drawElements') |
| 2503 @DocsEditable() | 2503 @DocsEditable() |
| 2504 void drawElements(int mode, int count, int type, int offset) => blink.Native_W
ebGLRenderingContext_drawElements_Callback(this, mode, count, type, offset); | 2504 void drawElements(int mode, int count, int type, int offset) => _blink.Native_
WebGLRenderingContext_drawElements_Callback(this, mode, count, type, offset); |
| 2505 | 2505 |
| 2506 @DomName('WebGLRenderingContext.enable') | 2506 @DomName('WebGLRenderingContext.enable') |
| 2507 @DocsEditable() | 2507 @DocsEditable() |
| 2508 void enable(int cap) => blink.Native_WebGLRenderingContext_enable_Callback(thi
s, cap); | 2508 void enable(int cap) => _blink.Native_WebGLRenderingContext_enable_Callback(th
is, cap); |
| 2509 | 2509 |
| 2510 @DomName('WebGLRenderingContext.enableVertexAttribArray') | 2510 @DomName('WebGLRenderingContext.enableVertexAttribArray') |
| 2511 @DocsEditable() | 2511 @DocsEditable() |
| 2512 void enableVertexAttribArray(int index) => blink.Native_WebGLRenderingContext_
enableVertexAttribArray_Callback(this, index); | 2512 void enableVertexAttribArray(int index) => _blink.Native_WebGLRenderingContext
_enableVertexAttribArray_Callback(this, index); |
| 2513 | 2513 |
| 2514 @DomName('WebGLRenderingContext.finish') | 2514 @DomName('WebGLRenderingContext.finish') |
| 2515 @DocsEditable() | 2515 @DocsEditable() |
| 2516 void finish() => blink.Native_WebGLRenderingContext_finish_Callback(this); | 2516 void finish() => _blink.Native_WebGLRenderingContext_finish_Callback(this); |
| 2517 | 2517 |
| 2518 @DomName('WebGLRenderingContext.flush') | 2518 @DomName('WebGLRenderingContext.flush') |
| 2519 @DocsEditable() | 2519 @DocsEditable() |
| 2520 void flush() => blink.Native_WebGLRenderingContext_flush_Callback(this); | 2520 void flush() => _blink.Native_WebGLRenderingContext_flush_Callback(this); |
| 2521 | 2521 |
| 2522 @DomName('WebGLRenderingContext.framebufferRenderbuffer') | 2522 @DomName('WebGLRenderingContext.framebufferRenderbuffer') |
| 2523 @DocsEditable() | 2523 @DocsEditable() |
| 2524 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge
t, Renderbuffer renderbuffer) => blink.Native_WebGLRenderingContext_framebufferR
enderbuffer_Callback(this, target, attachment, renderbuffertarget, renderbuffer)
; | 2524 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge
t, Renderbuffer renderbuffer) => _blink.Native_WebGLRenderingContext_framebuffer
Renderbuffer_Callback(this, target, attachment, renderbuffertarget, renderbuffer
); |
| 2525 | 2525 |
| 2526 @DomName('WebGLRenderingContext.framebufferTexture2D') | 2526 @DomName('WebGLRenderingContext.framebufferTexture2D') |
| 2527 @DocsEditable() | 2527 @DocsEditable() |
| 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 void framebufferTexture2D(int target, int attachment, int textarget, Texture t
exture, int level) => _blink.Native_WebGLRenderingContext_framebufferTexture2D_C
allback(this, target, attachment, textarget, texture, level); |
| 2529 | 2529 |
| 2530 @DomName('WebGLRenderingContext.frontFace') | 2530 @DomName('WebGLRenderingContext.frontFace') |
| 2531 @DocsEditable() | 2531 @DocsEditable() |
| 2532 void frontFace(int mode) => blink.Native_WebGLRenderingContext_frontFace_Callb
ack(this, mode); | 2532 void frontFace(int mode) => _blink.Native_WebGLRenderingContext_frontFace_Call
back(this, mode); |
| 2533 | 2533 |
| 2534 @DomName('WebGLRenderingContext.generateMipmap') | 2534 @DomName('WebGLRenderingContext.generateMipmap') |
| 2535 @DocsEditable() | 2535 @DocsEditable() |
| 2536 void generateMipmap(int target) => blink.Native_WebGLRenderingContext_generate
Mipmap_Callback(this, target); | 2536 void generateMipmap(int target) => _blink.Native_WebGLRenderingContext_generat
eMipmap_Callback(this, target); |
| 2537 | 2537 |
| 2538 @DomName('WebGLRenderingContext.getActiveAttrib') | 2538 @DomName('WebGLRenderingContext.getActiveAttrib') |
| 2539 @DocsEditable() | 2539 @DocsEditable() |
| 2540 ActiveInfo getActiveAttrib(Program program, int index) => blink.Native_WebGLRe
nderingContext_getActiveAttrib_Callback(this, program, index); | 2540 ActiveInfo getActiveAttrib(Program program, int index) => _blink.Native_WebGLR
enderingContext_getActiveAttrib_Callback(this, program, index); |
| 2541 | 2541 |
| 2542 @DomName('WebGLRenderingContext.getActiveUniform') | 2542 @DomName('WebGLRenderingContext.getActiveUniform') |
| 2543 @DocsEditable() | 2543 @DocsEditable() |
| 2544 ActiveInfo getActiveUniform(Program program, int index) => blink.Native_WebGLR
enderingContext_getActiveUniform_Callback(this, program, index); | 2544 ActiveInfo getActiveUniform(Program program, int index) => _blink.Native_WebGL
RenderingContext_getActiveUniform_Callback(this, program, index); |
| 2545 | 2545 |
| 2546 @DomName('WebGLRenderingContext.getAttachedShaders') | 2546 @DomName('WebGLRenderingContext.getAttachedShaders') |
| 2547 @DocsEditable() | 2547 @DocsEditable() |
| 2548 void getAttachedShaders(Program program) => blink.Native_WebGLRenderingContext
_getAttachedShaders_Callback(this, program); | 2548 void getAttachedShaders(Program program) => _blink.Native_WebGLRenderingContex
t_getAttachedShaders_Callback(this, program); |
| 2549 | 2549 |
| 2550 @DomName('WebGLRenderingContext.getAttribLocation') | 2550 @DomName('WebGLRenderingContext.getAttribLocation') |
| 2551 @DocsEditable() | 2551 @DocsEditable() |
| 2552 int getAttribLocation(Program program, String name) => blink.Native_WebGLRende
ringContext_getAttribLocation_Callback(this, program, name); | 2552 int getAttribLocation(Program program, String name) => _blink.Native_WebGLRend
eringContext_getAttribLocation_Callback(this, program, name); |
| 2553 | 2553 |
| 2554 @DomName('WebGLRenderingContext.getBufferParameter') | 2554 @DomName('WebGLRenderingContext.getBufferParameter') |
| 2555 @DocsEditable() | 2555 @DocsEditable() |
| 2556 Object getBufferParameter(int target, int pname) => blink.Native_WebGLRenderin
gContext_getBufferParameter_Callback(this, target, pname); | 2556 Object getBufferParameter(int target, int pname) => _blink.Native_WebGLRenderi
ngContext_getBufferParameter_Callback(this, target, pname); |
| 2557 | 2557 |
| 2558 @DomName('WebGLRenderingContext.getContextAttributes') | 2558 @DomName('WebGLRenderingContext.getContextAttributes') |
| 2559 @DocsEditable() | 2559 @DocsEditable() |
| 2560 ContextAttributes getContextAttributes() => blink.Native_WebGLRenderingContext
_getContextAttributes_Callback(this); | 2560 ContextAttributes getContextAttributes() => _blink.Native_WebGLRenderingContex
t_getContextAttributes_Callback(this); |
| 2561 | 2561 |
| 2562 @DomName('WebGLRenderingContext.getError') | 2562 @DomName('WebGLRenderingContext.getError') |
| 2563 @DocsEditable() | 2563 @DocsEditable() |
| 2564 int getError() => blink.Native_WebGLRenderingContext_getError_Callback(this); | 2564 int getError() => _blink.Native_WebGLRenderingContext_getError_Callback(this); |
| 2565 | 2565 |
| 2566 @DomName('WebGLRenderingContext.getExtension') | 2566 @DomName('WebGLRenderingContext.getExtension') |
| 2567 @DocsEditable() | 2567 @DocsEditable() |
| 2568 Object getExtension(String name) => blink.Native_WebGLRenderingContext_getExte
nsion_Callback(this, name); | 2568 Object getExtension(String name) => _blink.Native_WebGLRenderingContext_getExt
ension_Callback(this, name); |
| 2569 | 2569 |
| 2570 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') | 2570 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') |
| 2571 @DocsEditable() | 2571 @DocsEditable() |
| 2572 Object getFramebufferAttachmentParameter(int target, int attachment, int pname
) => blink.Native_WebGLRenderingContext_getFramebufferAttachmentParameter_Callba
ck(this, target, attachment, pname); | 2572 Object getFramebufferAttachmentParameter(int target, int attachment, int pname
) => _blink.Native_WebGLRenderingContext_getFramebufferAttachmentParameter_Callb
ack(this, target, attachment, pname); |
| 2573 | 2573 |
| 2574 @DomName('WebGLRenderingContext.getParameter') | 2574 @DomName('WebGLRenderingContext.getParameter') |
| 2575 @DocsEditable() | 2575 @DocsEditable() |
| 2576 Object getParameter(int pname) => blink.Native_WebGLRenderingContext_getParame
ter_Callback(this, pname); | 2576 Object getParameter(int pname) => _blink.Native_WebGLRenderingContext_getParam
eter_Callback(this, pname); |
| 2577 | 2577 |
| 2578 @DomName('WebGLRenderingContext.getProgramInfoLog') | 2578 @DomName('WebGLRenderingContext.getProgramInfoLog') |
| 2579 @DocsEditable() | 2579 @DocsEditable() |
| 2580 String getProgramInfoLog(Program program) => blink.Native_WebGLRenderingContex
t_getProgramInfoLog_Callback(this, program); | 2580 String getProgramInfoLog(Program program) => _blink.Native_WebGLRenderingConte
xt_getProgramInfoLog_Callback(this, program); |
| 2581 | 2581 |
| 2582 @DomName('WebGLRenderingContext.getProgramParameter') | 2582 @DomName('WebGLRenderingContext.getProgramParameter') |
| 2583 @DocsEditable() | 2583 @DocsEditable() |
| 2584 Object getProgramParameter(Program program, int pname) => blink.Native_WebGLRe
nderingContext_getProgramParameter_Callback(this, program, pname); | 2584 Object getProgramParameter(Program program, int pname) => _blink.Native_WebGLR
enderingContext_getProgramParameter_Callback(this, program, pname); |
| 2585 | 2585 |
| 2586 @DomName('WebGLRenderingContext.getRenderbufferParameter') | 2586 @DomName('WebGLRenderingContext.getRenderbufferParameter') |
| 2587 @DocsEditable() | 2587 @DocsEditable() |
| 2588 Object getRenderbufferParameter(int target, int pname) => blink.Native_WebGLRe
nderingContext_getRenderbufferParameter_Callback(this, target, pname); | 2588 Object getRenderbufferParameter(int target, int pname) => _blink.Native_WebGLR
enderingContext_getRenderbufferParameter_Callback(this, target, pname); |
| 2589 | 2589 |
| 2590 @DomName('WebGLRenderingContext.getShaderInfoLog') | 2590 @DomName('WebGLRenderingContext.getShaderInfoLog') |
| 2591 @DocsEditable() | 2591 @DocsEditable() |
| 2592 String getShaderInfoLog(Shader shader) => blink.Native_WebGLRenderingContext_g
etShaderInfoLog_Callback(this, shader); | 2592 String getShaderInfoLog(Shader shader) => _blink.Native_WebGLRenderingContext_
getShaderInfoLog_Callback(this, shader); |
| 2593 | 2593 |
| 2594 @DomName('WebGLRenderingContext.getShaderParameter') | 2594 @DomName('WebGLRenderingContext.getShaderParameter') |
| 2595 @DocsEditable() | 2595 @DocsEditable() |
| 2596 Object getShaderParameter(Shader shader, int pname) => blink.Native_WebGLRende
ringContext_getShaderParameter_Callback(this, shader, pname); | 2596 Object getShaderParameter(Shader shader, int pname) => _blink.Native_WebGLRend
eringContext_getShaderParameter_Callback(this, shader, pname); |
| 2597 | 2597 |
| 2598 @DomName('WebGLRenderingContext.getShaderPrecisionFormat') | 2598 @DomName('WebGLRenderingContext.getShaderPrecisionFormat') |
| 2599 @DocsEditable() | 2599 @DocsEditable() |
| 2600 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty
pe) => blink.Native_WebGLRenderingContext_getShaderPrecisionFormat_Callback(this
, shadertype, precisiontype); | 2600 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty
pe) => _blink.Native_WebGLRenderingContext_getShaderPrecisionFormat_Callback(thi
s, shadertype, precisiontype); |
| 2601 | 2601 |
| 2602 @DomName('WebGLRenderingContext.getShaderSource') | 2602 @DomName('WebGLRenderingContext.getShaderSource') |
| 2603 @DocsEditable() | 2603 @DocsEditable() |
| 2604 String getShaderSource(Shader shader) => blink.Native_WebGLRenderingContext_ge
tShaderSource_Callback(this, shader); | 2604 String getShaderSource(Shader shader) => _blink.Native_WebGLRenderingContext_g
etShaderSource_Callback(this, shader); |
| 2605 | 2605 |
| 2606 @DomName('WebGLRenderingContext.getSupportedExtensions') | 2606 @DomName('WebGLRenderingContext.getSupportedExtensions') |
| 2607 @DocsEditable() | 2607 @DocsEditable() |
| 2608 List<String> getSupportedExtensions() => blink.Native_WebGLRenderingContext_ge
tSupportedExtensions_Callback(this); | 2608 List<String> getSupportedExtensions() => _blink.Native_WebGLRenderingContext_g
etSupportedExtensions_Callback(this); |
| 2609 | 2609 |
| 2610 @DomName('WebGLRenderingContext.getTexParameter') | 2610 @DomName('WebGLRenderingContext.getTexParameter') |
| 2611 @DocsEditable() | 2611 @DocsEditable() |
| 2612 Object getTexParameter(int target, int pname) => blink.Native_WebGLRenderingCo
ntext_getTexParameter_Callback(this, target, pname); | 2612 Object getTexParameter(int target, int pname) => _blink.Native_WebGLRenderingC
ontext_getTexParameter_Callback(this, target, pname); |
| 2613 | 2613 |
| 2614 @DomName('WebGLRenderingContext.getUniform') | 2614 @DomName('WebGLRenderingContext.getUniform') |
| 2615 @DocsEditable() | 2615 @DocsEditable() |
| 2616 Object getUniform(Program program, UniformLocation location) => blink.Native_W
ebGLRenderingContext_getUniform_Callback(this, program, location); | 2616 Object getUniform(Program program, UniformLocation location) => _blink.Native_
WebGLRenderingContext_getUniform_Callback(this, program, location); |
| 2617 | 2617 |
| 2618 @DomName('WebGLRenderingContext.getUniformLocation') | 2618 @DomName('WebGLRenderingContext.getUniformLocation') |
| 2619 @DocsEditable() | 2619 @DocsEditable() |
| 2620 UniformLocation getUniformLocation(Program program, String name) => blink.Nati
ve_WebGLRenderingContext_getUniformLocation_Callback(this, program, name); | 2620 UniformLocation getUniformLocation(Program program, String name) => _blink.Nat
ive_WebGLRenderingContext_getUniformLocation_Callback(this, program, name); |
| 2621 | 2621 |
| 2622 @DomName('WebGLRenderingContext.getVertexAttrib') | 2622 @DomName('WebGLRenderingContext.getVertexAttrib') |
| 2623 @DocsEditable() | 2623 @DocsEditable() |
| 2624 Object getVertexAttrib(int index, int pname) => blink.Native_WebGLRenderingCon
text_getVertexAttrib_Callback(this, index, pname); | 2624 Object getVertexAttrib(int index, int pname) => _blink.Native_WebGLRenderingCo
ntext_getVertexAttrib_Callback(this, index, pname); |
| 2625 | 2625 |
| 2626 @DomName('WebGLRenderingContext.getVertexAttribOffset') | 2626 @DomName('WebGLRenderingContext.getVertexAttribOffset') |
| 2627 @DocsEditable() | 2627 @DocsEditable() |
| 2628 int getVertexAttribOffset(int index, int pname) => blink.Native_WebGLRendering
Context_getVertexAttribOffset_Callback(this, index, pname); | 2628 int getVertexAttribOffset(int index, int pname) => _blink.Native_WebGLRenderin
gContext_getVertexAttribOffset_Callback(this, index, pname); |
| 2629 | 2629 |
| 2630 @DomName('WebGLRenderingContext.hint') | 2630 @DomName('WebGLRenderingContext.hint') |
| 2631 @DocsEditable() | 2631 @DocsEditable() |
| 2632 void hint(int target, int mode) => blink.Native_WebGLRenderingContext_hint_Cal
lback(this, target, mode); | 2632 void hint(int target, int mode) => _blink.Native_WebGLRenderingContext_hint_Ca
llback(this, target, mode); |
| 2633 | 2633 |
| 2634 @DomName('WebGLRenderingContext.isBuffer') | 2634 @DomName('WebGLRenderingContext.isBuffer') |
| 2635 @DocsEditable() | 2635 @DocsEditable() |
| 2636 bool isBuffer(Buffer buffer) => blink.Native_WebGLRenderingContext_isBuffer_Ca
llback(this, buffer); | 2636 bool isBuffer(Buffer buffer) => _blink.Native_WebGLRenderingContext_isBuffer_C
allback(this, buffer); |
| 2637 | 2637 |
| 2638 @DomName('WebGLRenderingContext.isContextLost') | 2638 @DomName('WebGLRenderingContext.isContextLost') |
| 2639 @DocsEditable() | 2639 @DocsEditable() |
| 2640 bool isContextLost() => blink.Native_WebGLRenderingContext_isContextLost_Callb
ack(this); | 2640 bool isContextLost() => _blink.Native_WebGLRenderingContext_isContextLost_Call
back(this); |
| 2641 | 2641 |
| 2642 @DomName('WebGLRenderingContext.isEnabled') | 2642 @DomName('WebGLRenderingContext.isEnabled') |
| 2643 @DocsEditable() | 2643 @DocsEditable() |
| 2644 bool isEnabled(int cap) => blink.Native_WebGLRenderingContext_isEnabled_Callba
ck(this, cap); | 2644 bool isEnabled(int cap) => _blink.Native_WebGLRenderingContext_isEnabled_Callb
ack(this, cap); |
| 2645 | 2645 |
| 2646 @DomName('WebGLRenderingContext.isFramebuffer') | 2646 @DomName('WebGLRenderingContext.isFramebuffer') |
| 2647 @DocsEditable() | 2647 @DocsEditable() |
| 2648 bool isFramebuffer(Framebuffer framebuffer) => blink.Native_WebGLRenderingCont
ext_isFramebuffer_Callback(this, framebuffer); | 2648 bool isFramebuffer(Framebuffer framebuffer) => _blink.Native_WebGLRenderingCon
text_isFramebuffer_Callback(this, framebuffer); |
| 2649 | 2649 |
| 2650 @DomName('WebGLRenderingContext.isProgram') | 2650 @DomName('WebGLRenderingContext.isProgram') |
| 2651 @DocsEditable() | 2651 @DocsEditable() |
| 2652 bool isProgram(Program program) => blink.Native_WebGLRenderingContext_isProgra
m_Callback(this, program); | 2652 bool isProgram(Program program) => _blink.Native_WebGLRenderingContext_isProgr
am_Callback(this, program); |
| 2653 | 2653 |
| 2654 @DomName('WebGLRenderingContext.isRenderbuffer') | 2654 @DomName('WebGLRenderingContext.isRenderbuffer') |
| 2655 @DocsEditable() | 2655 @DocsEditable() |
| 2656 bool isRenderbuffer(Renderbuffer renderbuffer) => blink.Native_WebGLRenderingC
ontext_isRenderbuffer_Callback(this, renderbuffer); | 2656 bool isRenderbuffer(Renderbuffer renderbuffer) => _blink.Native_WebGLRendering
Context_isRenderbuffer_Callback(this, renderbuffer); |
| 2657 | 2657 |
| 2658 @DomName('WebGLRenderingContext.isShader') | 2658 @DomName('WebGLRenderingContext.isShader') |
| 2659 @DocsEditable() | 2659 @DocsEditable() |
| 2660 bool isShader(Shader shader) => blink.Native_WebGLRenderingContext_isShader_Ca
llback(this, shader); | 2660 bool isShader(Shader shader) => _blink.Native_WebGLRenderingContext_isShader_C
allback(this, shader); |
| 2661 | 2661 |
| 2662 @DomName('WebGLRenderingContext.isTexture') | 2662 @DomName('WebGLRenderingContext.isTexture') |
| 2663 @DocsEditable() | 2663 @DocsEditable() |
| 2664 bool isTexture(Texture texture) => blink.Native_WebGLRenderingContext_isTextur
e_Callback(this, texture); | 2664 bool isTexture(Texture texture) => _blink.Native_WebGLRenderingContext_isTextu
re_Callback(this, texture); |
| 2665 | 2665 |
| 2666 @DomName('WebGLRenderingContext.lineWidth') | 2666 @DomName('WebGLRenderingContext.lineWidth') |
| 2667 @DocsEditable() | 2667 @DocsEditable() |
| 2668 void lineWidth(num width) => blink.Native_WebGLRenderingContext_lineWidth_Call
back(this, width); | 2668 void lineWidth(num width) => _blink.Native_WebGLRenderingContext_lineWidth_Cal
lback(this, width); |
| 2669 | 2669 |
| 2670 @DomName('WebGLRenderingContext.linkProgram') | 2670 @DomName('WebGLRenderingContext.linkProgram') |
| 2671 @DocsEditable() | 2671 @DocsEditable() |
| 2672 void linkProgram(Program program) => blink.Native_WebGLRenderingContext_linkPr
ogram_Callback(this, program); | 2672 void linkProgram(Program program) => _blink.Native_WebGLRenderingContext_linkP
rogram_Callback(this, program); |
| 2673 | 2673 |
| 2674 @DomName('WebGLRenderingContext.pixelStorei') | 2674 @DomName('WebGLRenderingContext.pixelStorei') |
| 2675 @DocsEditable() | 2675 @DocsEditable() |
| 2676 void pixelStorei(int pname, int param) => blink.Native_WebGLRenderingContext_p
ixelStorei_Callback(this, pname, param); | 2676 void pixelStorei(int pname, int param) => _blink.Native_WebGLRenderingContext_
pixelStorei_Callback(this, pname, param); |
| 2677 | 2677 |
| 2678 @DomName('WebGLRenderingContext.polygonOffset') | 2678 @DomName('WebGLRenderingContext.polygonOffset') |
| 2679 @DocsEditable() | 2679 @DocsEditable() |
| 2680 void polygonOffset(num factor, num units) => blink.Native_WebGLRenderingContex
t_polygonOffset_Callback(this, factor, units); | 2680 void polygonOffset(num factor, num units) => _blink.Native_WebGLRenderingConte
xt_polygonOffset_Callback(this, factor, units); |
| 2681 | 2681 |
| 2682 @DomName('WebGLRenderingContext.readPixels') | 2682 @DomName('WebGLRenderingContext.readPixels') |
| 2683 @DocsEditable() | 2683 @DocsEditable() |
| 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 void readPixels(int x, int y, int width, int height, int format, int type, Typ
edData pixels) => _blink.Native_WebGLRenderingContext_readPixels_Callback(this,
x, y, width, height, format, type, pixels); |
| 2685 | 2685 |
| 2686 @DomName('WebGLRenderingContext.renderbufferStorage') | 2686 @DomName('WebGLRenderingContext.renderbufferStorage') |
| 2687 @DocsEditable() | 2687 @DocsEditable() |
| 2688 void renderbufferStorage(int target, int internalformat, int width, int height
) => blink.Native_WebGLRenderingContext_renderbufferStorage_Callback(this, targe
t, internalformat, width, height); | 2688 void renderbufferStorage(int target, int internalformat, int width, int height
) => _blink.Native_WebGLRenderingContext_renderbufferStorage_Callback(this, targ
et, internalformat, width, height); |
| 2689 | 2689 |
| 2690 @DomName('WebGLRenderingContext.sampleCoverage') | 2690 @DomName('WebGLRenderingContext.sampleCoverage') |
| 2691 @DocsEditable() | 2691 @DocsEditable() |
| 2692 void sampleCoverage(num value, bool invert) => blink.Native_WebGLRenderingCont
ext_sampleCoverage_Callback(this, value, invert); | 2692 void sampleCoverage(num value, bool invert) => _blink.Native_WebGLRenderingCon
text_sampleCoverage_Callback(this, value, invert); |
| 2693 | 2693 |
| 2694 @DomName('WebGLRenderingContext.scissor') | 2694 @DomName('WebGLRenderingContext.scissor') |
| 2695 @DocsEditable() | 2695 @DocsEditable() |
| 2696 void scissor(int x, int y, int width, int height) => blink.Native_WebGLRenderi
ngContext_scissor_Callback(this, x, y, width, height); | 2696 void scissor(int x, int y, int width, int height) => _blink.Native_WebGLRender
ingContext_scissor_Callback(this, x, y, width, height); |
| 2697 | 2697 |
| 2698 @DomName('WebGLRenderingContext.shaderSource') | 2698 @DomName('WebGLRenderingContext.shaderSource') |
| 2699 @DocsEditable() | 2699 @DocsEditable() |
| 2700 void shaderSource(Shader shader, String string) => blink.Native_WebGLRendering
Context_shaderSource_Callback(this, shader, string); | 2700 void shaderSource(Shader shader, String string) => _blink.Native_WebGLRenderin
gContext_shaderSource_Callback(this, shader, string); |
| 2701 | 2701 |
| 2702 @DomName('WebGLRenderingContext.stencilFunc') | 2702 @DomName('WebGLRenderingContext.stencilFunc') |
| 2703 @DocsEditable() | 2703 @DocsEditable() |
| 2704 void stencilFunc(int func, int ref, int mask) => blink.Native_WebGLRenderingCo
ntext_stencilFunc_Callback(this, func, ref, mask); | 2704 void stencilFunc(int func, int ref, int mask) => _blink.Native_WebGLRenderingC
ontext_stencilFunc_Callback(this, func, ref, mask); |
| 2705 | 2705 |
| 2706 @DomName('WebGLRenderingContext.stencilFuncSeparate') | 2706 @DomName('WebGLRenderingContext.stencilFuncSeparate') |
| 2707 @DocsEditable() | 2707 @DocsEditable() |
| 2708 void stencilFuncSeparate(int face, int func, int ref, int mask) => blink.Nativ
e_WebGLRenderingContext_stencilFuncSeparate_Callback(this, face, func, ref, mask
); | 2708 void stencilFuncSeparate(int face, int func, int ref, int mask) => _blink.Nati
ve_WebGLRenderingContext_stencilFuncSeparate_Callback(this, face, func, ref, mas
k); |
| 2709 | 2709 |
| 2710 @DomName('WebGLRenderingContext.stencilMask') | 2710 @DomName('WebGLRenderingContext.stencilMask') |
| 2711 @DocsEditable() | 2711 @DocsEditable() |
| 2712 void stencilMask(int mask) => blink.Native_WebGLRenderingContext_stencilMask_C
allback(this, mask); | 2712 void stencilMask(int mask) => _blink.Native_WebGLRenderingContext_stencilMask_
Callback(this, mask); |
| 2713 | 2713 |
| 2714 @DomName('WebGLRenderingContext.stencilMaskSeparate') | 2714 @DomName('WebGLRenderingContext.stencilMaskSeparate') |
| 2715 @DocsEditable() | 2715 @DocsEditable() |
| 2716 void stencilMaskSeparate(int face, int mask) => blink.Native_WebGLRenderingCon
text_stencilMaskSeparate_Callback(this, face, mask); | 2716 void stencilMaskSeparate(int face, int mask) => _blink.Native_WebGLRenderingCo
ntext_stencilMaskSeparate_Callback(this, face, mask); |
| 2717 | 2717 |
| 2718 @DomName('WebGLRenderingContext.stencilOp') | 2718 @DomName('WebGLRenderingContext.stencilOp') |
| 2719 @DocsEditable() | 2719 @DocsEditable() |
| 2720 void stencilOp(int fail, int zfail, int zpass) => blink.Native_WebGLRenderingC
ontext_stencilOp_Callback(this, fail, zfail, zpass); | 2720 void stencilOp(int fail, int zfail, int zpass) => _blink.Native_WebGLRendering
Context_stencilOp_Callback(this, fail, zfail, zpass); |
| 2721 | 2721 |
| 2722 @DomName('WebGLRenderingContext.stencilOpSeparate') | 2722 @DomName('WebGLRenderingContext.stencilOpSeparate') |
| 2723 @DocsEditable() | 2723 @DocsEditable() |
| 2724 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => blink.Nati
ve_WebGLRenderingContext_stencilOpSeparate_Callback(this, face, fail, zfail, zpa
ss); | 2724 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => _blink.Nat
ive_WebGLRenderingContext_stencilOpSeparate_Callback(this, face, fail, zfail, zp
ass); |
| 2725 | 2725 |
| 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 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]) { |
| 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 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)) { |
| 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 _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); |
| 2729 return; | 2729 return; |
| 2730 } | 2730 } |
| 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 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) { |
| 2732 _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); |
| 2733 return; | 2733 return; |
| 2734 } | 2734 } |
| 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 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) { |
| 2736 _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); |
| 2737 return; | 2737 return; |
| 2738 } | 2738 } |
| 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 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) { |
| 2740 _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); |
| 2741 return; | 2741 return; |
| 2742 } | 2742 } |
| 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 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) { |
| 2744 _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); |
| 2745 return; | 2745 return; |
| 2746 } | 2746 } |
| 2747 throw new ArgumentError("Incorrect number or type of arguments"); | 2747 throw new ArgumentError("Incorrect number or type of arguments"); |
| 2748 } | 2748 } |
| 2749 | 2749 |
| 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 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) => _bli
nk.Native_WebGLRenderingContext__texImage2D_1_Callback(this, target, level, inte
rnalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels
_OR_video, format, type, pixels); |
| 2751 | 2751 |
| 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 void _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video) => _blink.Native_WebGLRenderi
ngContext__texImage2D_2_Callback(this, target, level, internalformat, format_OR_
width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 2753 | 2753 |
| 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 void _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video) => _blink.Native_WebGLRenderi
ngContext__texImage2D_3_Callback(this, target, level, internalformat, format_OR_
width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 2755 | 2755 |
| 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 void _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video) => _blink.Native_WebGLRenderi
ngContext__texImage2D_4_Callback(this, target, level, internalformat, format_OR_
width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 2757 | 2757 |
| 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 void _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video) => _blink.Native_WebGLRenderi
ngContext__texImage2D_5_Callback(this, target, level, internalformat, format_OR_
width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 2759 | 2759 |
| 2760 @DomName('WebGLRenderingContext.texImage2DCanvas') | 2760 @DomName('WebGLRenderingContext.texImage2DCanvas') |
| 2761 @DocsEditable() | 2761 @DocsEditable() |
| 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 void texImage2DCanvas(int target, int level, int internalformat, int format, i
nt type, CanvasElement canvas) => _blink.Native_WebGLRenderingContext_texImage2D
Canvas_Callback(this, target, level, internalformat, format, type, canvas); |
| 2763 | 2763 |
| 2764 @DomName('WebGLRenderingContext.texImage2DImage') | 2764 @DomName('WebGLRenderingContext.texImage2DImage') |
| 2765 @DocsEditable() | 2765 @DocsEditable() |
| 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 void texImage2DImage(int target, int level, int internalformat, int format, in
t type, ImageElement image) => _blink.Native_WebGLRenderingContext_texImage2DIma
ge_Callback(this, target, level, internalformat, format, type, image); |
| 2767 | 2767 |
| 2768 @DomName('WebGLRenderingContext.texImage2DImageData') | 2768 @DomName('WebGLRenderingContext.texImage2DImageData') |
| 2769 @DocsEditable() | 2769 @DocsEditable() |
| 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 void texImage2DImageData(int target, int level, int internalformat, int format
, int type, ImageData pixels) => _blink.Native_WebGLRenderingContext_texImage2DI
mageData_Callback(this, target, level, internalformat, format, type, pixels); |
| 2771 | 2771 |
| 2772 @DomName('WebGLRenderingContext.texImage2DVideo') | 2772 @DomName('WebGLRenderingContext.texImage2DVideo') |
| 2773 @DocsEditable() | 2773 @DocsEditable() |
| 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 void texImage2DVideo(int target, int level, int internalformat, int format, in
t type, VideoElement video) => _blink.Native_WebGLRenderingContext_texImage2DVid
eo_Callback(this, target, level, internalformat, format, type, video); |
| 2775 | 2775 |
| 2776 @DomName('WebGLRenderingContext.texParameterf') | 2776 @DomName('WebGLRenderingContext.texParameterf') |
| 2777 @DocsEditable() | 2777 @DocsEditable() |
| 2778 void texParameterf(int target, int pname, num param) => blink.Native_WebGLRend
eringContext_texParameterf_Callback(this, target, pname, param); | 2778 void texParameterf(int target, int pname, num param) => _blink.Native_WebGLRen
deringContext_texParameterf_Callback(this, target, pname, param); |
| 2779 | 2779 |
| 2780 @DomName('WebGLRenderingContext.texParameteri') | 2780 @DomName('WebGLRenderingContext.texParameteri') |
| 2781 @DocsEditable() | 2781 @DocsEditable() |
| 2782 void texParameteri(int target, int pname, int param) => blink.Native_WebGLRend
eringContext_texParameteri_Callback(this, target, pname, param); | 2782 void texParameteri(int target, int pname, int param) => _blink.Native_WebGLRen
deringContext_texParameteri_Callback(this, target, pname, param); |
| 2783 | 2783 |
| 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 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]) { |
| 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 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)) { |
| 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 _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); |
| 2787 return; | 2787 return; |
| 2788 } | 2788 } |
| 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 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) { |
| 2790 _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); |
| 2791 return; | 2791 return; |
| 2792 } | 2792 } |
| 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 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) { |
| 2794 _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); |
| 2795 return; | 2795 return; |
| 2796 } | 2796 } |
| 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 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) { |
| 2798 _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); |
| 2799 return; | 2799 return; |
| 2800 } | 2800 } |
| 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 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) { |
| 2802 _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); |
| 2803 return; | 2803 return; |
| 2804 } | 2804 } |
| 2805 throw new ArgumentError("Incorrect number or type of arguments"); | 2805 throw new ArgumentError("Incorrect number or type of arguments"); |
| 2806 } | 2806 } |
| 2807 | 2807 |
| 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 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.
Native_WebGLRenderingContext__texSubImage2D_1_Callback(this, target, level, xoff
set, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixe
ls_OR_video, type, pixels); |
| 2809 | 2809 |
| 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 void _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) => _blink.Native_WebGLRe
nderingContext__texSubImage2D_2_Callback(this, target, level, xoffset, yoffset,
format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 2811 | 2811 |
| 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 void _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) => _blink.Native_WebGLRe
nderingContext__texSubImage2D_3_Callback(this, target, level, xoffset, yoffset,
format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 2813 | 2813 |
| 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 void _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) => _blink.Native_WebGLRe
nderingContext__texSubImage2D_4_Callback(this, target, level, xoffset, yoffset,
format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 2815 | 2815 |
| 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 void _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) => _blink.Native_WebGLRe
nderingContext__texSubImage2D_5_Callback(this, target, level, xoffset, yoffset,
format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 2817 | 2817 |
| 2818 @DomName('WebGLRenderingContext.texSubImage2DCanvas') | 2818 @DomName('WebGLRenderingContext.texSubImage2DCanvas') |
| 2819 @DocsEditable() | 2819 @DocsEditable() |
| 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 void texSubImage2DCanvas(int target, int level, int xoffset, int yoffset, int
format, int type, CanvasElement canvas) => _blink.Native_WebGLRenderingContext_t
exSubImage2DCanvas_Callback(this, target, level, xoffset, yoffset, format, type,
canvas); |
| 2821 | 2821 |
| 2822 @DomName('WebGLRenderingContext.texSubImage2DImage') | 2822 @DomName('WebGLRenderingContext.texSubImage2DImage') |
| 2823 @DocsEditable() | 2823 @DocsEditable() |
| 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 void texSubImage2DImage(int target, int level, int xoffset, int yoffset, int f
ormat, int type, ImageElement image) => _blink.Native_WebGLRenderingContext_texS
ubImage2DImage_Callback(this, target, level, xoffset, yoffset, format, type, ima
ge); |
| 2825 | 2825 |
| 2826 @DomName('WebGLRenderingContext.texSubImage2DImageData') | 2826 @DomName('WebGLRenderingContext.texSubImage2DImageData') |
| 2827 @DocsEditable() | 2827 @DocsEditable() |
| 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 void texSubImage2DImageData(int target, int level, int xoffset, int yoffset, i
nt format, int type, ImageData pixels) => _blink.Native_WebGLRenderingContext_te
xSubImage2DImageData_Callback(this, target, level, xoffset, yoffset, format, typ
e, pixels); |
| 2829 | 2829 |
| 2830 @DomName('WebGLRenderingContext.texSubImage2DVideo') | 2830 @DomName('WebGLRenderingContext.texSubImage2DVideo') |
| 2831 @DocsEditable() | 2831 @DocsEditable() |
| 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 void texSubImage2DVideo(int target, int level, int xoffset, int yoffset, int f
ormat, int type, VideoElement video) => _blink.Native_WebGLRenderingContext_texS
ubImage2DVideo_Callback(this, target, level, xoffset, yoffset, format, type, vid
eo); |
| 2833 | 2833 |
| 2834 @DomName('WebGLRenderingContext.uniform1f') | 2834 @DomName('WebGLRenderingContext.uniform1f') |
| 2835 @DocsEditable() | 2835 @DocsEditable() |
| 2836 void uniform1f(UniformLocation location, num x) => blink.Native_WebGLRendering
Context_uniform1f_Callback(this, location, x); | 2836 void uniform1f(UniformLocation location, num x) => _blink.Native_WebGLRenderin
gContext_uniform1f_Callback(this, location, x); |
| 2837 | 2837 |
| 2838 @DomName('WebGLRenderingContext.uniform1fv') | 2838 @DomName('WebGLRenderingContext.uniform1fv') |
| 2839 @DocsEditable() | 2839 @DocsEditable() |
| 2840 void uniform1fv(UniformLocation location, Float32List v) => blink.Native_WebGL
RenderingContext_uniform1fv_Callback(this, location, v); | 2840 void uniform1fv(UniformLocation location, Float32List v) => _blink.Native_WebG
LRenderingContext_uniform1fv_Callback(this, location, v); |
| 2841 | 2841 |
| 2842 @DomName('WebGLRenderingContext.uniform1i') | 2842 @DomName('WebGLRenderingContext.uniform1i') |
| 2843 @DocsEditable() | 2843 @DocsEditable() |
| 2844 void uniform1i(UniformLocation location, int x) => blink.Native_WebGLRendering
Context_uniform1i_Callback(this, location, x); | 2844 void uniform1i(UniformLocation location, int x) => _blink.Native_WebGLRenderin
gContext_uniform1i_Callback(this, location, x); |
| 2845 | 2845 |
| 2846 @DomName('WebGLRenderingContext.uniform1iv') | 2846 @DomName('WebGLRenderingContext.uniform1iv') |
| 2847 @DocsEditable() | 2847 @DocsEditable() |
| 2848 void uniform1iv(UniformLocation location, Int32List v) => blink.Native_WebGLRe
nderingContext_uniform1iv_Callback(this, location, v); | 2848 void uniform1iv(UniformLocation location, Int32List v) => _blink.Native_WebGLR
enderingContext_uniform1iv_Callback(this, location, v); |
| 2849 | 2849 |
| 2850 @DomName('WebGLRenderingContext.uniform2f') | 2850 @DomName('WebGLRenderingContext.uniform2f') |
| 2851 @DocsEditable() | 2851 @DocsEditable() |
| 2852 void uniform2f(UniformLocation location, num x, num y) => blink.Native_WebGLRe
nderingContext_uniform2f_Callback(this, location, x, y); | 2852 void uniform2f(UniformLocation location, num x, num y) => _blink.Native_WebGLR
enderingContext_uniform2f_Callback(this, location, x, y); |
| 2853 | 2853 |
| 2854 @DomName('WebGLRenderingContext.uniform2fv') | 2854 @DomName('WebGLRenderingContext.uniform2fv') |
| 2855 @DocsEditable() | 2855 @DocsEditable() |
| 2856 void uniform2fv(UniformLocation location, Float32List v) => blink.Native_WebGL
RenderingContext_uniform2fv_Callback(this, location, v); | 2856 void uniform2fv(UniformLocation location, Float32List v) => _blink.Native_WebG
LRenderingContext_uniform2fv_Callback(this, location, v); |
| 2857 | 2857 |
| 2858 @DomName('WebGLRenderingContext.uniform2i') | 2858 @DomName('WebGLRenderingContext.uniform2i') |
| 2859 @DocsEditable() | 2859 @DocsEditable() |
| 2860 void uniform2i(UniformLocation location, int x, int y) => blink.Native_WebGLRe
nderingContext_uniform2i_Callback(this, location, x, y); | 2860 void uniform2i(UniformLocation location, int x, int y) => _blink.Native_WebGLR
enderingContext_uniform2i_Callback(this, location, x, y); |
| 2861 | 2861 |
| 2862 @DomName('WebGLRenderingContext.uniform2iv') | 2862 @DomName('WebGLRenderingContext.uniform2iv') |
| 2863 @DocsEditable() | 2863 @DocsEditable() |
| 2864 void uniform2iv(UniformLocation location, Int32List v) => blink.Native_WebGLRe
nderingContext_uniform2iv_Callback(this, location, v); | 2864 void uniform2iv(UniformLocation location, Int32List v) => _blink.Native_WebGLR
enderingContext_uniform2iv_Callback(this, location, v); |
| 2865 | 2865 |
| 2866 @DomName('WebGLRenderingContext.uniform3f') | 2866 @DomName('WebGLRenderingContext.uniform3f') |
| 2867 @DocsEditable() | 2867 @DocsEditable() |
| 2868 void uniform3f(UniformLocation location, num x, num y, num z) => blink.Native_
WebGLRenderingContext_uniform3f_Callback(this, location, x, y, z); | 2868 void uniform3f(UniformLocation location, num x, num y, num z) => _blink.Native
_WebGLRenderingContext_uniform3f_Callback(this, location, x, y, z); |
| 2869 | 2869 |
| 2870 @DomName('WebGLRenderingContext.uniform3fv') | 2870 @DomName('WebGLRenderingContext.uniform3fv') |
| 2871 @DocsEditable() | 2871 @DocsEditable() |
| 2872 void uniform3fv(UniformLocation location, Float32List v) => blink.Native_WebGL
RenderingContext_uniform3fv_Callback(this, location, v); | 2872 void uniform3fv(UniformLocation location, Float32List v) => _blink.Native_WebG
LRenderingContext_uniform3fv_Callback(this, location, v); |
| 2873 | 2873 |
| 2874 @DomName('WebGLRenderingContext.uniform3i') | 2874 @DomName('WebGLRenderingContext.uniform3i') |
| 2875 @DocsEditable() | 2875 @DocsEditable() |
| 2876 void uniform3i(UniformLocation location, int x, int y, int z) => blink.Native_
WebGLRenderingContext_uniform3i_Callback(this, location, x, y, z); | 2876 void uniform3i(UniformLocation location, int x, int y, int z) => _blink.Native
_WebGLRenderingContext_uniform3i_Callback(this, location, x, y, z); |
| 2877 | 2877 |
| 2878 @DomName('WebGLRenderingContext.uniform3iv') | 2878 @DomName('WebGLRenderingContext.uniform3iv') |
| 2879 @DocsEditable() | 2879 @DocsEditable() |
| 2880 void uniform3iv(UniformLocation location, Int32List v) => blink.Native_WebGLRe
nderingContext_uniform3iv_Callback(this, location, v); | 2880 void uniform3iv(UniformLocation location, Int32List v) => _blink.Native_WebGLR
enderingContext_uniform3iv_Callback(this, location, v); |
| 2881 | 2881 |
| 2882 @DomName('WebGLRenderingContext.uniform4f') | 2882 @DomName('WebGLRenderingContext.uniform4f') |
| 2883 @DocsEditable() | 2883 @DocsEditable() |
| 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 void uniform4f(UniformLocation location, num x, num y, num z, num w) => _blink
.Native_WebGLRenderingContext_uniform4f_Callback(this, location, x, y, z, w); |
| 2885 | 2885 |
| 2886 @DomName('WebGLRenderingContext.uniform4fv') | 2886 @DomName('WebGLRenderingContext.uniform4fv') |
| 2887 @DocsEditable() | 2887 @DocsEditable() |
| 2888 void uniform4fv(UniformLocation location, Float32List v) => blink.Native_WebGL
RenderingContext_uniform4fv_Callback(this, location, v); | 2888 void uniform4fv(UniformLocation location, Float32List v) => _blink.Native_WebG
LRenderingContext_uniform4fv_Callback(this, location, v); |
| 2889 | 2889 |
| 2890 @DomName('WebGLRenderingContext.uniform4i') | 2890 @DomName('WebGLRenderingContext.uniform4i') |
| 2891 @DocsEditable() | 2891 @DocsEditable() |
| 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 void uniform4i(UniformLocation location, int x, int y, int z, int w) => _blink
.Native_WebGLRenderingContext_uniform4i_Callback(this, location, x, y, z, w); |
| 2893 | 2893 |
| 2894 @DomName('WebGLRenderingContext.uniform4iv') | 2894 @DomName('WebGLRenderingContext.uniform4iv') |
| 2895 @DocsEditable() | 2895 @DocsEditable() |
| 2896 void uniform4iv(UniformLocation location, Int32List v) => blink.Native_WebGLRe
nderingContext_uniform4iv_Callback(this, location, v); | 2896 void uniform4iv(UniformLocation location, Int32List v) => _blink.Native_WebGLR
enderingContext_uniform4iv_Callback(this, location, v); |
| 2897 | 2897 |
| 2898 @DomName('WebGLRenderingContext.uniformMatrix2fv') | 2898 @DomName('WebGLRenderingContext.uniformMatrix2fv') |
| 2899 @DocsEditable() | 2899 @DocsEditable() |
| 2900 void uniformMatrix2fv(UniformLocation location, bool transpose, Float32List ar
ray) => blink.Native_WebGLRenderingContext_uniformMatrix2fv_Callback(this, locat
ion, transpose, array); | 2900 void uniformMatrix2fv(UniformLocation location, bool transpose, Float32List ar
ray) => _blink.Native_WebGLRenderingContext_uniformMatrix2fv_Callback(this, loca
tion, transpose, array); |
| 2901 | 2901 |
| 2902 @DomName('WebGLRenderingContext.uniformMatrix3fv') | 2902 @DomName('WebGLRenderingContext.uniformMatrix3fv') |
| 2903 @DocsEditable() | 2903 @DocsEditable() |
| 2904 void uniformMatrix3fv(UniformLocation location, bool transpose, Float32List ar
ray) => blink.Native_WebGLRenderingContext_uniformMatrix3fv_Callback(this, locat
ion, transpose, array); | 2904 void uniformMatrix3fv(UniformLocation location, bool transpose, Float32List ar
ray) => _blink.Native_WebGLRenderingContext_uniformMatrix3fv_Callback(this, loca
tion, transpose, array); |
| 2905 | 2905 |
| 2906 @DomName('WebGLRenderingContext.uniformMatrix4fv') | 2906 @DomName('WebGLRenderingContext.uniformMatrix4fv') |
| 2907 @DocsEditable() | 2907 @DocsEditable() |
| 2908 void uniformMatrix4fv(UniformLocation location, bool transpose, Float32List ar
ray) => blink.Native_WebGLRenderingContext_uniformMatrix4fv_Callback(this, locat
ion, transpose, array); | 2908 void uniformMatrix4fv(UniformLocation location, bool transpose, Float32List ar
ray) => _blink.Native_WebGLRenderingContext_uniformMatrix4fv_Callback(this, loca
tion, transpose, array); |
| 2909 | 2909 |
| 2910 @DomName('WebGLRenderingContext.useProgram') | 2910 @DomName('WebGLRenderingContext.useProgram') |
| 2911 @DocsEditable() | 2911 @DocsEditable() |
| 2912 void useProgram(Program program) => blink.Native_WebGLRenderingContext_useProg
ram_Callback(this, program); | 2912 void useProgram(Program program) => _blink.Native_WebGLRenderingContext_usePro
gram_Callback(this, program); |
| 2913 | 2913 |
| 2914 @DomName('WebGLRenderingContext.validateProgram') | 2914 @DomName('WebGLRenderingContext.validateProgram') |
| 2915 @DocsEditable() | 2915 @DocsEditable() |
| 2916 void validateProgram(Program program) => blink.Native_WebGLRenderingContext_va
lidateProgram_Callback(this, program); | 2916 void validateProgram(Program program) => _blink.Native_WebGLRenderingContext_v
alidateProgram_Callback(this, program); |
| 2917 | 2917 |
| 2918 @DomName('WebGLRenderingContext.vertexAttrib1f') | 2918 @DomName('WebGLRenderingContext.vertexAttrib1f') |
| 2919 @DocsEditable() | 2919 @DocsEditable() |
| 2920 void vertexAttrib1f(int indx, num x) => blink.Native_WebGLRenderingContext_ver
texAttrib1f_Callback(this, indx, x); | 2920 void vertexAttrib1f(int indx, num x) => _blink.Native_WebGLRenderingContext_ve
rtexAttrib1f_Callback(this, indx, x); |
| 2921 | 2921 |
| 2922 @DomName('WebGLRenderingContext.vertexAttrib1fv') | 2922 @DomName('WebGLRenderingContext.vertexAttrib1fv') |
| 2923 @DocsEditable() | 2923 @DocsEditable() |
| 2924 void vertexAttrib1fv(int indx, Float32List values) => blink.Native_WebGLRender
ingContext_vertexAttrib1fv_Callback(this, indx, values); | 2924 void vertexAttrib1fv(int indx, Float32List values) => _blink.Native_WebGLRende
ringContext_vertexAttrib1fv_Callback(this, indx, values); |
| 2925 | 2925 |
| 2926 @DomName('WebGLRenderingContext.vertexAttrib2f') | 2926 @DomName('WebGLRenderingContext.vertexAttrib2f') |
| 2927 @DocsEditable() | 2927 @DocsEditable() |
| 2928 void vertexAttrib2f(int indx, num x, num y) => blink.Native_WebGLRenderingCont
ext_vertexAttrib2f_Callback(this, indx, x, y); | 2928 void vertexAttrib2f(int indx, num x, num y) => _blink.Native_WebGLRenderingCon
text_vertexAttrib2f_Callback(this, indx, x, y); |
| 2929 | 2929 |
| 2930 @DomName('WebGLRenderingContext.vertexAttrib2fv') | 2930 @DomName('WebGLRenderingContext.vertexAttrib2fv') |
| 2931 @DocsEditable() | 2931 @DocsEditable() |
| 2932 void vertexAttrib2fv(int indx, Float32List values) => blink.Native_WebGLRender
ingContext_vertexAttrib2fv_Callback(this, indx, values); | 2932 void vertexAttrib2fv(int indx, Float32List values) => _blink.Native_WebGLRende
ringContext_vertexAttrib2fv_Callback(this, indx, values); |
| 2933 | 2933 |
| 2934 @DomName('WebGLRenderingContext.vertexAttrib3f') | 2934 @DomName('WebGLRenderingContext.vertexAttrib3f') |
| 2935 @DocsEditable() | 2935 @DocsEditable() |
| 2936 void vertexAttrib3f(int indx, num x, num y, num z) => blink.Native_WebGLRender
ingContext_vertexAttrib3f_Callback(this, indx, x, y, z); | 2936 void vertexAttrib3f(int indx, num x, num y, num z) => _blink.Native_WebGLRende
ringContext_vertexAttrib3f_Callback(this, indx, x, y, z); |
| 2937 | 2937 |
| 2938 @DomName('WebGLRenderingContext.vertexAttrib3fv') | 2938 @DomName('WebGLRenderingContext.vertexAttrib3fv') |
| 2939 @DocsEditable() | 2939 @DocsEditable() |
| 2940 void vertexAttrib3fv(int indx, Float32List values) => blink.Native_WebGLRender
ingContext_vertexAttrib3fv_Callback(this, indx, values); | 2940 void vertexAttrib3fv(int indx, Float32List values) => _blink.Native_WebGLRende
ringContext_vertexAttrib3fv_Callback(this, indx, values); |
| 2941 | 2941 |
| 2942 @DomName('WebGLRenderingContext.vertexAttrib4f') | 2942 @DomName('WebGLRenderingContext.vertexAttrib4f') |
| 2943 @DocsEditable() | 2943 @DocsEditable() |
| 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 void vertexAttrib4f(int indx, num x, num y, num z, num w) => _blink.Native_Web
GLRenderingContext_vertexAttrib4f_Callback(this, indx, x, y, z, w); |
| 2945 | 2945 |
| 2946 @DomName('WebGLRenderingContext.vertexAttrib4fv') | 2946 @DomName('WebGLRenderingContext.vertexAttrib4fv') |
| 2947 @DocsEditable() | 2947 @DocsEditable() |
| 2948 void vertexAttrib4fv(int indx, Float32List values) => blink.Native_WebGLRender
ingContext_vertexAttrib4fv_Callback(this, indx, values); | 2948 void vertexAttrib4fv(int indx, Float32List values) => _blink.Native_WebGLRende
ringContext_vertexAttrib4fv_Callback(this, indx, values); |
| 2949 | 2949 |
| 2950 @DomName('WebGLRenderingContext.vertexAttribPointer') | 2950 @DomName('WebGLRenderingContext.vertexAttribPointer') |
| 2951 @DocsEditable() | 2951 @DocsEditable() |
| 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 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) => _blink.Native_WebGLRenderingContext_vertexAttribPointer_Cal
lback(this, indx, size, type, normalized, stride, offset); |
| 2953 | 2953 |
| 2954 @DomName('WebGLRenderingContext.viewport') | 2954 @DomName('WebGLRenderingContext.viewport') |
| 2955 @DocsEditable() | 2955 @DocsEditable() |
| 2956 void viewport(int x, int y, int width, int height) => blink.Native_WebGLRender
ingContext_viewport_Callback(this, x, y, width, height); | 2956 void viewport(int x, int y, int width, int height) => _blink.Native_WebGLRende
ringContext_viewport_Callback(this, x, y, width, height); |
| 2957 | 2957 |
| 2958 | 2958 |
| 2959 /** | 2959 /** |
| 2960 * Sets the currently bound texture to [data]. | 2960 * Sets the currently bound texture to [data]. |
| 2961 * | 2961 * |
| 2962 * [data] can be either an [ImageElement], a | 2962 * [data] can be either an [ImageElement], a |
| 2963 * [CanvasElement], a [VideoElement], or an [ImageData] object. | 2963 * [CanvasElement], a [VideoElement], or an [ImageData] object. |
| 2964 * | 2964 * |
| 2965 * To use [texImage2d] with a TypedData object, use [texImage2dTyped]. | 2965 * To use [texImage2d] with a TypedData object, use [texImage2dTyped]. |
| 2966 * | 2966 * |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3038 | 3038 |
| 3039 | 3039 |
| 3040 @DocsEditable() | 3040 @DocsEditable() |
| 3041 @DomName('WebGLShaderPrecisionFormat') | 3041 @DomName('WebGLShaderPrecisionFormat') |
| 3042 class ShaderPrecisionFormat extends NativeFieldWrapperClass2 { | 3042 class ShaderPrecisionFormat extends NativeFieldWrapperClass2 { |
| 3043 // To suppress missing implicit constructor warnings. | 3043 // To suppress missing implicit constructor warnings. |
| 3044 factory ShaderPrecisionFormat._() { throw new UnsupportedError("Not supported"
); } | 3044 factory ShaderPrecisionFormat._() { throw new UnsupportedError("Not supported"
); } |
| 3045 | 3045 |
| 3046 @DomName('WebGLShaderPrecisionFormat.precision') | 3046 @DomName('WebGLShaderPrecisionFormat.precision') |
| 3047 @DocsEditable() | 3047 @DocsEditable() |
| 3048 int get precision => blink.Native_WebGLShaderPrecisionFormat_precision_Getter(
this); | 3048 int get precision => _blink.Native_WebGLShaderPrecisionFormat_precision_Getter
(this); |
| 3049 | 3049 |
| 3050 @DomName('WebGLShaderPrecisionFormat.rangeMax') | 3050 @DomName('WebGLShaderPrecisionFormat.rangeMax') |
| 3051 @DocsEditable() | 3051 @DocsEditable() |
| 3052 int get rangeMax => blink.Native_WebGLShaderPrecisionFormat_rangeMax_Getter(th
is); | 3052 int get rangeMax => _blink.Native_WebGLShaderPrecisionFormat_rangeMax_Getter(t
his); |
| 3053 | 3053 |
| 3054 @DomName('WebGLShaderPrecisionFormat.rangeMin') | 3054 @DomName('WebGLShaderPrecisionFormat.rangeMin') |
| 3055 @DocsEditable() | 3055 @DocsEditable() |
| 3056 int get rangeMin => blink.Native_WebGLShaderPrecisionFormat_rangeMin_Getter(th
is); | 3056 int get rangeMin => _blink.Native_WebGLShaderPrecisionFormat_rangeMin_Getter(t
his); |
| 3057 | 3057 |
| 3058 } | 3058 } |
| 3059 // 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 |
| 3060 // 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 |
| 3061 // BSD-style license that can be found in the LICENSE file. | 3061 // BSD-style license that can be found in the LICENSE file. |
| 3062 | 3062 |
| 3063 // WARNING: Do not edit - generated code. | 3063 // WARNING: Do not edit - generated code. |
| 3064 | 3064 |
| 3065 | 3065 |
| 3066 @DocsEditable() | 3066 @DocsEditable() |
| (...skipping 26 matching lines...) Expand all Loading... |
| 3093 | 3093 |
| 3094 @DocsEditable() | 3094 @DocsEditable() |
| 3095 @DomName('WebGLVertexArrayObjectOES') | 3095 @DomName('WebGLVertexArrayObjectOES') |
| 3096 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ | 3096 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ |
| 3097 @Experimental() // experimental | 3097 @Experimental() // experimental |
| 3098 class VertexArrayObject extends NativeFieldWrapperClass2 { | 3098 class VertexArrayObject extends NativeFieldWrapperClass2 { |
| 3099 // To suppress missing implicit constructor warnings. | 3099 // To suppress missing implicit constructor warnings. |
| 3100 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } | 3100 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } |
| 3101 | 3101 |
| 3102 } | 3102 } |
| OLD | NEW |