OLD | NEW |
1 /** | 1 /** |
2 * 3D programming in the browser. | 2 * 3D programming in the browser. |
3 */ | 3 */ |
4 library dart.dom.web_gl; | 4 library dart.dom.web_gl; |
5 | 5 |
6 import 'dart:collection'; | 6 import 'dart:collection'; |
7 import 'dart:_internal'; | 7 import 'dart:_internal'; |
8 import 'dart:html'; | 8 import 'dart:html'; |
9 import 'dart:html_common'; | 9 import 'dart:html_common'; |
10 import 'dart:_native_typed_data'; | 10 import 'dart:_native_typed_data'; |
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE') | 392 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE') |
393 @DocsEditable() | 393 @DocsEditable() |
394 @Experimental() // untriaged | 394 @Experimental() // untriaged |
395 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; | 395 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; |
396 | 396 |
397 @JSName('drawArraysInstancedANGLE') | 397 @JSName('drawArraysInstancedANGLE') |
398 @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE') | 398 @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE') |
399 @DocsEditable() | 399 @DocsEditable() |
400 @Experimental() // untriaged | 400 @Experimental() // untriaged |
401 void drawArraysInstancedAngle(int mode, int first, int count, int primcount) | 401 void drawArraysInstancedAngle(int mode, int first, int count, int primcount) |
402 native ; | 402 native; |
403 | 403 |
404 @JSName('drawElementsInstancedANGLE') | 404 @JSName('drawElementsInstancedANGLE') |
405 @DomName('ANGLEInstancedArrays.drawElementsInstancedANGLE') | 405 @DomName('ANGLEInstancedArrays.drawElementsInstancedANGLE') |
406 @DocsEditable() | 406 @DocsEditable() |
407 @Experimental() // untriaged | 407 @Experimental() // untriaged |
408 void drawElementsInstancedAngle( | 408 void drawElementsInstancedAngle( |
409 int mode, int count, int type, int offset, int primcount) native ; | 409 int mode, int count, int type, int offset, int primcount) native; |
410 | 410 |
411 @JSName('vertexAttribDivisorANGLE') | 411 @JSName('vertexAttribDivisorANGLE') |
412 @DomName('ANGLEInstancedArrays.vertexAttribDivisorANGLE') | 412 @DomName('ANGLEInstancedArrays.vertexAttribDivisorANGLE') |
413 @DocsEditable() | 413 @DocsEditable() |
414 @Experimental() // untriaged | 414 @Experimental() // untriaged |
415 void vertexAttribDivisorAngle(int index, int divisor) native ; | 415 void vertexAttribDivisorAngle(int index, int divisor) native; |
416 } | 416 } |
417 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 417 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
418 // for details. All rights reserved. Use of this source code is governed by a | 418 // for details. All rights reserved. Use of this source code is governed by a |
419 // BSD-style license that can be found in the LICENSE file. | 419 // BSD-style license that can be found in the LICENSE file. |
420 | 420 |
421 @DocsEditable() | 421 @DocsEditable() |
422 @DomName('WebGLBuffer') | 422 @DomName('WebGLBuffer') |
423 @Unstable() | 423 @Unstable() |
424 @Native("WebGLBuffer") | 424 @Native("WebGLBuffer") |
425 class Buffer extends Interceptor { | 425 class Buffer extends Interceptor { |
(...skipping 23 matching lines...) Expand all Loading... |
449 | 449 |
450 @DomName('CHROMIUMSubscribeUniform.SUBSCRIBED_VALUES_BUFFER_CHROMIUM') | 450 @DomName('CHROMIUMSubscribeUniform.SUBSCRIBED_VALUES_BUFFER_CHROMIUM') |
451 @DocsEditable() | 451 @DocsEditable() |
452 @Experimental() // untriaged | 452 @Experimental() // untriaged |
453 static const int SUBSCRIBED_VALUES_BUFFER_CHROMIUM = 0x924B; | 453 static const int SUBSCRIBED_VALUES_BUFFER_CHROMIUM = 0x924B; |
454 | 454 |
455 @JSName('bindValuebufferCHROMIUM') | 455 @JSName('bindValuebufferCHROMIUM') |
456 @DomName('CHROMIUMSubscribeUniform.bindValuebufferCHROMIUM') | 456 @DomName('CHROMIUMSubscribeUniform.bindValuebufferCHROMIUM') |
457 @DocsEditable() | 457 @DocsEditable() |
458 @Experimental() // untriaged | 458 @Experimental() // untriaged |
459 void bindValuebufferChromium(int target, ChromiumValuebuffer buffer) native ; | 459 void bindValuebufferChromium(int target, ChromiumValuebuffer buffer) native; |
460 | 460 |
461 @JSName('createValuebufferCHROMIUM') | 461 @JSName('createValuebufferCHROMIUM') |
462 @DomName('CHROMIUMSubscribeUniform.createValuebufferCHROMIUM') | 462 @DomName('CHROMIUMSubscribeUniform.createValuebufferCHROMIUM') |
463 @DocsEditable() | 463 @DocsEditable() |
464 @Experimental() // untriaged | 464 @Experimental() // untriaged |
465 ChromiumValuebuffer createValuebufferChromium() native ; | 465 ChromiumValuebuffer createValuebufferChromium() native; |
466 | 466 |
467 @JSName('deleteValuebufferCHROMIUM') | 467 @JSName('deleteValuebufferCHROMIUM') |
468 @DomName('CHROMIUMSubscribeUniform.deleteValuebufferCHROMIUM') | 468 @DomName('CHROMIUMSubscribeUniform.deleteValuebufferCHROMIUM') |
469 @DocsEditable() | 469 @DocsEditable() |
470 @Experimental() // untriaged | 470 @Experimental() // untriaged |
471 void deleteValuebufferChromium(ChromiumValuebuffer buffer) native ; | 471 void deleteValuebufferChromium(ChromiumValuebuffer buffer) native; |
472 | 472 |
473 @JSName('isValuebufferCHROMIUM') | 473 @JSName('isValuebufferCHROMIUM') |
474 @DomName('CHROMIUMSubscribeUniform.isValuebufferCHROMIUM') | 474 @DomName('CHROMIUMSubscribeUniform.isValuebufferCHROMIUM') |
475 @DocsEditable() | 475 @DocsEditable() |
476 @Experimental() // untriaged | 476 @Experimental() // untriaged |
477 bool isValuebufferChromium(ChromiumValuebuffer buffer) native ; | 477 bool isValuebufferChromium(ChromiumValuebuffer buffer) native; |
478 | 478 |
479 @JSName('populateSubscribedValuesCHROMIUM') | 479 @JSName('populateSubscribedValuesCHROMIUM') |
480 @DomName('CHROMIUMSubscribeUniform.populateSubscribedValuesCHROMIUM') | 480 @DomName('CHROMIUMSubscribeUniform.populateSubscribedValuesCHROMIUM') |
481 @DocsEditable() | 481 @DocsEditable() |
482 @Experimental() // untriaged | 482 @Experimental() // untriaged |
483 void populateSubscribedValuesChromium(int target) native ; | 483 void populateSubscribedValuesChromium(int target) native; |
484 | 484 |
485 @JSName('subscribeValueCHROMIUM') | 485 @JSName('subscribeValueCHROMIUM') |
486 @DomName('CHROMIUMSubscribeUniform.subscribeValueCHROMIUM') | 486 @DomName('CHROMIUMSubscribeUniform.subscribeValueCHROMIUM') |
487 @DocsEditable() | 487 @DocsEditable() |
488 @Experimental() // untriaged | 488 @Experimental() // untriaged |
489 void subscribeValueChromium(int target, int subscriptions) native ; | 489 void subscribeValueChromium(int target, int subscriptions) native; |
490 | 490 |
491 @JSName('uniformValuebufferCHROMIUM') | 491 @JSName('uniformValuebufferCHROMIUM') |
492 @DomName('CHROMIUMSubscribeUniform.uniformValuebufferCHROMIUM') | 492 @DomName('CHROMIUMSubscribeUniform.uniformValuebufferCHROMIUM') |
493 @DocsEditable() | 493 @DocsEditable() |
494 @Experimental() // untriaged | 494 @Experimental() // untriaged |
495 void uniformValuebufferChromium( | 495 void uniformValuebufferChromium( |
496 UniformLocation location, int target, int subscription) native ; | 496 UniformLocation location, int target, int subscription) native; |
497 } | 497 } |
498 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 498 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
499 // for details. All rights reserved. Use of this source code is governed by a | 499 // for details. All rights reserved. Use of this source code is governed by a |
500 // BSD-style license that can be found in the LICENSE file. | 500 // BSD-style license that can be found in the LICENSE file. |
501 | 501 |
502 @DocsEditable() | 502 @DocsEditable() |
503 @DomName('WebGLCompressedTextureATC') | 503 @DomName('WebGLCompressedTextureATC') |
504 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc
/ | 504 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc
/ |
505 @Experimental() | 505 @Experimental() |
506 @Native("WebGLCompressedTextureATC,WEBGL_compressed_texture_atc") | 506 @Native("WebGLCompressedTextureATC,WEBGL_compressed_texture_atc") |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
669 @Experimental() // experimental | 669 @Experimental() // experimental |
670 @Native("WebGLDebugShaders,WEBGL_debug_shaders") | 670 @Native("WebGLDebugShaders,WEBGL_debug_shaders") |
671 class DebugShaders extends Interceptor { | 671 class DebugShaders extends Interceptor { |
672 // To suppress missing implicit constructor warnings. | 672 // To suppress missing implicit constructor warnings. |
673 factory DebugShaders._() { | 673 factory DebugShaders._() { |
674 throw new UnsupportedError("Not supported"); | 674 throw new UnsupportedError("Not supported"); |
675 } | 675 } |
676 | 676 |
677 @DomName('WebGLDebugShaders.getTranslatedShaderSource') | 677 @DomName('WebGLDebugShaders.getTranslatedShaderSource') |
678 @DocsEditable() | 678 @DocsEditable() |
679 String getTranslatedShaderSource(Shader shader) native ; | 679 String getTranslatedShaderSource(Shader shader) native; |
680 } | 680 } |
681 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 681 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
682 // for details. All rights reserved. Use of this source code is governed by a | 682 // for details. All rights reserved. Use of this source code is governed by a |
683 // BSD-style license that can be found in the LICENSE file. | 683 // BSD-style license that can be found in the LICENSE file. |
684 | 684 |
685 @DocsEditable() | 685 @DocsEditable() |
686 @DomName('WebGLDepthTexture') | 686 @DomName('WebGLDepthTexture') |
687 // http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/ | 687 // http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/ |
688 @Experimental() // experimental | 688 @Experimental() // experimental |
689 @Native("WebGLDepthTexture,WEBGL_depth_texture") | 689 @Native("WebGLDepthTexture,WEBGL_depth_texture") |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
844 @DocsEditable() | 844 @DocsEditable() |
845 static const int MAX_COLOR_ATTACHMENTS_WEBGL = 0x8CDF; | 845 static const int MAX_COLOR_ATTACHMENTS_WEBGL = 0x8CDF; |
846 | 846 |
847 @DomName('WebGLDrawBuffers.MAX_DRAW_BUFFERS_WEBGL') | 847 @DomName('WebGLDrawBuffers.MAX_DRAW_BUFFERS_WEBGL') |
848 @DocsEditable() | 848 @DocsEditable() |
849 static const int MAX_DRAW_BUFFERS_WEBGL = 0x8824; | 849 static const int MAX_DRAW_BUFFERS_WEBGL = 0x8824; |
850 | 850 |
851 @JSName('drawBuffersWEBGL') | 851 @JSName('drawBuffersWEBGL') |
852 @DomName('WebGLDrawBuffers.drawBuffersWEBGL') | 852 @DomName('WebGLDrawBuffers.drawBuffersWEBGL') |
853 @DocsEditable() | 853 @DocsEditable() |
854 void drawBuffersWebgl(List<int> buffers) native ; | 854 void drawBuffersWebgl(List<int> buffers) native; |
855 } | 855 } |
856 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 856 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
857 // for details. All rights reserved. Use of this source code is governed by a | 857 // for details. All rights reserved. Use of this source code is governed by a |
858 // BSD-style license that can be found in the LICENSE file. | 858 // BSD-style license that can be found in the LICENSE file. |
859 | 859 |
860 @DocsEditable() | 860 @DocsEditable() |
861 @DomName('EXTsRGB') | 861 @DomName('EXTsRGB') |
862 @Experimental() // untriaged | 862 @Experimental() // untriaged |
863 @Native("EXTsRGB,EXT_sRGB") | 863 @Native("EXTsRGB,EXT_sRGB") |
864 class EXTsRgb extends Interceptor { | 864 class EXTsRgb extends Interceptor { |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
987 @Experimental() | 987 @Experimental() |
988 @Native("WebGLLoseContext,WebGLExtensionLoseContext,WEBGL_lose_context") | 988 @Native("WebGLLoseContext,WebGLExtensionLoseContext,WEBGL_lose_context") |
989 class LoseContext extends Interceptor { | 989 class LoseContext extends Interceptor { |
990 // To suppress missing implicit constructor warnings. | 990 // To suppress missing implicit constructor warnings. |
991 factory LoseContext._() { | 991 factory LoseContext._() { |
992 throw new UnsupportedError("Not supported"); | 992 throw new UnsupportedError("Not supported"); |
993 } | 993 } |
994 | 994 |
995 @DomName('WebGLLoseContext.loseContext') | 995 @DomName('WebGLLoseContext.loseContext') |
996 @DocsEditable() | 996 @DocsEditable() |
997 void loseContext() native ; | 997 void loseContext() native; |
998 | 998 |
999 @DomName('WebGLLoseContext.restoreContext') | 999 @DomName('WebGLLoseContext.restoreContext') |
1000 @DocsEditable() | 1000 @DocsEditable() |
1001 void restoreContext() native ; | 1001 void restoreContext() native; |
1002 } | 1002 } |
1003 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1003 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1004 // for details. All rights reserved. Use of this source code is governed by a | 1004 // for details. All rights reserved. Use of this source code is governed by a |
1005 // BSD-style license that can be found in the LICENSE file. | 1005 // BSD-style license that can be found in the LICENSE file. |
1006 | 1006 |
1007 @DocsEditable() | 1007 @DocsEditable() |
1008 @DomName('OESElementIndexUint') | 1008 @DomName('OESElementIndexUint') |
1009 // http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/ | 1009 // http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/ |
1010 @Experimental() // experimental | 1010 @Experimental() // experimental |
1011 @Native("OESElementIndexUint,OES_element_index_uint") | 1011 @Native("OESElementIndexUint,OES_element_index_uint") |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1113 throw new UnsupportedError("Not supported"); | 1113 throw new UnsupportedError("Not supported"); |
1114 } | 1114 } |
1115 | 1115 |
1116 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') | 1116 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') |
1117 @DocsEditable() | 1117 @DocsEditable() |
1118 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; | 1118 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; |
1119 | 1119 |
1120 @JSName('bindVertexArrayOES') | 1120 @JSName('bindVertexArrayOES') |
1121 @DomName('OESVertexArrayObject.bindVertexArrayOES') | 1121 @DomName('OESVertexArrayObject.bindVertexArrayOES') |
1122 @DocsEditable() | 1122 @DocsEditable() |
1123 void bindVertexArray(VertexArrayObjectOes arrayObject) native ; | 1123 void bindVertexArray(VertexArrayObjectOes arrayObject) native; |
1124 | 1124 |
1125 @JSName('createVertexArrayOES') | 1125 @JSName('createVertexArrayOES') |
1126 @DomName('OESVertexArrayObject.createVertexArrayOES') | 1126 @DomName('OESVertexArrayObject.createVertexArrayOES') |
1127 @DocsEditable() | 1127 @DocsEditable() |
1128 VertexArrayObjectOes createVertexArray() native ; | 1128 VertexArrayObjectOes createVertexArray() native; |
1129 | 1129 |
1130 @JSName('deleteVertexArrayOES') | 1130 @JSName('deleteVertexArrayOES') |
1131 @DomName('OESVertexArrayObject.deleteVertexArrayOES') | 1131 @DomName('OESVertexArrayObject.deleteVertexArrayOES') |
1132 @DocsEditable() | 1132 @DocsEditable() |
1133 void deleteVertexArray(VertexArrayObjectOes arrayObject) native ; | 1133 void deleteVertexArray(VertexArrayObjectOes arrayObject) native; |
1134 | 1134 |
1135 @JSName('isVertexArrayOES') | 1135 @JSName('isVertexArrayOES') |
1136 @DomName('OESVertexArrayObject.isVertexArrayOES') | 1136 @DomName('OESVertexArrayObject.isVertexArrayOES') |
1137 @DocsEditable() | 1137 @DocsEditable() |
1138 bool isVertexArray(VertexArrayObjectOes arrayObject) native ; | 1138 bool isVertexArray(VertexArrayObjectOes arrayObject) native; |
1139 } | 1139 } |
1140 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1140 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1141 // for details. All rights reserved. Use of this source code is governed by a | 1141 // for details. All rights reserved. Use of this source code is governed by a |
1142 // BSD-style license that can be found in the LICENSE file. | 1142 // BSD-style license that can be found in the LICENSE file. |
1143 | 1143 |
1144 @DocsEditable() | 1144 @DocsEditable() |
1145 @DomName('WebGLProgram') | 1145 @DomName('WebGLProgram') |
1146 @Unstable() | 1146 @Unstable() |
1147 @Native("WebGLProgram") | 1147 @Native("WebGLProgram") |
1148 class Program extends Interceptor { | 1148 class Program extends Interceptor { |
(...skipping 1249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2398 @DomName('WebGLRenderingContext.drawingBufferHeight') | 2398 @DomName('WebGLRenderingContext.drawingBufferHeight') |
2399 @DocsEditable() | 2399 @DocsEditable() |
2400 final int drawingBufferHeight; | 2400 final int drawingBufferHeight; |
2401 | 2401 |
2402 @DomName('WebGLRenderingContext.drawingBufferWidth') | 2402 @DomName('WebGLRenderingContext.drawingBufferWidth') |
2403 @DocsEditable() | 2403 @DocsEditable() |
2404 final int drawingBufferWidth; | 2404 final int drawingBufferWidth; |
2405 | 2405 |
2406 @DomName('WebGLRenderingContext.activeTexture') | 2406 @DomName('WebGLRenderingContext.activeTexture') |
2407 @DocsEditable() | 2407 @DocsEditable() |
2408 void activeTexture(int texture) native ; | 2408 void activeTexture(int texture) native; |
2409 | 2409 |
2410 @DomName('WebGLRenderingContext.attachShader') | 2410 @DomName('WebGLRenderingContext.attachShader') |
2411 @DocsEditable() | 2411 @DocsEditable() |
2412 void attachShader(Program program, Shader shader) native ; | 2412 void attachShader(Program program, Shader shader) native; |
2413 | 2413 |
2414 @DomName('WebGLRenderingContext.bindAttribLocation') | 2414 @DomName('WebGLRenderingContext.bindAttribLocation') |
2415 @DocsEditable() | 2415 @DocsEditable() |
2416 void bindAttribLocation(Program program, int index, String name) native ; | 2416 void bindAttribLocation(Program program, int index, String name) native; |
2417 | 2417 |
2418 @DomName('WebGLRenderingContext.bindBuffer') | 2418 @DomName('WebGLRenderingContext.bindBuffer') |
2419 @DocsEditable() | 2419 @DocsEditable() |
2420 void bindBuffer(int target, Buffer buffer) native ; | 2420 void bindBuffer(int target, Buffer buffer) native; |
2421 | 2421 |
2422 @DomName('WebGLRenderingContext.bindFramebuffer') | 2422 @DomName('WebGLRenderingContext.bindFramebuffer') |
2423 @DocsEditable() | 2423 @DocsEditable() |
2424 void bindFramebuffer(int target, Framebuffer framebuffer) native ; | 2424 void bindFramebuffer(int target, Framebuffer framebuffer) native; |
2425 | 2425 |
2426 @DomName('WebGLRenderingContext.bindRenderbuffer') | 2426 @DomName('WebGLRenderingContext.bindRenderbuffer') |
2427 @DocsEditable() | 2427 @DocsEditable() |
2428 void bindRenderbuffer(int target, Renderbuffer renderbuffer) native ; | 2428 void bindRenderbuffer(int target, Renderbuffer renderbuffer) native; |
2429 | 2429 |
2430 @DomName('WebGLRenderingContext.bindTexture') | 2430 @DomName('WebGLRenderingContext.bindTexture') |
2431 @DocsEditable() | 2431 @DocsEditable() |
2432 void bindTexture(int target, Texture texture) native ; | 2432 void bindTexture(int target, Texture texture) native; |
2433 | 2433 |
2434 @DomName('WebGLRenderingContext.blendColor') | 2434 @DomName('WebGLRenderingContext.blendColor') |
2435 @DocsEditable() | 2435 @DocsEditable() |
2436 void blendColor(num red, num green, num blue, num alpha) native ; | 2436 void blendColor(num red, num green, num blue, num alpha) native; |
2437 | 2437 |
2438 @DomName('WebGLRenderingContext.blendEquation') | 2438 @DomName('WebGLRenderingContext.blendEquation') |
2439 @DocsEditable() | 2439 @DocsEditable() |
2440 void blendEquation(int mode) native ; | 2440 void blendEquation(int mode) native; |
2441 | 2441 |
2442 @DomName('WebGLRenderingContext.blendEquationSeparate') | 2442 @DomName('WebGLRenderingContext.blendEquationSeparate') |
2443 @DocsEditable() | 2443 @DocsEditable() |
2444 void blendEquationSeparate(int modeRGB, int modeAlpha) native ; | 2444 void blendEquationSeparate(int modeRGB, int modeAlpha) native; |
2445 | 2445 |
2446 @DomName('WebGLRenderingContext.blendFunc') | 2446 @DomName('WebGLRenderingContext.blendFunc') |
2447 @DocsEditable() | 2447 @DocsEditable() |
2448 void blendFunc(int sfactor, int dfactor) native ; | 2448 void blendFunc(int sfactor, int dfactor) native; |
2449 | 2449 |
2450 @DomName('WebGLRenderingContext.blendFuncSeparate') | 2450 @DomName('WebGLRenderingContext.blendFuncSeparate') |
2451 @DocsEditable() | 2451 @DocsEditable() |
2452 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) | 2452 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) |
2453 native ; | 2453 native; |
2454 | 2454 |
2455 @DomName('WebGLRenderingContext.bufferData') | 2455 @DomName('WebGLRenderingContext.bufferData') |
2456 @DocsEditable() | 2456 @DocsEditable() |
2457 void bufferData(int target, data_OR_size, int usage) native ; | 2457 void bufferData(int target, data_OR_size, int usage) native; |
2458 | 2458 |
2459 @DomName('WebGLRenderingContext.bufferSubData') | 2459 @DomName('WebGLRenderingContext.bufferSubData') |
2460 @DocsEditable() | 2460 @DocsEditable() |
2461 void bufferSubData(int target, int offset, data) native ; | 2461 void bufferSubData(int target, int offset, data) native; |
2462 | 2462 |
2463 @DomName('WebGLRenderingContext.checkFramebufferStatus') | 2463 @DomName('WebGLRenderingContext.checkFramebufferStatus') |
2464 @DocsEditable() | 2464 @DocsEditable() |
2465 int checkFramebufferStatus(int target) native ; | 2465 int checkFramebufferStatus(int target) native; |
2466 | 2466 |
2467 @DomName('WebGLRenderingContext.clear') | 2467 @DomName('WebGLRenderingContext.clear') |
2468 @DocsEditable() | 2468 @DocsEditable() |
2469 void clear(int mask) native ; | 2469 void clear(int mask) native; |
2470 | 2470 |
2471 @DomName('WebGLRenderingContext.clearColor') | 2471 @DomName('WebGLRenderingContext.clearColor') |
2472 @DocsEditable() | 2472 @DocsEditable() |
2473 void clearColor(num red, num green, num blue, num alpha) native ; | 2473 void clearColor(num red, num green, num blue, num alpha) native; |
2474 | 2474 |
2475 @DomName('WebGLRenderingContext.clearDepth') | 2475 @DomName('WebGLRenderingContext.clearDepth') |
2476 @DocsEditable() | 2476 @DocsEditable() |
2477 void clearDepth(num depth) native ; | 2477 void clearDepth(num depth) native; |
2478 | 2478 |
2479 @DomName('WebGLRenderingContext.clearStencil') | 2479 @DomName('WebGLRenderingContext.clearStencil') |
2480 @DocsEditable() | 2480 @DocsEditable() |
2481 void clearStencil(int s) native ; | 2481 void clearStencil(int s) native; |
2482 | 2482 |
2483 @DomName('WebGLRenderingContext.colorMask') | 2483 @DomName('WebGLRenderingContext.colorMask') |
2484 @DocsEditable() | 2484 @DocsEditable() |
2485 void colorMask(bool red, bool green, bool blue, bool alpha) native ; | 2485 void colorMask(bool red, bool green, bool blue, bool alpha) native; |
2486 | 2486 |
2487 @DomName('WebGLRenderingContext.compileShader') | 2487 @DomName('WebGLRenderingContext.compileShader') |
2488 @DocsEditable() | 2488 @DocsEditable() |
2489 void compileShader(Shader shader) native ; | 2489 void compileShader(Shader shader) native; |
2490 | 2490 |
2491 @DomName('WebGLRenderingContext.compressedTexImage2D') | 2491 @DomName('WebGLRenderingContext.compressedTexImage2D') |
2492 @DocsEditable() | 2492 @DocsEditable() |
2493 void compressedTexImage2D(int target, int level, int internalformat, | 2493 void compressedTexImage2D(int target, int level, int internalformat, |
2494 int width, int height, int border, TypedData data) native ; | 2494 int width, int height, int border, TypedData data) native; |
2495 | 2495 |
2496 @DomName('WebGLRenderingContext.compressedTexSubImage2D') | 2496 @DomName('WebGLRenderingContext.compressedTexSubImage2D') |
2497 @DocsEditable() | 2497 @DocsEditable() |
2498 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, | 2498 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, |
2499 int width, int height, int format, TypedData data) native ; | 2499 int width, int height, int format, TypedData data) native; |
2500 | 2500 |
2501 @DomName('WebGLRenderingContext.copyTexImage2D') | 2501 @DomName('WebGLRenderingContext.copyTexImage2D') |
2502 @DocsEditable() | 2502 @DocsEditable() |
2503 void copyTexImage2D(int target, int level, int internalformat, int x, int y, | 2503 void copyTexImage2D(int target, int level, int internalformat, int x, int y, |
2504 int width, int height, int border) native ; | 2504 int width, int height, int border) native; |
2505 | 2505 |
2506 @DomName('WebGLRenderingContext.copyTexSubImage2D') | 2506 @DomName('WebGLRenderingContext.copyTexSubImage2D') |
2507 @DocsEditable() | 2507 @DocsEditable() |
2508 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, | 2508 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, |
2509 int y, int width, int height) native ; | 2509 int y, int width, int height) native; |
2510 | 2510 |
2511 @DomName('WebGLRenderingContext.createBuffer') | 2511 @DomName('WebGLRenderingContext.createBuffer') |
2512 @DocsEditable() | 2512 @DocsEditable() |
2513 Buffer createBuffer() native ; | 2513 Buffer createBuffer() native; |
2514 | 2514 |
2515 @DomName('WebGLRenderingContext.createFramebuffer') | 2515 @DomName('WebGLRenderingContext.createFramebuffer') |
2516 @DocsEditable() | 2516 @DocsEditable() |
2517 Framebuffer createFramebuffer() native ; | 2517 Framebuffer createFramebuffer() native; |
2518 | 2518 |
2519 @DomName('WebGLRenderingContext.createProgram') | 2519 @DomName('WebGLRenderingContext.createProgram') |
2520 @DocsEditable() | 2520 @DocsEditable() |
2521 Program createProgram() native ; | 2521 Program createProgram() native; |
2522 | 2522 |
2523 @DomName('WebGLRenderingContext.createRenderbuffer') | 2523 @DomName('WebGLRenderingContext.createRenderbuffer') |
2524 @DocsEditable() | 2524 @DocsEditable() |
2525 Renderbuffer createRenderbuffer() native ; | 2525 Renderbuffer createRenderbuffer() native; |
2526 | 2526 |
2527 @DomName('WebGLRenderingContext.createShader') | 2527 @DomName('WebGLRenderingContext.createShader') |
2528 @DocsEditable() | 2528 @DocsEditable() |
2529 Shader createShader(int type) native ; | 2529 Shader createShader(int type) native; |
2530 | 2530 |
2531 @DomName('WebGLRenderingContext.createTexture') | 2531 @DomName('WebGLRenderingContext.createTexture') |
2532 @DocsEditable() | 2532 @DocsEditable() |
2533 Texture createTexture() native ; | 2533 Texture createTexture() native; |
2534 | 2534 |
2535 @DomName('WebGLRenderingContext.cullFace') | 2535 @DomName('WebGLRenderingContext.cullFace') |
2536 @DocsEditable() | 2536 @DocsEditable() |
2537 void cullFace(int mode) native ; | 2537 void cullFace(int mode) native; |
2538 | 2538 |
2539 @DomName('WebGLRenderingContext.deleteBuffer') | 2539 @DomName('WebGLRenderingContext.deleteBuffer') |
2540 @DocsEditable() | 2540 @DocsEditable() |
2541 void deleteBuffer(Buffer buffer) native ; | 2541 void deleteBuffer(Buffer buffer) native; |
2542 | 2542 |
2543 @DomName('WebGLRenderingContext.deleteFramebuffer') | 2543 @DomName('WebGLRenderingContext.deleteFramebuffer') |
2544 @DocsEditable() | 2544 @DocsEditable() |
2545 void deleteFramebuffer(Framebuffer framebuffer) native ; | 2545 void deleteFramebuffer(Framebuffer framebuffer) native; |
2546 | 2546 |
2547 @DomName('WebGLRenderingContext.deleteProgram') | 2547 @DomName('WebGLRenderingContext.deleteProgram') |
2548 @DocsEditable() | 2548 @DocsEditable() |
2549 void deleteProgram(Program program) native ; | 2549 void deleteProgram(Program program) native; |
2550 | 2550 |
2551 @DomName('WebGLRenderingContext.deleteRenderbuffer') | 2551 @DomName('WebGLRenderingContext.deleteRenderbuffer') |
2552 @DocsEditable() | 2552 @DocsEditable() |
2553 void deleteRenderbuffer(Renderbuffer renderbuffer) native ; | 2553 void deleteRenderbuffer(Renderbuffer renderbuffer) native; |
2554 | 2554 |
2555 @DomName('WebGLRenderingContext.deleteShader') | 2555 @DomName('WebGLRenderingContext.deleteShader') |
2556 @DocsEditable() | 2556 @DocsEditable() |
2557 void deleteShader(Shader shader) native ; | 2557 void deleteShader(Shader shader) native; |
2558 | 2558 |
2559 @DomName('WebGLRenderingContext.deleteTexture') | 2559 @DomName('WebGLRenderingContext.deleteTexture') |
2560 @DocsEditable() | 2560 @DocsEditable() |
2561 void deleteTexture(Texture texture) native ; | 2561 void deleteTexture(Texture texture) native; |
2562 | 2562 |
2563 @DomName('WebGLRenderingContext.depthFunc') | 2563 @DomName('WebGLRenderingContext.depthFunc') |
2564 @DocsEditable() | 2564 @DocsEditable() |
2565 void depthFunc(int func) native ; | 2565 void depthFunc(int func) native; |
2566 | 2566 |
2567 @DomName('WebGLRenderingContext.depthMask') | 2567 @DomName('WebGLRenderingContext.depthMask') |
2568 @DocsEditable() | 2568 @DocsEditable() |
2569 void depthMask(bool flag) native ; | 2569 void depthMask(bool flag) native; |
2570 | 2570 |
2571 @DomName('WebGLRenderingContext.depthRange') | 2571 @DomName('WebGLRenderingContext.depthRange') |
2572 @DocsEditable() | 2572 @DocsEditable() |
2573 void depthRange(num zNear, num zFar) native ; | 2573 void depthRange(num zNear, num zFar) native; |
2574 | 2574 |
2575 @DomName('WebGLRenderingContext.detachShader') | 2575 @DomName('WebGLRenderingContext.detachShader') |
2576 @DocsEditable() | 2576 @DocsEditable() |
2577 void detachShader(Program program, Shader shader) native ; | 2577 void detachShader(Program program, Shader shader) native; |
2578 | 2578 |
2579 @DomName('WebGLRenderingContext.disable') | 2579 @DomName('WebGLRenderingContext.disable') |
2580 @DocsEditable() | 2580 @DocsEditable() |
2581 void disable(int cap) native ; | 2581 void disable(int cap) native; |
2582 | 2582 |
2583 @DomName('WebGLRenderingContext.disableVertexAttribArray') | 2583 @DomName('WebGLRenderingContext.disableVertexAttribArray') |
2584 @DocsEditable() | 2584 @DocsEditable() |
2585 void disableVertexAttribArray(int index) native ; | 2585 void disableVertexAttribArray(int index) native; |
2586 | 2586 |
2587 @DomName('WebGLRenderingContext.drawArrays') | 2587 @DomName('WebGLRenderingContext.drawArrays') |
2588 @DocsEditable() | 2588 @DocsEditable() |
2589 void drawArrays(int mode, int first, int count) native ; | 2589 void drawArrays(int mode, int first, int count) native; |
2590 | 2590 |
2591 @DomName('WebGLRenderingContext.drawElements') | 2591 @DomName('WebGLRenderingContext.drawElements') |
2592 @DocsEditable() | 2592 @DocsEditable() |
2593 void drawElements(int mode, int count, int type, int offset) native ; | 2593 void drawElements(int mode, int count, int type, int offset) native; |
2594 | 2594 |
2595 @DomName('WebGLRenderingContext.enable') | 2595 @DomName('WebGLRenderingContext.enable') |
2596 @DocsEditable() | 2596 @DocsEditable() |
2597 void enable(int cap) native ; | 2597 void enable(int cap) native; |
2598 | 2598 |
2599 @DomName('WebGLRenderingContext.enableVertexAttribArray') | 2599 @DomName('WebGLRenderingContext.enableVertexAttribArray') |
2600 @DocsEditable() | 2600 @DocsEditable() |
2601 void enableVertexAttribArray(int index) native ; | 2601 void enableVertexAttribArray(int index) native; |
2602 | 2602 |
2603 @DomName('WebGLRenderingContext.finish') | 2603 @DomName('WebGLRenderingContext.finish') |
2604 @DocsEditable() | 2604 @DocsEditable() |
2605 void finish() native ; | 2605 void finish() native; |
2606 | 2606 |
2607 @DomName('WebGLRenderingContext.flush') | 2607 @DomName('WebGLRenderingContext.flush') |
2608 @DocsEditable() | 2608 @DocsEditable() |
2609 void flush() native ; | 2609 void flush() native; |
2610 | 2610 |
2611 @DomName('WebGLRenderingContext.framebufferRenderbuffer') | 2611 @DomName('WebGLRenderingContext.framebufferRenderbuffer') |
2612 @DocsEditable() | 2612 @DocsEditable() |
2613 void framebufferRenderbuffer(int target, int attachment, | 2613 void framebufferRenderbuffer(int target, int attachment, |
2614 int renderbuffertarget, Renderbuffer renderbuffer) native ; | 2614 int renderbuffertarget, Renderbuffer renderbuffer) native; |
2615 | 2615 |
2616 @DomName('WebGLRenderingContext.framebufferTexture2D') | 2616 @DomName('WebGLRenderingContext.framebufferTexture2D') |
2617 @DocsEditable() | 2617 @DocsEditable() |
2618 void framebufferTexture2D(int target, int attachment, int textarget, | 2618 void framebufferTexture2D(int target, int attachment, int textarget, |
2619 Texture texture, int level) native ; | 2619 Texture texture, int level) native; |
2620 | 2620 |
2621 @DomName('WebGLRenderingContext.frontFace') | 2621 @DomName('WebGLRenderingContext.frontFace') |
2622 @DocsEditable() | 2622 @DocsEditable() |
2623 void frontFace(int mode) native ; | 2623 void frontFace(int mode) native; |
2624 | 2624 |
2625 @DomName('WebGLRenderingContext.generateMipmap') | 2625 @DomName('WebGLRenderingContext.generateMipmap') |
2626 @DocsEditable() | 2626 @DocsEditable() |
2627 void generateMipmap(int target) native ; | 2627 void generateMipmap(int target) native; |
2628 | 2628 |
2629 @DomName('WebGLRenderingContext.getActiveAttrib') | 2629 @DomName('WebGLRenderingContext.getActiveAttrib') |
2630 @DocsEditable() | 2630 @DocsEditable() |
2631 ActiveInfo getActiveAttrib(Program program, int index) native ; | 2631 ActiveInfo getActiveAttrib(Program program, int index) native; |
2632 | 2632 |
2633 @DomName('WebGLRenderingContext.getActiveUniform') | 2633 @DomName('WebGLRenderingContext.getActiveUniform') |
2634 @DocsEditable() | 2634 @DocsEditable() |
2635 ActiveInfo getActiveUniform(Program program, int index) native ; | 2635 ActiveInfo getActiveUniform(Program program, int index) native; |
2636 | 2636 |
2637 @DomName('WebGLRenderingContext.getAttachedShaders') | 2637 @DomName('WebGLRenderingContext.getAttachedShaders') |
2638 @DocsEditable() | 2638 @DocsEditable() |
2639 List<Shader> getAttachedShaders(Program program) native ; | 2639 List<Shader> getAttachedShaders(Program program) native; |
2640 | 2640 |
2641 @DomName('WebGLRenderingContext.getAttribLocation') | 2641 @DomName('WebGLRenderingContext.getAttribLocation') |
2642 @DocsEditable() | 2642 @DocsEditable() |
2643 int getAttribLocation(Program program, String name) native ; | 2643 int getAttribLocation(Program program, String name) native; |
2644 | 2644 |
2645 @DomName('WebGLRenderingContext.getBufferParameter') | 2645 @DomName('WebGLRenderingContext.getBufferParameter') |
2646 @DocsEditable() | 2646 @DocsEditable() |
2647 @Creates('int|Null') | 2647 @Creates('int|Null') |
2648 @Returns('int|Null') | 2648 @Returns('int|Null') |
2649 Object getBufferParameter(int target, int pname) native ; | 2649 Object getBufferParameter(int target, int pname) native; |
2650 | 2650 |
2651 @DomName('WebGLRenderingContext.getContextAttributes') | 2651 @DomName('WebGLRenderingContext.getContextAttributes') |
2652 @DocsEditable() | 2652 @DocsEditable() |
2653 @Creates('ContextAttributes|Null') | 2653 @Creates('ContextAttributes|Null') |
2654 Map getContextAttributes() { | 2654 Map getContextAttributes() { |
2655 return convertNativeToDart_Dictionary(_getContextAttributes_1()); | 2655 return convertNativeToDart_Dictionary(_getContextAttributes_1()); |
2656 } | 2656 } |
2657 | 2657 |
2658 @JSName('getContextAttributes') | 2658 @JSName('getContextAttributes') |
2659 @DomName('WebGLRenderingContext.getContextAttributes') | 2659 @DomName('WebGLRenderingContext.getContextAttributes') |
2660 @DocsEditable() | 2660 @DocsEditable() |
2661 @Creates('ContextAttributes|Null') | 2661 @Creates('ContextAttributes|Null') |
2662 _getContextAttributes_1() native ; | 2662 _getContextAttributes_1() native; |
2663 | 2663 |
2664 @DomName('WebGLRenderingContext.getError') | 2664 @DomName('WebGLRenderingContext.getError') |
2665 @DocsEditable() | 2665 @DocsEditable() |
2666 int getError() native ; | 2666 int getError() native; |
2667 | 2667 |
2668 @DomName('WebGLRenderingContext.getExtension') | 2668 @DomName('WebGLRenderingContext.getExtension') |
2669 @DocsEditable() | 2669 @DocsEditable() |
2670 Object getExtension(String name) native ; | 2670 Object getExtension(String name) native; |
2671 | 2671 |
2672 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') | 2672 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') |
2673 @DocsEditable() | 2673 @DocsEditable() |
2674 @Creates('int|Renderbuffer|Texture|Null') | 2674 @Creates('int|Renderbuffer|Texture|Null') |
2675 @Returns('int|Renderbuffer|Texture|Null') | 2675 @Returns('int|Renderbuffer|Texture|Null') |
2676 Object getFramebufferAttachmentParameter( | 2676 Object getFramebufferAttachmentParameter( |
2677 int target, int attachment, int pname) native ; | 2677 int target, int attachment, int pname) native; |
2678 | 2678 |
2679 @DomName('WebGLRenderingContext.getParameter') | 2679 @DomName('WebGLRenderingContext.getParameter') |
2680 @DocsEditable() | 2680 @DocsEditable() |
2681 @Creates( | 2681 @Creates( |
2682 'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|
NativeUint32List|Framebuffer|Renderbuffer|Texture') | 2682 'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|
NativeUint32List|Framebuffer|Renderbuffer|Texture') |
2683 @Returns( | 2683 @Returns( |
2684 'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|
NativeUint32List|Framebuffer|Renderbuffer|Texture') | 2684 'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|
NativeUint32List|Framebuffer|Renderbuffer|Texture') |
2685 Object getParameter(int pname) native ; | 2685 Object getParameter(int pname) native; |
2686 | 2686 |
2687 @DomName('WebGLRenderingContext.getProgramInfoLog') | 2687 @DomName('WebGLRenderingContext.getProgramInfoLog') |
2688 @DocsEditable() | 2688 @DocsEditable() |
2689 String getProgramInfoLog(Program program) native ; | 2689 String getProgramInfoLog(Program program) native; |
2690 | 2690 |
2691 @DomName('WebGLRenderingContext.getProgramParameter') | 2691 @DomName('WebGLRenderingContext.getProgramParameter') |
2692 @DocsEditable() | 2692 @DocsEditable() |
2693 @Creates('int|bool|Null') | 2693 @Creates('int|bool|Null') |
2694 @Returns('int|bool|Null') | 2694 @Returns('int|bool|Null') |
2695 Object getProgramParameter(Program program, int pname) native ; | 2695 Object getProgramParameter(Program program, int pname) native; |
2696 | 2696 |
2697 @DomName('WebGLRenderingContext.getRenderbufferParameter') | 2697 @DomName('WebGLRenderingContext.getRenderbufferParameter') |
2698 @DocsEditable() | 2698 @DocsEditable() |
2699 @Creates('int|Null') | 2699 @Creates('int|Null') |
2700 @Returns('int|Null') | 2700 @Returns('int|Null') |
2701 Object getRenderbufferParameter(int target, int pname) native ; | 2701 Object getRenderbufferParameter(int target, int pname) native; |
2702 | 2702 |
2703 @DomName('WebGLRenderingContext.getShaderInfoLog') | 2703 @DomName('WebGLRenderingContext.getShaderInfoLog') |
2704 @DocsEditable() | 2704 @DocsEditable() |
2705 String getShaderInfoLog(Shader shader) native ; | 2705 String getShaderInfoLog(Shader shader) native; |
2706 | 2706 |
2707 @DomName('WebGLRenderingContext.getShaderParameter') | 2707 @DomName('WebGLRenderingContext.getShaderParameter') |
2708 @DocsEditable() | 2708 @DocsEditable() |
2709 @Creates('int|bool|Null') | 2709 @Creates('int|bool|Null') |
2710 @Returns('int|bool|Null') | 2710 @Returns('int|bool|Null') |
2711 Object getShaderParameter(Shader shader, int pname) native ; | 2711 Object getShaderParameter(Shader shader, int pname) native; |
2712 | 2712 |
2713 @DomName('WebGLRenderingContext.getShaderPrecisionFormat') | 2713 @DomName('WebGLRenderingContext.getShaderPrecisionFormat') |
2714 @DocsEditable() | 2714 @DocsEditable() |
2715 ShaderPrecisionFormat getShaderPrecisionFormat( | 2715 ShaderPrecisionFormat getShaderPrecisionFormat( |
2716 int shadertype, int precisiontype) native ; | 2716 int shadertype, int precisiontype) native; |
2717 | 2717 |
2718 @DomName('WebGLRenderingContext.getShaderSource') | 2718 @DomName('WebGLRenderingContext.getShaderSource') |
2719 @DocsEditable() | 2719 @DocsEditable() |
2720 String getShaderSource(Shader shader) native ; | 2720 String getShaderSource(Shader shader) native; |
2721 | 2721 |
2722 @DomName('WebGLRenderingContext.getSupportedExtensions') | 2722 @DomName('WebGLRenderingContext.getSupportedExtensions') |
2723 @DocsEditable() | 2723 @DocsEditable() |
2724 List<String> getSupportedExtensions() native ; | 2724 List<String> getSupportedExtensions() native; |
2725 | 2725 |
2726 @DomName('WebGLRenderingContext.getTexParameter') | 2726 @DomName('WebGLRenderingContext.getTexParameter') |
2727 @DocsEditable() | 2727 @DocsEditable() |
2728 @Creates('int|Null') | 2728 @Creates('int|Null') |
2729 @Returns('int|Null') | 2729 @Returns('int|Null') |
2730 Object getTexParameter(int target, int pname) native ; | 2730 Object getTexParameter(int target, int pname) native; |
2731 | 2731 |
2732 @DomName('WebGLRenderingContext.getUniform') | 2732 @DomName('WebGLRenderingContext.getUniform') |
2733 @DocsEditable() | 2733 @DocsEditable() |
2734 @Creates( | 2734 @Creates( |
2735 'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|
NativeUint32List') | 2735 'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|
NativeUint32List') |
2736 @Returns( | 2736 @Returns( |
2737 'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|
NativeUint32List') | 2737 'Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32List|
NativeUint32List') |
2738 Object getUniform(Program program, UniformLocation location) native ; | 2738 Object getUniform(Program program, UniformLocation location) native; |
2739 | 2739 |
2740 @DomName('WebGLRenderingContext.getUniformLocation') | 2740 @DomName('WebGLRenderingContext.getUniformLocation') |
2741 @DocsEditable() | 2741 @DocsEditable() |
2742 UniformLocation getUniformLocation(Program program, String name) native ; | 2742 UniformLocation getUniformLocation(Program program, String name) native; |
2743 | 2743 |
2744 @DomName('WebGLRenderingContext.getVertexAttrib') | 2744 @DomName('WebGLRenderingContext.getVertexAttrib') |
2745 @DocsEditable() | 2745 @DocsEditable() |
2746 @Creates('Null|num|bool|NativeFloat32List|Buffer') | 2746 @Creates('Null|num|bool|NativeFloat32List|Buffer') |
2747 @Returns('Null|num|bool|NativeFloat32List|Buffer') | 2747 @Returns('Null|num|bool|NativeFloat32List|Buffer') |
2748 Object getVertexAttrib(int index, int pname) native ; | 2748 Object getVertexAttrib(int index, int pname) native; |
2749 | 2749 |
2750 @DomName('WebGLRenderingContext.getVertexAttribOffset') | 2750 @DomName('WebGLRenderingContext.getVertexAttribOffset') |
2751 @DocsEditable() | 2751 @DocsEditable() |
2752 int getVertexAttribOffset(int index, int pname) native ; | 2752 int getVertexAttribOffset(int index, int pname) native; |
2753 | 2753 |
2754 @DomName('WebGLRenderingContext.hint') | 2754 @DomName('WebGLRenderingContext.hint') |
2755 @DocsEditable() | 2755 @DocsEditable() |
2756 void hint(int target, int mode) native ; | 2756 void hint(int target, int mode) native; |
2757 | 2757 |
2758 @DomName('WebGLRenderingContext.isBuffer') | 2758 @DomName('WebGLRenderingContext.isBuffer') |
2759 @DocsEditable() | 2759 @DocsEditable() |
2760 bool isBuffer(Buffer buffer) native ; | 2760 bool isBuffer(Buffer buffer) native; |
2761 | 2761 |
2762 @DomName('WebGLRenderingContext.isContextLost') | 2762 @DomName('WebGLRenderingContext.isContextLost') |
2763 @DocsEditable() | 2763 @DocsEditable() |
2764 bool isContextLost() native ; | 2764 bool isContextLost() native; |
2765 | 2765 |
2766 @DomName('WebGLRenderingContext.isEnabled') | 2766 @DomName('WebGLRenderingContext.isEnabled') |
2767 @DocsEditable() | 2767 @DocsEditable() |
2768 bool isEnabled(int cap) native ; | 2768 bool isEnabled(int cap) native; |
2769 | 2769 |
2770 @DomName('WebGLRenderingContext.isFramebuffer') | 2770 @DomName('WebGLRenderingContext.isFramebuffer') |
2771 @DocsEditable() | 2771 @DocsEditable() |
2772 bool isFramebuffer(Framebuffer framebuffer) native ; | 2772 bool isFramebuffer(Framebuffer framebuffer) native; |
2773 | 2773 |
2774 @DomName('WebGLRenderingContext.isProgram') | 2774 @DomName('WebGLRenderingContext.isProgram') |
2775 @DocsEditable() | 2775 @DocsEditable() |
2776 bool isProgram(Program program) native ; | 2776 bool isProgram(Program program) native; |
2777 | 2777 |
2778 @DomName('WebGLRenderingContext.isRenderbuffer') | 2778 @DomName('WebGLRenderingContext.isRenderbuffer') |
2779 @DocsEditable() | 2779 @DocsEditable() |
2780 bool isRenderbuffer(Renderbuffer renderbuffer) native ; | 2780 bool isRenderbuffer(Renderbuffer renderbuffer) native; |
2781 | 2781 |
2782 @DomName('WebGLRenderingContext.isShader') | 2782 @DomName('WebGLRenderingContext.isShader') |
2783 @DocsEditable() | 2783 @DocsEditable() |
2784 bool isShader(Shader shader) native ; | 2784 bool isShader(Shader shader) native; |
2785 | 2785 |
2786 @DomName('WebGLRenderingContext.isTexture') | 2786 @DomName('WebGLRenderingContext.isTexture') |
2787 @DocsEditable() | 2787 @DocsEditable() |
2788 bool isTexture(Texture texture) native ; | 2788 bool isTexture(Texture texture) native; |
2789 | 2789 |
2790 @DomName('WebGLRenderingContext.lineWidth') | 2790 @DomName('WebGLRenderingContext.lineWidth') |
2791 @DocsEditable() | 2791 @DocsEditable() |
2792 void lineWidth(num width) native ; | 2792 void lineWidth(num width) native; |
2793 | 2793 |
2794 @DomName('WebGLRenderingContext.linkProgram') | 2794 @DomName('WebGLRenderingContext.linkProgram') |
2795 @DocsEditable() | 2795 @DocsEditable() |
2796 void linkProgram(Program program) native ; | 2796 void linkProgram(Program program) native; |
2797 | 2797 |
2798 @DomName('WebGLRenderingContext.pixelStorei') | 2798 @DomName('WebGLRenderingContext.pixelStorei') |
2799 @DocsEditable() | 2799 @DocsEditable() |
2800 void pixelStorei(int pname, int param) native ; | 2800 void pixelStorei(int pname, int param) native; |
2801 | 2801 |
2802 @DomName('WebGLRenderingContext.polygonOffset') | 2802 @DomName('WebGLRenderingContext.polygonOffset') |
2803 @DocsEditable() | 2803 @DocsEditable() |
2804 void polygonOffset(num factor, num units) native ; | 2804 void polygonOffset(num factor, num units) native; |
2805 | 2805 |
2806 @DomName('WebGLRenderingContext.readPixels') | 2806 @DomName('WebGLRenderingContext.readPixels') |
2807 @DocsEditable() | 2807 @DocsEditable() |
2808 void readPixels(int x, int y, int width, int height, int format, int type, | 2808 void readPixels(int x, int y, int width, int height, int format, int type, |
2809 TypedData pixels) native ; | 2809 TypedData pixels) native; |
2810 | 2810 |
2811 @DomName('WebGLRenderingContext.renderbufferStorage') | 2811 @DomName('WebGLRenderingContext.renderbufferStorage') |
2812 @DocsEditable() | 2812 @DocsEditable() |
2813 void renderbufferStorage( | 2813 void renderbufferStorage( |
2814 int target, int internalformat, int width, int height) native ; | 2814 int target, int internalformat, int width, int height) native; |
2815 | 2815 |
2816 @DomName('WebGLRenderingContext.sampleCoverage') | 2816 @DomName('WebGLRenderingContext.sampleCoverage') |
2817 @DocsEditable() | 2817 @DocsEditable() |
2818 void sampleCoverage(num value, bool invert) native ; | 2818 void sampleCoverage(num value, bool invert) native; |
2819 | 2819 |
2820 @DomName('WebGLRenderingContext.scissor') | 2820 @DomName('WebGLRenderingContext.scissor') |
2821 @DocsEditable() | 2821 @DocsEditable() |
2822 void scissor(int x, int y, int width, int height) native ; | 2822 void scissor(int x, int y, int width, int height) native; |
2823 | 2823 |
2824 @DomName('WebGLRenderingContext.shaderSource') | 2824 @DomName('WebGLRenderingContext.shaderSource') |
2825 @DocsEditable() | 2825 @DocsEditable() |
2826 void shaderSource(Shader shader, String string) native ; | 2826 void shaderSource(Shader shader, String string) native; |
2827 | 2827 |
2828 @DomName('WebGLRenderingContext.stencilFunc') | 2828 @DomName('WebGLRenderingContext.stencilFunc') |
2829 @DocsEditable() | 2829 @DocsEditable() |
2830 void stencilFunc(int func, int ref, int mask) native ; | 2830 void stencilFunc(int func, int ref, int mask) native; |
2831 | 2831 |
2832 @DomName('WebGLRenderingContext.stencilFuncSeparate') | 2832 @DomName('WebGLRenderingContext.stencilFuncSeparate') |
2833 @DocsEditable() | 2833 @DocsEditable() |
2834 void stencilFuncSeparate(int face, int func, int ref, int mask) native ; | 2834 void stencilFuncSeparate(int face, int func, int ref, int mask) native; |
2835 | 2835 |
2836 @DomName('WebGLRenderingContext.stencilMask') | 2836 @DomName('WebGLRenderingContext.stencilMask') |
2837 @DocsEditable() | 2837 @DocsEditable() |
2838 void stencilMask(int mask) native ; | 2838 void stencilMask(int mask) native; |
2839 | 2839 |
2840 @DomName('WebGLRenderingContext.stencilMaskSeparate') | 2840 @DomName('WebGLRenderingContext.stencilMaskSeparate') |
2841 @DocsEditable() | 2841 @DocsEditable() |
2842 void stencilMaskSeparate(int face, int mask) native ; | 2842 void stencilMaskSeparate(int face, int mask) native; |
2843 | 2843 |
2844 @DomName('WebGLRenderingContext.stencilOp') | 2844 @DomName('WebGLRenderingContext.stencilOp') |
2845 @DocsEditable() | 2845 @DocsEditable() |
2846 void stencilOp(int fail, int zfail, int zpass) native ; | 2846 void stencilOp(int fail, int zfail, int zpass) native; |
2847 | 2847 |
2848 @DomName('WebGLRenderingContext.stencilOpSeparate') | 2848 @DomName('WebGLRenderingContext.stencilOpSeparate') |
2849 @DocsEditable() | 2849 @DocsEditable() |
2850 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native ; | 2850 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native; |
2851 | 2851 |
2852 @DomName('WebGLRenderingContext.texImage2D') | 2852 @DomName('WebGLRenderingContext.texImage2D') |
2853 @DocsEditable() | 2853 @DocsEditable() |
2854 void texImage2D( | 2854 void texImage2D( |
2855 int target, | 2855 int target, |
2856 int level, | 2856 int level, |
2857 int internalformat, | 2857 int internalformat, |
2858 int format_OR_width, | 2858 int format_OR_width, |
2859 int height_OR_type, | 2859 int height_OR_type, |
2860 border_OR_canvas_OR_image_OR_pixels_OR_video, | 2860 border_OR_canvas_OR_image_OR_pixels_OR_video, |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2911 height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video); | 2911 height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video); |
2912 return; | 2912 return; |
2913 } | 2913 } |
2914 throw new ArgumentError("Incorrect number or type of arguments"); | 2914 throw new ArgumentError("Incorrect number or type of arguments"); |
2915 } | 2915 } |
2916 | 2916 |
2917 @JSName('texImage2D') | 2917 @JSName('texImage2D') |
2918 @DomName('WebGLRenderingContext.texImage2D') | 2918 @DomName('WebGLRenderingContext.texImage2D') |
2919 @DocsEditable() | 2919 @DocsEditable() |
2920 void _texImage2D_1(target, level, internalformat, width, height, int border, | 2920 void _texImage2D_1(target, level, internalformat, width, height, int border, |
2921 format, type, TypedData pixels) native ; | 2921 format, type, TypedData pixels) native; |
2922 @JSName('texImage2D') | 2922 @JSName('texImage2D') |
2923 @DomName('WebGLRenderingContext.texImage2D') | 2923 @DomName('WebGLRenderingContext.texImage2D') |
2924 @DocsEditable() | 2924 @DocsEditable() |
2925 void _texImage2D_2(target, level, internalformat, format, type, pixels) | 2925 void _texImage2D_2(target, level, internalformat, format, type, pixels) |
2926 native ; | 2926 native; |
2927 @JSName('texImage2D') | 2927 @JSName('texImage2D') |
2928 @DomName('WebGLRenderingContext.texImage2D') | 2928 @DomName('WebGLRenderingContext.texImage2D') |
2929 @DocsEditable() | 2929 @DocsEditable() |
2930 void _texImage2D_3( | 2930 void _texImage2D_3( |
2931 target, level, internalformat, format, type, ImageElement image) native ; | 2931 target, level, internalformat, format, type, ImageElement image) native; |
2932 @JSName('texImage2D') | 2932 @JSName('texImage2D') |
2933 @DomName('WebGLRenderingContext.texImage2D') | 2933 @DomName('WebGLRenderingContext.texImage2D') |
2934 @DocsEditable() | 2934 @DocsEditable() |
2935 void _texImage2D_4(target, level, internalformat, format, type, | 2935 void _texImage2D_4( |
2936 CanvasElement canvas) native ; | 2936 target, level, internalformat, format, type, CanvasElement canvas) native; |
2937 @JSName('texImage2D') | 2937 @JSName('texImage2D') |
2938 @DomName('WebGLRenderingContext.texImage2D') | 2938 @DomName('WebGLRenderingContext.texImage2D') |
2939 @DocsEditable() | 2939 @DocsEditable() |
2940 void _texImage2D_5( | 2940 void _texImage2D_5( |
2941 target, level, internalformat, format, type, VideoElement video) native ; | 2941 target, level, internalformat, format, type, VideoElement video) native; |
2942 | 2942 |
2943 @DomName('WebGLRenderingContext.texParameterf') | 2943 @DomName('WebGLRenderingContext.texParameterf') |
2944 @DocsEditable() | 2944 @DocsEditable() |
2945 void texParameterf(int target, int pname, num param) native ; | 2945 void texParameterf(int target, int pname, num param) native; |
2946 | 2946 |
2947 @DomName('WebGLRenderingContext.texParameteri') | 2947 @DomName('WebGLRenderingContext.texParameteri') |
2948 @DocsEditable() | 2948 @DocsEditable() |
2949 void texParameteri(int target, int pname, int param) native ; | 2949 void texParameteri(int target, int pname, int param) native; |
2950 | 2950 |
2951 @DomName('WebGLRenderingContext.texSubImage2D') | 2951 @DomName('WebGLRenderingContext.texSubImage2D') |
2952 @DocsEditable() | 2952 @DocsEditable() |
2953 void texSubImage2D( | 2953 void texSubImage2D( |
2954 int target, | 2954 int target, |
2955 int level, | 2955 int level, |
2956 int xoffset, | 2956 int xoffset, |
2957 int yoffset, | 2957 int yoffset, |
2958 int format_OR_width, | 2958 int format_OR_width, |
2959 int height_OR_type, | 2959 int height_OR_type, |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3004 height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); | 3004 height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
3005 return; | 3005 return; |
3006 } | 3006 } |
3007 throw new ArgumentError("Incorrect number or type of arguments"); | 3007 throw new ArgumentError("Incorrect number or type of arguments"); |
3008 } | 3008 } |
3009 | 3009 |
3010 @JSName('texSubImage2D') | 3010 @JSName('texSubImage2D') |
3011 @DomName('WebGLRenderingContext.texSubImage2D') | 3011 @DomName('WebGLRenderingContext.texSubImage2D') |
3012 @DocsEditable() | 3012 @DocsEditable() |
3013 void _texSubImage2D_1(target, level, xoffset, yoffset, width, height, | 3013 void _texSubImage2D_1(target, level, xoffset, yoffset, width, height, |
3014 int format, type, TypedData pixels) native ; | 3014 int format, type, TypedData pixels) native; |
3015 @JSName('texSubImage2D') | 3015 @JSName('texSubImage2D') |
3016 @DomName('WebGLRenderingContext.texSubImage2D') | 3016 @DomName('WebGLRenderingContext.texSubImage2D') |
3017 @DocsEditable() | 3017 @DocsEditable() |
3018 void _texSubImage2D_2(target, level, xoffset, yoffset, format, type, pixels) | 3018 void _texSubImage2D_2(target, level, xoffset, yoffset, format, type, pixels) |
3019 native ; | 3019 native; |
3020 @JSName('texSubImage2D') | 3020 @JSName('texSubImage2D') |
3021 @DomName('WebGLRenderingContext.texSubImage2D') | 3021 @DomName('WebGLRenderingContext.texSubImage2D') |
3022 @DocsEditable() | 3022 @DocsEditable() |
3023 void _texSubImage2D_3(target, level, xoffset, yoffset, format, type, | 3023 void _texSubImage2D_3( |
3024 ImageElement image) native ; | 3024 target, level, xoffset, yoffset, format, type, ImageElement image) native; |
3025 @JSName('texSubImage2D') | 3025 @JSName('texSubImage2D') |
3026 @DomName('WebGLRenderingContext.texSubImage2D') | 3026 @DomName('WebGLRenderingContext.texSubImage2D') |
3027 @DocsEditable() | 3027 @DocsEditable() |
3028 void _texSubImage2D_4(target, level, xoffset, yoffset, format, type, | 3028 void _texSubImage2D_4(target, level, xoffset, yoffset, format, type, |
3029 CanvasElement canvas) native ; | 3029 CanvasElement canvas) native; |
3030 @JSName('texSubImage2D') | 3030 @JSName('texSubImage2D') |
3031 @DomName('WebGLRenderingContext.texSubImage2D') | 3031 @DomName('WebGLRenderingContext.texSubImage2D') |
3032 @DocsEditable() | 3032 @DocsEditable() |
3033 void _texSubImage2D_5(target, level, xoffset, yoffset, format, type, | 3033 void _texSubImage2D_5( |
3034 VideoElement video) native ; | 3034 target, level, xoffset, yoffset, format, type, VideoElement video) native; |
3035 | 3035 |
3036 @DomName('WebGLRenderingContext.uniform1f') | 3036 @DomName('WebGLRenderingContext.uniform1f') |
3037 @DocsEditable() | 3037 @DocsEditable() |
3038 void uniform1f(UniformLocation location, num x) native ; | 3038 void uniform1f(UniformLocation location, num x) native; |
3039 | 3039 |
3040 @DomName('WebGLRenderingContext.uniform1fv') | 3040 @DomName('WebGLRenderingContext.uniform1fv') |
3041 @DocsEditable() | 3041 @DocsEditable() |
3042 void uniform1fv(UniformLocation location, v) native ; | 3042 void uniform1fv(UniformLocation location, v) native; |
3043 | 3043 |
3044 @DomName('WebGLRenderingContext.uniform1i') | 3044 @DomName('WebGLRenderingContext.uniform1i') |
3045 @DocsEditable() | 3045 @DocsEditable() |
3046 void uniform1i(UniformLocation location, int x) native ; | 3046 void uniform1i(UniformLocation location, int x) native; |
3047 | 3047 |
3048 @DomName('WebGLRenderingContext.uniform1iv') | 3048 @DomName('WebGLRenderingContext.uniform1iv') |
3049 @DocsEditable() | 3049 @DocsEditable() |
3050 void uniform1iv(UniformLocation location, v) native ; | 3050 void uniform1iv(UniformLocation location, v) native; |
3051 | 3051 |
3052 @DomName('WebGLRenderingContext.uniform2f') | 3052 @DomName('WebGLRenderingContext.uniform2f') |
3053 @DocsEditable() | 3053 @DocsEditable() |
3054 void uniform2f(UniformLocation location, num x, num y) native ; | 3054 void uniform2f(UniformLocation location, num x, num y) native; |
3055 | 3055 |
3056 @DomName('WebGLRenderingContext.uniform2fv') | 3056 @DomName('WebGLRenderingContext.uniform2fv') |
3057 @DocsEditable() | 3057 @DocsEditable() |
3058 void uniform2fv(UniformLocation location, v) native ; | 3058 void uniform2fv(UniformLocation location, v) native; |
3059 | 3059 |
3060 @DomName('WebGLRenderingContext.uniform2i') | 3060 @DomName('WebGLRenderingContext.uniform2i') |
3061 @DocsEditable() | 3061 @DocsEditable() |
3062 void uniform2i(UniformLocation location, int x, int y) native ; | 3062 void uniform2i(UniformLocation location, int x, int y) native; |
3063 | 3063 |
3064 @DomName('WebGLRenderingContext.uniform2iv') | 3064 @DomName('WebGLRenderingContext.uniform2iv') |
3065 @DocsEditable() | 3065 @DocsEditable() |
3066 void uniform2iv(UniformLocation location, v) native ; | 3066 void uniform2iv(UniformLocation location, v) native; |
3067 | 3067 |
3068 @DomName('WebGLRenderingContext.uniform3f') | 3068 @DomName('WebGLRenderingContext.uniform3f') |
3069 @DocsEditable() | 3069 @DocsEditable() |
3070 void uniform3f(UniformLocation location, num x, num y, num z) native ; | 3070 void uniform3f(UniformLocation location, num x, num y, num z) native; |
3071 | 3071 |
3072 @DomName('WebGLRenderingContext.uniform3fv') | 3072 @DomName('WebGLRenderingContext.uniform3fv') |
3073 @DocsEditable() | 3073 @DocsEditable() |
3074 void uniform3fv(UniformLocation location, v) native ; | 3074 void uniform3fv(UniformLocation location, v) native; |
3075 | 3075 |
3076 @DomName('WebGLRenderingContext.uniform3i') | 3076 @DomName('WebGLRenderingContext.uniform3i') |
3077 @DocsEditable() | 3077 @DocsEditable() |
3078 void uniform3i(UniformLocation location, int x, int y, int z) native ; | 3078 void uniform3i(UniformLocation location, int x, int y, int z) native; |
3079 | 3079 |
3080 @DomName('WebGLRenderingContext.uniform3iv') | 3080 @DomName('WebGLRenderingContext.uniform3iv') |
3081 @DocsEditable() | 3081 @DocsEditable() |
3082 void uniform3iv(UniformLocation location, v) native ; | 3082 void uniform3iv(UniformLocation location, v) native; |
3083 | 3083 |
3084 @DomName('WebGLRenderingContext.uniform4f') | 3084 @DomName('WebGLRenderingContext.uniform4f') |
3085 @DocsEditable() | 3085 @DocsEditable() |
3086 void uniform4f(UniformLocation location, num x, num y, num z, num w) native ; | 3086 void uniform4f(UniformLocation location, num x, num y, num z, num w) native; |
3087 | 3087 |
3088 @DomName('WebGLRenderingContext.uniform4fv') | 3088 @DomName('WebGLRenderingContext.uniform4fv') |
3089 @DocsEditable() | 3089 @DocsEditable() |
3090 void uniform4fv(UniformLocation location, v) native ; | 3090 void uniform4fv(UniformLocation location, v) native; |
3091 | 3091 |
3092 @DomName('WebGLRenderingContext.uniform4i') | 3092 @DomName('WebGLRenderingContext.uniform4i') |
3093 @DocsEditable() | 3093 @DocsEditable() |
3094 void uniform4i(UniformLocation location, int x, int y, int z, int w) native ; | 3094 void uniform4i(UniformLocation location, int x, int y, int z, int w) native; |
3095 | 3095 |
3096 @DomName('WebGLRenderingContext.uniform4iv') | 3096 @DomName('WebGLRenderingContext.uniform4iv') |
3097 @DocsEditable() | 3097 @DocsEditable() |
3098 void uniform4iv(UniformLocation location, v) native ; | 3098 void uniform4iv(UniformLocation location, v) native; |
3099 | 3099 |
3100 @DomName('WebGLRenderingContext.uniformMatrix2fv') | 3100 @DomName('WebGLRenderingContext.uniformMatrix2fv') |
3101 @DocsEditable() | 3101 @DocsEditable() |
3102 void uniformMatrix2fv(UniformLocation location, bool transpose, array) | 3102 void uniformMatrix2fv(UniformLocation location, bool transpose, array) native; |
3103 native ; | |
3104 | 3103 |
3105 @DomName('WebGLRenderingContext.uniformMatrix3fv') | 3104 @DomName('WebGLRenderingContext.uniformMatrix3fv') |
3106 @DocsEditable() | 3105 @DocsEditable() |
3107 void uniformMatrix3fv(UniformLocation location, bool transpose, array) | 3106 void uniformMatrix3fv(UniformLocation location, bool transpose, array) native; |
3108 native ; | |
3109 | 3107 |
3110 @DomName('WebGLRenderingContext.uniformMatrix4fv') | 3108 @DomName('WebGLRenderingContext.uniformMatrix4fv') |
3111 @DocsEditable() | 3109 @DocsEditable() |
3112 void uniformMatrix4fv(UniformLocation location, bool transpose, array) | 3110 void uniformMatrix4fv(UniformLocation location, bool transpose, array) native; |
3113 native ; | |
3114 | 3111 |
3115 @DomName('WebGLRenderingContext.useProgram') | 3112 @DomName('WebGLRenderingContext.useProgram') |
3116 @DocsEditable() | 3113 @DocsEditable() |
3117 void useProgram(Program program) native ; | 3114 void useProgram(Program program) native; |
3118 | 3115 |
3119 @DomName('WebGLRenderingContext.validateProgram') | 3116 @DomName('WebGLRenderingContext.validateProgram') |
3120 @DocsEditable() | 3117 @DocsEditable() |
3121 void validateProgram(Program program) native ; | 3118 void validateProgram(Program program) native; |
3122 | 3119 |
3123 @DomName('WebGLRenderingContext.vertexAttrib1f') | 3120 @DomName('WebGLRenderingContext.vertexAttrib1f') |
3124 @DocsEditable() | 3121 @DocsEditable() |
3125 void vertexAttrib1f(int indx, num x) native ; | 3122 void vertexAttrib1f(int indx, num x) native; |
3126 | 3123 |
3127 @DomName('WebGLRenderingContext.vertexAttrib1fv') | 3124 @DomName('WebGLRenderingContext.vertexAttrib1fv') |
3128 @DocsEditable() | 3125 @DocsEditable() |
3129 void vertexAttrib1fv(int indx, values) native ; | 3126 void vertexAttrib1fv(int indx, values) native; |
3130 | 3127 |
3131 @DomName('WebGLRenderingContext.vertexAttrib2f') | 3128 @DomName('WebGLRenderingContext.vertexAttrib2f') |
3132 @DocsEditable() | 3129 @DocsEditable() |
3133 void vertexAttrib2f(int indx, num x, num y) native ; | 3130 void vertexAttrib2f(int indx, num x, num y) native; |
3134 | 3131 |
3135 @DomName('WebGLRenderingContext.vertexAttrib2fv') | 3132 @DomName('WebGLRenderingContext.vertexAttrib2fv') |
3136 @DocsEditable() | 3133 @DocsEditable() |
3137 void vertexAttrib2fv(int indx, values) native ; | 3134 void vertexAttrib2fv(int indx, values) native; |
3138 | 3135 |
3139 @DomName('WebGLRenderingContext.vertexAttrib3f') | 3136 @DomName('WebGLRenderingContext.vertexAttrib3f') |
3140 @DocsEditable() | 3137 @DocsEditable() |
3141 void vertexAttrib3f(int indx, num x, num y, num z) native ; | 3138 void vertexAttrib3f(int indx, num x, num y, num z) native; |
3142 | 3139 |
3143 @DomName('WebGLRenderingContext.vertexAttrib3fv') | 3140 @DomName('WebGLRenderingContext.vertexAttrib3fv') |
3144 @DocsEditable() | 3141 @DocsEditable() |
3145 void vertexAttrib3fv(int indx, values) native ; | 3142 void vertexAttrib3fv(int indx, values) native; |
3146 | 3143 |
3147 @DomName('WebGLRenderingContext.vertexAttrib4f') | 3144 @DomName('WebGLRenderingContext.vertexAttrib4f') |
3148 @DocsEditable() | 3145 @DocsEditable() |
3149 void vertexAttrib4f(int indx, num x, num y, num z, num w) native ; | 3146 void vertexAttrib4f(int indx, num x, num y, num z, num w) native; |
3150 | 3147 |
3151 @DomName('WebGLRenderingContext.vertexAttrib4fv') | 3148 @DomName('WebGLRenderingContext.vertexAttrib4fv') |
3152 @DocsEditable() | 3149 @DocsEditable() |
3153 void vertexAttrib4fv(int indx, values) native ; | 3150 void vertexAttrib4fv(int indx, values) native; |
3154 | 3151 |
3155 @DomName('WebGLRenderingContext.vertexAttribPointer') | 3152 @DomName('WebGLRenderingContext.vertexAttribPointer') |
3156 @DocsEditable() | 3153 @DocsEditable() |
3157 void vertexAttribPointer(int indx, int size, int type, bool normalized, | 3154 void vertexAttribPointer(int indx, int size, int type, bool normalized, |
3158 int stride, int offset) native ; | 3155 int stride, int offset) native; |
3159 | 3156 |
3160 @DomName('WebGLRenderingContext.viewport') | 3157 @DomName('WebGLRenderingContext.viewport') |
3161 @DocsEditable() | 3158 @DocsEditable() |
3162 void viewport(int x, int y, int width, int height) native ; | 3159 void viewport(int x, int y, int width, int height) native; |
3163 | 3160 |
3164 /** | 3161 /** |
3165 * Sets the currently bound texture to [data]. | 3162 * Sets the currently bound texture to [data]. |
3166 * | 3163 * |
3167 * [data] can be either an [ImageElement], a | 3164 * [data] can be either an [ImageElement], a |
3168 * [CanvasElement], a [VideoElement], [TypedData] or an [ImageData] object. | 3165 * [CanvasElement], a [VideoElement], [TypedData] or an [ImageData] object. |
3169 * | 3166 * |
3170 * This is deprecated in favor of [texImage2D]. | 3167 * This is deprecated in favor of [texImage2D]. |
3171 */ | 3168 */ |
3172 @Deprecated("Use texImage2D") | 3169 @Deprecated("Use texImage2D") |
(...skipping 1563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4736 @DomName('WebGL2RenderingContext.ZERO') | 4733 @DomName('WebGL2RenderingContext.ZERO') |
4737 @DocsEditable() | 4734 @DocsEditable() |
4738 @Experimental() // untriaged | 4735 @Experimental() // untriaged |
4739 static const int ZERO = 0; | 4736 static const int ZERO = 0; |
4740 | 4737 |
4741 // From WebGL2RenderingContextBase | 4738 // From WebGL2RenderingContextBase |
4742 | 4739 |
4743 @DomName('WebGL2RenderingContext.beginQuery') | 4740 @DomName('WebGL2RenderingContext.beginQuery') |
4744 @DocsEditable() | 4741 @DocsEditable() |
4745 @Experimental() // untriaged | 4742 @Experimental() // untriaged |
4746 void beginQuery(int target, Query query) native ; | 4743 void beginQuery(int target, Query query) native; |
4747 | 4744 |
4748 @DomName('WebGL2RenderingContext.beginTransformFeedback') | 4745 @DomName('WebGL2RenderingContext.beginTransformFeedback') |
4749 @DocsEditable() | 4746 @DocsEditable() |
4750 @Experimental() // untriaged | 4747 @Experimental() // untriaged |
4751 void beginTransformFeedback(int primitiveMode) native ; | 4748 void beginTransformFeedback(int primitiveMode) native; |
4752 | 4749 |
4753 @DomName('WebGL2RenderingContext.bindBufferBase') | 4750 @DomName('WebGL2RenderingContext.bindBufferBase') |
4754 @DocsEditable() | 4751 @DocsEditable() |
4755 @Experimental() // untriaged | 4752 @Experimental() // untriaged |
4756 void bindBufferBase(int target, int index, Buffer buffer) native ; | 4753 void bindBufferBase(int target, int index, Buffer buffer) native; |
4757 | 4754 |
4758 @DomName('WebGL2RenderingContext.bindBufferRange') | 4755 @DomName('WebGL2RenderingContext.bindBufferRange') |
4759 @DocsEditable() | 4756 @DocsEditable() |
4760 @Experimental() // untriaged | 4757 @Experimental() // untriaged |
4761 void bindBufferRange( | 4758 void bindBufferRange( |
4762 int target, int index, Buffer buffer, int offset, int size) native ; | 4759 int target, int index, Buffer buffer, int offset, int size) native; |
4763 | 4760 |
4764 @DomName('WebGL2RenderingContext.bindSampler') | 4761 @DomName('WebGL2RenderingContext.bindSampler') |
4765 @DocsEditable() | 4762 @DocsEditable() |
4766 @Experimental() // untriaged | 4763 @Experimental() // untriaged |
4767 void bindSampler(int unit, Sampler sampler) native ; | 4764 void bindSampler(int unit, Sampler sampler) native; |
4768 | 4765 |
4769 @DomName('WebGL2RenderingContext.bindTransformFeedback') | 4766 @DomName('WebGL2RenderingContext.bindTransformFeedback') |
4770 @DocsEditable() | 4767 @DocsEditable() |
4771 @Experimental() // untriaged | 4768 @Experimental() // untriaged |
4772 void bindTransformFeedback(int target, TransformFeedback feedback) native ; | 4769 void bindTransformFeedback(int target, TransformFeedback feedback) native; |
4773 | 4770 |
4774 @DomName('WebGL2RenderingContext.bindVertexArray') | 4771 @DomName('WebGL2RenderingContext.bindVertexArray') |
4775 @DocsEditable() | 4772 @DocsEditable() |
4776 @Experimental() // untriaged | 4773 @Experimental() // untriaged |
4777 void bindVertexArray(VertexArrayObject vertexArray) native ; | 4774 void bindVertexArray(VertexArrayObject vertexArray) native; |
4778 | 4775 |
4779 @DomName('WebGL2RenderingContext.blitFramebuffer') | 4776 @DomName('WebGL2RenderingContext.blitFramebuffer') |
4780 @DocsEditable() | 4777 @DocsEditable() |
4781 @Experimental() // untriaged | 4778 @Experimental() // untriaged |
4782 void blitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, | 4779 void blitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, |
4783 int dstY0, int dstX1, int dstY1, int mask, int filter) native ; | 4780 int dstY0, int dstX1, int dstY1, int mask, int filter) native; |
4784 | 4781 |
4785 @DomName('WebGL2RenderingContext.clearBufferfi') | 4782 @DomName('WebGL2RenderingContext.clearBufferfi') |
4786 @DocsEditable() | 4783 @DocsEditable() |
4787 @Experimental() // untriaged | 4784 @Experimental() // untriaged |
4788 void clearBufferfi(int buffer, int drawbuffer, num depth, int stencil) | 4785 void clearBufferfi(int buffer, int drawbuffer, num depth, int stencil) native; |
4789 native ; | |
4790 | 4786 |
4791 @DomName('WebGL2RenderingContext.clearBufferfv') | 4787 @DomName('WebGL2RenderingContext.clearBufferfv') |
4792 @DocsEditable() | 4788 @DocsEditable() |
4793 @Experimental() // untriaged | 4789 @Experimental() // untriaged |
4794 void clearBufferfv(int buffer, int drawbuffer, value) native ; | 4790 void clearBufferfv(int buffer, int drawbuffer, value) native; |
4795 | 4791 |
4796 @DomName('WebGL2RenderingContext.clearBufferiv') | 4792 @DomName('WebGL2RenderingContext.clearBufferiv') |
4797 @DocsEditable() | 4793 @DocsEditable() |
4798 @Experimental() // untriaged | 4794 @Experimental() // untriaged |
4799 void clearBufferiv(int buffer, int drawbuffer, value) native ; | 4795 void clearBufferiv(int buffer, int drawbuffer, value) native; |
4800 | 4796 |
4801 @DomName('WebGL2RenderingContext.clearBufferuiv') | 4797 @DomName('WebGL2RenderingContext.clearBufferuiv') |
4802 @DocsEditable() | 4798 @DocsEditable() |
4803 @Experimental() // untriaged | 4799 @Experimental() // untriaged |
4804 void clearBufferuiv(int buffer, int drawbuffer, value) native ; | 4800 void clearBufferuiv(int buffer, int drawbuffer, value) native; |
4805 | 4801 |
4806 @DomName('WebGL2RenderingContext.clientWaitSync') | 4802 @DomName('WebGL2RenderingContext.clientWaitSync') |
4807 @DocsEditable() | 4803 @DocsEditable() |
4808 @Experimental() // untriaged | 4804 @Experimental() // untriaged |
4809 int clientWaitSync(Sync sync, int flags, int timeout) native ; | 4805 int clientWaitSync(Sync sync, int flags, int timeout) native; |
4810 | 4806 |
4811 @DomName('WebGL2RenderingContext.compressedTexImage3D') | 4807 @DomName('WebGL2RenderingContext.compressedTexImage3D') |
4812 @DocsEditable() | 4808 @DocsEditable() |
4813 @Experimental() // untriaged | 4809 @Experimental() // untriaged |
4814 void compressedTexImage3D(int target, int level, int internalformat, | 4810 void compressedTexImage3D(int target, int level, int internalformat, |
4815 int width, int height, int depth, int border, TypedData data) native ; | 4811 int width, int height, int depth, int border, TypedData data) native; |
4816 | 4812 |
4817 @DomName('WebGL2RenderingContext.compressedTexSubImage3D') | 4813 @DomName('WebGL2RenderingContext.compressedTexSubImage3D') |
4818 @DocsEditable() | 4814 @DocsEditable() |
4819 @Experimental() // untriaged | 4815 @Experimental() // untriaged |
4820 void compressedTexSubImage3D( | 4816 void compressedTexSubImage3D( |
4821 int target, | 4817 int target, |
4822 int level, | 4818 int level, |
4823 int xoffset, | 4819 int xoffset, |
4824 int yoffset, | 4820 int yoffset, |
4825 int zoffset, | 4821 int zoffset, |
4826 int width, | 4822 int width, |
4827 int height, | 4823 int height, |
4828 int depth, | 4824 int depth, |
4829 int format, | 4825 int format, |
4830 TypedData data) native ; | 4826 TypedData data) native; |
4831 | 4827 |
4832 @DomName('WebGL2RenderingContext.copyBufferSubData') | 4828 @DomName('WebGL2RenderingContext.copyBufferSubData') |
4833 @DocsEditable() | 4829 @DocsEditable() |
4834 @Experimental() // untriaged | 4830 @Experimental() // untriaged |
4835 void copyBufferSubData(int readTarget, int writeTarget, int readOffset, | 4831 void copyBufferSubData(int readTarget, int writeTarget, int readOffset, |
4836 int writeOffset, int size) native ; | 4832 int writeOffset, int size) native; |
4837 | 4833 |
4838 @DomName('WebGL2RenderingContext.copyTexSubImage3D') | 4834 @DomName('WebGL2RenderingContext.copyTexSubImage3D') |
4839 @DocsEditable() | 4835 @DocsEditable() |
4840 @Experimental() // untriaged | 4836 @Experimental() // untriaged |
4841 void copyTexSubImage3D(int target, int level, int xoffset, int yoffset, | 4837 void copyTexSubImage3D(int target, int level, int xoffset, int yoffset, |
4842 int zoffset, int x, int y, int width, int height) native ; | 4838 int zoffset, int x, int y, int width, int height) native; |
4843 | 4839 |
4844 @DomName('WebGL2RenderingContext.createQuery') | 4840 @DomName('WebGL2RenderingContext.createQuery') |
4845 @DocsEditable() | 4841 @DocsEditable() |
4846 @Experimental() // untriaged | 4842 @Experimental() // untriaged |
4847 Query createQuery() native ; | 4843 Query createQuery() native; |
4848 | 4844 |
4849 @DomName('WebGL2RenderingContext.createSampler') | 4845 @DomName('WebGL2RenderingContext.createSampler') |
4850 @DocsEditable() | 4846 @DocsEditable() |
4851 @Experimental() // untriaged | 4847 @Experimental() // untriaged |
4852 Sampler createSampler() native ; | 4848 Sampler createSampler() native; |
4853 | 4849 |
4854 @DomName('WebGL2RenderingContext.createTransformFeedback') | 4850 @DomName('WebGL2RenderingContext.createTransformFeedback') |
4855 @DocsEditable() | 4851 @DocsEditable() |
4856 @Experimental() // untriaged | 4852 @Experimental() // untriaged |
4857 TransformFeedback createTransformFeedback() native ; | 4853 TransformFeedback createTransformFeedback() native; |
4858 | 4854 |
4859 @DomName('WebGL2RenderingContext.createVertexArray') | 4855 @DomName('WebGL2RenderingContext.createVertexArray') |
4860 @DocsEditable() | 4856 @DocsEditable() |
4861 @Experimental() // untriaged | 4857 @Experimental() // untriaged |
4862 VertexArrayObject createVertexArray() native ; | 4858 VertexArrayObject createVertexArray() native; |
4863 | 4859 |
4864 @DomName('WebGL2RenderingContext.deleteQuery') | 4860 @DomName('WebGL2RenderingContext.deleteQuery') |
4865 @DocsEditable() | 4861 @DocsEditable() |
4866 @Experimental() // untriaged | 4862 @Experimental() // untriaged |
4867 void deleteQuery(Query query) native ; | 4863 void deleteQuery(Query query) native; |
4868 | 4864 |
4869 @DomName('WebGL2RenderingContext.deleteSampler') | 4865 @DomName('WebGL2RenderingContext.deleteSampler') |
4870 @DocsEditable() | 4866 @DocsEditable() |
4871 @Experimental() // untriaged | 4867 @Experimental() // untriaged |
4872 void deleteSampler(Sampler sampler) native ; | 4868 void deleteSampler(Sampler sampler) native; |
4873 | 4869 |
4874 @DomName('WebGL2RenderingContext.deleteSync') | 4870 @DomName('WebGL2RenderingContext.deleteSync') |
4875 @DocsEditable() | 4871 @DocsEditable() |
4876 @Experimental() // untriaged | 4872 @Experimental() // untriaged |
4877 void deleteSync(Sync sync) native ; | 4873 void deleteSync(Sync sync) native; |
4878 | 4874 |
4879 @DomName('WebGL2RenderingContext.deleteTransformFeedback') | 4875 @DomName('WebGL2RenderingContext.deleteTransformFeedback') |
4880 @DocsEditable() | 4876 @DocsEditable() |
4881 @Experimental() // untriaged | 4877 @Experimental() // untriaged |
4882 void deleteTransformFeedback(TransformFeedback feedback) native ; | 4878 void deleteTransformFeedback(TransformFeedback feedback) native; |
4883 | 4879 |
4884 @DomName('WebGL2RenderingContext.deleteVertexArray') | 4880 @DomName('WebGL2RenderingContext.deleteVertexArray') |
4885 @DocsEditable() | 4881 @DocsEditable() |
4886 @Experimental() // untriaged | 4882 @Experimental() // untriaged |
4887 void deleteVertexArray(VertexArrayObject vertexArray) native ; | 4883 void deleteVertexArray(VertexArrayObject vertexArray) native; |
4888 | 4884 |
4889 @DomName('WebGL2RenderingContext.drawArraysInstanced') | 4885 @DomName('WebGL2RenderingContext.drawArraysInstanced') |
4890 @DocsEditable() | 4886 @DocsEditable() |
4891 @Experimental() // untriaged | 4887 @Experimental() // untriaged |
4892 void drawArraysInstanced(int mode, int first, int count, int instanceCount) | 4888 void drawArraysInstanced(int mode, int first, int count, int instanceCount) |
4893 native ; | 4889 native; |
4894 | 4890 |
4895 @DomName('WebGL2RenderingContext.drawBuffers') | 4891 @DomName('WebGL2RenderingContext.drawBuffers') |
4896 @DocsEditable() | 4892 @DocsEditable() |
4897 @Experimental() // untriaged | 4893 @Experimental() // untriaged |
4898 void drawBuffers(List<int> buffers) native ; | 4894 void drawBuffers(List<int> buffers) native; |
4899 | 4895 |
4900 @DomName('WebGL2RenderingContext.drawElementsInstanced') | 4896 @DomName('WebGL2RenderingContext.drawElementsInstanced') |
4901 @DocsEditable() | 4897 @DocsEditable() |
4902 @Experimental() // untriaged | 4898 @Experimental() // untriaged |
4903 void drawElementsInstanced( | 4899 void drawElementsInstanced( |
4904 int mode, int count, int type, int offset, int instanceCount) native ; | 4900 int mode, int count, int type, int offset, int instanceCount) native; |
4905 | 4901 |
4906 @DomName('WebGL2RenderingContext.drawRangeElements') | 4902 @DomName('WebGL2RenderingContext.drawRangeElements') |
4907 @DocsEditable() | 4903 @DocsEditable() |
4908 @Experimental() // untriaged | 4904 @Experimental() // untriaged |
4909 void drawRangeElements( | 4905 void drawRangeElements( |
4910 int mode, int start, int end, int count, int type, int offset) native ; | 4906 int mode, int start, int end, int count, int type, int offset) native; |
4911 | 4907 |
4912 @DomName('WebGL2RenderingContext.endQuery') | 4908 @DomName('WebGL2RenderingContext.endQuery') |
4913 @DocsEditable() | 4909 @DocsEditable() |
4914 @Experimental() // untriaged | 4910 @Experimental() // untriaged |
4915 void endQuery(int target) native ; | 4911 void endQuery(int target) native; |
4916 | 4912 |
4917 @DomName('WebGL2RenderingContext.endTransformFeedback') | 4913 @DomName('WebGL2RenderingContext.endTransformFeedback') |
4918 @DocsEditable() | 4914 @DocsEditable() |
4919 @Experimental() // untriaged | 4915 @Experimental() // untriaged |
4920 void endTransformFeedback() native ; | 4916 void endTransformFeedback() native; |
4921 | 4917 |
4922 @DomName('WebGL2RenderingContext.fenceSync') | 4918 @DomName('WebGL2RenderingContext.fenceSync') |
4923 @DocsEditable() | 4919 @DocsEditable() |
4924 @Experimental() // untriaged | 4920 @Experimental() // untriaged |
4925 Sync fenceSync(int condition, int flags) native ; | 4921 Sync fenceSync(int condition, int flags) native; |
4926 | 4922 |
4927 @DomName('WebGL2RenderingContext.framebufferTextureLayer') | 4923 @DomName('WebGL2RenderingContext.framebufferTextureLayer') |
4928 @DocsEditable() | 4924 @DocsEditable() |
4929 @Experimental() // untriaged | 4925 @Experimental() // untriaged |
4930 void framebufferTextureLayer(int target, int attachment, Texture texture, | 4926 void framebufferTextureLayer( |
4931 int level, int layer) native ; | 4927 int target, int attachment, Texture texture, int level, int layer) native; |
4932 | 4928 |
4933 @DomName('WebGL2RenderingContext.getActiveUniformBlockName') | 4929 @DomName('WebGL2RenderingContext.getActiveUniformBlockName') |
4934 @DocsEditable() | 4930 @DocsEditable() |
4935 @Experimental() // untriaged | 4931 @Experimental() // untriaged |
4936 String getActiveUniformBlockName(Program program, int uniformBlockIndex) | 4932 String getActiveUniformBlockName(Program program, int uniformBlockIndex) |
4937 native ; | 4933 native; |
4938 | 4934 |
4939 @DomName('WebGL2RenderingContext.getActiveUniformBlockParameter') | 4935 @DomName('WebGL2RenderingContext.getActiveUniformBlockParameter') |
4940 @DocsEditable() | 4936 @DocsEditable() |
4941 @Experimental() // untriaged | 4937 @Experimental() // untriaged |
4942 Object getActiveUniformBlockParameter( | 4938 Object getActiveUniformBlockParameter( |
4943 Program program, int uniformBlockIndex, int pname) native ; | 4939 Program program, int uniformBlockIndex, int pname) native; |
4944 | 4940 |
4945 @DomName('WebGL2RenderingContext.getActiveUniforms') | 4941 @DomName('WebGL2RenderingContext.getActiveUniforms') |
4946 @DocsEditable() | 4942 @DocsEditable() |
4947 @Experimental() // untriaged | 4943 @Experimental() // untriaged |
4948 List<int> getActiveUniforms( | 4944 List<int> getActiveUniforms( |
4949 Program program, List<int> uniformIndices, int pname) native ; | 4945 Program program, List<int> uniformIndices, int pname) native; |
4950 | 4946 |
4951 @DomName('WebGL2RenderingContext.getBufferSubData') | 4947 @DomName('WebGL2RenderingContext.getBufferSubData') |
4952 @DocsEditable() | 4948 @DocsEditable() |
4953 @Experimental() // untriaged | 4949 @Experimental() // untriaged |
4954 void getBufferSubData(int target, int offset, ByteBuffer returnedData) | 4950 void getBufferSubData(int target, int offset, ByteBuffer returnedData) native; |
4955 native ; | |
4956 | 4951 |
4957 @DomName('WebGL2RenderingContext.getFragDataLocation') | 4952 @DomName('WebGL2RenderingContext.getFragDataLocation') |
4958 @DocsEditable() | 4953 @DocsEditable() |
4959 @Experimental() // untriaged | 4954 @Experimental() // untriaged |
4960 int getFragDataLocation(Program program, String name) native ; | 4955 int getFragDataLocation(Program program, String name) native; |
4961 | 4956 |
4962 @DomName('WebGL2RenderingContext.getIndexedParameter') | 4957 @DomName('WebGL2RenderingContext.getIndexedParameter') |
4963 @DocsEditable() | 4958 @DocsEditable() |
4964 @Experimental() // untriaged | 4959 @Experimental() // untriaged |
4965 Object getIndexedParameter(int target, int index) native ; | 4960 Object getIndexedParameter(int target, int index) native; |
4966 | 4961 |
4967 @DomName('WebGL2RenderingContext.getInternalformatParameter') | 4962 @DomName('WebGL2RenderingContext.getInternalformatParameter') |
4968 @DocsEditable() | 4963 @DocsEditable() |
4969 @Experimental() // untriaged | 4964 @Experimental() // untriaged |
4970 Object getInternalformatParameter(int target, int internalformat, int pname) | 4965 Object getInternalformatParameter(int target, int internalformat, int pname) |
4971 native ; | 4966 native; |
4972 | 4967 |
4973 @DomName('WebGL2RenderingContext.getQuery') | 4968 @DomName('WebGL2RenderingContext.getQuery') |
4974 @DocsEditable() | 4969 @DocsEditable() |
4975 @Experimental() // untriaged | 4970 @Experimental() // untriaged |
4976 Query getQuery(int target, int pname) native ; | 4971 Query getQuery(int target, int pname) native; |
4977 | 4972 |
4978 @DomName('WebGL2RenderingContext.getQueryParameter') | 4973 @DomName('WebGL2RenderingContext.getQueryParameter') |
4979 @DocsEditable() | 4974 @DocsEditable() |
4980 @Experimental() // untriaged | 4975 @Experimental() // untriaged |
4981 Object getQueryParameter(Query query, int pname) native ; | 4976 Object getQueryParameter(Query query, int pname) native; |
4982 | 4977 |
4983 @DomName('WebGL2RenderingContext.getSamplerParameter') | 4978 @DomName('WebGL2RenderingContext.getSamplerParameter') |
4984 @DocsEditable() | 4979 @DocsEditable() |
4985 @Experimental() // untriaged | 4980 @Experimental() // untriaged |
4986 Object getSamplerParameter(Sampler sampler, int pname) native ; | 4981 Object getSamplerParameter(Sampler sampler, int pname) native; |
4987 | 4982 |
4988 @DomName('WebGL2RenderingContext.getSyncParameter') | 4983 @DomName('WebGL2RenderingContext.getSyncParameter') |
4989 @DocsEditable() | 4984 @DocsEditable() |
4990 @Experimental() // untriaged | 4985 @Experimental() // untriaged |
4991 Object getSyncParameter(Sync sync, int pname) native ; | 4986 Object getSyncParameter(Sync sync, int pname) native; |
4992 | 4987 |
4993 @DomName('WebGL2RenderingContext.getTransformFeedbackVarying') | 4988 @DomName('WebGL2RenderingContext.getTransformFeedbackVarying') |
4994 @DocsEditable() | 4989 @DocsEditable() |
4995 @Experimental() // untriaged | 4990 @Experimental() // untriaged |
4996 ActiveInfo getTransformFeedbackVarying(Program program, int index) native ; | 4991 ActiveInfo getTransformFeedbackVarying(Program program, int index) native; |
4997 | 4992 |
4998 @DomName('WebGL2RenderingContext.getUniformBlockIndex') | 4993 @DomName('WebGL2RenderingContext.getUniformBlockIndex') |
4999 @DocsEditable() | 4994 @DocsEditable() |
5000 @Experimental() // untriaged | 4995 @Experimental() // untriaged |
5001 int getUniformBlockIndex(Program program, String uniformBlockName) native ; | 4996 int getUniformBlockIndex(Program program, String uniformBlockName) native; |
5002 | 4997 |
5003 @DomName('WebGL2RenderingContext.getUniformIndices') | 4998 @DomName('WebGL2RenderingContext.getUniformIndices') |
5004 @DocsEditable() | 4999 @DocsEditable() |
5005 @Experimental() // untriaged | 5000 @Experimental() // untriaged |
5006 List<int> getUniformIndices(Program program, List<String> uniformNames) { | 5001 List<int> getUniformIndices(Program program, List<String> uniformNames) { |
5007 List uniformNames_1 = convertDartToNative_StringArray(uniformNames); | 5002 List uniformNames_1 = convertDartToNative_StringArray(uniformNames); |
5008 return _getUniformIndices_1(program, uniformNames_1); | 5003 return _getUniformIndices_1(program, uniformNames_1); |
5009 } | 5004 } |
5010 | 5005 |
5011 @JSName('getUniformIndices') | 5006 @JSName('getUniformIndices') |
5012 @DomName('WebGL2RenderingContext.getUniformIndices') | 5007 @DomName('WebGL2RenderingContext.getUniformIndices') |
5013 @DocsEditable() | 5008 @DocsEditable() |
5014 @Experimental() // untriaged | 5009 @Experimental() // untriaged |
5015 List<int> _getUniformIndices_1(Program program, List uniformNames) native ; | 5010 List<int> _getUniformIndices_1(Program program, List uniformNames) native; |
5016 | 5011 |
5017 @DomName('WebGL2RenderingContext.invalidateFramebuffer') | 5012 @DomName('WebGL2RenderingContext.invalidateFramebuffer') |
5018 @DocsEditable() | 5013 @DocsEditable() |
5019 @Experimental() // untriaged | 5014 @Experimental() // untriaged |
5020 void invalidateFramebuffer(int target, List<int> attachments) native ; | 5015 void invalidateFramebuffer(int target, List<int> attachments) native; |
5021 | 5016 |
5022 @DomName('WebGL2RenderingContext.invalidateSubFramebuffer') | 5017 @DomName('WebGL2RenderingContext.invalidateSubFramebuffer') |
5023 @DocsEditable() | 5018 @DocsEditable() |
5024 @Experimental() // untriaged | 5019 @Experimental() // untriaged |
5025 void invalidateSubFramebuffer(int target, List<int> attachments, int x, int y, | 5020 void invalidateSubFramebuffer(int target, List<int> attachments, int x, int y, |
5026 int width, int height) native ; | 5021 int width, int height) native; |
5027 | 5022 |
5028 @DomName('WebGL2RenderingContext.isQuery') | 5023 @DomName('WebGL2RenderingContext.isQuery') |
5029 @DocsEditable() | 5024 @DocsEditable() |
5030 @Experimental() // untriaged | 5025 @Experimental() // untriaged |
5031 bool isQuery(Query query) native ; | 5026 bool isQuery(Query query) native; |
5032 | 5027 |
5033 @DomName('WebGL2RenderingContext.isSampler') | 5028 @DomName('WebGL2RenderingContext.isSampler') |
5034 @DocsEditable() | 5029 @DocsEditable() |
5035 @Experimental() // untriaged | 5030 @Experimental() // untriaged |
5036 bool isSampler(Sampler sampler) native ; | 5031 bool isSampler(Sampler sampler) native; |
5037 | 5032 |
5038 @DomName('WebGL2RenderingContext.isSync') | 5033 @DomName('WebGL2RenderingContext.isSync') |
5039 @DocsEditable() | 5034 @DocsEditable() |
5040 @Experimental() // untriaged | 5035 @Experimental() // untriaged |
5041 bool isSync(Sync sync) native ; | 5036 bool isSync(Sync sync) native; |
5042 | 5037 |
5043 @DomName('WebGL2RenderingContext.isTransformFeedback') | 5038 @DomName('WebGL2RenderingContext.isTransformFeedback') |
5044 @DocsEditable() | 5039 @DocsEditable() |
5045 @Experimental() // untriaged | 5040 @Experimental() // untriaged |
5046 bool isTransformFeedback(TransformFeedback feedback) native ; | 5041 bool isTransformFeedback(TransformFeedback feedback) native; |
5047 | 5042 |
5048 @DomName('WebGL2RenderingContext.isVertexArray') | 5043 @DomName('WebGL2RenderingContext.isVertexArray') |
5049 @DocsEditable() | 5044 @DocsEditable() |
5050 @Experimental() // untriaged | 5045 @Experimental() // untriaged |
5051 bool isVertexArray(VertexArrayObject vertexArray) native ; | 5046 bool isVertexArray(VertexArrayObject vertexArray) native; |
5052 | 5047 |
5053 @DomName('WebGL2RenderingContext.pauseTransformFeedback') | 5048 @DomName('WebGL2RenderingContext.pauseTransformFeedback') |
5054 @DocsEditable() | 5049 @DocsEditable() |
5055 @Experimental() // untriaged | 5050 @Experimental() // untriaged |
5056 void pauseTransformFeedback() native ; | 5051 void pauseTransformFeedback() native; |
5057 | 5052 |
5058 @DomName('WebGL2RenderingContext.readBuffer') | 5053 @DomName('WebGL2RenderingContext.readBuffer') |
5059 @DocsEditable() | 5054 @DocsEditable() |
5060 @Experimental() // untriaged | 5055 @Experimental() // untriaged |
5061 void readBuffer(int mode) native ; | 5056 void readBuffer(int mode) native; |
5062 | 5057 |
5063 @DomName('WebGL2RenderingContext.renderbufferStorageMultisample') | 5058 @DomName('WebGL2RenderingContext.renderbufferStorageMultisample') |
5064 @DocsEditable() | 5059 @DocsEditable() |
5065 @Experimental() // untriaged | 5060 @Experimental() // untriaged |
5066 void renderbufferStorageMultisample(int target, int samples, | 5061 void renderbufferStorageMultisample(int target, int samples, |
5067 int internalformat, int width, int height) native ; | 5062 int internalformat, int width, int height) native; |
5068 | 5063 |
5069 @DomName('WebGL2RenderingContext.resumeTransformFeedback') | 5064 @DomName('WebGL2RenderingContext.resumeTransformFeedback') |
5070 @DocsEditable() | 5065 @DocsEditable() |
5071 @Experimental() // untriaged | 5066 @Experimental() // untriaged |
5072 void resumeTransformFeedback() native ; | 5067 void resumeTransformFeedback() native; |
5073 | 5068 |
5074 @DomName('WebGL2RenderingContext.samplerParameterf') | 5069 @DomName('WebGL2RenderingContext.samplerParameterf') |
5075 @DocsEditable() | 5070 @DocsEditable() |
5076 @Experimental() // untriaged | 5071 @Experimental() // untriaged |
5077 void samplerParameterf(Sampler sampler, int pname, num param) native ; | 5072 void samplerParameterf(Sampler sampler, int pname, num param) native; |
5078 | 5073 |
5079 @DomName('WebGL2RenderingContext.samplerParameteri') | 5074 @DomName('WebGL2RenderingContext.samplerParameteri') |
5080 @DocsEditable() | 5075 @DocsEditable() |
5081 @Experimental() // untriaged | 5076 @Experimental() // untriaged |
5082 void samplerParameteri(Sampler sampler, int pname, int param) native ; | 5077 void samplerParameteri(Sampler sampler, int pname, int param) native; |
5083 | 5078 |
5084 @DomName('WebGL2RenderingContext.texImage3D') | 5079 @DomName('WebGL2RenderingContext.texImage3D') |
5085 @DocsEditable() | 5080 @DocsEditable() |
5086 @Experimental() // untriaged | 5081 @Experimental() // untriaged |
5087 void texImage3D( | 5082 void texImage3D( |
5088 int target, | 5083 int target, |
5089 int level, | 5084 int level, |
5090 int internalformat, | 5085 int internalformat, |
5091 int width, | 5086 int width, |
5092 int height, | 5087 int height, |
5093 int depth, | 5088 int depth, |
5094 int border, | 5089 int border, |
5095 int format, | 5090 int format, |
5096 int type, | 5091 int type, |
5097 TypedData pixels) native ; | 5092 TypedData pixels) native; |
5098 | 5093 |
5099 @DomName('WebGL2RenderingContext.texStorage2D') | 5094 @DomName('WebGL2RenderingContext.texStorage2D') |
5100 @DocsEditable() | 5095 @DocsEditable() |
5101 @Experimental() // untriaged | 5096 @Experimental() // untriaged |
5102 void texStorage2D(int target, int levels, int internalformat, int width, | 5097 void texStorage2D( |
5103 int height) native ; | 5098 int target, int levels, int internalformat, int width, int height) native; |
5104 | 5099 |
5105 @DomName('WebGL2RenderingContext.texStorage3D') | 5100 @DomName('WebGL2RenderingContext.texStorage3D') |
5106 @DocsEditable() | 5101 @DocsEditable() |
5107 @Experimental() // untriaged | 5102 @Experimental() // untriaged |
5108 void texStorage3D(int target, int levels, int internalformat, int width, | 5103 void texStorage3D(int target, int levels, int internalformat, int width, |
5109 int height, int depth) native ; | 5104 int height, int depth) native; |
5110 | 5105 |
5111 @DomName('WebGL2RenderingContext.texSubImage3D') | 5106 @DomName('WebGL2RenderingContext.texSubImage3D') |
5112 @DocsEditable() | 5107 @DocsEditable() |
5113 @Experimental() // untriaged | 5108 @Experimental() // untriaged |
5114 void texSubImage3D( | 5109 void texSubImage3D( |
5115 int target, | 5110 int target, |
5116 int level, | 5111 int level, |
5117 int xoffset, | 5112 int xoffset, |
5118 int yoffset, | 5113 int yoffset, |
5119 int zoffset, | 5114 int zoffset, |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5200 return; | 5195 return; |
5201 } | 5196 } |
5202 throw new ArgumentError("Incorrect number or type of arguments"); | 5197 throw new ArgumentError("Incorrect number or type of arguments"); |
5203 } | 5198 } |
5204 | 5199 |
5205 @JSName('texSubImage3D') | 5200 @JSName('texSubImage3D') |
5206 @DomName('WebGL2RenderingContext.texSubImage3D') | 5201 @DomName('WebGL2RenderingContext.texSubImage3D') |
5207 @DocsEditable() | 5202 @DocsEditable() |
5208 @Experimental() // untriaged | 5203 @Experimental() // untriaged |
5209 void _texSubImage3D_1(target, level, xoffset, yoffset, zoffset, width, height, | 5204 void _texSubImage3D_1(target, level, xoffset, yoffset, zoffset, width, height, |
5210 int depth, format, type, TypedData pixels) native ; | 5205 int depth, format, type, TypedData pixels) native; |
5211 @JSName('texSubImage3D') | 5206 @JSName('texSubImage3D') |
5212 @DomName('WebGL2RenderingContext.texSubImage3D') | 5207 @DomName('WebGL2RenderingContext.texSubImage3D') |
5213 @DocsEditable() | 5208 @DocsEditable() |
5214 @Experimental() // untriaged | 5209 @Experimental() // untriaged |
5215 void _texSubImage3D_2( | 5210 void _texSubImage3D_2( |
5216 target, level, xoffset, yoffset, zoffset, format, type, data) native ; | 5211 target, level, xoffset, yoffset, zoffset, format, type, data) native; |
5217 @JSName('texSubImage3D') | 5212 @JSName('texSubImage3D') |
5218 @DomName('WebGL2RenderingContext.texSubImage3D') | 5213 @DomName('WebGL2RenderingContext.texSubImage3D') |
5219 @DocsEditable() | 5214 @DocsEditable() |
5220 @Experimental() // untriaged | 5215 @Experimental() // untriaged |
5221 void _texSubImage3D_3(target, level, xoffset, yoffset, zoffset, format, type, | 5216 void _texSubImage3D_3(target, level, xoffset, yoffset, zoffset, format, type, |
5222 ImageElement image) native ; | 5217 ImageElement image) native; |
5223 @JSName('texSubImage3D') | 5218 @JSName('texSubImage3D') |
5224 @DomName('WebGL2RenderingContext.texSubImage3D') | 5219 @DomName('WebGL2RenderingContext.texSubImage3D') |
5225 @DocsEditable() | 5220 @DocsEditable() |
5226 @Experimental() // untriaged | 5221 @Experimental() // untriaged |
5227 void _texSubImage3D_4(target, level, xoffset, yoffset, zoffset, format, type, | 5222 void _texSubImage3D_4(target, level, xoffset, yoffset, zoffset, format, type, |
5228 CanvasElement canvas) native ; | 5223 CanvasElement canvas) native; |
5229 @JSName('texSubImage3D') | 5224 @JSName('texSubImage3D') |
5230 @DomName('WebGL2RenderingContext.texSubImage3D') | 5225 @DomName('WebGL2RenderingContext.texSubImage3D') |
5231 @DocsEditable() | 5226 @DocsEditable() |
5232 @Experimental() // untriaged | 5227 @Experimental() // untriaged |
5233 void _texSubImage3D_5(target, level, xoffset, yoffset, zoffset, format, type, | 5228 void _texSubImage3D_5(target, level, xoffset, yoffset, zoffset, format, type, |
5234 VideoElement video) native ; | 5229 VideoElement video) native; |
5235 | 5230 |
5236 @DomName('WebGL2RenderingContext.transformFeedbackVaryings') | 5231 @DomName('WebGL2RenderingContext.transformFeedbackVaryings') |
5237 @DocsEditable() | 5232 @DocsEditable() |
5238 @Experimental() // untriaged | 5233 @Experimental() // untriaged |
5239 void transformFeedbackVaryings( | 5234 void transformFeedbackVaryings( |
5240 Program program, List<String> varyings, int bufferMode) { | 5235 Program program, List<String> varyings, int bufferMode) { |
5241 List varyings_1 = convertDartToNative_StringArray(varyings); | 5236 List varyings_1 = convertDartToNative_StringArray(varyings); |
5242 _transformFeedbackVaryings_1(program, varyings_1, bufferMode); | 5237 _transformFeedbackVaryings_1(program, varyings_1, bufferMode); |
5243 return; | 5238 return; |
5244 } | 5239 } |
5245 | 5240 |
5246 @JSName('transformFeedbackVaryings') | 5241 @JSName('transformFeedbackVaryings') |
5247 @DomName('WebGL2RenderingContext.transformFeedbackVaryings') | 5242 @DomName('WebGL2RenderingContext.transformFeedbackVaryings') |
5248 @DocsEditable() | 5243 @DocsEditable() |
5249 @Experimental() // untriaged | 5244 @Experimental() // untriaged |
5250 void _transformFeedbackVaryings_1(Program program, List varyings, bufferMode) | 5245 void _transformFeedbackVaryings_1(Program program, List varyings, bufferMode) |
5251 native ; | 5246 native; |
5252 | 5247 |
5253 @DomName('WebGL2RenderingContext.uniform1ui') | 5248 @DomName('WebGL2RenderingContext.uniform1ui') |
5254 @DocsEditable() | 5249 @DocsEditable() |
5255 @Experimental() // untriaged | 5250 @Experimental() // untriaged |
5256 void uniform1ui(UniformLocation location, int v0) native ; | 5251 void uniform1ui(UniformLocation location, int v0) native; |
5257 | 5252 |
5258 @DomName('WebGL2RenderingContext.uniform1uiv') | 5253 @DomName('WebGL2RenderingContext.uniform1uiv') |
5259 @DocsEditable() | 5254 @DocsEditable() |
5260 @Experimental() // untriaged | 5255 @Experimental() // untriaged |
5261 void uniform1uiv(UniformLocation location, List<int> value) native ; | 5256 void uniform1uiv(UniformLocation location, List<int> value) native; |
5262 | 5257 |
5263 @DomName('WebGL2RenderingContext.uniform2ui') | 5258 @DomName('WebGL2RenderingContext.uniform2ui') |
5264 @DocsEditable() | 5259 @DocsEditable() |
5265 @Experimental() // untriaged | 5260 @Experimental() // untriaged |
5266 void uniform2ui(UniformLocation location, int v0, int v1) native ; | 5261 void uniform2ui(UniformLocation location, int v0, int v1) native; |
5267 | 5262 |
5268 @DomName('WebGL2RenderingContext.uniform2uiv') | 5263 @DomName('WebGL2RenderingContext.uniform2uiv') |
5269 @DocsEditable() | 5264 @DocsEditable() |
5270 @Experimental() // untriaged | 5265 @Experimental() // untriaged |
5271 void uniform2uiv(UniformLocation location, List<int> value) native ; | 5266 void uniform2uiv(UniformLocation location, List<int> value) native; |
5272 | 5267 |
5273 @DomName('WebGL2RenderingContext.uniform3ui') | 5268 @DomName('WebGL2RenderingContext.uniform3ui') |
5274 @DocsEditable() | 5269 @DocsEditable() |
5275 @Experimental() // untriaged | 5270 @Experimental() // untriaged |
5276 void uniform3ui(UniformLocation location, int v0, int v1, int v2) native ; | 5271 void uniform3ui(UniformLocation location, int v0, int v1, int v2) native; |
5277 | 5272 |
5278 @DomName('WebGL2RenderingContext.uniform3uiv') | 5273 @DomName('WebGL2RenderingContext.uniform3uiv') |
5279 @DocsEditable() | 5274 @DocsEditable() |
5280 @Experimental() // untriaged | 5275 @Experimental() // untriaged |
5281 void uniform3uiv(UniformLocation location, List<int> value) native ; | 5276 void uniform3uiv(UniformLocation location, List<int> value) native; |
5282 | 5277 |
5283 @DomName('WebGL2RenderingContext.uniform4ui') | 5278 @DomName('WebGL2RenderingContext.uniform4ui') |
5284 @DocsEditable() | 5279 @DocsEditable() |
5285 @Experimental() // untriaged | 5280 @Experimental() // untriaged |
5286 void uniform4ui(UniformLocation location, int v0, int v1, int v2, int v3) | 5281 void uniform4ui(UniformLocation location, int v0, int v1, int v2, int v3) |
5287 native ; | 5282 native; |
5288 | 5283 |
5289 @DomName('WebGL2RenderingContext.uniform4uiv') | 5284 @DomName('WebGL2RenderingContext.uniform4uiv') |
5290 @DocsEditable() | 5285 @DocsEditable() |
5291 @Experimental() // untriaged | 5286 @Experimental() // untriaged |
5292 void uniform4uiv(UniformLocation location, List<int> value) native ; | 5287 void uniform4uiv(UniformLocation location, List<int> value) native; |
5293 | 5288 |
5294 @DomName('WebGL2RenderingContext.uniformBlockBinding') | 5289 @DomName('WebGL2RenderingContext.uniformBlockBinding') |
5295 @DocsEditable() | 5290 @DocsEditable() |
5296 @Experimental() // untriaged | 5291 @Experimental() // untriaged |
5297 void uniformBlockBinding( | 5292 void uniformBlockBinding( |
5298 Program program, int uniformBlockIndex, int uniformBlockBinding) native ; | 5293 Program program, int uniformBlockIndex, int uniformBlockBinding) native; |
5299 | 5294 |
5300 @DomName('WebGL2RenderingContext.uniformMatrix2x3fv') | 5295 @DomName('WebGL2RenderingContext.uniformMatrix2x3fv') |
5301 @DocsEditable() | 5296 @DocsEditable() |
5302 @Experimental() // untriaged | 5297 @Experimental() // untriaged |
5303 void uniformMatrix2x3fv(UniformLocation location, bool transpose, value) | 5298 void uniformMatrix2x3fv(UniformLocation location, bool transpose, value) |
5304 native ; | 5299 native; |
5305 | 5300 |
5306 @DomName('WebGL2RenderingContext.uniformMatrix2x4fv') | 5301 @DomName('WebGL2RenderingContext.uniformMatrix2x4fv') |
5307 @DocsEditable() | 5302 @DocsEditable() |
5308 @Experimental() // untriaged | 5303 @Experimental() // untriaged |
5309 void uniformMatrix2x4fv(UniformLocation location, bool transpose, value) | 5304 void uniformMatrix2x4fv(UniformLocation location, bool transpose, value) |
5310 native ; | 5305 native; |
5311 | 5306 |
5312 @DomName('WebGL2RenderingContext.uniformMatrix3x2fv') | 5307 @DomName('WebGL2RenderingContext.uniformMatrix3x2fv') |
5313 @DocsEditable() | 5308 @DocsEditable() |
5314 @Experimental() // untriaged | 5309 @Experimental() // untriaged |
5315 void uniformMatrix3x2fv(UniformLocation location, bool transpose, value) | 5310 void uniformMatrix3x2fv(UniformLocation location, bool transpose, value) |
5316 native ; | 5311 native; |
5317 | 5312 |
5318 @DomName('WebGL2RenderingContext.uniformMatrix3x4fv') | 5313 @DomName('WebGL2RenderingContext.uniformMatrix3x4fv') |
5319 @DocsEditable() | 5314 @DocsEditable() |
5320 @Experimental() // untriaged | 5315 @Experimental() // untriaged |
5321 void uniformMatrix3x4fv(UniformLocation location, bool transpose, value) | 5316 void uniformMatrix3x4fv(UniformLocation location, bool transpose, value) |
5322 native ; | 5317 native; |
5323 | 5318 |
5324 @DomName('WebGL2RenderingContext.uniformMatrix4x2fv') | 5319 @DomName('WebGL2RenderingContext.uniformMatrix4x2fv') |
5325 @DocsEditable() | 5320 @DocsEditable() |
5326 @Experimental() // untriaged | 5321 @Experimental() // untriaged |
5327 void uniformMatrix4x2fv(UniformLocation location, bool transpose, value) | 5322 void uniformMatrix4x2fv(UniformLocation location, bool transpose, value) |
5328 native ; | 5323 native; |
5329 | 5324 |
5330 @DomName('WebGL2RenderingContext.uniformMatrix4x3fv') | 5325 @DomName('WebGL2RenderingContext.uniformMatrix4x3fv') |
5331 @DocsEditable() | 5326 @DocsEditable() |
5332 @Experimental() // untriaged | 5327 @Experimental() // untriaged |
5333 void uniformMatrix4x3fv(UniformLocation location, bool transpose, value) | 5328 void uniformMatrix4x3fv(UniformLocation location, bool transpose, value) |
5334 native ; | 5329 native; |
5335 | 5330 |
5336 @DomName('WebGL2RenderingContext.vertexAttribDivisor') | 5331 @DomName('WebGL2RenderingContext.vertexAttribDivisor') |
5337 @DocsEditable() | 5332 @DocsEditable() |
5338 @Experimental() // untriaged | 5333 @Experimental() // untriaged |
5339 void vertexAttribDivisor(int index, int divisor) native ; | 5334 void vertexAttribDivisor(int index, int divisor) native; |
5340 | 5335 |
5341 @DomName('WebGL2RenderingContext.vertexAttribI4i') | 5336 @DomName('WebGL2RenderingContext.vertexAttribI4i') |
5342 @DocsEditable() | 5337 @DocsEditable() |
5343 @Experimental() // untriaged | 5338 @Experimental() // untriaged |
5344 void vertexAttribI4i(int index, int x, int y, int z, int w) native ; | 5339 void vertexAttribI4i(int index, int x, int y, int z, int w) native; |
5345 | 5340 |
5346 @DomName('WebGL2RenderingContext.vertexAttribI4iv') | 5341 @DomName('WebGL2RenderingContext.vertexAttribI4iv') |
5347 @DocsEditable() | 5342 @DocsEditable() |
5348 @Experimental() // untriaged | 5343 @Experimental() // untriaged |
5349 void vertexAttribI4iv(int index, List<int> v) native ; | 5344 void vertexAttribI4iv(int index, List<int> v) native; |
5350 | 5345 |
5351 @DomName('WebGL2RenderingContext.vertexAttribI4ui') | 5346 @DomName('WebGL2RenderingContext.vertexAttribI4ui') |
5352 @DocsEditable() | 5347 @DocsEditable() |
5353 @Experimental() // untriaged | 5348 @Experimental() // untriaged |
5354 void vertexAttribI4ui(int index, int x, int y, int z, int w) native ; | 5349 void vertexAttribI4ui(int index, int x, int y, int z, int w) native; |
5355 | 5350 |
5356 @DomName('WebGL2RenderingContext.vertexAttribI4uiv') | 5351 @DomName('WebGL2RenderingContext.vertexAttribI4uiv') |
5357 @DocsEditable() | 5352 @DocsEditable() |
5358 @Experimental() // untriaged | 5353 @Experimental() // untriaged |
5359 void vertexAttribI4uiv(int index, List<int> v) native ; | 5354 void vertexAttribI4uiv(int index, List<int> v) native; |
5360 | 5355 |
5361 @DomName('WebGL2RenderingContext.vertexAttribIPointer') | 5356 @DomName('WebGL2RenderingContext.vertexAttribIPointer') |
5362 @DocsEditable() | 5357 @DocsEditable() |
5363 @Experimental() // untriaged | 5358 @Experimental() // untriaged |
5364 void vertexAttribIPointer( | 5359 void vertexAttribIPointer( |
5365 int index, int size, int type, int stride, int offset) native ; | 5360 int index, int size, int type, int stride, int offset) native; |
5366 | 5361 |
5367 @DomName('WebGL2RenderingContext.waitSync') | 5362 @DomName('WebGL2RenderingContext.waitSync') |
5368 @DocsEditable() | 5363 @DocsEditable() |
5369 @Experimental() // untriaged | 5364 @Experimental() // untriaged |
5370 void waitSync(Sync sync, int flags, int timeout) native ; | 5365 void waitSync(Sync sync, int flags, int timeout) native; |
5371 | 5366 |
5372 // From WebGLRenderingContextBase | 5367 // From WebGLRenderingContextBase |
5373 | 5368 |
5374 @DomName('WebGL2RenderingContext.canvas') | 5369 @DomName('WebGL2RenderingContext.canvas') |
5375 @DocsEditable() | 5370 @DocsEditable() |
5376 @Experimental() // untriaged | 5371 @Experimental() // untriaged |
5377 final CanvasElement canvas; | 5372 final CanvasElement canvas; |
5378 | 5373 |
5379 @DomName('WebGL2RenderingContext.drawingBufferHeight') | 5374 @DomName('WebGL2RenderingContext.drawingBufferHeight') |
5380 @DocsEditable() | 5375 @DocsEditable() |
5381 @Experimental() // untriaged | 5376 @Experimental() // untriaged |
5382 final int drawingBufferHeight; | 5377 final int drawingBufferHeight; |
5383 | 5378 |
5384 @DomName('WebGL2RenderingContext.drawingBufferWidth') | 5379 @DomName('WebGL2RenderingContext.drawingBufferWidth') |
5385 @DocsEditable() | 5380 @DocsEditable() |
5386 @Experimental() // untriaged | 5381 @Experimental() // untriaged |
5387 final int drawingBufferWidth; | 5382 final int drawingBufferWidth; |
5388 | 5383 |
5389 @DomName('WebGL2RenderingContext.activeTexture') | 5384 @DomName('WebGL2RenderingContext.activeTexture') |
5390 @DocsEditable() | 5385 @DocsEditable() |
5391 @Experimental() // untriaged | 5386 @Experimental() // untriaged |
5392 void activeTexture(int texture) native ; | 5387 void activeTexture(int texture) native; |
5393 | 5388 |
5394 @DomName('WebGL2RenderingContext.attachShader') | 5389 @DomName('WebGL2RenderingContext.attachShader') |
5395 @DocsEditable() | 5390 @DocsEditable() |
5396 @Experimental() // untriaged | 5391 @Experimental() // untriaged |
5397 void attachShader(Program program, Shader shader) native ; | 5392 void attachShader(Program program, Shader shader) native; |
5398 | 5393 |
5399 @DomName('WebGL2RenderingContext.bindAttribLocation') | 5394 @DomName('WebGL2RenderingContext.bindAttribLocation') |
5400 @DocsEditable() | 5395 @DocsEditable() |
5401 @Experimental() // untriaged | 5396 @Experimental() // untriaged |
5402 void bindAttribLocation(Program program, int index, String name) native ; | 5397 void bindAttribLocation(Program program, int index, String name) native; |
5403 | 5398 |
5404 @DomName('WebGL2RenderingContext.bindBuffer') | 5399 @DomName('WebGL2RenderingContext.bindBuffer') |
5405 @DocsEditable() | 5400 @DocsEditable() |
5406 @Experimental() // untriaged | 5401 @Experimental() // untriaged |
5407 void bindBuffer(int target, Buffer buffer) native ; | 5402 void bindBuffer(int target, Buffer buffer) native; |
5408 | 5403 |
5409 @DomName('WebGL2RenderingContext.bindFramebuffer') | 5404 @DomName('WebGL2RenderingContext.bindFramebuffer') |
5410 @DocsEditable() | 5405 @DocsEditable() |
5411 @Experimental() // untriaged | 5406 @Experimental() // untriaged |
5412 void bindFramebuffer(int target, Framebuffer framebuffer) native ; | 5407 void bindFramebuffer(int target, Framebuffer framebuffer) native; |
5413 | 5408 |
5414 @DomName('WebGL2RenderingContext.bindRenderbuffer') | 5409 @DomName('WebGL2RenderingContext.bindRenderbuffer') |
5415 @DocsEditable() | 5410 @DocsEditable() |
5416 @Experimental() // untriaged | 5411 @Experimental() // untriaged |
5417 void bindRenderbuffer(int target, Renderbuffer renderbuffer) native ; | 5412 void bindRenderbuffer(int target, Renderbuffer renderbuffer) native; |
5418 | 5413 |
5419 @DomName('WebGL2RenderingContext.bindTexture') | 5414 @DomName('WebGL2RenderingContext.bindTexture') |
5420 @DocsEditable() | 5415 @DocsEditable() |
5421 @Experimental() // untriaged | 5416 @Experimental() // untriaged |
5422 void bindTexture(int target, Texture texture) native ; | 5417 void bindTexture(int target, Texture texture) native; |
5423 | 5418 |
5424 @DomName('WebGL2RenderingContext.blendColor') | 5419 @DomName('WebGL2RenderingContext.blendColor') |
5425 @DocsEditable() | 5420 @DocsEditable() |
5426 @Experimental() // untriaged | 5421 @Experimental() // untriaged |
5427 void blendColor(num red, num green, num blue, num alpha) native ; | 5422 void blendColor(num red, num green, num blue, num alpha) native; |
5428 | 5423 |
5429 @DomName('WebGL2RenderingContext.blendEquation') | 5424 @DomName('WebGL2RenderingContext.blendEquation') |
5430 @DocsEditable() | 5425 @DocsEditable() |
5431 @Experimental() // untriaged | 5426 @Experimental() // untriaged |
5432 void blendEquation(int mode) native ; | 5427 void blendEquation(int mode) native; |
5433 | 5428 |
5434 @DomName('WebGL2RenderingContext.blendEquationSeparate') | 5429 @DomName('WebGL2RenderingContext.blendEquationSeparate') |
5435 @DocsEditable() | 5430 @DocsEditable() |
5436 @Experimental() // untriaged | 5431 @Experimental() // untriaged |
5437 void blendEquationSeparate(int modeRGB, int modeAlpha) native ; | 5432 void blendEquationSeparate(int modeRGB, int modeAlpha) native; |
5438 | 5433 |
5439 @DomName('WebGL2RenderingContext.blendFunc') | 5434 @DomName('WebGL2RenderingContext.blendFunc') |
5440 @DocsEditable() | 5435 @DocsEditable() |
5441 @Experimental() // untriaged | 5436 @Experimental() // untriaged |
5442 void blendFunc(int sfactor, int dfactor) native ; | 5437 void blendFunc(int sfactor, int dfactor) native; |
5443 | 5438 |
5444 @DomName('WebGL2RenderingContext.blendFuncSeparate') | 5439 @DomName('WebGL2RenderingContext.blendFuncSeparate') |
5445 @DocsEditable() | 5440 @DocsEditable() |
5446 @Experimental() // untriaged | 5441 @Experimental() // untriaged |
5447 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) | 5442 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) |
5448 native ; | 5443 native; |
5449 | 5444 |
5450 @DomName('WebGL2RenderingContext.bufferData') | 5445 @DomName('WebGL2RenderingContext.bufferData') |
5451 @DocsEditable() | 5446 @DocsEditable() |
5452 @Experimental() // untriaged | 5447 @Experimental() // untriaged |
5453 void bufferData(int target, data_OR_size, int usage) native ; | 5448 void bufferData(int target, data_OR_size, int usage) native; |
5454 | 5449 |
5455 @DomName('WebGL2RenderingContext.bufferSubData') | 5450 @DomName('WebGL2RenderingContext.bufferSubData') |
5456 @DocsEditable() | 5451 @DocsEditable() |
5457 @Experimental() // untriaged | 5452 @Experimental() // untriaged |
5458 void bufferSubData(int target, int offset, data) native ; | 5453 void bufferSubData(int target, int offset, data) native; |
5459 | 5454 |
5460 @DomName('WebGL2RenderingContext.checkFramebufferStatus') | 5455 @DomName('WebGL2RenderingContext.checkFramebufferStatus') |
5461 @DocsEditable() | 5456 @DocsEditable() |
5462 @Experimental() // untriaged | 5457 @Experimental() // untriaged |
5463 int checkFramebufferStatus(int target) native ; | 5458 int checkFramebufferStatus(int target) native; |
5464 | 5459 |
5465 @DomName('WebGL2RenderingContext.clear') | 5460 @DomName('WebGL2RenderingContext.clear') |
5466 @DocsEditable() | 5461 @DocsEditable() |
5467 @Experimental() // untriaged | 5462 @Experimental() // untriaged |
5468 void clear(int mask) native ; | 5463 void clear(int mask) native; |
5469 | 5464 |
5470 @DomName('WebGL2RenderingContext.clearColor') | 5465 @DomName('WebGL2RenderingContext.clearColor') |
5471 @DocsEditable() | 5466 @DocsEditable() |
5472 @Experimental() // untriaged | 5467 @Experimental() // untriaged |
5473 void clearColor(num red, num green, num blue, num alpha) native ; | 5468 void clearColor(num red, num green, num blue, num alpha) native; |
5474 | 5469 |
5475 @DomName('WebGL2RenderingContext.clearDepth') | 5470 @DomName('WebGL2RenderingContext.clearDepth') |
5476 @DocsEditable() | 5471 @DocsEditable() |
5477 @Experimental() // untriaged | 5472 @Experimental() // untriaged |
5478 void clearDepth(num depth) native ; | 5473 void clearDepth(num depth) native; |
5479 | 5474 |
5480 @DomName('WebGL2RenderingContext.clearStencil') | 5475 @DomName('WebGL2RenderingContext.clearStencil') |
5481 @DocsEditable() | 5476 @DocsEditable() |
5482 @Experimental() // untriaged | 5477 @Experimental() // untriaged |
5483 void clearStencil(int s) native ; | 5478 void clearStencil(int s) native; |
5484 | 5479 |
5485 @DomName('WebGL2RenderingContext.colorMask') | 5480 @DomName('WebGL2RenderingContext.colorMask') |
5486 @DocsEditable() | 5481 @DocsEditable() |
5487 @Experimental() // untriaged | 5482 @Experimental() // untriaged |
5488 void colorMask(bool red, bool green, bool blue, bool alpha) native ; | 5483 void colorMask(bool red, bool green, bool blue, bool alpha) native; |
5489 | 5484 |
5490 @DomName('WebGL2RenderingContext.compileShader') | 5485 @DomName('WebGL2RenderingContext.compileShader') |
5491 @DocsEditable() | 5486 @DocsEditable() |
5492 @Experimental() // untriaged | 5487 @Experimental() // untriaged |
5493 void compileShader(Shader shader) native ; | 5488 void compileShader(Shader shader) native; |
5494 | 5489 |
5495 @DomName('WebGL2RenderingContext.compressedTexImage2D') | 5490 @DomName('WebGL2RenderingContext.compressedTexImage2D') |
5496 @DocsEditable() | 5491 @DocsEditable() |
5497 @Experimental() // untriaged | 5492 @Experimental() // untriaged |
5498 void compressedTexImage2D(int target, int level, int internalformat, | 5493 void compressedTexImage2D(int target, int level, int internalformat, |
5499 int width, int height, int border, TypedData data) native ; | 5494 int width, int height, int border, TypedData data) native; |
5500 | 5495 |
5501 @DomName('WebGL2RenderingContext.compressedTexSubImage2D') | 5496 @DomName('WebGL2RenderingContext.compressedTexSubImage2D') |
5502 @DocsEditable() | 5497 @DocsEditable() |
5503 @Experimental() // untriaged | 5498 @Experimental() // untriaged |
5504 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, | 5499 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, |
5505 int width, int height, int format, TypedData data) native ; | 5500 int width, int height, int format, TypedData data) native; |
5506 | 5501 |
5507 @DomName('WebGL2RenderingContext.copyTexImage2D') | 5502 @DomName('WebGL2RenderingContext.copyTexImage2D') |
5508 @DocsEditable() | 5503 @DocsEditable() |
5509 @Experimental() // untriaged | 5504 @Experimental() // untriaged |
5510 void copyTexImage2D(int target, int level, int internalformat, int x, int y, | 5505 void copyTexImage2D(int target, int level, int internalformat, int x, int y, |
5511 int width, int height, int border) native ; | 5506 int width, int height, int border) native; |
5512 | 5507 |
5513 @DomName('WebGL2RenderingContext.copyTexSubImage2D') | 5508 @DomName('WebGL2RenderingContext.copyTexSubImage2D') |
5514 @DocsEditable() | 5509 @DocsEditable() |
5515 @Experimental() // untriaged | 5510 @Experimental() // untriaged |
5516 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, | 5511 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, |
5517 int y, int width, int height) native ; | 5512 int y, int width, int height) native; |
5518 | 5513 |
5519 @DomName('WebGL2RenderingContext.createBuffer') | 5514 @DomName('WebGL2RenderingContext.createBuffer') |
5520 @DocsEditable() | 5515 @DocsEditable() |
5521 @Experimental() // untriaged | 5516 @Experimental() // untriaged |
5522 Buffer createBuffer() native ; | 5517 Buffer createBuffer() native; |
5523 | 5518 |
5524 @DomName('WebGL2RenderingContext.createFramebuffer') | 5519 @DomName('WebGL2RenderingContext.createFramebuffer') |
5525 @DocsEditable() | 5520 @DocsEditable() |
5526 @Experimental() // untriaged | 5521 @Experimental() // untriaged |
5527 Framebuffer createFramebuffer() native ; | 5522 Framebuffer createFramebuffer() native; |
5528 | 5523 |
5529 @DomName('WebGL2RenderingContext.createProgram') | 5524 @DomName('WebGL2RenderingContext.createProgram') |
5530 @DocsEditable() | 5525 @DocsEditable() |
5531 @Experimental() // untriaged | 5526 @Experimental() // untriaged |
5532 Program createProgram() native ; | 5527 Program createProgram() native; |
5533 | 5528 |
5534 @DomName('WebGL2RenderingContext.createRenderbuffer') | 5529 @DomName('WebGL2RenderingContext.createRenderbuffer') |
5535 @DocsEditable() | 5530 @DocsEditable() |
5536 @Experimental() // untriaged | 5531 @Experimental() // untriaged |
5537 Renderbuffer createRenderbuffer() native ; | 5532 Renderbuffer createRenderbuffer() native; |
5538 | 5533 |
5539 @DomName('WebGL2RenderingContext.createShader') | 5534 @DomName('WebGL2RenderingContext.createShader') |
5540 @DocsEditable() | 5535 @DocsEditable() |
5541 @Experimental() // untriaged | 5536 @Experimental() // untriaged |
5542 Shader createShader(int type) native ; | 5537 Shader createShader(int type) native; |
5543 | 5538 |
5544 @DomName('WebGL2RenderingContext.createTexture') | 5539 @DomName('WebGL2RenderingContext.createTexture') |
5545 @DocsEditable() | 5540 @DocsEditable() |
5546 @Experimental() // untriaged | 5541 @Experimental() // untriaged |
5547 Texture createTexture() native ; | 5542 Texture createTexture() native; |
5548 | 5543 |
5549 @DomName('WebGL2RenderingContext.cullFace') | 5544 @DomName('WebGL2RenderingContext.cullFace') |
5550 @DocsEditable() | 5545 @DocsEditable() |
5551 @Experimental() // untriaged | 5546 @Experimental() // untriaged |
5552 void cullFace(int mode) native ; | 5547 void cullFace(int mode) native; |
5553 | 5548 |
5554 @DomName('WebGL2RenderingContext.deleteBuffer') | 5549 @DomName('WebGL2RenderingContext.deleteBuffer') |
5555 @DocsEditable() | 5550 @DocsEditable() |
5556 @Experimental() // untriaged | 5551 @Experimental() // untriaged |
5557 void deleteBuffer(Buffer buffer) native ; | 5552 void deleteBuffer(Buffer buffer) native; |
5558 | 5553 |
5559 @DomName('WebGL2RenderingContext.deleteFramebuffer') | 5554 @DomName('WebGL2RenderingContext.deleteFramebuffer') |
5560 @DocsEditable() | 5555 @DocsEditable() |
5561 @Experimental() // untriaged | 5556 @Experimental() // untriaged |
5562 void deleteFramebuffer(Framebuffer framebuffer) native ; | 5557 void deleteFramebuffer(Framebuffer framebuffer) native; |
5563 | 5558 |
5564 @DomName('WebGL2RenderingContext.deleteProgram') | 5559 @DomName('WebGL2RenderingContext.deleteProgram') |
5565 @DocsEditable() | 5560 @DocsEditable() |
5566 @Experimental() // untriaged | 5561 @Experimental() // untriaged |
5567 void deleteProgram(Program program) native ; | 5562 void deleteProgram(Program program) native; |
5568 | 5563 |
5569 @DomName('WebGL2RenderingContext.deleteRenderbuffer') | 5564 @DomName('WebGL2RenderingContext.deleteRenderbuffer') |
5570 @DocsEditable() | 5565 @DocsEditable() |
5571 @Experimental() // untriaged | 5566 @Experimental() // untriaged |
5572 void deleteRenderbuffer(Renderbuffer renderbuffer) native ; | 5567 void deleteRenderbuffer(Renderbuffer renderbuffer) native; |
5573 | 5568 |
5574 @DomName('WebGL2RenderingContext.deleteShader') | 5569 @DomName('WebGL2RenderingContext.deleteShader') |
5575 @DocsEditable() | 5570 @DocsEditable() |
5576 @Experimental() // untriaged | 5571 @Experimental() // untriaged |
5577 void deleteShader(Shader shader) native ; | 5572 void deleteShader(Shader shader) native; |
5578 | 5573 |
5579 @DomName('WebGL2RenderingContext.deleteTexture') | 5574 @DomName('WebGL2RenderingContext.deleteTexture') |
5580 @DocsEditable() | 5575 @DocsEditable() |
5581 @Experimental() // untriaged | 5576 @Experimental() // untriaged |
5582 void deleteTexture(Texture texture) native ; | 5577 void deleteTexture(Texture texture) native; |
5583 | 5578 |
5584 @DomName('WebGL2RenderingContext.depthFunc') | 5579 @DomName('WebGL2RenderingContext.depthFunc') |
5585 @DocsEditable() | 5580 @DocsEditable() |
5586 @Experimental() // untriaged | 5581 @Experimental() // untriaged |
5587 void depthFunc(int func) native ; | 5582 void depthFunc(int func) native; |
5588 | 5583 |
5589 @DomName('WebGL2RenderingContext.depthMask') | 5584 @DomName('WebGL2RenderingContext.depthMask') |
5590 @DocsEditable() | 5585 @DocsEditable() |
5591 @Experimental() // untriaged | 5586 @Experimental() // untriaged |
5592 void depthMask(bool flag) native ; | 5587 void depthMask(bool flag) native; |
5593 | 5588 |
5594 @DomName('WebGL2RenderingContext.depthRange') | 5589 @DomName('WebGL2RenderingContext.depthRange') |
5595 @DocsEditable() | 5590 @DocsEditable() |
5596 @Experimental() // untriaged | 5591 @Experimental() // untriaged |
5597 void depthRange(num zNear, num zFar) native ; | 5592 void depthRange(num zNear, num zFar) native; |
5598 | 5593 |
5599 @DomName('WebGL2RenderingContext.detachShader') | 5594 @DomName('WebGL2RenderingContext.detachShader') |
5600 @DocsEditable() | 5595 @DocsEditable() |
5601 @Experimental() // untriaged | 5596 @Experimental() // untriaged |
5602 void detachShader(Program program, Shader shader) native ; | 5597 void detachShader(Program program, Shader shader) native; |
5603 | 5598 |
5604 @DomName('WebGL2RenderingContext.disable') | 5599 @DomName('WebGL2RenderingContext.disable') |
5605 @DocsEditable() | 5600 @DocsEditable() |
5606 @Experimental() // untriaged | 5601 @Experimental() // untriaged |
5607 void disable(int cap) native ; | 5602 void disable(int cap) native; |
5608 | 5603 |
5609 @DomName('WebGL2RenderingContext.disableVertexAttribArray') | 5604 @DomName('WebGL2RenderingContext.disableVertexAttribArray') |
5610 @DocsEditable() | 5605 @DocsEditable() |
5611 @Experimental() // untriaged | 5606 @Experimental() // untriaged |
5612 void disableVertexAttribArray(int index) native ; | 5607 void disableVertexAttribArray(int index) native; |
5613 | 5608 |
5614 @DomName('WebGL2RenderingContext.drawArrays') | 5609 @DomName('WebGL2RenderingContext.drawArrays') |
5615 @DocsEditable() | 5610 @DocsEditable() |
5616 @Experimental() // untriaged | 5611 @Experimental() // untriaged |
5617 void drawArrays(int mode, int first, int count) native ; | 5612 void drawArrays(int mode, int first, int count) native; |
5618 | 5613 |
5619 @DomName('WebGL2RenderingContext.drawElements') | 5614 @DomName('WebGL2RenderingContext.drawElements') |
5620 @DocsEditable() | 5615 @DocsEditable() |
5621 @Experimental() // untriaged | 5616 @Experimental() // untriaged |
5622 void drawElements(int mode, int count, int type, int offset) native ; | 5617 void drawElements(int mode, int count, int type, int offset) native; |
5623 | 5618 |
5624 @DomName('WebGL2RenderingContext.enable') | 5619 @DomName('WebGL2RenderingContext.enable') |
5625 @DocsEditable() | 5620 @DocsEditable() |
5626 @Experimental() // untriaged | 5621 @Experimental() // untriaged |
5627 void enable(int cap) native ; | 5622 void enable(int cap) native; |
5628 | 5623 |
5629 @DomName('WebGL2RenderingContext.enableVertexAttribArray') | 5624 @DomName('WebGL2RenderingContext.enableVertexAttribArray') |
5630 @DocsEditable() | 5625 @DocsEditable() |
5631 @Experimental() // untriaged | 5626 @Experimental() // untriaged |
5632 void enableVertexAttribArray(int index) native ; | 5627 void enableVertexAttribArray(int index) native; |
5633 | 5628 |
5634 @DomName('WebGL2RenderingContext.finish') | 5629 @DomName('WebGL2RenderingContext.finish') |
5635 @DocsEditable() | 5630 @DocsEditable() |
5636 @Experimental() // untriaged | 5631 @Experimental() // untriaged |
5637 void finish() native ; | 5632 void finish() native; |
5638 | 5633 |
5639 @DomName('WebGL2RenderingContext.flush') | 5634 @DomName('WebGL2RenderingContext.flush') |
5640 @DocsEditable() | 5635 @DocsEditable() |
5641 @Experimental() // untriaged | 5636 @Experimental() // untriaged |
5642 void flush() native ; | 5637 void flush() native; |
5643 | 5638 |
5644 @DomName('WebGL2RenderingContext.framebufferRenderbuffer') | 5639 @DomName('WebGL2RenderingContext.framebufferRenderbuffer') |
5645 @DocsEditable() | 5640 @DocsEditable() |
5646 @Experimental() // untriaged | 5641 @Experimental() // untriaged |
5647 void framebufferRenderbuffer(int target, int attachment, | 5642 void framebufferRenderbuffer(int target, int attachment, |
5648 int renderbuffertarget, Renderbuffer renderbuffer) native ; | 5643 int renderbuffertarget, Renderbuffer renderbuffer) native; |
5649 | 5644 |
5650 @DomName('WebGL2RenderingContext.framebufferTexture2D') | 5645 @DomName('WebGL2RenderingContext.framebufferTexture2D') |
5651 @DocsEditable() | 5646 @DocsEditable() |
5652 @Experimental() // untriaged | 5647 @Experimental() // untriaged |
5653 void framebufferTexture2D(int target, int attachment, int textarget, | 5648 void framebufferTexture2D(int target, int attachment, int textarget, |
5654 Texture texture, int level) native ; | 5649 Texture texture, int level) native; |
5655 | 5650 |
5656 @DomName('WebGL2RenderingContext.frontFace') | 5651 @DomName('WebGL2RenderingContext.frontFace') |
5657 @DocsEditable() | 5652 @DocsEditable() |
5658 @Experimental() // untriaged | 5653 @Experimental() // untriaged |
5659 void frontFace(int mode) native ; | 5654 void frontFace(int mode) native; |
5660 | 5655 |
5661 @DomName('WebGL2RenderingContext.generateMipmap') | 5656 @DomName('WebGL2RenderingContext.generateMipmap') |
5662 @DocsEditable() | 5657 @DocsEditable() |
5663 @Experimental() // untriaged | 5658 @Experimental() // untriaged |
5664 void generateMipmap(int target) native ; | 5659 void generateMipmap(int target) native; |
5665 | 5660 |
5666 @DomName('WebGL2RenderingContext.getActiveAttrib') | 5661 @DomName('WebGL2RenderingContext.getActiveAttrib') |
5667 @DocsEditable() | 5662 @DocsEditable() |
5668 @Experimental() // untriaged | 5663 @Experimental() // untriaged |
5669 ActiveInfo getActiveAttrib(Program program, int index) native ; | 5664 ActiveInfo getActiveAttrib(Program program, int index) native; |
5670 | 5665 |
5671 @DomName('WebGL2RenderingContext.getActiveUniform') | 5666 @DomName('WebGL2RenderingContext.getActiveUniform') |
5672 @DocsEditable() | 5667 @DocsEditable() |
5673 @Experimental() // untriaged | 5668 @Experimental() // untriaged |
5674 ActiveInfo getActiveUniform(Program program, int index) native ; | 5669 ActiveInfo getActiveUniform(Program program, int index) native; |
5675 | 5670 |
5676 @DomName('WebGL2RenderingContext.getAttachedShaders') | 5671 @DomName('WebGL2RenderingContext.getAttachedShaders') |
5677 @DocsEditable() | 5672 @DocsEditable() |
5678 @Experimental() // untriaged | 5673 @Experimental() // untriaged |
5679 List<Shader> getAttachedShaders(Program program) native ; | 5674 List<Shader> getAttachedShaders(Program program) native; |
5680 | 5675 |
5681 @DomName('WebGL2RenderingContext.getAttribLocation') | 5676 @DomName('WebGL2RenderingContext.getAttribLocation') |
5682 @DocsEditable() | 5677 @DocsEditable() |
5683 @Experimental() // untriaged | 5678 @Experimental() // untriaged |
5684 int getAttribLocation(Program program, String name) native ; | 5679 int getAttribLocation(Program program, String name) native; |
5685 | 5680 |
5686 @DomName('WebGL2RenderingContext.getBufferParameter') | 5681 @DomName('WebGL2RenderingContext.getBufferParameter') |
5687 @DocsEditable() | 5682 @DocsEditable() |
5688 @Experimental() // untriaged | 5683 @Experimental() // untriaged |
5689 Object getBufferParameter(int target, int pname) native ; | 5684 Object getBufferParameter(int target, int pname) native; |
5690 | 5685 |
5691 @DomName('WebGL2RenderingContext.getContextAttributes') | 5686 @DomName('WebGL2RenderingContext.getContextAttributes') |
5692 @DocsEditable() | 5687 @DocsEditable() |
5693 @Experimental() // untriaged | 5688 @Experimental() // untriaged |
5694 Map getContextAttributes() { | 5689 Map getContextAttributes() { |
5695 return convertNativeToDart_Dictionary(_getContextAttributes_1()); | 5690 return convertNativeToDart_Dictionary(_getContextAttributes_1()); |
5696 } | 5691 } |
5697 | 5692 |
5698 @JSName('getContextAttributes') | 5693 @JSName('getContextAttributes') |
5699 @DomName('WebGL2RenderingContext.getContextAttributes') | 5694 @DomName('WebGL2RenderingContext.getContextAttributes') |
5700 @DocsEditable() | 5695 @DocsEditable() |
5701 @Experimental() // untriaged | 5696 @Experimental() // untriaged |
5702 _getContextAttributes_1() native ; | 5697 _getContextAttributes_1() native; |
5703 | 5698 |
5704 @DomName('WebGL2RenderingContext.getError') | 5699 @DomName('WebGL2RenderingContext.getError') |
5705 @DocsEditable() | 5700 @DocsEditable() |
5706 @Experimental() // untriaged | 5701 @Experimental() // untriaged |
5707 int getError() native ; | 5702 int getError() native; |
5708 | 5703 |
5709 @DomName('WebGL2RenderingContext.getExtension') | 5704 @DomName('WebGL2RenderingContext.getExtension') |
5710 @DocsEditable() | 5705 @DocsEditable() |
5711 @Experimental() // untriaged | 5706 @Experimental() // untriaged |
5712 Object getExtension(String name) native ; | 5707 Object getExtension(String name) native; |
5713 | 5708 |
5714 @DomName('WebGL2RenderingContext.getFramebufferAttachmentParameter') | 5709 @DomName('WebGL2RenderingContext.getFramebufferAttachmentParameter') |
5715 @DocsEditable() | 5710 @DocsEditable() |
5716 @Experimental() // untriaged | 5711 @Experimental() // untriaged |
5717 Object getFramebufferAttachmentParameter( | 5712 Object getFramebufferAttachmentParameter( |
5718 int target, int attachment, int pname) native ; | 5713 int target, int attachment, int pname) native; |
5719 | 5714 |
5720 @DomName('WebGL2RenderingContext.getParameter') | 5715 @DomName('WebGL2RenderingContext.getParameter') |
5721 @DocsEditable() | 5716 @DocsEditable() |
5722 @Experimental() // untriaged | 5717 @Experimental() // untriaged |
5723 Object getParameter(int pname) native ; | 5718 Object getParameter(int pname) native; |
5724 | 5719 |
5725 @DomName('WebGL2RenderingContext.getProgramInfoLog') | 5720 @DomName('WebGL2RenderingContext.getProgramInfoLog') |
5726 @DocsEditable() | 5721 @DocsEditable() |
5727 @Experimental() // untriaged | 5722 @Experimental() // untriaged |
5728 String getProgramInfoLog(Program program) native ; | 5723 String getProgramInfoLog(Program program) native; |
5729 | 5724 |
5730 @DomName('WebGL2RenderingContext.getProgramParameter') | 5725 @DomName('WebGL2RenderingContext.getProgramParameter') |
5731 @DocsEditable() | 5726 @DocsEditable() |
5732 @Experimental() // untriaged | 5727 @Experimental() // untriaged |
5733 Object getProgramParameter(Program program, int pname) native ; | 5728 Object getProgramParameter(Program program, int pname) native; |
5734 | 5729 |
5735 @DomName('WebGL2RenderingContext.getRenderbufferParameter') | 5730 @DomName('WebGL2RenderingContext.getRenderbufferParameter') |
5736 @DocsEditable() | 5731 @DocsEditable() |
5737 @Experimental() // untriaged | 5732 @Experimental() // untriaged |
5738 Object getRenderbufferParameter(int target, int pname) native ; | 5733 Object getRenderbufferParameter(int target, int pname) native; |
5739 | 5734 |
5740 @DomName('WebGL2RenderingContext.getShaderInfoLog') | 5735 @DomName('WebGL2RenderingContext.getShaderInfoLog') |
5741 @DocsEditable() | 5736 @DocsEditable() |
5742 @Experimental() // untriaged | 5737 @Experimental() // untriaged |
5743 String getShaderInfoLog(Shader shader) native ; | 5738 String getShaderInfoLog(Shader shader) native; |
5744 | 5739 |
5745 @DomName('WebGL2RenderingContext.getShaderParameter') | 5740 @DomName('WebGL2RenderingContext.getShaderParameter') |
5746 @DocsEditable() | 5741 @DocsEditable() |
5747 @Experimental() // untriaged | 5742 @Experimental() // untriaged |
5748 Object getShaderParameter(Shader shader, int pname) native ; | 5743 Object getShaderParameter(Shader shader, int pname) native; |
5749 | 5744 |
5750 @DomName('WebGL2RenderingContext.getShaderPrecisionFormat') | 5745 @DomName('WebGL2RenderingContext.getShaderPrecisionFormat') |
5751 @DocsEditable() | 5746 @DocsEditable() |
5752 @Experimental() // untriaged | 5747 @Experimental() // untriaged |
5753 ShaderPrecisionFormat getShaderPrecisionFormat( | 5748 ShaderPrecisionFormat getShaderPrecisionFormat( |
5754 int shadertype, int precisiontype) native ; | 5749 int shadertype, int precisiontype) native; |
5755 | 5750 |
5756 @DomName('WebGL2RenderingContext.getShaderSource') | 5751 @DomName('WebGL2RenderingContext.getShaderSource') |
5757 @DocsEditable() | 5752 @DocsEditable() |
5758 @Experimental() // untriaged | 5753 @Experimental() // untriaged |
5759 String getShaderSource(Shader shader) native ; | 5754 String getShaderSource(Shader shader) native; |
5760 | 5755 |
5761 @DomName('WebGL2RenderingContext.getSupportedExtensions') | 5756 @DomName('WebGL2RenderingContext.getSupportedExtensions') |
5762 @DocsEditable() | 5757 @DocsEditable() |
5763 @Experimental() // untriaged | 5758 @Experimental() // untriaged |
5764 List<String> getSupportedExtensions() native ; | 5759 List<String> getSupportedExtensions() native; |
5765 | 5760 |
5766 @DomName('WebGL2RenderingContext.getTexParameter') | 5761 @DomName('WebGL2RenderingContext.getTexParameter') |
5767 @DocsEditable() | 5762 @DocsEditable() |
5768 @Experimental() // untriaged | 5763 @Experimental() // untriaged |
5769 Object getTexParameter(int target, int pname) native ; | 5764 Object getTexParameter(int target, int pname) native; |
5770 | 5765 |
5771 @DomName('WebGL2RenderingContext.getUniform') | 5766 @DomName('WebGL2RenderingContext.getUniform') |
5772 @DocsEditable() | 5767 @DocsEditable() |
5773 @Experimental() // untriaged | 5768 @Experimental() // untriaged |
5774 Object getUniform(Program program, UniformLocation location) native ; | 5769 Object getUniform(Program program, UniformLocation location) native; |
5775 | 5770 |
5776 @DomName('WebGL2RenderingContext.getUniformLocation') | 5771 @DomName('WebGL2RenderingContext.getUniformLocation') |
5777 @DocsEditable() | 5772 @DocsEditable() |
5778 @Experimental() // untriaged | 5773 @Experimental() // untriaged |
5779 UniformLocation getUniformLocation(Program program, String name) native ; | 5774 UniformLocation getUniformLocation(Program program, String name) native; |
5780 | 5775 |
5781 @DomName('WebGL2RenderingContext.getVertexAttrib') | 5776 @DomName('WebGL2RenderingContext.getVertexAttrib') |
5782 @DocsEditable() | 5777 @DocsEditable() |
5783 @Experimental() // untriaged | 5778 @Experimental() // untriaged |
5784 Object getVertexAttrib(int index, int pname) native ; | 5779 Object getVertexAttrib(int index, int pname) native; |
5785 | 5780 |
5786 @DomName('WebGL2RenderingContext.getVertexAttribOffset') | 5781 @DomName('WebGL2RenderingContext.getVertexAttribOffset') |
5787 @DocsEditable() | 5782 @DocsEditable() |
5788 @Experimental() // untriaged | 5783 @Experimental() // untriaged |
5789 int getVertexAttribOffset(int index, int pname) native ; | 5784 int getVertexAttribOffset(int index, int pname) native; |
5790 | 5785 |
5791 @DomName('WebGL2RenderingContext.hint') | 5786 @DomName('WebGL2RenderingContext.hint') |
5792 @DocsEditable() | 5787 @DocsEditable() |
5793 @Experimental() // untriaged | 5788 @Experimental() // untriaged |
5794 void hint(int target, int mode) native ; | 5789 void hint(int target, int mode) native; |
5795 | 5790 |
5796 @DomName('WebGL2RenderingContext.isBuffer') | 5791 @DomName('WebGL2RenderingContext.isBuffer') |
5797 @DocsEditable() | 5792 @DocsEditable() |
5798 @Experimental() // untriaged | 5793 @Experimental() // untriaged |
5799 bool isBuffer(Buffer buffer) native ; | 5794 bool isBuffer(Buffer buffer) native; |
5800 | 5795 |
5801 @DomName('WebGL2RenderingContext.isContextLost') | 5796 @DomName('WebGL2RenderingContext.isContextLost') |
5802 @DocsEditable() | 5797 @DocsEditable() |
5803 @Experimental() // untriaged | 5798 @Experimental() // untriaged |
5804 bool isContextLost() native ; | 5799 bool isContextLost() native; |
5805 | 5800 |
5806 @DomName('WebGL2RenderingContext.isEnabled') | 5801 @DomName('WebGL2RenderingContext.isEnabled') |
5807 @DocsEditable() | 5802 @DocsEditable() |
5808 @Experimental() // untriaged | 5803 @Experimental() // untriaged |
5809 bool isEnabled(int cap) native ; | 5804 bool isEnabled(int cap) native; |
5810 | 5805 |
5811 @DomName('WebGL2RenderingContext.isFramebuffer') | 5806 @DomName('WebGL2RenderingContext.isFramebuffer') |
5812 @DocsEditable() | 5807 @DocsEditable() |
5813 @Experimental() // untriaged | 5808 @Experimental() // untriaged |
5814 bool isFramebuffer(Framebuffer framebuffer) native ; | 5809 bool isFramebuffer(Framebuffer framebuffer) native; |
5815 | 5810 |
5816 @DomName('WebGL2RenderingContext.isProgram') | 5811 @DomName('WebGL2RenderingContext.isProgram') |
5817 @DocsEditable() | 5812 @DocsEditable() |
5818 @Experimental() // untriaged | 5813 @Experimental() // untriaged |
5819 bool isProgram(Program program) native ; | 5814 bool isProgram(Program program) native; |
5820 | 5815 |
5821 @DomName('WebGL2RenderingContext.isRenderbuffer') | 5816 @DomName('WebGL2RenderingContext.isRenderbuffer') |
5822 @DocsEditable() | 5817 @DocsEditable() |
5823 @Experimental() // untriaged | 5818 @Experimental() // untriaged |
5824 bool isRenderbuffer(Renderbuffer renderbuffer) native ; | 5819 bool isRenderbuffer(Renderbuffer renderbuffer) native; |
5825 | 5820 |
5826 @DomName('WebGL2RenderingContext.isShader') | 5821 @DomName('WebGL2RenderingContext.isShader') |
5827 @DocsEditable() | 5822 @DocsEditable() |
5828 @Experimental() // untriaged | 5823 @Experimental() // untriaged |
5829 bool isShader(Shader shader) native ; | 5824 bool isShader(Shader shader) native; |
5830 | 5825 |
5831 @DomName('WebGL2RenderingContext.isTexture') | 5826 @DomName('WebGL2RenderingContext.isTexture') |
5832 @DocsEditable() | 5827 @DocsEditable() |
5833 @Experimental() // untriaged | 5828 @Experimental() // untriaged |
5834 bool isTexture(Texture texture) native ; | 5829 bool isTexture(Texture texture) native; |
5835 | 5830 |
5836 @DomName('WebGL2RenderingContext.lineWidth') | 5831 @DomName('WebGL2RenderingContext.lineWidth') |
5837 @DocsEditable() | 5832 @DocsEditable() |
5838 @Experimental() // untriaged | 5833 @Experimental() // untriaged |
5839 void lineWidth(num width) native ; | 5834 void lineWidth(num width) native; |
5840 | 5835 |
5841 @DomName('WebGL2RenderingContext.linkProgram') | 5836 @DomName('WebGL2RenderingContext.linkProgram') |
5842 @DocsEditable() | 5837 @DocsEditable() |
5843 @Experimental() // untriaged | 5838 @Experimental() // untriaged |
5844 void linkProgram(Program program) native ; | 5839 void linkProgram(Program program) native; |
5845 | 5840 |
5846 @DomName('WebGL2RenderingContext.pixelStorei') | 5841 @DomName('WebGL2RenderingContext.pixelStorei') |
5847 @DocsEditable() | 5842 @DocsEditable() |
5848 @Experimental() // untriaged | 5843 @Experimental() // untriaged |
5849 void pixelStorei(int pname, int param) native ; | 5844 void pixelStorei(int pname, int param) native; |
5850 | 5845 |
5851 @DomName('WebGL2RenderingContext.polygonOffset') | 5846 @DomName('WebGL2RenderingContext.polygonOffset') |
5852 @DocsEditable() | 5847 @DocsEditable() |
5853 @Experimental() // untriaged | 5848 @Experimental() // untriaged |
5854 void polygonOffset(num factor, num units) native ; | 5849 void polygonOffset(num factor, num units) native; |
5855 | 5850 |
5856 @DomName('WebGL2RenderingContext.readPixels') | 5851 @DomName('WebGL2RenderingContext.readPixels') |
5857 @DocsEditable() | 5852 @DocsEditable() |
5858 @Experimental() // untriaged | 5853 @Experimental() // untriaged |
5859 void readPixels(int x, int y, int width, int height, int format, int type, | 5854 void readPixels(int x, int y, int width, int height, int format, int type, |
5860 TypedData pixels) native ; | 5855 TypedData pixels) native; |
5861 | 5856 |
5862 @DomName('WebGL2RenderingContext.renderbufferStorage') | 5857 @DomName('WebGL2RenderingContext.renderbufferStorage') |
5863 @DocsEditable() | 5858 @DocsEditable() |
5864 @Experimental() // untriaged | 5859 @Experimental() // untriaged |
5865 void renderbufferStorage( | 5860 void renderbufferStorage( |
5866 int target, int internalformat, int width, int height) native ; | 5861 int target, int internalformat, int width, int height) native; |
5867 | 5862 |
5868 @DomName('WebGL2RenderingContext.sampleCoverage') | 5863 @DomName('WebGL2RenderingContext.sampleCoverage') |
5869 @DocsEditable() | 5864 @DocsEditable() |
5870 @Experimental() // untriaged | 5865 @Experimental() // untriaged |
5871 void sampleCoverage(num value, bool invert) native ; | 5866 void sampleCoverage(num value, bool invert) native; |
5872 | 5867 |
5873 @DomName('WebGL2RenderingContext.scissor') | 5868 @DomName('WebGL2RenderingContext.scissor') |
5874 @DocsEditable() | 5869 @DocsEditable() |
5875 @Experimental() // untriaged | 5870 @Experimental() // untriaged |
5876 void scissor(int x, int y, int width, int height) native ; | 5871 void scissor(int x, int y, int width, int height) native; |
5877 | 5872 |
5878 @DomName('WebGL2RenderingContext.shaderSource') | 5873 @DomName('WebGL2RenderingContext.shaderSource') |
5879 @DocsEditable() | 5874 @DocsEditable() |
5880 @Experimental() // untriaged | 5875 @Experimental() // untriaged |
5881 void shaderSource(Shader shader, String string) native ; | 5876 void shaderSource(Shader shader, String string) native; |
5882 | 5877 |
5883 @DomName('WebGL2RenderingContext.stencilFunc') | 5878 @DomName('WebGL2RenderingContext.stencilFunc') |
5884 @DocsEditable() | 5879 @DocsEditable() |
5885 @Experimental() // untriaged | 5880 @Experimental() // untriaged |
5886 void stencilFunc(int func, int ref, int mask) native ; | 5881 void stencilFunc(int func, int ref, int mask) native; |
5887 | 5882 |
5888 @DomName('WebGL2RenderingContext.stencilFuncSeparate') | 5883 @DomName('WebGL2RenderingContext.stencilFuncSeparate') |
5889 @DocsEditable() | 5884 @DocsEditable() |
5890 @Experimental() // untriaged | 5885 @Experimental() // untriaged |
5891 void stencilFuncSeparate(int face, int func, int ref, int mask) native ; | 5886 void stencilFuncSeparate(int face, int func, int ref, int mask) native; |
5892 | 5887 |
5893 @DomName('WebGL2RenderingContext.stencilMask') | 5888 @DomName('WebGL2RenderingContext.stencilMask') |
5894 @DocsEditable() | 5889 @DocsEditable() |
5895 @Experimental() // untriaged | 5890 @Experimental() // untriaged |
5896 void stencilMask(int mask) native ; | 5891 void stencilMask(int mask) native; |
5897 | 5892 |
5898 @DomName('WebGL2RenderingContext.stencilMaskSeparate') | 5893 @DomName('WebGL2RenderingContext.stencilMaskSeparate') |
5899 @DocsEditable() | 5894 @DocsEditable() |
5900 @Experimental() // untriaged | 5895 @Experimental() // untriaged |
5901 void stencilMaskSeparate(int face, int mask) native ; | 5896 void stencilMaskSeparate(int face, int mask) native; |
5902 | 5897 |
5903 @DomName('WebGL2RenderingContext.stencilOp') | 5898 @DomName('WebGL2RenderingContext.stencilOp') |
5904 @DocsEditable() | 5899 @DocsEditable() |
5905 @Experimental() // untriaged | 5900 @Experimental() // untriaged |
5906 void stencilOp(int fail, int zfail, int zpass) native ; | 5901 void stencilOp(int fail, int zfail, int zpass) native; |
5907 | 5902 |
5908 @DomName('WebGL2RenderingContext.stencilOpSeparate') | 5903 @DomName('WebGL2RenderingContext.stencilOpSeparate') |
5909 @DocsEditable() | 5904 @DocsEditable() |
5910 @Experimental() // untriaged | 5905 @Experimental() // untriaged |
5911 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native ; | 5906 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native; |
5912 | 5907 |
5913 @DomName('WebGL2RenderingContext.texImage2D') | 5908 @DomName('WebGL2RenderingContext.texImage2D') |
5914 @DocsEditable() | 5909 @DocsEditable() |
5915 @Experimental() // untriaged | 5910 @Experimental() // untriaged |
5916 void texImage2D( | 5911 void texImage2D( |
5917 int target, | 5912 int target, |
5918 int level, | 5913 int level, |
5919 int internalformat, | 5914 int internalformat, |
5920 int format_OR_width, | 5915 int format_OR_width, |
5921 int height_OR_type, | 5916 int height_OR_type, |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5974 return; | 5969 return; |
5975 } | 5970 } |
5976 throw new ArgumentError("Incorrect number or type of arguments"); | 5971 throw new ArgumentError("Incorrect number or type of arguments"); |
5977 } | 5972 } |
5978 | 5973 |
5979 @JSName('texImage2D') | 5974 @JSName('texImage2D') |
5980 @DomName('WebGL2RenderingContext.texImage2D') | 5975 @DomName('WebGL2RenderingContext.texImage2D') |
5981 @DocsEditable() | 5976 @DocsEditable() |
5982 @Experimental() // untriaged | 5977 @Experimental() // untriaged |
5983 void _texImage2D_1(target, level, internalformat, width, height, int border, | 5978 void _texImage2D_1(target, level, internalformat, width, height, int border, |
5984 format, type, TypedData pixels) native ; | 5979 format, type, TypedData pixels) native; |
5985 @JSName('texImage2D') | 5980 @JSName('texImage2D') |
5986 @DomName('WebGL2RenderingContext.texImage2D') | 5981 @DomName('WebGL2RenderingContext.texImage2D') |
5987 @DocsEditable() | 5982 @DocsEditable() |
5988 @Experimental() // untriaged | 5983 @Experimental() // untriaged |
5989 void _texImage2D_2(target, level, internalformat, format, type, pixels) | 5984 void _texImage2D_2(target, level, internalformat, format, type, pixels) |
5990 native ; | 5985 native; |
5991 @JSName('texImage2D') | 5986 @JSName('texImage2D') |
5992 @DomName('WebGL2RenderingContext.texImage2D') | 5987 @DomName('WebGL2RenderingContext.texImage2D') |
5993 @DocsEditable() | 5988 @DocsEditable() |
5994 @Experimental() // untriaged | 5989 @Experimental() // untriaged |
5995 void _texImage2D_3( | 5990 void _texImage2D_3( |
5996 target, level, internalformat, format, type, ImageElement image) native ; | 5991 target, level, internalformat, format, type, ImageElement image) native; |
5997 @JSName('texImage2D') | 5992 @JSName('texImage2D') |
5998 @DomName('WebGL2RenderingContext.texImage2D') | 5993 @DomName('WebGL2RenderingContext.texImage2D') |
5999 @DocsEditable() | 5994 @DocsEditable() |
6000 @Experimental() // untriaged | 5995 @Experimental() // untriaged |
6001 void _texImage2D_4(target, level, internalformat, format, type, | 5996 void _texImage2D_4( |
6002 CanvasElement canvas) native ; | 5997 target, level, internalformat, format, type, CanvasElement canvas) native; |
6003 @JSName('texImage2D') | 5998 @JSName('texImage2D') |
6004 @DomName('WebGL2RenderingContext.texImage2D') | 5999 @DomName('WebGL2RenderingContext.texImage2D') |
6005 @DocsEditable() | 6000 @DocsEditable() |
6006 @Experimental() // untriaged | 6001 @Experimental() // untriaged |
6007 void _texImage2D_5( | 6002 void _texImage2D_5( |
6008 target, level, internalformat, format, type, VideoElement video) native ; | 6003 target, level, internalformat, format, type, VideoElement video) native; |
6009 | 6004 |
6010 @DomName('WebGL2RenderingContext.texParameterf') | 6005 @DomName('WebGL2RenderingContext.texParameterf') |
6011 @DocsEditable() | 6006 @DocsEditable() |
6012 @Experimental() // untriaged | 6007 @Experimental() // untriaged |
6013 void texParameterf(int target, int pname, num param) native ; | 6008 void texParameterf(int target, int pname, num param) native; |
6014 | 6009 |
6015 @DomName('WebGL2RenderingContext.texParameteri') | 6010 @DomName('WebGL2RenderingContext.texParameteri') |
6016 @DocsEditable() | 6011 @DocsEditable() |
6017 @Experimental() // untriaged | 6012 @Experimental() // untriaged |
6018 void texParameteri(int target, int pname, int param) native ; | 6013 void texParameteri(int target, int pname, int param) native; |
6019 | 6014 |
6020 @DomName('WebGL2RenderingContext.texSubImage2D') | 6015 @DomName('WebGL2RenderingContext.texSubImage2D') |
6021 @DocsEditable() | 6016 @DocsEditable() |
6022 @Experimental() // untriaged | 6017 @Experimental() // untriaged |
6023 void texSubImage2D( | 6018 void texSubImage2D( |
6024 int target, | 6019 int target, |
6025 int level, | 6020 int level, |
6026 int xoffset, | 6021 int xoffset, |
6027 int yoffset, | 6022 int yoffset, |
6028 int format_OR_width, | 6023 int format_OR_width, |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6075 return; | 6070 return; |
6076 } | 6071 } |
6077 throw new ArgumentError("Incorrect number or type of arguments"); | 6072 throw new ArgumentError("Incorrect number or type of arguments"); |
6078 } | 6073 } |
6079 | 6074 |
6080 @JSName('texSubImage2D') | 6075 @JSName('texSubImage2D') |
6081 @DomName('WebGL2RenderingContext.texSubImage2D') | 6076 @DomName('WebGL2RenderingContext.texSubImage2D') |
6082 @DocsEditable() | 6077 @DocsEditable() |
6083 @Experimental() // untriaged | 6078 @Experimental() // untriaged |
6084 void _texSubImage2D_1(target, level, xoffset, yoffset, width, height, | 6079 void _texSubImage2D_1(target, level, xoffset, yoffset, width, height, |
6085 int format, type, TypedData pixels) native ; | 6080 int format, type, TypedData pixels) native; |
6086 @JSName('texSubImage2D') | 6081 @JSName('texSubImage2D') |
6087 @DomName('WebGL2RenderingContext.texSubImage2D') | 6082 @DomName('WebGL2RenderingContext.texSubImage2D') |
6088 @DocsEditable() | 6083 @DocsEditable() |
6089 @Experimental() // untriaged | 6084 @Experimental() // untriaged |
6090 void _texSubImage2D_2(target, level, xoffset, yoffset, format, type, pixels) | 6085 void _texSubImage2D_2(target, level, xoffset, yoffset, format, type, pixels) |
6091 native ; | 6086 native; |
6092 @JSName('texSubImage2D') | 6087 @JSName('texSubImage2D') |
6093 @DomName('WebGL2RenderingContext.texSubImage2D') | 6088 @DomName('WebGL2RenderingContext.texSubImage2D') |
6094 @DocsEditable() | 6089 @DocsEditable() |
6095 @Experimental() // untriaged | 6090 @Experimental() // untriaged |
6096 void _texSubImage2D_3(target, level, xoffset, yoffset, format, type, | 6091 void _texSubImage2D_3( |
6097 ImageElement image) native ; | 6092 target, level, xoffset, yoffset, format, type, ImageElement image) native; |
6098 @JSName('texSubImage2D') | 6093 @JSName('texSubImage2D') |
6099 @DomName('WebGL2RenderingContext.texSubImage2D') | 6094 @DomName('WebGL2RenderingContext.texSubImage2D') |
6100 @DocsEditable() | 6095 @DocsEditable() |
6101 @Experimental() // untriaged | 6096 @Experimental() // untriaged |
6102 void _texSubImage2D_4(target, level, xoffset, yoffset, format, type, | 6097 void _texSubImage2D_4(target, level, xoffset, yoffset, format, type, |
6103 CanvasElement canvas) native ; | 6098 CanvasElement canvas) native; |
6104 @JSName('texSubImage2D') | 6099 @JSName('texSubImage2D') |
6105 @DomName('WebGL2RenderingContext.texSubImage2D') | 6100 @DomName('WebGL2RenderingContext.texSubImage2D') |
6106 @DocsEditable() | 6101 @DocsEditable() |
6107 @Experimental() // untriaged | 6102 @Experimental() // untriaged |
6108 void _texSubImage2D_5(target, level, xoffset, yoffset, format, type, | 6103 void _texSubImage2D_5( |
6109 VideoElement video) native ; | 6104 target, level, xoffset, yoffset, format, type, VideoElement video) native; |
6110 | 6105 |
6111 @DomName('WebGL2RenderingContext.uniform1f') | 6106 @DomName('WebGL2RenderingContext.uniform1f') |
6112 @DocsEditable() | 6107 @DocsEditable() |
6113 @Experimental() // untriaged | 6108 @Experimental() // untriaged |
6114 void uniform1f(UniformLocation location, num x) native ; | 6109 void uniform1f(UniformLocation location, num x) native; |
6115 | 6110 |
6116 @DomName('WebGL2RenderingContext.uniform1fv') | 6111 @DomName('WebGL2RenderingContext.uniform1fv') |
6117 @DocsEditable() | 6112 @DocsEditable() |
6118 @Experimental() // untriaged | 6113 @Experimental() // untriaged |
6119 void uniform1fv(UniformLocation location, v) native ; | 6114 void uniform1fv(UniformLocation location, v) native; |
6120 | 6115 |
6121 @DomName('WebGL2RenderingContext.uniform1i') | 6116 @DomName('WebGL2RenderingContext.uniform1i') |
6122 @DocsEditable() | 6117 @DocsEditable() |
6123 @Experimental() // untriaged | 6118 @Experimental() // untriaged |
6124 void uniform1i(UniformLocation location, int x) native ; | 6119 void uniform1i(UniformLocation location, int x) native; |
6125 | 6120 |
6126 @DomName('WebGL2RenderingContext.uniform1iv') | 6121 @DomName('WebGL2RenderingContext.uniform1iv') |
6127 @DocsEditable() | 6122 @DocsEditable() |
6128 @Experimental() // untriaged | 6123 @Experimental() // untriaged |
6129 void uniform1iv(UniformLocation location, v) native ; | 6124 void uniform1iv(UniformLocation location, v) native; |
6130 | 6125 |
6131 @DomName('WebGL2RenderingContext.uniform2f') | 6126 @DomName('WebGL2RenderingContext.uniform2f') |
6132 @DocsEditable() | 6127 @DocsEditable() |
6133 @Experimental() // untriaged | 6128 @Experimental() // untriaged |
6134 void uniform2f(UniformLocation location, num x, num y) native ; | 6129 void uniform2f(UniformLocation location, num x, num y) native; |
6135 | 6130 |
6136 @DomName('WebGL2RenderingContext.uniform2fv') | 6131 @DomName('WebGL2RenderingContext.uniform2fv') |
6137 @DocsEditable() | 6132 @DocsEditable() |
6138 @Experimental() // untriaged | 6133 @Experimental() // untriaged |
6139 void uniform2fv(UniformLocation location, v) native ; | 6134 void uniform2fv(UniformLocation location, v) native; |
6140 | 6135 |
6141 @DomName('WebGL2RenderingContext.uniform2i') | 6136 @DomName('WebGL2RenderingContext.uniform2i') |
6142 @DocsEditable() | 6137 @DocsEditable() |
6143 @Experimental() // untriaged | 6138 @Experimental() // untriaged |
6144 void uniform2i(UniformLocation location, int x, int y) native ; | 6139 void uniform2i(UniformLocation location, int x, int y) native; |
6145 | 6140 |
6146 @DomName('WebGL2RenderingContext.uniform2iv') | 6141 @DomName('WebGL2RenderingContext.uniform2iv') |
6147 @DocsEditable() | 6142 @DocsEditable() |
6148 @Experimental() // untriaged | 6143 @Experimental() // untriaged |
6149 void uniform2iv(UniformLocation location, v) native ; | 6144 void uniform2iv(UniformLocation location, v) native; |
6150 | 6145 |
6151 @DomName('WebGL2RenderingContext.uniform3f') | 6146 @DomName('WebGL2RenderingContext.uniform3f') |
6152 @DocsEditable() | 6147 @DocsEditable() |
6153 @Experimental() // untriaged | 6148 @Experimental() // untriaged |
6154 void uniform3f(UniformLocation location, num x, num y, num z) native ; | 6149 void uniform3f(UniformLocation location, num x, num y, num z) native; |
6155 | 6150 |
6156 @DomName('WebGL2RenderingContext.uniform3fv') | 6151 @DomName('WebGL2RenderingContext.uniform3fv') |
6157 @DocsEditable() | 6152 @DocsEditable() |
6158 @Experimental() // untriaged | 6153 @Experimental() // untriaged |
6159 void uniform3fv(UniformLocation location, v) native ; | 6154 void uniform3fv(UniformLocation location, v) native; |
6160 | 6155 |
6161 @DomName('WebGL2RenderingContext.uniform3i') | 6156 @DomName('WebGL2RenderingContext.uniform3i') |
6162 @DocsEditable() | 6157 @DocsEditable() |
6163 @Experimental() // untriaged | 6158 @Experimental() // untriaged |
6164 void uniform3i(UniformLocation location, int x, int y, int z) native ; | 6159 void uniform3i(UniformLocation location, int x, int y, int z) native; |
6165 | 6160 |
6166 @DomName('WebGL2RenderingContext.uniform3iv') | 6161 @DomName('WebGL2RenderingContext.uniform3iv') |
6167 @DocsEditable() | 6162 @DocsEditable() |
6168 @Experimental() // untriaged | 6163 @Experimental() // untriaged |
6169 void uniform3iv(UniformLocation location, v) native ; | 6164 void uniform3iv(UniformLocation location, v) native; |
6170 | 6165 |
6171 @DomName('WebGL2RenderingContext.uniform4f') | 6166 @DomName('WebGL2RenderingContext.uniform4f') |
6172 @DocsEditable() | 6167 @DocsEditable() |
6173 @Experimental() // untriaged | 6168 @Experimental() // untriaged |
6174 void uniform4f(UniformLocation location, num x, num y, num z, num w) native ; | 6169 void uniform4f(UniformLocation location, num x, num y, num z, num w) native; |
6175 | 6170 |
6176 @DomName('WebGL2RenderingContext.uniform4fv') | 6171 @DomName('WebGL2RenderingContext.uniform4fv') |
6177 @DocsEditable() | 6172 @DocsEditable() |
6178 @Experimental() // untriaged | 6173 @Experimental() // untriaged |
6179 void uniform4fv(UniformLocation location, v) native ; | 6174 void uniform4fv(UniformLocation location, v) native; |
6180 | 6175 |
6181 @DomName('WebGL2RenderingContext.uniform4i') | 6176 @DomName('WebGL2RenderingContext.uniform4i') |
6182 @DocsEditable() | 6177 @DocsEditable() |
6183 @Experimental() // untriaged | 6178 @Experimental() // untriaged |
6184 void uniform4i(UniformLocation location, int x, int y, int z, int w) native ; | 6179 void uniform4i(UniformLocation location, int x, int y, int z, int w) native; |
6185 | 6180 |
6186 @DomName('WebGL2RenderingContext.uniform4iv') | 6181 @DomName('WebGL2RenderingContext.uniform4iv') |
6187 @DocsEditable() | 6182 @DocsEditable() |
6188 @Experimental() // untriaged | 6183 @Experimental() // untriaged |
6189 void uniform4iv(UniformLocation location, v) native ; | 6184 void uniform4iv(UniformLocation location, v) native; |
6190 | 6185 |
6191 @DomName('WebGL2RenderingContext.uniformMatrix2fv') | 6186 @DomName('WebGL2RenderingContext.uniformMatrix2fv') |
6192 @DocsEditable() | 6187 @DocsEditable() |
6193 @Experimental() // untriaged | 6188 @Experimental() // untriaged |
6194 void uniformMatrix2fv(UniformLocation location, bool transpose, array) | 6189 void uniformMatrix2fv(UniformLocation location, bool transpose, array) native; |
6195 native ; | |
6196 | 6190 |
6197 @DomName('WebGL2RenderingContext.uniformMatrix3fv') | 6191 @DomName('WebGL2RenderingContext.uniformMatrix3fv') |
6198 @DocsEditable() | 6192 @DocsEditable() |
6199 @Experimental() // untriaged | 6193 @Experimental() // untriaged |
6200 void uniformMatrix3fv(UniformLocation location, bool transpose, array) | 6194 void uniformMatrix3fv(UniformLocation location, bool transpose, array) native; |
6201 native ; | |
6202 | 6195 |
6203 @DomName('WebGL2RenderingContext.uniformMatrix4fv') | 6196 @DomName('WebGL2RenderingContext.uniformMatrix4fv') |
6204 @DocsEditable() | 6197 @DocsEditable() |
6205 @Experimental() // untriaged | 6198 @Experimental() // untriaged |
6206 void uniformMatrix4fv(UniformLocation location, bool transpose, array) | 6199 void uniformMatrix4fv(UniformLocation location, bool transpose, array) native; |
6207 native ; | |
6208 | 6200 |
6209 @DomName('WebGL2RenderingContext.useProgram') | 6201 @DomName('WebGL2RenderingContext.useProgram') |
6210 @DocsEditable() | 6202 @DocsEditable() |
6211 @Experimental() // untriaged | 6203 @Experimental() // untriaged |
6212 void useProgram(Program program) native ; | 6204 void useProgram(Program program) native; |
6213 | 6205 |
6214 @DomName('WebGL2RenderingContext.validateProgram') | 6206 @DomName('WebGL2RenderingContext.validateProgram') |
6215 @DocsEditable() | 6207 @DocsEditable() |
6216 @Experimental() // untriaged | 6208 @Experimental() // untriaged |
6217 void validateProgram(Program program) native ; | 6209 void validateProgram(Program program) native; |
6218 | 6210 |
6219 @DomName('WebGL2RenderingContext.vertexAttrib1f') | 6211 @DomName('WebGL2RenderingContext.vertexAttrib1f') |
6220 @DocsEditable() | 6212 @DocsEditable() |
6221 @Experimental() // untriaged | 6213 @Experimental() // untriaged |
6222 void vertexAttrib1f(int indx, num x) native ; | 6214 void vertexAttrib1f(int indx, num x) native; |
6223 | 6215 |
6224 @DomName('WebGL2RenderingContext.vertexAttrib1fv') | 6216 @DomName('WebGL2RenderingContext.vertexAttrib1fv') |
6225 @DocsEditable() | 6217 @DocsEditable() |
6226 @Experimental() // untriaged | 6218 @Experimental() // untriaged |
6227 void vertexAttrib1fv(int indx, values) native ; | 6219 void vertexAttrib1fv(int indx, values) native; |
6228 | 6220 |
6229 @DomName('WebGL2RenderingContext.vertexAttrib2f') | 6221 @DomName('WebGL2RenderingContext.vertexAttrib2f') |
6230 @DocsEditable() | 6222 @DocsEditable() |
6231 @Experimental() // untriaged | 6223 @Experimental() // untriaged |
6232 void vertexAttrib2f(int indx, num x, num y) native ; | 6224 void vertexAttrib2f(int indx, num x, num y) native; |
6233 | 6225 |
6234 @DomName('WebGL2RenderingContext.vertexAttrib2fv') | 6226 @DomName('WebGL2RenderingContext.vertexAttrib2fv') |
6235 @DocsEditable() | 6227 @DocsEditable() |
6236 @Experimental() // untriaged | 6228 @Experimental() // untriaged |
6237 void vertexAttrib2fv(int indx, values) native ; | 6229 void vertexAttrib2fv(int indx, values) native; |
6238 | 6230 |
6239 @DomName('WebGL2RenderingContext.vertexAttrib3f') | 6231 @DomName('WebGL2RenderingContext.vertexAttrib3f') |
6240 @DocsEditable() | 6232 @DocsEditable() |
6241 @Experimental() // untriaged | 6233 @Experimental() // untriaged |
6242 void vertexAttrib3f(int indx, num x, num y, num z) native ; | 6234 void vertexAttrib3f(int indx, num x, num y, num z) native; |
6243 | 6235 |
6244 @DomName('WebGL2RenderingContext.vertexAttrib3fv') | 6236 @DomName('WebGL2RenderingContext.vertexAttrib3fv') |
6245 @DocsEditable() | 6237 @DocsEditable() |
6246 @Experimental() // untriaged | 6238 @Experimental() // untriaged |
6247 void vertexAttrib3fv(int indx, values) native ; | 6239 void vertexAttrib3fv(int indx, values) native; |
6248 | 6240 |
6249 @DomName('WebGL2RenderingContext.vertexAttrib4f') | 6241 @DomName('WebGL2RenderingContext.vertexAttrib4f') |
6250 @DocsEditable() | 6242 @DocsEditable() |
6251 @Experimental() // untriaged | 6243 @Experimental() // untriaged |
6252 void vertexAttrib4f(int indx, num x, num y, num z, num w) native ; | 6244 void vertexAttrib4f(int indx, num x, num y, num z, num w) native; |
6253 | 6245 |
6254 @DomName('WebGL2RenderingContext.vertexAttrib4fv') | 6246 @DomName('WebGL2RenderingContext.vertexAttrib4fv') |
6255 @DocsEditable() | 6247 @DocsEditable() |
6256 @Experimental() // untriaged | 6248 @Experimental() // untriaged |
6257 void vertexAttrib4fv(int indx, values) native ; | 6249 void vertexAttrib4fv(int indx, values) native; |
6258 | 6250 |
6259 @DomName('WebGL2RenderingContext.vertexAttribPointer') | 6251 @DomName('WebGL2RenderingContext.vertexAttribPointer') |
6260 @DocsEditable() | 6252 @DocsEditable() |
6261 @Experimental() // untriaged | 6253 @Experimental() // untriaged |
6262 void vertexAttribPointer(int indx, int size, int type, bool normalized, | 6254 void vertexAttribPointer(int indx, int size, int type, bool normalized, |
6263 int stride, int offset) native ; | 6255 int stride, int offset) native; |
6264 | 6256 |
6265 @DomName('WebGL2RenderingContext.viewport') | 6257 @DomName('WebGL2RenderingContext.viewport') |
6266 @DocsEditable() | 6258 @DocsEditable() |
6267 @Experimental() // untriaged | 6259 @Experimental() // untriaged |
6268 void viewport(int x, int y, int width, int height) native ; | 6260 void viewport(int x, int y, int width, int height) native; |
6269 } | 6261 } |
6270 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6262 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
6271 // for details. All rights reserved. Use of this source code is governed by a | 6263 // for details. All rights reserved. Use of this source code is governed by a |
6272 // BSD-style license that can be found in the LICENSE file. | 6264 // BSD-style license that can be found in the LICENSE file. |
6273 | 6265 |
6274 @DocsEditable() | 6266 @DocsEditable() |
6275 @DomName('WebGLSampler') | 6267 @DomName('WebGLSampler') |
6276 @Experimental() // untriaged | 6268 @Experimental() // untriaged |
6277 @Native("WebGLSampler") | 6269 @Native("WebGLSampler") |
6278 class Sampler extends Interceptor { | 6270 class Sampler extends Interceptor { |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6425 | 6417 |
6426 @DocsEditable() | 6418 @DocsEditable() |
6427 @DomName('WebGLRenderingContextBase') | 6419 @DomName('WebGLRenderingContextBase') |
6428 @Experimental() // untriaged | 6420 @Experimental() // untriaged |
6429 abstract class _WebGLRenderingContextBase extends Interceptor { | 6421 abstract class _WebGLRenderingContextBase extends Interceptor { |
6430 // To suppress missing implicit constructor warnings. | 6422 // To suppress missing implicit constructor warnings. |
6431 factory _WebGLRenderingContextBase._() { | 6423 factory _WebGLRenderingContextBase._() { |
6432 throw new UnsupportedError("Not supported"); | 6424 throw new UnsupportedError("Not supported"); |
6433 } | 6425 } |
6434 } | 6426 } |
OLD | NEW |