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:async'; | 6 import 'dart:async'; |
7 import 'dart:collection'; | 7 import 'dart:collection'; |
8 import 'dart:_internal'; | 8 import 'dart:_internal'; |
9 import 'dart:html'; | 9 import 'dart:html'; |
10 import 'dart:html_common'; | 10 import 'dart:html_common'; |
11 import 'dart:nativewrappers'; | 11 import 'dart:nativewrappers'; |
12 import 'dart:typed_data'; | 12 import 'dart:typed_data'; |
13 import 'dart:_blink' as _blink; | 13 import 'dart:_blink' as _blink; |
14 import 'dart:js' as js; | 14 import 'dart:js' as js; |
15 // DO NOT EDIT | 15 // DO NOT EDIT |
16 // Auto-generated dart:web_gl library. | 16 // Auto-generated dart:web_gl library. |
17 | 17 |
18 // FIXME: Can we make this private? | 18 // FIXME: Can we make this private? |
19 @Deprecated("Internal Use Only") | 19 @Deprecated("Internal Use Only") |
20 final web_glBlinkMap = { | 20 final web_glBlinkMap = { |
21 'ANGLEInstancedArrays': () => AngleInstancedArrays.instanceRuntimeType, | 21 'ANGLEInstancedArrays': () => AngleInstancedArrays.instanceRuntimeType, |
22 'CHROMIUMSubscribeUniform': () => | 22 'CHROMIUMSubscribeUniform': () => |
23 ChromiumSubscribeUniform.instanceRuntimeType, | 23 ChromiumSubscribeUniform.instanceRuntimeType, |
24 'EXTBlendMinMax': () => ExtBlendMinMax.instanceRuntimeType, | 24 'EXTBlendMinMax': () => ExtBlendMinMax.instanceRuntimeType, |
| 25 'EXTColorBufferFloat': () => ExtColorBufferFloat.instanceRuntimeType, |
| 26 'EXTDisjointTimerQuery': () => ExtDisjointTimerQuery.instanceRuntimeType, |
25 'EXTFragDepth': () => ExtFragDepth.instanceRuntimeType, | 27 'EXTFragDepth': () => ExtFragDepth.instanceRuntimeType, |
26 'EXTShaderTextureLOD': () => ExtShaderTextureLod.instanceRuntimeType, | 28 'EXTShaderTextureLOD': () => ExtShaderTextureLod.instanceRuntimeType, |
27 'EXTTextureFilterAnisotropic': () => | 29 'EXTTextureFilterAnisotropic': () => |
28 ExtTextureFilterAnisotropic.instanceRuntimeType, | 30 ExtTextureFilterAnisotropic.instanceRuntimeType, |
29 'EXTsRGB': () => EXTsRgb.instanceRuntimeType, | 31 'EXTsRGB': () => EXTsRgb.instanceRuntimeType, |
30 'OESElementIndexUint': () => OesElementIndexUint.instanceRuntimeType, | 32 'OESElementIndexUint': () => OesElementIndexUint.instanceRuntimeType, |
31 'OESStandardDerivatives': () => OesStandardDerivatives.instanceRuntimeType, | 33 'OESStandardDerivatives': () => OesStandardDerivatives.instanceRuntimeType, |
32 'OESTextureFloat': () => OesTextureFloat.instanceRuntimeType, | 34 'OESTextureFloat': () => OesTextureFloat.instanceRuntimeType, |
33 'OESTextureFloatLinear': () => OesTextureFloatLinear.instanceRuntimeType, | 35 'OESTextureFloatLinear': () => OesTextureFloatLinear.instanceRuntimeType, |
34 'OESTextureHalfFloat': () => OesTextureHalfFloat.instanceRuntimeType, | 36 'OESTextureHalfFloat': () => OesTextureHalfFloat.instanceRuntimeType, |
35 'OESTextureHalfFloatLinear': () => | 37 'OESTextureHalfFloatLinear': () => |
36 OesTextureHalfFloatLinear.instanceRuntimeType, | 38 OesTextureHalfFloatLinear.instanceRuntimeType, |
37 'OESVertexArrayObject': () => OesVertexArrayObject.instanceRuntimeType, | 39 'OESVertexArrayObject': () => OesVertexArrayObject.instanceRuntimeType, |
38 'WebGL2RenderingContext': () => RenderingContext2.instanceRuntimeType, | 40 'WebGL2RenderingContext': () => RenderingContext2.instanceRuntimeType, |
39 'WebGL2RenderingContextBase': () => | 41 'WebGL2RenderingContextBase': () => |
40 _WebGL2RenderingContextBase.instanceRuntimeType, | 42 _WebGL2RenderingContextBase.instanceRuntimeType, |
41 'WebGLActiveInfo': () => ActiveInfo.instanceRuntimeType, | 43 'WebGLActiveInfo': () => ActiveInfo.instanceRuntimeType, |
42 'WebGLBuffer': () => Buffer.instanceRuntimeType, | 44 'WebGLBuffer': () => Buffer.instanceRuntimeType, |
| 45 'WebGLCompressedTextureASTC': () => CompressedTextureAstc.instanceRuntimeType, |
43 'WebGLCompressedTextureATC': () => CompressedTextureAtc.instanceRuntimeType, | 46 'WebGLCompressedTextureATC': () => CompressedTextureAtc.instanceRuntimeType, |
44 'WebGLCompressedTextureETC1': () => CompressedTextureETC1.instanceRuntimeType, | 47 'WebGLCompressedTextureETC1': () => CompressedTextureETC1.instanceRuntimeType, |
45 'WebGLCompressedTexturePVRTC': () => | 48 'WebGLCompressedTexturePVRTC': () => |
46 CompressedTexturePvrtc.instanceRuntimeType, | 49 CompressedTexturePvrtc.instanceRuntimeType, |
47 'WebGLCompressedTextureS3TC': () => CompressedTextureS3TC.instanceRuntimeType, | 50 'WebGLCompressedTextureS3TC': () => CompressedTextureS3TC.instanceRuntimeType, |
48 'WebGLContextEvent': () => ContextEvent.instanceRuntimeType, | 51 'WebGLContextEvent': () => ContextEvent.instanceRuntimeType, |
49 'WebGLDebugRendererInfo': () => DebugRendererInfo.instanceRuntimeType, | 52 'WebGLDebugRendererInfo': () => DebugRendererInfo.instanceRuntimeType, |
50 'WebGLDebugShaders': () => DebugShaders.instanceRuntimeType, | 53 'WebGLDebugShaders': () => DebugShaders.instanceRuntimeType, |
51 'WebGLDepthTexture': () => DepthTexture.instanceRuntimeType, | 54 'WebGLDepthTexture': () => DepthTexture.instanceRuntimeType, |
52 'WebGLDrawBuffers': () => DrawBuffers.instanceRuntimeType, | 55 'WebGLDrawBuffers': () => DrawBuffers.instanceRuntimeType, |
53 'WebGLFramebuffer': () => Framebuffer.instanceRuntimeType, | 56 'WebGLFramebuffer': () => Framebuffer.instanceRuntimeType, |
54 'WebGLLoseContext': () => LoseContext.instanceRuntimeType, | 57 'WebGLLoseContext': () => LoseContext.instanceRuntimeType, |
55 'WebGLProgram': () => Program.instanceRuntimeType, | 58 'WebGLProgram': () => Program.instanceRuntimeType, |
56 'WebGLQuery': () => Query.instanceRuntimeType, | 59 'WebGLQuery': () => Query.instanceRuntimeType, |
57 'WebGLRenderbuffer': () => Renderbuffer.instanceRuntimeType, | 60 'WebGLRenderbuffer': () => Renderbuffer.instanceRuntimeType, |
58 'WebGLRenderingContext': () => RenderingContext.instanceRuntimeType, | 61 'WebGLRenderingContext': () => RenderingContext.instanceRuntimeType, |
59 'WebGLRenderingContextBase': () => | 62 'WebGLRenderingContextBase': () => |
60 _WebGLRenderingContextBase.instanceRuntimeType, | 63 _WebGLRenderingContextBase.instanceRuntimeType, |
61 'WebGLSampler': () => Sampler.instanceRuntimeType, | 64 'WebGLSampler': () => Sampler.instanceRuntimeType, |
62 'WebGLShader': () => Shader.instanceRuntimeType, | 65 'WebGLShader': () => Shader.instanceRuntimeType, |
63 'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat.instanceRuntimeType, | 66 'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat.instanceRuntimeType, |
64 'WebGLSync': () => Sync.instanceRuntimeType, | 67 'WebGLSync': () => Sync.instanceRuntimeType, |
65 'WebGLTexture': () => Texture.instanceRuntimeType, | 68 'WebGLTexture': () => Texture.instanceRuntimeType, |
| 69 'WebGLTimerQueryEXT': () => TimerQueryExt.instanceRuntimeType, |
66 'WebGLTransformFeedback': () => TransformFeedback.instanceRuntimeType, | 70 'WebGLTransformFeedback': () => TransformFeedback.instanceRuntimeType, |
67 'WebGLUniformLocation': () => UniformLocation.instanceRuntimeType, | 71 'WebGLUniformLocation': () => UniformLocation.instanceRuntimeType, |
68 'WebGLVertexArrayObject': () => VertexArrayObject.instanceRuntimeType, | 72 'WebGLVertexArrayObject': () => VertexArrayObject.instanceRuntimeType, |
69 'WebGLVertexArrayObjectOES': () => VertexArrayObjectOes.instanceRuntimeType, | 73 'WebGLVertexArrayObjectOES': () => VertexArrayObjectOes.instanceRuntimeType, |
70 }; | 74 }; |
71 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 75 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
72 // for details. All rights reserved. Use of this source code is governed by a | 76 // for details. All rights reserved. Use of this source code is governed by a |
73 // BSD-style license that can be found in the LICENSE file. | 77 // BSD-style license that can be found in the LICENSE file. |
74 | 78 |
75 const int ACTIVE_ATTRIBUTES = RenderingContext.ACTIVE_ATTRIBUTES; | 79 const int ACTIVE_ATTRIBUTES = RenderingContext.ACTIVE_ATTRIBUTES; |
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
587 .uniformValuebufferCHROMIUM_Callback_3_( | 591 .uniformValuebufferCHROMIUM_Callback_3_( |
588 this, location, target, subscription); | 592 this, location, target, subscription); |
589 } | 593 } |
590 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 594 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
591 // for details. All rights reserved. Use of this source code is governed by a | 595 // for details. All rights reserved. Use of this source code is governed by a |
592 // BSD-style license that can be found in the LICENSE file. | 596 // BSD-style license that can be found in the LICENSE file. |
593 | 597 |
594 // WARNING: Do not edit - generated code. | 598 // WARNING: Do not edit - generated code. |
595 | 599 |
596 @DocsEditable() | 600 @DocsEditable() |
| 601 @DomName('WebGLCompressedTextureASTC') |
| 602 @Experimental() // untriaged |
| 603 class CompressedTextureAstc extends DartHtmlDomObject { |
| 604 // To suppress missing implicit constructor warnings. |
| 605 factory CompressedTextureAstc._() { |
| 606 throw new UnsupportedError("Not supported"); |
| 607 } |
| 608 |
| 609 @Deprecated("Internal Use Only") |
| 610 external static Type get instanceRuntimeType; |
| 611 |
| 612 @Deprecated("Internal Use Only") |
| 613 CompressedTextureAstc.internal_() {} |
| 614 |
| 615 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_10x10_KHR') |
| 616 @DocsEditable() |
| 617 @Experimental() // untriaged |
| 618 static const int COMPRESSED_RGBA_ASTC_10x10_KHR = 0x93BB; |
| 619 |
| 620 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_10x5_KHR') |
| 621 @DocsEditable() |
| 622 @Experimental() // untriaged |
| 623 static const int COMPRESSED_RGBA_ASTC_10x5_KHR = 0x93B8; |
| 624 |
| 625 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_10x6_KHR') |
| 626 @DocsEditable() |
| 627 @Experimental() // untriaged |
| 628 static const int COMPRESSED_RGBA_ASTC_10x6_KHR = 0x93B9; |
| 629 |
| 630 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_10x8_KHR') |
| 631 @DocsEditable() |
| 632 @Experimental() // untriaged |
| 633 static const int COMPRESSED_RGBA_ASTC_10x8_KHR = 0x93BA; |
| 634 |
| 635 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_12x10_KHR') |
| 636 @DocsEditable() |
| 637 @Experimental() // untriaged |
| 638 static const int COMPRESSED_RGBA_ASTC_12x10_KHR = 0x93BC; |
| 639 |
| 640 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_12x12_KHR') |
| 641 @DocsEditable() |
| 642 @Experimental() // untriaged |
| 643 static const int COMPRESSED_RGBA_ASTC_12x12_KHR = 0x93BD; |
| 644 |
| 645 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_4x4_KHR') |
| 646 @DocsEditable() |
| 647 @Experimental() // untriaged |
| 648 static const int COMPRESSED_RGBA_ASTC_4x4_KHR = 0x93B0; |
| 649 |
| 650 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_5x4_KHR') |
| 651 @DocsEditable() |
| 652 @Experimental() // untriaged |
| 653 static const int COMPRESSED_RGBA_ASTC_5x4_KHR = 0x93B1; |
| 654 |
| 655 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_5x5_KHR') |
| 656 @DocsEditable() |
| 657 @Experimental() // untriaged |
| 658 static const int COMPRESSED_RGBA_ASTC_5x5_KHR = 0x93B2; |
| 659 |
| 660 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_6x5_KHR') |
| 661 @DocsEditable() |
| 662 @Experimental() // untriaged |
| 663 static const int COMPRESSED_RGBA_ASTC_6x5_KHR = 0x93B3; |
| 664 |
| 665 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_6x6_KHR') |
| 666 @DocsEditable() |
| 667 @Experimental() // untriaged |
| 668 static const int COMPRESSED_RGBA_ASTC_6x6_KHR = 0x93B4; |
| 669 |
| 670 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_8x5_KHR') |
| 671 @DocsEditable() |
| 672 @Experimental() // untriaged |
| 673 static const int COMPRESSED_RGBA_ASTC_8x5_KHR = 0x93B5; |
| 674 |
| 675 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_8x6_KHR') |
| 676 @DocsEditable() |
| 677 @Experimental() // untriaged |
| 678 static const int COMPRESSED_RGBA_ASTC_8x6_KHR = 0x93B6; |
| 679 |
| 680 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_8x8_KHR') |
| 681 @DocsEditable() |
| 682 @Experimental() // untriaged |
| 683 static const int COMPRESSED_RGBA_ASTC_8x8_KHR = 0x93B7; |
| 684 |
| 685 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR') |
| 686 @DocsEditable() |
| 687 @Experimental() // untriaged |
| 688 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR = 0x93DB; |
| 689 |
| 690 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR') |
| 691 @DocsEditable() |
| 692 @Experimental() // untriaged |
| 693 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR = 0x93D8; |
| 694 |
| 695 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR') |
| 696 @DocsEditable() |
| 697 @Experimental() // untriaged |
| 698 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR = 0x93D9; |
| 699 |
| 700 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR') |
| 701 @DocsEditable() |
| 702 @Experimental() // untriaged |
| 703 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR = 0x93DA; |
| 704 |
| 705 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR') |
| 706 @DocsEditable() |
| 707 @Experimental() // untriaged |
| 708 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR = 0x93DC; |
| 709 |
| 710 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR') |
| 711 @DocsEditable() |
| 712 @Experimental() // untriaged |
| 713 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR = 0x93DD; |
| 714 |
| 715 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR') |
| 716 @DocsEditable() |
| 717 @Experimental() // untriaged |
| 718 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR = 0x93D0; |
| 719 |
| 720 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR') |
| 721 @DocsEditable() |
| 722 @Experimental() // untriaged |
| 723 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR = 0x93D1; |
| 724 |
| 725 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR') |
| 726 @DocsEditable() |
| 727 @Experimental() // untriaged |
| 728 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR = 0x93D2; |
| 729 |
| 730 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR') |
| 731 @DocsEditable() |
| 732 @Experimental() // untriaged |
| 733 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR = 0x93D3; |
| 734 |
| 735 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR') |
| 736 @DocsEditable() |
| 737 @Experimental() // untriaged |
| 738 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR = 0x93D4; |
| 739 |
| 740 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR') |
| 741 @DocsEditable() |
| 742 @Experimental() // untriaged |
| 743 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR = 0x93D5; |
| 744 |
| 745 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR') |
| 746 @DocsEditable() |
| 747 @Experimental() // untriaged |
| 748 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR = 0x93D6; |
| 749 |
| 750 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR') |
| 751 @DocsEditable() |
| 752 @Experimental() // untriaged |
| 753 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR = 0x93D7; |
| 754 } |
| 755 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 756 // for details. All rights reserved. Use of this source code is governed by a |
| 757 // BSD-style license that can be found in the LICENSE file. |
| 758 |
| 759 // WARNING: Do not edit - generated code. |
| 760 |
| 761 @DocsEditable() |
597 @DomName('WebGLCompressedTextureATC') | 762 @DomName('WebGLCompressedTextureATC') |
598 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc
/ | 763 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc
/ |
599 @Experimental() | 764 @Experimental() |
600 class CompressedTextureAtc extends DartHtmlDomObject { | 765 class CompressedTextureAtc extends DartHtmlDomObject { |
601 // To suppress missing implicit constructor warnings. | 766 // To suppress missing implicit constructor warnings. |
602 factory CompressedTextureAtc._() { | 767 factory CompressedTextureAtc._() { |
603 throw new UnsupportedError("Not supported"); | 768 throw new UnsupportedError("Not supported"); |
604 } | 769 } |
605 | 770 |
606 @Deprecated("Internal Use Only") | 771 @Deprecated("Internal Use Only") |
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1081 @Experimental() // untriaged | 1246 @Experimental() // untriaged |
1082 static const int MIN_EXT = 0x8007; | 1247 static const int MIN_EXT = 0x8007; |
1083 } | 1248 } |
1084 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1249 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1085 // for details. All rights reserved. Use of this source code is governed by a | 1250 // for details. All rights reserved. Use of this source code is governed by a |
1086 // BSD-style license that can be found in the LICENSE file. | 1251 // BSD-style license that can be found in the LICENSE file. |
1087 | 1252 |
1088 // WARNING: Do not edit - generated code. | 1253 // WARNING: Do not edit - generated code. |
1089 | 1254 |
1090 @DocsEditable() | 1255 @DocsEditable() |
| 1256 @DomName('EXTColorBufferFloat') |
| 1257 @Experimental() // untriaged |
| 1258 class ExtColorBufferFloat extends DartHtmlDomObject { |
| 1259 // To suppress missing implicit constructor warnings. |
| 1260 factory ExtColorBufferFloat._() { |
| 1261 throw new UnsupportedError("Not supported"); |
| 1262 } |
| 1263 |
| 1264 @Deprecated("Internal Use Only") |
| 1265 external static Type get instanceRuntimeType; |
| 1266 |
| 1267 @Deprecated("Internal Use Only") |
| 1268 ExtColorBufferFloat.internal_() {} |
| 1269 } |
| 1270 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1271 // for details. All rights reserved. Use of this source code is governed by a |
| 1272 // BSD-style license that can be found in the LICENSE file. |
| 1273 |
| 1274 // WARNING: Do not edit - generated code. |
| 1275 |
| 1276 @DocsEditable() |
| 1277 @DomName('EXTDisjointTimerQuery') |
| 1278 @Experimental() // untriaged |
| 1279 class ExtDisjointTimerQuery extends DartHtmlDomObject { |
| 1280 // To suppress missing implicit constructor warnings. |
| 1281 factory ExtDisjointTimerQuery._() { |
| 1282 throw new UnsupportedError("Not supported"); |
| 1283 } |
| 1284 |
| 1285 @Deprecated("Internal Use Only") |
| 1286 external static Type get instanceRuntimeType; |
| 1287 |
| 1288 @Deprecated("Internal Use Only") |
| 1289 ExtDisjointTimerQuery.internal_() {} |
| 1290 |
| 1291 @DomName('EXTDisjointTimerQuery.CURRENT_QUERY_EXT') |
| 1292 @DocsEditable() |
| 1293 @Experimental() // untriaged |
| 1294 static const int CURRENT_QUERY_EXT = 0x8865; |
| 1295 |
| 1296 @DomName('EXTDisjointTimerQuery.GPU_DISJOINT_EXT') |
| 1297 @DocsEditable() |
| 1298 @Experimental() // untriaged |
| 1299 static const int GPU_DISJOINT_EXT = 0x8FBB; |
| 1300 |
| 1301 @DomName('EXTDisjointTimerQuery.QUERY_COUNTER_BITS_EXT') |
| 1302 @DocsEditable() |
| 1303 @Experimental() // untriaged |
| 1304 static const int QUERY_COUNTER_BITS_EXT = 0x8864; |
| 1305 |
| 1306 @DomName('EXTDisjointTimerQuery.QUERY_RESULT_AVAILABLE_EXT') |
| 1307 @DocsEditable() |
| 1308 @Experimental() // untriaged |
| 1309 static const int QUERY_RESULT_AVAILABLE_EXT = 0x8867; |
| 1310 |
| 1311 @DomName('EXTDisjointTimerQuery.QUERY_RESULT_EXT') |
| 1312 @DocsEditable() |
| 1313 @Experimental() // untriaged |
| 1314 static const int QUERY_RESULT_EXT = 0x8866; |
| 1315 |
| 1316 @DomName('EXTDisjointTimerQuery.TIMESTAMP_EXT') |
| 1317 @DocsEditable() |
| 1318 @Experimental() // untriaged |
| 1319 static const int TIMESTAMP_EXT = 0x8E28; |
| 1320 |
| 1321 @DomName('EXTDisjointTimerQuery.TIME_ELAPSED_EXT') |
| 1322 @DocsEditable() |
| 1323 @Experimental() // untriaged |
| 1324 static const int TIME_ELAPSED_EXT = 0x88BF; |
| 1325 |
| 1326 @DomName('EXTDisjointTimerQuery.beginQueryEXT') |
| 1327 @DocsEditable() |
| 1328 @Experimental() // untriaged |
| 1329 void beginQueryExt(int target, TimerQueryExt query) => |
| 1330 _blink.BlinkEXTDisjointTimerQuery.instance |
| 1331 .beginQueryEXT_Callback_2_(this, target, query); |
| 1332 |
| 1333 @DomName('EXTDisjointTimerQuery.createQueryEXT') |
| 1334 @DocsEditable() |
| 1335 @Experimental() // untriaged |
| 1336 TimerQueryExt createQueryExt() => _blink.BlinkEXTDisjointTimerQuery.instance |
| 1337 .createQueryEXT_Callback_0_(this); |
| 1338 |
| 1339 @DomName('EXTDisjointTimerQuery.deleteQueryEXT') |
| 1340 @DocsEditable() |
| 1341 @Experimental() // untriaged |
| 1342 void deleteQueryExt(TimerQueryExt query) => |
| 1343 _blink.BlinkEXTDisjointTimerQuery.instance |
| 1344 .deleteQueryEXT_Callback_1_(this, query); |
| 1345 |
| 1346 @DomName('EXTDisjointTimerQuery.endQueryEXT') |
| 1347 @DocsEditable() |
| 1348 @Experimental() // untriaged |
| 1349 void endQueryExt(int target) => _blink.BlinkEXTDisjointTimerQuery.instance |
| 1350 .endQueryEXT_Callback_1_(this, target); |
| 1351 |
| 1352 @DomName('EXTDisjointTimerQuery.getQueryEXT') |
| 1353 @DocsEditable() |
| 1354 @Experimental() // untriaged |
| 1355 Object getQueryExt(int target, int pname) => |
| 1356 (_blink.BlinkEXTDisjointTimerQuery.instance |
| 1357 .getQueryEXT_Callback_2_(this, target, pname)); |
| 1358 |
| 1359 @DomName('EXTDisjointTimerQuery.getQueryObjectEXT') |
| 1360 @DocsEditable() |
| 1361 @Experimental() // untriaged |
| 1362 Object getQueryObjectExt(TimerQueryExt query, int pname) => |
| 1363 (_blink.BlinkEXTDisjointTimerQuery.instance |
| 1364 .getQueryObjectEXT_Callback_2_(this, query, pname)); |
| 1365 |
| 1366 @DomName('EXTDisjointTimerQuery.isQueryEXT') |
| 1367 @DocsEditable() |
| 1368 @Experimental() // untriaged |
| 1369 bool isQueryExt(TimerQueryExt query) => |
| 1370 _blink.BlinkEXTDisjointTimerQuery.instance |
| 1371 .isQueryEXT_Callback_1_(this, query); |
| 1372 |
| 1373 @DomName('EXTDisjointTimerQuery.queryCounterEXT') |
| 1374 @DocsEditable() |
| 1375 @Experimental() // untriaged |
| 1376 void queryCounterExt(TimerQueryExt query, int target) => |
| 1377 _blink.BlinkEXTDisjointTimerQuery.instance |
| 1378 .queryCounterEXT_Callback_2_(this, query, target); |
| 1379 } |
| 1380 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1381 // for details. All rights reserved. Use of this source code is governed by a |
| 1382 // BSD-style license that can be found in the LICENSE file. |
| 1383 |
| 1384 // WARNING: Do not edit - generated code. |
| 1385 |
| 1386 @DocsEditable() |
1091 @DomName('EXTFragDepth') | 1387 @DomName('EXTFragDepth') |
1092 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/ | 1388 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/ |
1093 @Experimental() | 1389 @Experimental() |
1094 class ExtFragDepth extends DartHtmlDomObject { | 1390 class ExtFragDepth extends DartHtmlDomObject { |
1095 // To suppress missing implicit constructor warnings. | 1391 // To suppress missing implicit constructor warnings. |
1096 factory ExtFragDepth._() { | 1392 factory ExtFragDepth._() { |
1097 throw new UnsupportedError("Not supported"); | 1393 throw new UnsupportedError("Not supported"); |
1098 } | 1394 } |
1099 | 1395 |
1100 @Deprecated("Internal Use Only") | 1396 @Deprecated("Internal Use Only") |
(...skipping 2205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3306 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => | 3602 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => |
3307 _blink.BlinkWebGLRenderingContext.instance | 3603 _blink.BlinkWebGLRenderingContext.instance |
3308 .stencilOpSeparate_Callback_4_(this, face, fail, zfail, zpass); | 3604 .stencilOpSeparate_Callback_4_(this, face, fail, zfail, zpass); |
3309 | 3605 |
3310 void texImage2D( | 3606 void texImage2D( |
3311 int target, | 3607 int target, |
3312 int level, | 3608 int level, |
3313 int internalformat, | 3609 int internalformat, |
3314 int format_OR_width, | 3610 int format_OR_width, |
3315 int height_OR_type, | 3611 int height_OR_type, |
3316 border_OR_canvas_OR_image_OR_pixels_OR_video, | 3612 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, |
3317 [int format, | 3613 [int format, |
3318 int type, | 3614 int type, |
3319 TypedData pixels]) { | 3615 TypedData pixels]) { |
3320 if ((pixels is TypedData || pixels == null) && | 3616 if ((pixels is TypedData || pixels == null) && |
3321 (type is int) && | 3617 (type is int) && |
3322 (format is int) && | 3618 (format is int) && |
3323 (border_OR_canvas_OR_image_OR_pixels_OR_video is int) && | 3619 (bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video is int) && |
3324 (height_OR_type is int) && | 3620 (height_OR_type is int) && |
3325 (format_OR_width is int) && | 3621 (format_OR_width is int) && |
3326 (internalformat is int) && | 3622 (internalformat is int) && |
3327 (level is int) && | 3623 (level is int) && |
3328 (target is int)) { | 3624 (target is int)) { |
3329 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_9_( | 3625 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_9_( |
3330 this, | 3626 this, |
3331 target, | 3627 target, |
3332 level, | 3628 level, |
3333 internalformat, | 3629 internalformat, |
3334 format_OR_width, | 3630 format_OR_width, |
3335 height_OR_type, | 3631 height_OR_type, |
3336 border_OR_canvas_OR_image_OR_pixels_OR_video, | 3632 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, |
3337 format, | 3633 format, |
3338 type, | 3634 type, |
3339 pixels); | 3635 pixels); |
3340 return; | 3636 return; |
3341 } | 3637 } |
3342 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || | 3638 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || |
3343 border_OR_canvas_OR_image_OR_pixels_OR_video == null) && | 3639 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video == null) && |
3344 (height_OR_type is int) && | 3640 (height_OR_type is int) && |
3345 (format_OR_width is int) && | 3641 (format_OR_width is int) && |
3346 (internalformat is int) && | 3642 (internalformat is int) && |
3347 (level is int) && | 3643 (level is int) && |
3348 (target is int) && | 3644 (target is int) && |
3349 format == null && | 3645 format == null && |
3350 type == null && | 3646 type == null && |
3351 pixels == null) { | 3647 pixels == null) { |
3352 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_( | 3648 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_( |
3353 this, | 3649 this, |
3354 target, | 3650 target, |
3355 level, | 3651 level, |
3356 internalformat, | 3652 internalformat, |
3357 format_OR_width, | 3653 format_OR_width, |
3358 height_OR_type, | 3654 height_OR_type, |
3359 border_OR_canvas_OR_image_OR_pixels_OR_video); | 3655 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); |
3360 return; | 3656 return; |
3361 } | 3657 } |
3362 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement) && | 3658 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video |
| 3659 is ImageElement) && |
3363 (height_OR_type is int) && | 3660 (height_OR_type is int) && |
3364 (format_OR_width is int) && | 3661 (format_OR_width is int) && |
3365 (internalformat is int) && | 3662 (internalformat is int) && |
3366 (level is int) && | 3663 (level is int) && |
3367 (target is int) && | 3664 (target is int) && |
3368 format == null && | 3665 format == null && |
3369 type == null && | 3666 type == null && |
3370 pixels == null) { | 3667 pixels == null) { |
3371 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_( | 3668 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_( |
3372 this, | 3669 this, |
3373 target, | 3670 target, |
3374 level, | 3671 level, |
3375 internalformat, | 3672 internalformat, |
3376 format_OR_width, | 3673 format_OR_width, |
3377 height_OR_type, | 3674 height_OR_type, |
3378 border_OR_canvas_OR_image_OR_pixels_OR_video); | 3675 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); |
3379 return; | 3676 return; |
3380 } | 3677 } |
3381 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement) && | 3678 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video |
| 3679 is CanvasElement) && |
3382 (height_OR_type is int) && | 3680 (height_OR_type is int) && |
3383 (format_OR_width is int) && | 3681 (format_OR_width is int) && |
3384 (internalformat is int) && | 3682 (internalformat is int) && |
3385 (level is int) && | 3683 (level is int) && |
3386 (target is int) && | 3684 (target is int) && |
3387 format == null && | 3685 format == null && |
3388 type == null && | 3686 type == null && |
3389 pixels == null) { | 3687 pixels == null) { |
3390 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_( | 3688 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_( |
3391 this, | 3689 this, |
3392 target, | 3690 target, |
3393 level, | 3691 level, |
3394 internalformat, | 3692 internalformat, |
3395 format_OR_width, | 3693 format_OR_width, |
3396 height_OR_type, | 3694 height_OR_type, |
3397 border_OR_canvas_OR_image_OR_pixels_OR_video); | 3695 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); |
3398 return; | 3696 return; |
3399 } | 3697 } |
3400 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement) && | 3698 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video |
| 3699 is VideoElement) && |
3401 (height_OR_type is int) && | 3700 (height_OR_type is int) && |
3402 (format_OR_width is int) && | 3701 (format_OR_width is int) && |
3403 (internalformat is int) && | 3702 (internalformat is int) && |
3404 (level is int) && | 3703 (level is int) && |
3405 (target is int) && | 3704 (target is int) && |
3406 format == null && | 3705 format == null && |
3407 type == null && | 3706 type == null && |
3408 pixels == null) { | 3707 pixels == null) { |
3409 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_( | 3708 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_( |
3410 this, | 3709 this, |
3411 target, | 3710 target, |
3412 level, | 3711 level, |
3413 internalformat, | 3712 internalformat, |
3414 format_OR_width, | 3713 format_OR_width, |
3415 height_OR_type, | 3714 height_OR_type, |
3416 border_OR_canvas_OR_image_OR_pixels_OR_video); | 3715 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 3716 return; |
| 3717 } |
| 3718 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video |
| 3719 is ImageBitmap) && |
| 3720 (height_OR_type is int) && |
| 3721 (format_OR_width is int) && |
| 3722 (internalformat is int) && |
| 3723 (level is int) && |
| 3724 (target is int) && |
| 3725 format == null && |
| 3726 type == null && |
| 3727 pixels == null) { |
| 3728 _blink.BlinkWebGLRenderingContext.instance.texImage2D_Callback_6_( |
| 3729 this, |
| 3730 target, |
| 3731 level, |
| 3732 internalformat, |
| 3733 format_OR_width, |
| 3734 height_OR_type, |
| 3735 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); |
3417 return; | 3736 return; |
3418 } | 3737 } |
3419 throw new ArgumentError("Incorrect number or type of arguments"); | 3738 throw new ArgumentError("Incorrect number or type of arguments"); |
3420 } | 3739 } |
3421 | 3740 |
3422 @DomName('WebGLRenderingContext.texParameterf') | 3741 @DomName('WebGLRenderingContext.texParameterf') |
3423 @DocsEditable() | 3742 @DocsEditable() |
3424 void texParameterf(int target, int pname, num param) => | 3743 void texParameterf(int target, int pname, num param) => |
3425 _blink.BlinkWebGLRenderingContext.instance | 3744 _blink.BlinkWebGLRenderingContext.instance |
3426 .texParameterf_Callback_3_(this, target, pname, param); | 3745 .texParameterf_Callback_3_(this, target, pname, param); |
3427 | 3746 |
3428 @DomName('WebGLRenderingContext.texParameteri') | 3747 @DomName('WebGLRenderingContext.texParameteri') |
3429 @DocsEditable() | 3748 @DocsEditable() |
3430 void texParameteri(int target, int pname, int param) => | 3749 void texParameteri(int target, int pname, int param) => |
3431 _blink.BlinkWebGLRenderingContext.instance | 3750 _blink.BlinkWebGLRenderingContext.instance |
3432 .texParameteri_Callback_3_(this, target, pname, param); | 3751 .texParameteri_Callback_3_(this, target, pname, param); |
3433 | 3752 |
3434 void texSubImage2D( | 3753 void texSubImage2D( |
3435 int target, | 3754 int target, |
3436 int level, | 3755 int level, |
3437 int xoffset, | 3756 int xoffset, |
3438 int yoffset, | 3757 int yoffset, |
3439 int format_OR_width, | 3758 int format_OR_width, |
3440 int height_OR_type, | 3759 int height_OR_type, |
3441 canvas_OR_format_OR_image_OR_pixels_OR_video, | 3760 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, |
3442 [int type, | 3761 [int type, |
3443 TypedData pixels]) { | 3762 TypedData pixels]) { |
3444 if ((pixels is TypedData || pixels == null) && | 3763 if ((pixels is TypedData || pixels == null) && |
3445 (type is int) && | 3764 (type is int) && |
3446 (canvas_OR_format_OR_image_OR_pixels_OR_video is int) && | 3765 (bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video is int) && |
3447 (height_OR_type is int) && | 3766 (height_OR_type is int) && |
3448 (format_OR_width is int) && | 3767 (format_OR_width is int) && |
3449 (yoffset is int) && | 3768 (yoffset is int) && |
3450 (xoffset is int) && | 3769 (xoffset is int) && |
3451 (level is int) && | 3770 (level is int) && |
3452 (target is int)) { | 3771 (target is int)) { |
3453 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_9_( | 3772 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_9_( |
3454 this, | 3773 this, |
3455 target, | 3774 target, |
3456 level, | 3775 level, |
3457 xoffset, | 3776 xoffset, |
3458 yoffset, | 3777 yoffset, |
3459 format_OR_width, | 3778 format_OR_width, |
3460 height_OR_type, | 3779 height_OR_type, |
3461 canvas_OR_format_OR_image_OR_pixels_OR_video, | 3780 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, |
3462 type, | 3781 type, |
3463 pixels); | 3782 pixels); |
3464 return; | 3783 return; |
3465 } | 3784 } |
3466 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || | 3785 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || |
3467 canvas_OR_format_OR_image_OR_pixels_OR_video == null) && | 3786 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video == null) && |
3468 (height_OR_type is int) && | 3787 (height_OR_type is int) && |
3469 (format_OR_width is int) && | 3788 (format_OR_width is int) && |
3470 (yoffset is int) && | 3789 (yoffset is int) && |
| 3790 (xoffset is int) && |
| 3791 (level is int) && |
| 3792 (target is int) && |
| 3793 type == null && |
| 3794 pixels == null) { |
| 3795 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_( |
| 3796 this, |
| 3797 target, |
| 3798 level, |
| 3799 xoffset, |
| 3800 yoffset, |
| 3801 format_OR_width, |
| 3802 height_OR_type, |
| 3803 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 3804 return; |
| 3805 } |
| 3806 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video |
| 3807 is ImageElement) && |
| 3808 (height_OR_type is int) && |
| 3809 (format_OR_width is int) && |
| 3810 (yoffset is int) && |
3471 (xoffset is int) && | 3811 (xoffset is int) && |
3472 (level is int) && | 3812 (level is int) && |
3473 (target is int) && | 3813 (target is int) && |
3474 type == null && | 3814 type == null && |
3475 pixels == null) { | 3815 pixels == null) { |
3476 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_( | 3816 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_( |
3477 this, | 3817 this, |
3478 target, | 3818 target, |
3479 level, | 3819 level, |
3480 xoffset, | 3820 xoffset, |
3481 yoffset, | 3821 yoffset, |
3482 format_OR_width, | 3822 format_OR_width, |
3483 height_OR_type, | 3823 height_OR_type, |
3484 canvas_OR_format_OR_image_OR_pixels_OR_video); | 3824 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); |
3485 return; | 3825 return; |
3486 } | 3826 } |
3487 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement) && | 3827 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video |
| 3828 is CanvasElement) && |
3488 (height_OR_type is int) && | 3829 (height_OR_type is int) && |
3489 (format_OR_width is int) && | 3830 (format_OR_width is int) && |
3490 (yoffset is int) && | 3831 (yoffset is int) && |
3491 (xoffset is int) && | 3832 (xoffset is int) && |
3492 (level is int) && | 3833 (level is int) && |
3493 (target is int) && | 3834 (target is int) && |
3494 type == null && | 3835 type == null && |
3495 pixels == null) { | 3836 pixels == null) { |
3496 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_( | 3837 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_( |
3497 this, | 3838 this, |
3498 target, | 3839 target, |
3499 level, | 3840 level, |
3500 xoffset, | 3841 xoffset, |
3501 yoffset, | 3842 yoffset, |
3502 format_OR_width, | 3843 format_OR_width, |
3503 height_OR_type, | 3844 height_OR_type, |
3504 canvas_OR_format_OR_image_OR_pixels_OR_video); | 3845 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); |
3505 return; | 3846 return; |
3506 } | 3847 } |
3507 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement) && | 3848 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video |
| 3849 is VideoElement) && |
3508 (height_OR_type is int) && | 3850 (height_OR_type is int) && |
3509 (format_OR_width is int) && | 3851 (format_OR_width is int) && |
3510 (yoffset is int) && | 3852 (yoffset is int) && |
3511 (xoffset is int) && | 3853 (xoffset is int) && |
3512 (level is int) && | 3854 (level is int) && |
3513 (target is int) && | 3855 (target is int) && |
3514 type == null && | 3856 type == null && |
3515 pixels == null) { | 3857 pixels == null) { |
3516 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_( | 3858 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_( |
3517 this, | 3859 this, |
3518 target, | 3860 target, |
3519 level, | 3861 level, |
3520 xoffset, | 3862 xoffset, |
3521 yoffset, | 3863 yoffset, |
3522 format_OR_width, | 3864 format_OR_width, |
3523 height_OR_type, | 3865 height_OR_type, |
3524 canvas_OR_format_OR_image_OR_pixels_OR_video); | 3866 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); |
3525 return; | 3867 return; |
3526 } | 3868 } |
3527 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement) && | 3869 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video |
| 3870 is ImageBitmap) && |
3528 (height_OR_type is int) && | 3871 (height_OR_type is int) && |
3529 (format_OR_width is int) && | 3872 (format_OR_width is int) && |
3530 (yoffset is int) && | 3873 (yoffset is int) && |
3531 (xoffset is int) && | 3874 (xoffset is int) && |
3532 (level is int) && | 3875 (level is int) && |
3533 (target is int) && | 3876 (target is int) && |
3534 type == null && | 3877 type == null && |
3535 pixels == null) { | 3878 pixels == null) { |
3536 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_( | 3879 _blink.BlinkWebGLRenderingContext.instance.texSubImage2D_Callback_7_( |
3537 this, | 3880 this, |
3538 target, | 3881 target, |
3539 level, | 3882 level, |
3540 xoffset, | 3883 xoffset, |
3541 yoffset, | 3884 yoffset, |
3542 format_OR_width, | 3885 format_OR_width, |
3543 height_OR_type, | 3886 height_OR_type, |
3544 canvas_OR_format_OR_image_OR_pixels_OR_video); | 3887 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); |
3545 return; | 3888 return; |
3546 } | 3889 } |
3547 throw new ArgumentError("Incorrect number or type of arguments"); | 3890 throw new ArgumentError("Incorrect number or type of arguments"); |
3548 } | 3891 } |
3549 | 3892 |
3550 @DomName('WebGLRenderingContext.uniform1f') | 3893 @DomName('WebGLRenderingContext.uniform1f') |
3551 @DocsEditable() | 3894 @DocsEditable() |
3552 void uniform1f(UniformLocation location, num x) => | 3895 void uniform1f(UniformLocation location, num x) => |
3553 _blink.BlinkWebGLRenderingContext.instance | 3896 _blink.BlinkWebGLRenderingContext.instance |
3554 .uniform1f_Callback_2_(this, location, x); | 3897 .uniform1f_Callback_2_(this, location, x); |
(...skipping 2198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5753 @Experimental() // untriaged | 6096 @Experimental() // untriaged |
5754 Object getActiveUniformBlockParameter( | 6097 Object getActiveUniformBlockParameter( |
5755 Program program, int uniformBlockIndex, int pname) => | 6098 Program program, int uniformBlockIndex, int pname) => |
5756 (_blink.BlinkWebGL2RenderingContext.instance | 6099 (_blink.BlinkWebGL2RenderingContext.instance |
5757 .getActiveUniformBlockParameter_Callback_3_( | 6100 .getActiveUniformBlockParameter_Callback_3_( |
5758 this, program, uniformBlockIndex, pname)); | 6101 this, program, uniformBlockIndex, pname)); |
5759 | 6102 |
5760 @DomName('WebGL2RenderingContext.getActiveUniforms') | 6103 @DomName('WebGL2RenderingContext.getActiveUniforms') |
5761 @DocsEditable() | 6104 @DocsEditable() |
5762 @Experimental() // untriaged | 6105 @Experimental() // untriaged |
5763 List<int> getActiveUniforms( | 6106 Object getActiveUniforms( |
5764 Program program, List<int> uniformIndices, int pname) => | 6107 Program program, List<int> uniformIndices, int pname) => |
5765 _blink.BlinkWebGL2RenderingContext.instance | 6108 (_blink.BlinkWebGL2RenderingContext.instance |
5766 .getActiveUniforms_Callback_3_(this, program, uniformIndices, pname); | 6109 .getActiveUniforms_Callback_3_(this, program, uniformIndices, pname)); |
5767 | 6110 |
5768 @DomName('WebGL2RenderingContext.getBufferSubData') | 6111 @DomName('WebGL2RenderingContext.getBufferSubData') |
5769 @DocsEditable() | 6112 @DocsEditable() |
5770 @Experimental() // untriaged | 6113 @Experimental() // untriaged |
5771 void getBufferSubData(int target, int offset, ByteBuffer returnedData) => | 6114 void getBufferSubData(int target, int offset, ByteBuffer returnedData) => |
5772 _blink.BlinkWebGL2RenderingContext.instance | 6115 _blink.BlinkWebGL2RenderingContext.instance |
5773 .getBufferSubData_Callback_3_(this, target, offset, returnedData); | 6116 .getBufferSubData_Callback_3_(this, target, offset, returnedData); |
5774 | 6117 |
5775 @DomName('WebGL2RenderingContext.getFragDataLocation') | 6118 @DomName('WebGL2RenderingContext.getFragDataLocation') |
5776 @DocsEditable() | 6119 @DocsEditable() |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5897 @Experimental() // untriaged | 6240 @Experimental() // untriaged |
5898 void pauseTransformFeedback() => _blink.BlinkWebGL2RenderingContext.instance | 6241 void pauseTransformFeedback() => _blink.BlinkWebGL2RenderingContext.instance |
5899 .pauseTransformFeedback_Callback_0_(this); | 6242 .pauseTransformFeedback_Callback_0_(this); |
5900 | 6243 |
5901 @DomName('WebGL2RenderingContext.readBuffer') | 6244 @DomName('WebGL2RenderingContext.readBuffer') |
5902 @DocsEditable() | 6245 @DocsEditable() |
5903 @Experimental() // untriaged | 6246 @Experimental() // untriaged |
5904 void readBuffer(int mode) => _blink.BlinkWebGL2RenderingContext.instance | 6247 void readBuffer(int mode) => _blink.BlinkWebGL2RenderingContext.instance |
5905 .readBuffer_Callback_1_(this, mode); | 6248 .readBuffer_Callback_1_(this, mode); |
5906 | 6249 |
| 6250 @DomName('WebGL2RenderingContext.readPixels2') |
| 6251 @DocsEditable() |
| 6252 @Experimental() // untriaged |
| 6253 void readPixels2(int x, int y, int width, int height, int format, int type, |
| 6254 int offset) => |
| 6255 _blink.BlinkWebGL2RenderingContext.instance.readPixels_Callback_7_( |
| 6256 this, x, y, width, height, format, type, offset); |
| 6257 |
5907 @DomName('WebGL2RenderingContext.renderbufferStorageMultisample') | 6258 @DomName('WebGL2RenderingContext.renderbufferStorageMultisample') |
5908 @DocsEditable() | 6259 @DocsEditable() |
5909 @Experimental() // untriaged | 6260 @Experimental() // untriaged |
5910 void renderbufferStorageMultisample( | 6261 void renderbufferStorageMultisample( |
5911 int target, int samples, int internalformat, int width, int height) => | 6262 int target, int samples, int internalformat, int width, int height) => |
5912 _blink.BlinkWebGL2RenderingContext.instance | 6263 _blink.BlinkWebGL2RenderingContext.instance |
5913 .renderbufferStorageMultisample_Callback_5_( | 6264 .renderbufferStorageMultisample_Callback_5_( |
5914 this, target, samples, internalformat, width, height); | 6265 this, target, samples, internalformat, width, height); |
5915 | 6266 |
5916 @DomName('WebGL2RenderingContext.resumeTransformFeedback') | 6267 @DomName('WebGL2RenderingContext.resumeTransformFeedback') |
5917 @DocsEditable() | 6268 @DocsEditable() |
5918 @Experimental() // untriaged | 6269 @Experimental() // untriaged |
5919 void resumeTransformFeedback() => _blink.BlinkWebGL2RenderingContext.instance | 6270 void resumeTransformFeedback() => _blink.BlinkWebGL2RenderingContext.instance |
5920 .resumeTransformFeedback_Callback_0_(this); | 6271 .resumeTransformFeedback_Callback_0_(this); |
5921 | 6272 |
5922 @DomName('WebGL2RenderingContext.samplerParameterf') | 6273 @DomName('WebGL2RenderingContext.samplerParameterf') |
5923 @DocsEditable() | 6274 @DocsEditable() |
5924 @Experimental() // untriaged | 6275 @Experimental() // untriaged |
5925 void samplerParameterf(Sampler sampler, int pname, num param) => | 6276 void samplerParameterf(Sampler sampler, int pname, num param) => |
5926 _blink.BlinkWebGL2RenderingContext.instance | 6277 _blink.BlinkWebGL2RenderingContext.instance |
5927 .samplerParameterf_Callback_3_(this, sampler, pname, param); | 6278 .samplerParameterf_Callback_3_(this, sampler, pname, param); |
5928 | 6279 |
5929 @DomName('WebGL2RenderingContext.samplerParameteri') | 6280 @DomName('WebGL2RenderingContext.samplerParameteri') |
5930 @DocsEditable() | 6281 @DocsEditable() |
5931 @Experimental() // untriaged | 6282 @Experimental() // untriaged |
5932 void samplerParameteri(Sampler sampler, int pname, int param) => | 6283 void samplerParameteri(Sampler sampler, int pname, int param) => |
5933 _blink.BlinkWebGL2RenderingContext.instance | 6284 _blink.BlinkWebGL2RenderingContext.instance |
5934 .samplerParameteri_Callback_3_(this, sampler, pname, param); | 6285 .samplerParameteri_Callback_3_(this, sampler, pname, param); |
5935 | 6286 |
5936 @DomName('WebGL2RenderingContext.texImage3D') | 6287 @DomName('WebGL2RenderingContext.texImage2D2') |
5937 @DocsEditable() | 6288 @DocsEditable() |
5938 @Experimental() // untriaged | 6289 @Experimental() // untriaged |
| 6290 void texImage2D2(int target, int level, int internalformat, int width, |
| 6291 int height, int border, int format, int type, int offset) => |
| 6292 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_9_( |
| 6293 this, |
| 6294 target, |
| 6295 level, |
| 6296 internalformat, |
| 6297 width, |
| 6298 height, |
| 6299 border, |
| 6300 format, |
| 6301 type, |
| 6302 offset); |
| 6303 |
5939 void texImage3D( | 6304 void texImage3D( |
5940 int target, | 6305 int target, |
5941 int level, | 6306 int level, |
5942 int internalformat, | 6307 int internalformat, |
5943 int width, | 6308 int width, |
5944 int height, | 6309 int height, |
5945 int depth, | 6310 int depth, |
5946 int border, | 6311 int border, |
5947 int format, | 6312 int format, |
5948 int type, | 6313 int type, |
5949 TypedData pixels) => | 6314 offset_OR_pixels) { |
| 6315 if ((offset_OR_pixels is TypedData || offset_OR_pixels == null) && |
| 6316 (type is int) && |
| 6317 (format is int) && |
| 6318 (border is int) && |
| 6319 (depth is int) && |
| 6320 (height is int) && |
| 6321 (width is int) && |
| 6322 (internalformat is int) && |
| 6323 (level is int) && |
| 6324 (target is int)) { |
5950 _blink.BlinkWebGL2RenderingContext.instance.texImage3D_Callback_10_( | 6325 _blink.BlinkWebGL2RenderingContext.instance.texImage3D_Callback_10_( |
5951 this, | 6326 this, |
5952 target, | 6327 target, |
5953 level, | 6328 level, |
5954 internalformat, | 6329 internalformat, |
5955 width, | 6330 width, |
5956 height, | 6331 height, |
5957 depth, | 6332 depth, |
5958 border, | 6333 border, |
5959 format, | 6334 format, |
5960 type, | 6335 type, |
5961 pixels); | 6336 offset_OR_pixels); |
| 6337 return; |
| 6338 } |
| 6339 if ((offset_OR_pixels is int) && |
| 6340 (type is int) && |
| 6341 (format is int) && |
| 6342 (border is int) && |
| 6343 (depth is int) && |
| 6344 (height is int) && |
| 6345 (width is int) && |
| 6346 (internalformat is int) && |
| 6347 (level is int) && |
| 6348 (target is int)) { |
| 6349 _blink.BlinkWebGL2RenderingContext.instance.texImage3D_Callback_10_( |
| 6350 this, |
| 6351 target, |
| 6352 level, |
| 6353 internalformat, |
| 6354 width, |
| 6355 height, |
| 6356 depth, |
| 6357 border, |
| 6358 format, |
| 6359 type, |
| 6360 offset_OR_pixels); |
| 6361 return; |
| 6362 } |
| 6363 throw new ArgumentError("Incorrect number or type of arguments"); |
| 6364 } |
5962 | 6365 |
5963 @DomName('WebGL2RenderingContext.texStorage2D') | 6366 @DomName('WebGL2RenderingContext.texStorage2D') |
5964 @DocsEditable() | 6367 @DocsEditable() |
5965 @Experimental() // untriaged | 6368 @Experimental() // untriaged |
5966 void texStorage2D( | 6369 void texStorage2D( |
5967 int target, int levels, int internalformat, int width, int height) => | 6370 int target, int levels, int internalformat, int width, int height) => |
5968 _blink.BlinkWebGL2RenderingContext.instance.texStorage2D_Callback_5_( | 6371 _blink.BlinkWebGL2RenderingContext.instance.texStorage2D_Callback_5_( |
5969 this, target, levels, internalformat, width, height); | 6372 this, target, levels, internalformat, width, height); |
5970 | 6373 |
5971 @DomName('WebGL2RenderingContext.texStorage3D') | 6374 @DomName('WebGL2RenderingContext.texStorage3D') |
5972 @DocsEditable() | 6375 @DocsEditable() |
5973 @Experimental() // untriaged | 6376 @Experimental() // untriaged |
5974 void texStorage3D(int target, int levels, int internalformat, int width, | 6377 void texStorage3D(int target, int levels, int internalformat, int width, |
5975 int height, int depth) => | 6378 int height, int depth) => |
5976 _blink.BlinkWebGL2RenderingContext.instance.texStorage3D_Callback_6_( | 6379 _blink.BlinkWebGL2RenderingContext.instance.texStorage3D_Callback_6_( |
5977 this, target, levels, internalformat, width, height, depth); | 6380 this, target, levels, internalformat, width, height, depth); |
5978 | 6381 |
5979 void texSubImage3D( | 6382 void texSubImage3D( |
5980 int target, | 6383 int target, |
5981 int level, | 6384 int level, |
5982 int xoffset, | 6385 int xoffset, |
5983 int yoffset, | 6386 int yoffset, |
5984 int zoffset, | 6387 int zoffset, |
5985 int format_OR_width, | 6388 int format_OR_width, |
5986 int height_OR_type, | 6389 int height_OR_type, |
5987 canvas_OR_data_OR_depth_OR_image_OR_video, | 6390 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video, |
5988 [int format, | 6391 [int format, |
5989 int type, | 6392 int type, |
5990 TypedData pixels]) { | 6393 TypedData pixels]) { |
5991 if ((pixels is TypedData || pixels == null) && | 6394 if ((pixels is TypedData || pixels == null) && |
5992 (type is int) && | 6395 (type is int) && |
5993 (format is int) && | 6396 (format is int) && |
5994 (canvas_OR_data_OR_depth_OR_image_OR_video is int) && | 6397 (bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video is int) && |
5995 (height_OR_type is int) && | 6398 (height_OR_type is int) && |
5996 (format_OR_width is int) && | 6399 (format_OR_width is int) && |
5997 (zoffset is int) && | 6400 (zoffset is int) && |
5998 (yoffset is int) && | 6401 (yoffset is int) && |
5999 (xoffset is int) && | 6402 (xoffset is int) && |
6000 (level is int) && | 6403 (level is int) && |
6001 (target is int)) { | 6404 (target is int)) { |
6002 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_11_( | 6405 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_11_( |
6003 this, | 6406 this, |
6004 target, | 6407 target, |
6005 level, | 6408 level, |
6006 xoffset, | 6409 xoffset, |
6007 yoffset, | 6410 yoffset, |
6008 zoffset, | 6411 zoffset, |
6009 format_OR_width, | 6412 format_OR_width, |
6010 height_OR_type, | 6413 height_OR_type, |
6011 canvas_OR_data_OR_depth_OR_image_OR_video, | 6414 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video, |
6012 format, | 6415 format, |
6013 type, | 6416 type, |
6014 pixels); | 6417 pixels); |
6015 return; | 6418 return; |
6016 } | 6419 } |
6017 if ((canvas_OR_data_OR_depth_OR_image_OR_video is ImageData || | 6420 if ((bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video is ImageData || |
6018 canvas_OR_data_OR_depth_OR_image_OR_video == null) && | 6421 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video == null) && |
6019 (height_OR_type is int) && | 6422 (height_OR_type is int) && |
6020 (format_OR_width is int) && | 6423 (format_OR_width is int) && |
6021 (zoffset is int) && | 6424 (zoffset is int) && |
6022 (yoffset is int) && | 6425 (yoffset is int) && |
6023 (xoffset is int) && | 6426 (xoffset is int) && |
6024 (level is int) && | 6427 (level is int) && |
6025 (target is int) && | 6428 (target is int) && |
6026 format == null && | 6429 format == null && |
6027 type == null && | 6430 type == null && |
6028 pixels == null) { | 6431 pixels == null) { |
6029 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_( | 6432 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_( |
6030 this, | 6433 this, |
6031 target, | 6434 target, |
6032 level, | 6435 level, |
6033 xoffset, | 6436 xoffset, |
6034 yoffset, | 6437 yoffset, |
6035 zoffset, | 6438 zoffset, |
6036 format_OR_width, | 6439 format_OR_width, |
6037 height_OR_type, | 6440 height_OR_type, |
6038 canvas_OR_data_OR_depth_OR_image_OR_video); | 6441 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video); |
6039 return; | 6442 return; |
6040 } | 6443 } |
6041 if ((canvas_OR_data_OR_depth_OR_image_OR_video is ImageElement || | 6444 if ((bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video is ImageElement || |
6042 canvas_OR_data_OR_depth_OR_image_OR_video == null) && | 6445 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video == null) && |
6043 (height_OR_type is int) && | 6446 (height_OR_type is int) && |
6044 (format_OR_width is int) && | 6447 (format_OR_width is int) && |
6045 (zoffset is int) && | 6448 (zoffset is int) && |
6046 (yoffset is int) && | 6449 (yoffset is int) && |
6047 (xoffset is int) && | 6450 (xoffset is int) && |
6048 (level is int) && | 6451 (level is int) && |
6049 (target is int) && | 6452 (target is int) && |
6050 format == null && | 6453 format == null && |
6051 type == null && | 6454 type == null && |
6052 pixels == null) { | 6455 pixels == null) { |
6053 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_( | 6456 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_( |
6054 this, | 6457 this, |
6055 target, | 6458 target, |
6056 level, | 6459 level, |
6057 xoffset, | 6460 xoffset, |
6058 yoffset, | 6461 yoffset, |
6059 zoffset, | 6462 zoffset, |
6060 format_OR_width, | 6463 format_OR_width, |
6061 height_OR_type, | 6464 height_OR_type, |
6062 canvas_OR_data_OR_depth_OR_image_OR_video); | 6465 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video); |
6063 return; | 6466 return; |
6064 } | 6467 } |
6065 if ((canvas_OR_data_OR_depth_OR_image_OR_video is CanvasElement || | 6468 if ((bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video is CanvasElement || |
6066 canvas_OR_data_OR_depth_OR_image_OR_video == null) && | 6469 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video == null) && |
6067 (height_OR_type is int) && | 6470 (height_OR_type is int) && |
6068 (format_OR_width is int) && | 6471 (format_OR_width is int) && |
6069 (zoffset is int) && | 6472 (zoffset is int) && |
6070 (yoffset is int) && | 6473 (yoffset is int) && |
6071 (xoffset is int) && | 6474 (xoffset is int) && |
6072 (level is int) && | 6475 (level is int) && |
6073 (target is int) && | 6476 (target is int) && |
6074 format == null && | 6477 format == null && |
6075 type == null && | 6478 type == null && |
6076 pixels == null) { | 6479 pixels == null) { |
6077 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_( | 6480 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_( |
6078 this, | 6481 this, |
6079 target, | 6482 target, |
6080 level, | 6483 level, |
6081 xoffset, | 6484 xoffset, |
6082 yoffset, | 6485 yoffset, |
6083 zoffset, | 6486 zoffset, |
6084 format_OR_width, | 6487 format_OR_width, |
6085 height_OR_type, | 6488 height_OR_type, |
6086 canvas_OR_data_OR_depth_OR_image_OR_video); | 6489 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video); |
6087 return; | 6490 return; |
6088 } | 6491 } |
6089 if ((canvas_OR_data_OR_depth_OR_image_OR_video is VideoElement || | 6492 if ((bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video is VideoElement || |
6090 canvas_OR_data_OR_depth_OR_image_OR_video == null) && | 6493 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video == null) && |
6091 (height_OR_type is int) && | 6494 (height_OR_type is int) && |
6092 (format_OR_width is int) && | 6495 (format_OR_width is int) && |
6093 (zoffset is int) && | 6496 (zoffset is int) && |
6094 (yoffset is int) && | 6497 (yoffset is int) && |
6095 (xoffset is int) && | 6498 (xoffset is int) && |
6096 (level is int) && | 6499 (level is int) && |
6097 (target is int) && | 6500 (target is int) && |
6098 format == null && | 6501 format == null && |
6099 type == null && | 6502 type == null && |
6100 pixels == null) { | 6503 pixels == null) { |
6101 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_( | 6504 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_( |
6102 this, | 6505 this, |
6103 target, | 6506 target, |
6104 level, | 6507 level, |
6105 xoffset, | 6508 xoffset, |
6106 yoffset, | 6509 yoffset, |
6107 zoffset, | 6510 zoffset, |
6108 format_OR_width, | 6511 format_OR_width, |
6109 height_OR_type, | 6512 height_OR_type, |
6110 canvas_OR_data_OR_depth_OR_image_OR_video); | 6513 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video); |
| 6514 return; |
| 6515 } |
| 6516 if ((bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video is ImageBitmap || |
| 6517 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video == null) && |
| 6518 (height_OR_type is int) && |
| 6519 (format_OR_width is int) && |
| 6520 (zoffset is int) && |
| 6521 (yoffset is int) && |
| 6522 (xoffset is int) && |
| 6523 (level is int) && |
| 6524 (target is int) && |
| 6525 format == null && |
| 6526 type == null && |
| 6527 pixels == null) { |
| 6528 _blink.BlinkWebGL2RenderingContext.instance.texSubImage3D_Callback_8_( |
| 6529 this, |
| 6530 target, |
| 6531 level, |
| 6532 xoffset, |
| 6533 yoffset, |
| 6534 zoffset, |
| 6535 format_OR_width, |
| 6536 height_OR_type, |
| 6537 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video); |
6111 return; | 6538 return; |
6112 } | 6539 } |
6113 throw new ArgumentError("Incorrect number or type of arguments"); | 6540 throw new ArgumentError("Incorrect number or type of arguments"); |
6114 } | 6541 } |
6115 | 6542 |
6116 @DomName('WebGL2RenderingContext.transformFeedbackVaryings') | 6543 @DomName('WebGL2RenderingContext.transformFeedbackVaryings') |
6117 @DocsEditable() | 6544 @DocsEditable() |
6118 @Experimental() // untriaged | 6545 @Experimental() // untriaged |
6119 void transformFeedbackVaryings( | 6546 void transformFeedbackVaryings( |
6120 Program program, List<String> varyings, int bufferMode) => | 6547 Program program, List<String> varyings, int bufferMode) => |
6121 _blink.BlinkWebGL2RenderingContext.instance | 6548 _blink.BlinkWebGL2RenderingContext.instance |
6122 .transformFeedbackVaryings_Callback_3_( | 6549 .transformFeedbackVaryings_Callback_3_( |
6123 this, program, varyings, bufferMode); | 6550 this, program, varyings, bufferMode); |
6124 | 6551 |
6125 @DomName('WebGL2RenderingContext.uniform1ui') | 6552 @DomName('WebGL2RenderingContext.uniform1ui') |
6126 @DocsEditable() | 6553 @DocsEditable() |
6127 @Experimental() // untriaged | 6554 @Experimental() // untriaged |
6128 void uniform1ui(UniformLocation location, int v0) => | 6555 void uniform1ui(UniformLocation location, int v0) => |
6129 _blink.BlinkWebGL2RenderingContext.instance | 6556 _blink.BlinkWebGL2RenderingContext.instance |
6130 .uniform1ui_Callback_2_(this, location, v0); | 6557 .uniform1ui_Callback_2_(this, location, v0); |
6131 | 6558 |
6132 @DomName('WebGL2RenderingContext.uniform1uiv') | 6559 void uniform1uiv(UniformLocation location, v) { |
6133 @DocsEditable() | 6560 if ((v is Uint32List) && |
6134 @Experimental() // untriaged | 6561 (location is UniformLocation || location == null)) { |
6135 void uniform1uiv(UniformLocation location, List<int> value) => | |
6136 _blink.BlinkWebGL2RenderingContext.instance | 6562 _blink.BlinkWebGL2RenderingContext.instance |
6137 .uniform1uiv_Callback_2_(this, location, value); | 6563 .uniform1uiv_Callback_2_(this, location, v); |
| 6564 return; |
| 6565 } |
| 6566 if ((v is List<int>) && (location is UniformLocation || location == null)) { |
| 6567 _blink.BlinkWebGL2RenderingContext.instance |
| 6568 .uniform1uiv_Callback_2_(this, location, v); |
| 6569 return; |
| 6570 } |
| 6571 throw new ArgumentError("Incorrect number or type of arguments"); |
| 6572 } |
6138 | 6573 |
6139 @DomName('WebGL2RenderingContext.uniform2ui') | 6574 @DomName('WebGL2RenderingContext.uniform2ui') |
6140 @DocsEditable() | 6575 @DocsEditable() |
6141 @Experimental() // untriaged | 6576 @Experimental() // untriaged |
6142 void uniform2ui(UniformLocation location, int v0, int v1) => | 6577 void uniform2ui(UniformLocation location, int v0, int v1) => |
6143 _blink.BlinkWebGL2RenderingContext.instance | 6578 _blink.BlinkWebGL2RenderingContext.instance |
6144 .uniform2ui_Callback_3_(this, location, v0, v1); | 6579 .uniform2ui_Callback_3_(this, location, v0, v1); |
6145 | 6580 |
6146 @DomName('WebGL2RenderingContext.uniform2uiv') | 6581 void uniform2uiv(UniformLocation location, v) { |
6147 @DocsEditable() | 6582 if ((v is Uint32List) && |
6148 @Experimental() // untriaged | 6583 (location is UniformLocation || location == null)) { |
6149 void uniform2uiv(UniformLocation location, List<int> value) => | |
6150 _blink.BlinkWebGL2RenderingContext.instance | 6584 _blink.BlinkWebGL2RenderingContext.instance |
6151 .uniform2uiv_Callback_2_(this, location, value); | 6585 .uniform2uiv_Callback_2_(this, location, v); |
| 6586 return; |
| 6587 } |
| 6588 if ((v is List<int>) && (location is UniformLocation || location == null)) { |
| 6589 _blink.BlinkWebGL2RenderingContext.instance |
| 6590 .uniform2uiv_Callback_2_(this, location, v); |
| 6591 return; |
| 6592 } |
| 6593 throw new ArgumentError("Incorrect number or type of arguments"); |
| 6594 } |
6152 | 6595 |
6153 @DomName('WebGL2RenderingContext.uniform3ui') | 6596 @DomName('WebGL2RenderingContext.uniform3ui') |
6154 @DocsEditable() | 6597 @DocsEditable() |
6155 @Experimental() // untriaged | 6598 @Experimental() // untriaged |
6156 void uniform3ui(UniformLocation location, int v0, int v1, int v2) => | 6599 void uniform3ui(UniformLocation location, int v0, int v1, int v2) => |
6157 _blink.BlinkWebGL2RenderingContext.instance | 6600 _blink.BlinkWebGL2RenderingContext.instance |
6158 .uniform3ui_Callback_4_(this, location, v0, v1, v2); | 6601 .uniform3ui_Callback_4_(this, location, v0, v1, v2); |
6159 | 6602 |
6160 @DomName('WebGL2RenderingContext.uniform3uiv') | 6603 void uniform3uiv(UniformLocation location, v) { |
6161 @DocsEditable() | 6604 if ((v is Uint32List) && |
6162 @Experimental() // untriaged | 6605 (location is UniformLocation || location == null)) { |
6163 void uniform3uiv(UniformLocation location, List<int> value) => | |
6164 _blink.BlinkWebGL2RenderingContext.instance | 6606 _blink.BlinkWebGL2RenderingContext.instance |
6165 .uniform3uiv_Callback_2_(this, location, value); | 6607 .uniform3uiv_Callback_2_(this, location, v); |
| 6608 return; |
| 6609 } |
| 6610 if ((v is List<int>) && (location is UniformLocation || location == null)) { |
| 6611 _blink.BlinkWebGL2RenderingContext.instance |
| 6612 .uniform3uiv_Callback_2_(this, location, v); |
| 6613 return; |
| 6614 } |
| 6615 throw new ArgumentError("Incorrect number or type of arguments"); |
| 6616 } |
6166 | 6617 |
6167 @DomName('WebGL2RenderingContext.uniform4ui') | 6618 @DomName('WebGL2RenderingContext.uniform4ui') |
6168 @DocsEditable() | 6619 @DocsEditable() |
6169 @Experimental() // untriaged | 6620 @Experimental() // untriaged |
6170 void uniform4ui(UniformLocation location, int v0, int v1, int v2, int v3) => | 6621 void uniform4ui(UniformLocation location, int v0, int v1, int v2, int v3) => |
6171 _blink.BlinkWebGL2RenderingContext.instance | 6622 _blink.BlinkWebGL2RenderingContext.instance |
6172 .uniform4ui_Callback_5_(this, location, v0, v1, v2, v3); | 6623 .uniform4ui_Callback_5_(this, location, v0, v1, v2, v3); |
6173 | 6624 |
6174 @DomName('WebGL2RenderingContext.uniform4uiv') | 6625 void uniform4uiv(UniformLocation location, v) { |
6175 @DocsEditable() | 6626 if ((v is Uint32List) && |
6176 @Experimental() // untriaged | 6627 (location is UniformLocation || location == null)) { |
6177 void uniform4uiv(UniformLocation location, List<int> value) => | |
6178 _blink.BlinkWebGL2RenderingContext.instance | 6628 _blink.BlinkWebGL2RenderingContext.instance |
6179 .uniform4uiv_Callback_2_(this, location, value); | 6629 .uniform4uiv_Callback_2_(this, location, v); |
| 6630 return; |
| 6631 } |
| 6632 if ((v is List<int>) && (location is UniformLocation || location == null)) { |
| 6633 _blink.BlinkWebGL2RenderingContext.instance |
| 6634 .uniform4uiv_Callback_2_(this, location, v); |
| 6635 return; |
| 6636 } |
| 6637 throw new ArgumentError("Incorrect number or type of arguments"); |
| 6638 } |
6180 | 6639 |
6181 @DomName('WebGL2RenderingContext.uniformBlockBinding') | 6640 @DomName('WebGL2RenderingContext.uniformBlockBinding') |
6182 @DocsEditable() | 6641 @DocsEditable() |
6183 @Experimental() // untriaged | 6642 @Experimental() // untriaged |
6184 void uniformBlockBinding( | 6643 void uniformBlockBinding( |
6185 Program program, int uniformBlockIndex, int uniformBlockBinding) => | 6644 Program program, int uniformBlockIndex, int uniformBlockBinding) => |
6186 _blink.BlinkWebGL2RenderingContext.instance | 6645 _blink.BlinkWebGL2RenderingContext.instance |
6187 .uniformBlockBinding_Callback_3_( | 6646 .uniformBlockBinding_Callback_3_( |
6188 this, program, uniformBlockIndex, uniformBlockBinding); | 6647 this, program, uniformBlockIndex, uniformBlockBinding); |
6189 | 6648 |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6302 _blink.BlinkWebGL2RenderingContext.instance | 6761 _blink.BlinkWebGL2RenderingContext.instance |
6303 .vertexAttribDivisor_Callback_2_(this, index, divisor); | 6762 .vertexAttribDivisor_Callback_2_(this, index, divisor); |
6304 | 6763 |
6305 @DomName('WebGL2RenderingContext.vertexAttribI4i') | 6764 @DomName('WebGL2RenderingContext.vertexAttribI4i') |
6306 @DocsEditable() | 6765 @DocsEditable() |
6307 @Experimental() // untriaged | 6766 @Experimental() // untriaged |
6308 void vertexAttribI4i(int index, int x, int y, int z, int w) => | 6767 void vertexAttribI4i(int index, int x, int y, int z, int w) => |
6309 _blink.BlinkWebGL2RenderingContext.instance | 6768 _blink.BlinkWebGL2RenderingContext.instance |
6310 .vertexAttribI4i_Callback_5_(this, index, x, y, z, w); | 6769 .vertexAttribI4i_Callback_5_(this, index, x, y, z, w); |
6311 | 6770 |
6312 @DomName('WebGL2RenderingContext.vertexAttribI4iv') | 6771 void vertexAttribI4iv(int index, v) { |
6313 @DocsEditable() | 6772 if ((v is Int32List) && (index is int)) { |
6314 @Experimental() // untriaged | |
6315 void vertexAttribI4iv(int index, List<int> v) => | |
6316 _blink.BlinkWebGL2RenderingContext.instance | 6773 _blink.BlinkWebGL2RenderingContext.instance |
6317 .vertexAttribI4iv_Callback_2_(this, index, v); | 6774 .vertexAttribI4iv_Callback_2_(this, index, v); |
| 6775 return; |
| 6776 } |
| 6777 if ((v is List<int>) && (index is int)) { |
| 6778 _blink.BlinkWebGL2RenderingContext.instance |
| 6779 .vertexAttribI4iv_Callback_2_(this, index, v); |
| 6780 return; |
| 6781 } |
| 6782 throw new ArgumentError("Incorrect number or type of arguments"); |
| 6783 } |
6318 | 6784 |
6319 @DomName('WebGL2RenderingContext.vertexAttribI4ui') | 6785 @DomName('WebGL2RenderingContext.vertexAttribI4ui') |
6320 @DocsEditable() | 6786 @DocsEditable() |
6321 @Experimental() // untriaged | 6787 @Experimental() // untriaged |
6322 void vertexAttribI4ui(int index, int x, int y, int z, int w) => | 6788 void vertexAttribI4ui(int index, int x, int y, int z, int w) => |
6323 _blink.BlinkWebGL2RenderingContext.instance | 6789 _blink.BlinkWebGL2RenderingContext.instance |
6324 .vertexAttribI4ui_Callback_5_(this, index, x, y, z, w); | 6790 .vertexAttribI4ui_Callback_5_(this, index, x, y, z, w); |
6325 | 6791 |
6326 @DomName('WebGL2RenderingContext.vertexAttribI4uiv') | 6792 void vertexAttribI4uiv(int index, v) { |
6327 @DocsEditable() | 6793 if ((v is Uint32List) && (index is int)) { |
6328 @Experimental() // untriaged | |
6329 void vertexAttribI4uiv(int index, List<int> v) => | |
6330 _blink.BlinkWebGL2RenderingContext.instance | 6794 _blink.BlinkWebGL2RenderingContext.instance |
6331 .vertexAttribI4uiv_Callback_2_(this, index, v); | 6795 .vertexAttribI4uiv_Callback_2_(this, index, v); |
| 6796 return; |
| 6797 } |
| 6798 if ((v is List<int>) && (index is int)) { |
| 6799 _blink.BlinkWebGL2RenderingContext.instance |
| 6800 .vertexAttribI4uiv_Callback_2_(this, index, v); |
| 6801 return; |
| 6802 } |
| 6803 throw new ArgumentError("Incorrect number or type of arguments"); |
| 6804 } |
6332 | 6805 |
6333 @DomName('WebGL2RenderingContext.vertexAttribIPointer') | 6806 @DomName('WebGL2RenderingContext.vertexAttribIPointer') |
6334 @DocsEditable() | 6807 @DocsEditable() |
6335 @Experimental() // untriaged | 6808 @Experimental() // untriaged |
6336 void vertexAttribIPointer( | 6809 void vertexAttribIPointer( |
6337 int index, int size, int type, int stride, int offset) => | 6810 int index, int size, int type, int stride, int offset) => |
6338 _blink.BlinkWebGL2RenderingContext.instance | 6811 _blink.BlinkWebGL2RenderingContext.instance |
6339 .vertexAttribIPointer_Callback_5_( | 6812 .vertexAttribIPointer_Callback_5_( |
6340 this, index, size, type, stride, offset); | 6813 this, index, size, type, stride, offset); |
6341 | 6814 |
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7080 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => | 7553 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => |
7081 _blink.BlinkWebGL2RenderingContext.instance | 7554 _blink.BlinkWebGL2RenderingContext.instance |
7082 .stencilOpSeparate_Callback_4_(this, face, fail, zfail, zpass); | 7555 .stencilOpSeparate_Callback_4_(this, face, fail, zfail, zpass); |
7083 | 7556 |
7084 void texImage2D( | 7557 void texImage2D( |
7085 int target, | 7558 int target, |
7086 int level, | 7559 int level, |
7087 int internalformat, | 7560 int internalformat, |
7088 int format_OR_width, | 7561 int format_OR_width, |
7089 int height_OR_type, | 7562 int height_OR_type, |
7090 border_OR_canvas_OR_image_OR_pixels_OR_video, | 7563 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, |
7091 [int format, | 7564 [int format, |
7092 int type, | 7565 int type, |
7093 TypedData pixels]) { | 7566 TypedData pixels]) { |
7094 if ((pixels is TypedData || pixels == null) && | 7567 if ((pixels is TypedData || pixels == null) && |
7095 (type is int) && | 7568 (type is int) && |
7096 (format is int) && | 7569 (format is int) && |
7097 (border_OR_canvas_OR_image_OR_pixels_OR_video is int) && | 7570 (bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video is int) && |
7098 (height_OR_type is int) && | 7571 (height_OR_type is int) && |
7099 (format_OR_width is int) && | 7572 (format_OR_width is int) && |
7100 (internalformat is int) && | 7573 (internalformat is int) && |
7101 (level is int) && | 7574 (level is int) && |
7102 (target is int)) { | 7575 (target is int)) { |
7103 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_9_( | 7576 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_9_( |
7104 this, | 7577 this, |
7105 target, | 7578 target, |
7106 level, | 7579 level, |
7107 internalformat, | 7580 internalformat, |
7108 format_OR_width, | 7581 format_OR_width, |
7109 height_OR_type, | 7582 height_OR_type, |
7110 border_OR_canvas_OR_image_OR_pixels_OR_video, | 7583 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video, |
7111 format, | 7584 format, |
7112 type, | 7585 type, |
7113 pixels); | 7586 pixels); |
7114 return; | 7587 return; |
7115 } | 7588 } |
7116 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || | 7589 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || |
7117 border_OR_canvas_OR_image_OR_pixels_OR_video == null) && | 7590 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video == null) && |
7118 (height_OR_type is int) && | 7591 (height_OR_type is int) && |
7119 (format_OR_width is int) && | 7592 (format_OR_width is int) && |
7120 (internalformat is int) && | 7593 (internalformat is int) && |
7121 (level is int) && | 7594 (level is int) && |
7122 (target is int) && | 7595 (target is int) && |
7123 format == null && | 7596 format == null && |
7124 type == null && | 7597 type == null && |
7125 pixels == null) { | 7598 pixels == null) { |
7126 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_( | 7599 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_( |
7127 this, | 7600 this, |
7128 target, | 7601 target, |
7129 level, | 7602 level, |
7130 internalformat, | 7603 internalformat, |
7131 format_OR_width, | 7604 format_OR_width, |
7132 height_OR_type, | 7605 height_OR_type, |
7133 border_OR_canvas_OR_image_OR_pixels_OR_video); | 7606 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); |
7134 return; | 7607 return; |
7135 } | 7608 } |
7136 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement) && | 7609 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video |
| 7610 is ImageElement) && |
7137 (height_OR_type is int) && | 7611 (height_OR_type is int) && |
7138 (format_OR_width is int) && | 7612 (format_OR_width is int) && |
7139 (internalformat is int) && | 7613 (internalformat is int) && |
7140 (level is int) && | 7614 (level is int) && |
7141 (target is int) && | 7615 (target is int) && |
7142 format == null && | 7616 format == null && |
7143 type == null && | 7617 type == null && |
7144 pixels == null) { | 7618 pixels == null) { |
7145 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_( | 7619 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_( |
7146 this, | 7620 this, |
7147 target, | 7621 target, |
7148 level, | 7622 level, |
7149 internalformat, | 7623 internalformat, |
7150 format_OR_width, | 7624 format_OR_width, |
7151 height_OR_type, | 7625 height_OR_type, |
7152 border_OR_canvas_OR_image_OR_pixels_OR_video); | 7626 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); |
7153 return; | 7627 return; |
7154 } | 7628 } |
7155 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement) && | 7629 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video |
| 7630 is CanvasElement) && |
7156 (height_OR_type is int) && | 7631 (height_OR_type is int) && |
7157 (format_OR_width is int) && | 7632 (format_OR_width is int) && |
7158 (internalformat is int) && | 7633 (internalformat is int) && |
7159 (level is int) && | 7634 (level is int) && |
7160 (target is int) && | 7635 (target is int) && |
7161 format == null && | 7636 format == null && |
7162 type == null && | 7637 type == null && |
7163 pixels == null) { | 7638 pixels == null) { |
7164 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_( | 7639 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_( |
7165 this, | 7640 this, |
7166 target, | 7641 target, |
7167 level, | 7642 level, |
7168 internalformat, | 7643 internalformat, |
7169 format_OR_width, | 7644 format_OR_width, |
7170 height_OR_type, | 7645 height_OR_type, |
7171 border_OR_canvas_OR_image_OR_pixels_OR_video); | 7646 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); |
7172 return; | 7647 return; |
7173 } | 7648 } |
7174 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement) && | 7649 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video |
| 7650 is VideoElement) && |
7175 (height_OR_type is int) && | 7651 (height_OR_type is int) && |
7176 (format_OR_width is int) && | 7652 (format_OR_width is int) && |
7177 (internalformat is int) && | 7653 (internalformat is int) && |
7178 (level is int) && | 7654 (level is int) && |
7179 (target is int) && | 7655 (target is int) && |
7180 format == null && | 7656 format == null && |
7181 type == null && | 7657 type == null && |
7182 pixels == null) { | 7658 pixels == null) { |
7183 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_( | 7659 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_( |
7184 this, | 7660 this, |
7185 target, | 7661 target, |
7186 level, | 7662 level, |
7187 internalformat, | 7663 internalformat, |
7188 format_OR_width, | 7664 format_OR_width, |
7189 height_OR_type, | 7665 height_OR_type, |
7190 border_OR_canvas_OR_image_OR_pixels_OR_video); | 7666 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 7667 return; |
| 7668 } |
| 7669 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video |
| 7670 is ImageBitmap) && |
| 7671 (height_OR_type is int) && |
| 7672 (format_OR_width is int) && |
| 7673 (internalformat is int) && |
| 7674 (level is int) && |
| 7675 (target is int) && |
| 7676 format == null && |
| 7677 type == null && |
| 7678 pixels == null) { |
| 7679 _blink.BlinkWebGL2RenderingContext.instance.texImage2D_Callback_6_( |
| 7680 this, |
| 7681 target, |
| 7682 level, |
| 7683 internalformat, |
| 7684 format_OR_width, |
| 7685 height_OR_type, |
| 7686 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); |
7191 return; | 7687 return; |
7192 } | 7688 } |
7193 throw new ArgumentError("Incorrect number or type of arguments"); | 7689 throw new ArgumentError("Incorrect number or type of arguments"); |
7194 } | 7690 } |
7195 | 7691 |
7196 @DomName('WebGL2RenderingContext.texParameterf') | 7692 @DomName('WebGL2RenderingContext.texParameterf') |
7197 @DocsEditable() | 7693 @DocsEditable() |
7198 @Experimental() // untriaged | 7694 @Experimental() // untriaged |
7199 void texParameterf(int target, int pname, num param) => | 7695 void texParameterf(int target, int pname, num param) => |
7200 _blink.BlinkWebGL2RenderingContext.instance | 7696 _blink.BlinkWebGL2RenderingContext.instance |
7201 .texParameterf_Callback_3_(this, target, pname, param); | 7697 .texParameterf_Callback_3_(this, target, pname, param); |
7202 | 7698 |
7203 @DomName('WebGL2RenderingContext.texParameteri') | 7699 @DomName('WebGL2RenderingContext.texParameteri') |
7204 @DocsEditable() | 7700 @DocsEditable() |
7205 @Experimental() // untriaged | 7701 @Experimental() // untriaged |
7206 void texParameteri(int target, int pname, int param) => | 7702 void texParameteri(int target, int pname, int param) => |
7207 _blink.BlinkWebGL2RenderingContext.instance | 7703 _blink.BlinkWebGL2RenderingContext.instance |
7208 .texParameteri_Callback_3_(this, target, pname, param); | 7704 .texParameteri_Callback_3_(this, target, pname, param); |
7209 | 7705 |
7210 void texSubImage2D( | 7706 void texSubImage2D( |
7211 int target, | 7707 int target, |
7212 int level, | 7708 int level, |
7213 int xoffset, | 7709 int xoffset, |
7214 int yoffset, | 7710 int yoffset, |
7215 int format_OR_width, | 7711 int format_OR_width, |
7216 int height_OR_type, | 7712 int height_OR_type, |
7217 canvas_OR_format_OR_image_OR_pixels_OR_video, | 7713 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, |
7218 [int type, | 7714 [int type, |
7219 TypedData pixels]) { | 7715 TypedData pixels]) { |
7220 if ((pixels is TypedData || pixels == null) && | 7716 if ((pixels is TypedData || pixels == null) && |
7221 (type is int) && | 7717 (type is int) && |
7222 (canvas_OR_format_OR_image_OR_pixels_OR_video is int) && | 7718 (bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video is int) && |
7223 (height_OR_type is int) && | 7719 (height_OR_type is int) && |
7224 (format_OR_width is int) && | 7720 (format_OR_width is int) && |
7225 (yoffset is int) && | 7721 (yoffset is int) && |
7226 (xoffset is int) && | 7722 (xoffset is int) && |
7227 (level is int) && | 7723 (level is int) && |
7228 (target is int)) { | 7724 (target is int)) { |
7229 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_9_( | 7725 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_9_( |
7230 this, | 7726 this, |
7231 target, | 7727 target, |
7232 level, | 7728 level, |
7233 xoffset, | 7729 xoffset, |
7234 yoffset, | 7730 yoffset, |
7235 format_OR_width, | 7731 format_OR_width, |
7236 height_OR_type, | 7732 height_OR_type, |
7237 canvas_OR_format_OR_image_OR_pixels_OR_video, | 7733 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video, |
7238 type, | 7734 type, |
7239 pixels); | 7735 pixels); |
7240 return; | 7736 return; |
7241 } | 7737 } |
7242 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || | 7738 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || |
7243 canvas_OR_format_OR_image_OR_pixels_OR_video == null) && | 7739 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video == null) && |
7244 (height_OR_type is int) && | 7740 (height_OR_type is int) && |
7245 (format_OR_width is int) && | 7741 (format_OR_width is int) && |
7246 (yoffset is int) && | 7742 (yoffset is int) && |
7247 (xoffset is int) && | 7743 (xoffset is int) && |
7248 (level is int) && | 7744 (level is int) && |
7249 (target is int) && | 7745 (target is int) && |
7250 type == null && | 7746 type == null && |
7251 pixels == null) { | 7747 pixels == null) { |
7252 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_( | 7748 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_( |
7253 this, | 7749 this, |
7254 target, | 7750 target, |
7255 level, | 7751 level, |
7256 xoffset, | 7752 xoffset, |
7257 yoffset, | 7753 yoffset, |
7258 format_OR_width, | 7754 format_OR_width, |
7259 height_OR_type, | 7755 height_OR_type, |
7260 canvas_OR_format_OR_image_OR_pixels_OR_video); | 7756 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); |
7261 return; | 7757 return; |
7262 } | 7758 } |
7263 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement) && | 7759 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video |
| 7760 is ImageElement) && |
7264 (height_OR_type is int) && | 7761 (height_OR_type is int) && |
7265 (format_OR_width is int) && | 7762 (format_OR_width is int) && |
7266 (yoffset is int) && | 7763 (yoffset is int) && |
7267 (xoffset is int) && | 7764 (xoffset is int) && |
7268 (level is int) && | 7765 (level is int) && |
7269 (target is int) && | 7766 (target is int) && |
7270 type == null && | 7767 type == null && |
7271 pixels == null) { | 7768 pixels == null) { |
7272 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_( | 7769 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_( |
7273 this, | 7770 this, |
7274 target, | 7771 target, |
7275 level, | 7772 level, |
7276 xoffset, | 7773 xoffset, |
7277 yoffset, | 7774 yoffset, |
7278 format_OR_width, | 7775 format_OR_width, |
7279 height_OR_type, | 7776 height_OR_type, |
7280 canvas_OR_format_OR_image_OR_pixels_OR_video); | 7777 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); |
7281 return; | 7778 return; |
7282 } | 7779 } |
7283 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement) && | 7780 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video |
| 7781 is CanvasElement) && |
7284 (height_OR_type is int) && | 7782 (height_OR_type is int) && |
7285 (format_OR_width is int) && | 7783 (format_OR_width is int) && |
7286 (yoffset is int) && | 7784 (yoffset is int) && |
7287 (xoffset is int) && | 7785 (xoffset is int) && |
7288 (level is int) && | 7786 (level is int) && |
7289 (target is int) && | 7787 (target is int) && |
7290 type == null && | 7788 type == null && |
7291 pixels == null) { | 7789 pixels == null) { |
7292 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_( | 7790 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_( |
7293 this, | 7791 this, |
7294 target, | 7792 target, |
7295 level, | 7793 level, |
7296 xoffset, | 7794 xoffset, |
7297 yoffset, | 7795 yoffset, |
7298 format_OR_width, | 7796 format_OR_width, |
7299 height_OR_type, | 7797 height_OR_type, |
7300 canvas_OR_format_OR_image_OR_pixels_OR_video); | 7798 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); |
7301 return; | 7799 return; |
7302 } | 7800 } |
7303 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement) && | 7801 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video |
| 7802 is VideoElement) && |
7304 (height_OR_type is int) && | 7803 (height_OR_type is int) && |
7305 (format_OR_width is int) && | 7804 (format_OR_width is int) && |
7306 (yoffset is int) && | 7805 (yoffset is int) && |
7307 (xoffset is int) && | 7806 (xoffset is int) && |
7308 (level is int) && | 7807 (level is int) && |
7309 (target is int) && | 7808 (target is int) && |
7310 type == null && | 7809 type == null && |
7311 pixels == null) { | 7810 pixels == null) { |
7312 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_( | 7811 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_( |
7313 this, | 7812 this, |
7314 target, | 7813 target, |
7315 level, | 7814 level, |
7316 xoffset, | 7815 xoffset, |
7317 yoffset, | 7816 yoffset, |
7318 format_OR_width, | 7817 format_OR_width, |
7319 height_OR_type, | 7818 height_OR_type, |
7320 canvas_OR_format_OR_image_OR_pixels_OR_video); | 7819 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 7820 return; |
| 7821 } |
| 7822 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video |
| 7823 is ImageBitmap) && |
| 7824 (height_OR_type is int) && |
| 7825 (format_OR_width is int) && |
| 7826 (yoffset is int) && |
| 7827 (xoffset is int) && |
| 7828 (level is int) && |
| 7829 (target is int) && |
| 7830 type == null && |
| 7831 pixels == null) { |
| 7832 _blink.BlinkWebGL2RenderingContext.instance.texSubImage2D_Callback_7_( |
| 7833 this, |
| 7834 target, |
| 7835 level, |
| 7836 xoffset, |
| 7837 yoffset, |
| 7838 format_OR_width, |
| 7839 height_OR_type, |
| 7840 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); |
7321 return; | 7841 return; |
7322 } | 7842 } |
7323 throw new ArgumentError("Incorrect number or type of arguments"); | 7843 throw new ArgumentError("Incorrect number or type of arguments"); |
7324 } | 7844 } |
7325 | 7845 |
7326 @DomName('WebGL2RenderingContext.uniform1f') | 7846 @DomName('WebGL2RenderingContext.uniform1f') |
7327 @DocsEditable() | 7847 @DocsEditable() |
7328 @Experimental() // untriaged | 7848 @Experimental() // untriaged |
7329 void uniform1f(UniformLocation location, num x) => | 7849 void uniform1f(UniformLocation location, num x) => |
7330 _blink.BlinkWebGL2RenderingContext.instance | 7850 _blink.BlinkWebGL2RenderingContext.instance |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7780 @Deprecated("Internal Use Only") | 8300 @Deprecated("Internal Use Only") |
7781 Texture.internal_() {} | 8301 Texture.internal_() {} |
7782 } | 8302 } |
7783 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 8303 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7784 // for details. All rights reserved. Use of this source code is governed by a | 8304 // for details. All rights reserved. Use of this source code is governed by a |
7785 // BSD-style license that can be found in the LICENSE file. | 8305 // BSD-style license that can be found in the LICENSE file. |
7786 | 8306 |
7787 // WARNING: Do not edit - generated code. | 8307 // WARNING: Do not edit - generated code. |
7788 | 8308 |
7789 @DocsEditable() | 8309 @DocsEditable() |
| 8310 @DomName('WebGLTimerQueryEXT') |
| 8311 @Experimental() // untriaged |
| 8312 class TimerQueryExt extends DartHtmlDomObject { |
| 8313 // To suppress missing implicit constructor warnings. |
| 8314 factory TimerQueryExt._() { |
| 8315 throw new UnsupportedError("Not supported"); |
| 8316 } |
| 8317 |
| 8318 @Deprecated("Internal Use Only") |
| 8319 external static Type get instanceRuntimeType; |
| 8320 |
| 8321 @Deprecated("Internal Use Only") |
| 8322 TimerQueryExt.internal_() {} |
| 8323 } |
| 8324 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 8325 // for details. All rights reserved. Use of this source code is governed by a |
| 8326 // BSD-style license that can be found in the LICENSE file. |
| 8327 |
| 8328 // WARNING: Do not edit - generated code. |
| 8329 |
| 8330 @DocsEditable() |
7790 @DomName('WebGLTransformFeedback') | 8331 @DomName('WebGLTransformFeedback') |
7791 @Experimental() // untriaged | 8332 @Experimental() // untriaged |
7792 class TransformFeedback extends DartHtmlDomObject { | 8333 class TransformFeedback extends DartHtmlDomObject { |
7793 // To suppress missing implicit constructor warnings. | 8334 // To suppress missing implicit constructor warnings. |
7794 factory TransformFeedback._() { | 8335 factory TransformFeedback._() { |
7795 throw new UnsupportedError("Not supported"); | 8336 throw new UnsupportedError("Not supported"); |
7796 } | 8337 } |
7797 | 8338 |
7798 @Deprecated("Internal Use Only") | 8339 @Deprecated("Internal Use Only") |
7799 external static Type get instanceRuntimeType; | 8340 external static Type get instanceRuntimeType; |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7894 | 8435 |
7895 @DocsEditable() | 8436 @DocsEditable() |
7896 @DomName('WebGLRenderingContextBase') | 8437 @DomName('WebGLRenderingContextBase') |
7897 @Experimental() // untriaged | 8438 @Experimental() // untriaged |
7898 class _WebGLRenderingContextBase extends DartHtmlDomObject { | 8439 class _WebGLRenderingContextBase extends DartHtmlDomObject { |
7899 // To suppress missing implicit constructor warnings. | 8440 // To suppress missing implicit constructor warnings. |
7900 factory _WebGLRenderingContextBase._() { | 8441 factory _WebGLRenderingContextBase._() { |
7901 throw new UnsupportedError("Not supported"); | 8442 throw new UnsupportedError("Not supported"); |
7902 } | 8443 } |
7903 } | 8444 } |
OLD | NEW |