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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 final int type; | 347 final int type; |
348 } | 348 } |
349 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 349 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
350 // for details. All rights reserved. Use of this source code is governed by a | 350 // for details. All rights reserved. Use of this source code is governed by a |
351 // BSD-style license that can be found in the LICENSE file. | 351 // BSD-style license that can be found in the LICENSE file. |
352 | 352 |
353 | 353 |
354 @DocsEditable() | 354 @DocsEditable() |
355 @DomName('ANGLEInstancedArrays') | 355 @DomName('ANGLEInstancedArrays') |
356 @Experimental() // untriaged | 356 @Experimental() // untriaged |
357 @Native("ANGLEInstancedArrays") | 357 @Native("ANGLEInstancedArrays,ANGLE_instanced_arrays") |
358 class AngleInstancedArrays extends Interceptor { | 358 class AngleInstancedArrays extends Interceptor { |
359 // To suppress missing implicit constructor warnings. | 359 // To suppress missing implicit constructor warnings. |
360 factory AngleInstancedArrays._() { throw new UnsupportedError("Not supported")
; } | 360 factory AngleInstancedArrays._() { throw new UnsupportedError("Not supported")
; } |
361 | 361 |
362 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE') | 362 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE') |
363 @DocsEditable() | 363 @DocsEditable() |
364 @Experimental() // untriaged | 364 @Experimental() // untriaged |
365 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; | 365 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; |
366 | 366 |
367 @JSName('drawArraysInstancedANGLE') | 367 @JSName('drawArraysInstancedANGLE') |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 } | 462 } |
463 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 463 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
464 // for details. All rights reserved. Use of this source code is governed by a | 464 // for details. All rights reserved. Use of this source code is governed by a |
465 // BSD-style license that can be found in the LICENSE file. | 465 // BSD-style license that can be found in the LICENSE file. |
466 | 466 |
467 | 467 |
468 @DocsEditable() | 468 @DocsEditable() |
469 @DomName('WebGLCompressedTextureATC') | 469 @DomName('WebGLCompressedTextureATC') |
470 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc
/ | 470 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc
/ |
471 @Experimental() | 471 @Experimental() |
472 @Native("WebGLCompressedTextureATC") | 472 @Native("WebGLCompressedTextureATC,WEBGL_compressed_texture_atc") |
473 class CompressedTextureAtc extends Interceptor { | 473 class CompressedTextureAtc extends Interceptor { |
474 // To suppress missing implicit constructor warnings. | 474 // To suppress missing implicit constructor warnings. |
475 factory CompressedTextureAtc._() { throw new UnsupportedError("Not supported")
; } | 475 factory CompressedTextureAtc._() { throw new UnsupportedError("Not supported")
; } |
476 | 476 |
477 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL') | 477 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL') |
478 @DocsEditable() | 478 @DocsEditable() |
479 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93; | 479 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93; |
480 | 480 |
481 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEB
GL') | 481 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEB
GL') |
482 @DocsEditable() | 482 @DocsEditable() |
483 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE; | 483 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE; |
484 | 484 |
485 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL') | 485 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL') |
486 @DocsEditable() | 486 @DocsEditable() |
487 static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92; | 487 static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92; |
488 } | 488 } |
489 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 489 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
490 // for details. All rights reserved. Use of this source code is governed by a | 490 // for details. All rights reserved. Use of this source code is governed by a |
491 // BSD-style license that can be found in the LICENSE file. | 491 // BSD-style license that can be found in the LICENSE file. |
492 | 492 |
493 | 493 |
494 @DocsEditable() | 494 @DocsEditable() |
495 @DomName('WebGLCompressedTextureETC1') | 495 @DomName('WebGLCompressedTextureETC1') |
496 @Experimental() // untriaged | 496 @Experimental() // untriaged |
497 @Native("WebGLCompressedTextureETC1") | 497 @Native("WebGLCompressedTextureETC1,WEBGL_compressed_texture_etc1") |
498 class CompressedTextureETC1 extends Interceptor { | 498 class CompressedTextureETC1 extends Interceptor { |
499 // To suppress missing implicit constructor warnings. | 499 // To suppress missing implicit constructor warnings. |
500 factory CompressedTextureETC1._() { throw new UnsupportedError("Not supported"
); } | 500 factory CompressedTextureETC1._() { throw new UnsupportedError("Not supported"
); } |
501 | 501 |
502 @DomName('WebGLCompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL') | 502 @DomName('WebGLCompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL') |
503 @DocsEditable() | 503 @DocsEditable() |
504 @Experimental() // untriaged | 504 @Experimental() // untriaged |
505 static const int COMPRESSED_RGB_ETC1_WEBGL = 0x8D64; | 505 static const int COMPRESSED_RGB_ETC1_WEBGL = 0x8D64; |
506 } | 506 } |
507 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 507 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
508 // for details. All rights reserved. Use of this source code is governed by a | 508 // for details. All rights reserved. Use of this source code is governed by a |
509 // BSD-style license that can be found in the LICENSE file. | 509 // BSD-style license that can be found in the LICENSE file. |
510 | 510 |
511 | 511 |
512 @DocsEditable() | 512 @DocsEditable() |
513 @DomName('WebGLCompressedTexturePVRTC') | 513 @DomName('WebGLCompressedTexturePVRTC') |
514 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvr
tc/ | 514 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvr
tc/ |
515 @Experimental() // experimental | 515 @Experimental() // experimental |
516 @Native("WebGLCompressedTexturePVRTC") | 516 @Native("WebGLCompressedTexturePVRTC,WEBGL_compressed_texture_pvrtc") |
517 class CompressedTexturePvrtc extends Interceptor { | 517 class CompressedTexturePvrtc extends Interceptor { |
518 // To suppress missing implicit constructor warnings. | 518 // To suppress missing implicit constructor warnings. |
519 factory CompressedTexturePvrtc._() { throw new UnsupportedError("Not supported
"); } | 519 factory CompressedTexturePvrtc._() { throw new UnsupportedError("Not supported
"); } |
520 | 520 |
521 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG') | 521 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG') |
522 @DocsEditable() | 522 @DocsEditable() |
523 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03; | 523 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03; |
524 | 524 |
525 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG') | 525 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG') |
526 @DocsEditable() | 526 @DocsEditable() |
527 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02; | 527 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02; |
528 | 528 |
529 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG') | 529 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG') |
530 @DocsEditable() | 530 @DocsEditable() |
531 static const int COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01; | 531 static const int COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01; |
532 | 532 |
533 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_4BPPV1_IMG') | 533 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_4BPPV1_IMG') |
534 @DocsEditable() | 534 @DocsEditable() |
535 static const int COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00; | 535 static const int COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00; |
536 } | 536 } |
537 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 537 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
538 // for details. All rights reserved. Use of this source code is governed by a | 538 // for details. All rights reserved. Use of this source code is governed by a |
539 // BSD-style license that can be found in the LICENSE file. | 539 // BSD-style license that can be found in the LICENSE file. |
540 | 540 |
541 | 541 |
542 @DocsEditable() | 542 @DocsEditable() |
543 @DomName('WebGLCompressedTextureS3TC') | 543 @DomName('WebGLCompressedTextureS3TC') |
544 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3t
c/ | 544 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3t
c/ |
545 @Experimental() // experimental | 545 @Experimental() // experimental |
546 @Native("WebGLCompressedTextureS3TC") | 546 @Native("WebGLCompressedTextureS3TC,WEBGL_compressed_texture_s3tc") |
547 class CompressedTextureS3TC extends Interceptor { | 547 class CompressedTextureS3TC extends Interceptor { |
548 // To suppress missing implicit constructor warnings. | 548 // To suppress missing implicit constructor warnings. |
549 factory CompressedTextureS3TC._() { throw new UnsupportedError("Not supported"
); } | 549 factory CompressedTextureS3TC._() { throw new UnsupportedError("Not supported"
); } |
550 | 550 |
551 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT') | 551 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT') |
552 @DocsEditable() | 552 @DocsEditable() |
553 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; | 553 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; |
554 | 554 |
555 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT') | 555 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT') |
556 @DocsEditable() | 556 @DocsEditable() |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
595 } | 595 } |
596 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 596 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
597 // for details. All rights reserved. Use of this source code is governed by a | 597 // for details. All rights reserved. Use of this source code is governed by a |
598 // BSD-style license that can be found in the LICENSE file. | 598 // BSD-style license that can be found in the LICENSE file. |
599 | 599 |
600 | 600 |
601 @DocsEditable() | 601 @DocsEditable() |
602 @DomName('WebGLDebugRendererInfo') | 602 @DomName('WebGLDebugRendererInfo') |
603 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/ | 603 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/ |
604 @Experimental() // experimental | 604 @Experimental() // experimental |
605 @Native("WebGLDebugRendererInfo") | 605 @Native("WebGLDebugRendererInfo,WEBGL_debug_renderer_info") |
606 class DebugRendererInfo extends Interceptor { | 606 class DebugRendererInfo extends Interceptor { |
607 // To suppress missing implicit constructor warnings. | 607 // To suppress missing implicit constructor warnings. |
608 factory DebugRendererInfo._() { throw new UnsupportedError("Not supported"); } | 608 factory DebugRendererInfo._() { throw new UnsupportedError("Not supported"); } |
609 | 609 |
610 @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL') | 610 @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL') |
611 @DocsEditable() | 611 @DocsEditable() |
612 static const int UNMASKED_RENDERER_WEBGL = 0x9246; | 612 static const int UNMASKED_RENDERER_WEBGL = 0x9246; |
613 | 613 |
614 @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL') | 614 @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL') |
615 @DocsEditable() | 615 @DocsEditable() |
616 static const int UNMASKED_VENDOR_WEBGL = 0x9245; | 616 static const int UNMASKED_VENDOR_WEBGL = 0x9245; |
617 } | 617 } |
618 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 618 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
619 // for details. All rights reserved. Use of this source code is governed by a | 619 // for details. All rights reserved. Use of this source code is governed by a |
620 // BSD-style license that can be found in the LICENSE file. | 620 // BSD-style license that can be found in the LICENSE file. |
621 | 621 |
622 | 622 |
623 @DocsEditable() | 623 @DocsEditable() |
624 @DomName('WebGLDebugShaders') | 624 @DomName('WebGLDebugShaders') |
625 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/ | 625 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/ |
626 @Experimental() // experimental | 626 @Experimental() // experimental |
627 @Native("WebGLDebugShaders") | 627 @Native("WebGLDebugShaders,WEBGL_debug_shaders") |
628 class DebugShaders extends Interceptor { | 628 class DebugShaders extends Interceptor { |
629 // To suppress missing implicit constructor warnings. | 629 // To suppress missing implicit constructor warnings. |
630 factory DebugShaders._() { throw new UnsupportedError("Not supported"); } | 630 factory DebugShaders._() { throw new UnsupportedError("Not supported"); } |
631 | 631 |
632 @DomName('WebGLDebugShaders.getTranslatedShaderSource') | 632 @DomName('WebGLDebugShaders.getTranslatedShaderSource') |
633 @DocsEditable() | 633 @DocsEditable() |
634 String getTranslatedShaderSource(Shader shader) native; | 634 String getTranslatedShaderSource(Shader shader) native; |
635 } | 635 } |
636 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 636 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
637 // for details. All rights reserved. Use of this source code is governed by a | 637 // for details. All rights reserved. Use of this source code is governed by a |
638 // BSD-style license that can be found in the LICENSE file. | 638 // BSD-style license that can be found in the LICENSE file. |
639 | 639 |
640 | 640 |
641 @DocsEditable() | 641 @DocsEditable() |
642 @DomName('WebGLDepthTexture') | 642 @DomName('WebGLDepthTexture') |
643 // http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/ | 643 // http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/ |
644 @Experimental() // experimental | 644 @Experimental() // experimental |
645 @Native("WebGLDepthTexture") | 645 @Native("WebGLDepthTexture,WEBGL_depth_texture") |
646 class DepthTexture extends Interceptor { | 646 class DepthTexture extends Interceptor { |
647 // To suppress missing implicit constructor warnings. | 647 // To suppress missing implicit constructor warnings. |
648 factory DepthTexture._() { throw new UnsupportedError("Not supported"); } | 648 factory DepthTexture._() { throw new UnsupportedError("Not supported"); } |
649 | 649 |
650 @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL') | 650 @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL') |
651 @DocsEditable() | 651 @DocsEditable() |
652 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA; | 652 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA; |
653 } | 653 } |
654 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 654 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
655 // for details. All rights reserved. Use of this source code is governed by a | 655 // for details. All rights reserved. Use of this source code is governed by a |
656 // BSD-style license that can be found in the LICENSE file. | 656 // BSD-style license that can be found in the LICENSE file. |
657 | 657 |
658 | 658 |
659 @DocsEditable() | 659 @DocsEditable() |
660 @DomName('WebGLDrawBuffers') | 660 @DomName('WebGLDrawBuffers') |
661 // http://www.khronos.org/registry/webgl/specs/latest/ | 661 // http://www.khronos.org/registry/webgl/specs/latest/ |
662 @Experimental() // stable | 662 @Experimental() // stable |
663 @Native("WebGLDrawBuffers") | 663 @Native("WebGLDrawBuffers,WEBGL_draw_buffers") |
664 class DrawBuffers extends Interceptor { | 664 class DrawBuffers extends Interceptor { |
665 // To suppress missing implicit constructor warnings. | 665 // To suppress missing implicit constructor warnings. |
666 factory DrawBuffers._() { throw new UnsupportedError("Not supported"); } | 666 factory DrawBuffers._() { throw new UnsupportedError("Not supported"); } |
667 | 667 |
668 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT0_WEBGL') | 668 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT0_WEBGL') |
669 @DocsEditable() | 669 @DocsEditable() |
670 static const int COLOR_ATTACHMENT0_WEBGL = 0x8CE0; | 670 static const int COLOR_ATTACHMENT0_WEBGL = 0x8CE0; |
671 | 671 |
672 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT10_WEBGL') | 672 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT10_WEBGL') |
673 @DocsEditable() | 673 @DocsEditable() |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
807 void drawBuffersWebgl(List<int> buffers) native; | 807 void drawBuffersWebgl(List<int> buffers) native; |
808 } | 808 } |
809 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 809 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
810 // for details. All rights reserved. Use of this source code is governed by a | 810 // for details. All rights reserved. Use of this source code is governed by a |
811 // BSD-style license that can be found in the LICENSE file. | 811 // BSD-style license that can be found in the LICENSE file. |
812 | 812 |
813 | 813 |
814 @DocsEditable() | 814 @DocsEditable() |
815 @DomName('EXTsRGB') | 815 @DomName('EXTsRGB') |
816 @Experimental() // untriaged | 816 @Experimental() // untriaged |
817 @Native("EXTsRGB") | 817 @Native("EXTsRGB,EXT_sRGB") |
818 class EXTsRgb extends Interceptor { | 818 class EXTsRgb extends Interceptor { |
819 // To suppress missing implicit constructor warnings. | 819 // To suppress missing implicit constructor warnings. |
820 factory EXTsRgb._() { throw new UnsupportedError("Not supported"); } | 820 factory EXTsRgb._() { throw new UnsupportedError("Not supported"); } |
821 | 821 |
822 @DomName('EXTsRGB.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT') | 822 @DomName('EXTsRGB.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT') |
823 @DocsEditable() | 823 @DocsEditable() |
824 @Experimental() // untriaged | 824 @Experimental() // untriaged |
825 static const int FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT = 0x8210; | 825 static const int FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT = 0x8210; |
826 | 826 |
827 @DomName('EXTsRGB.SRGB8_ALPHA8_EXT') | 827 @DomName('EXTsRGB.SRGB8_ALPHA8_EXT') |
(...skipping 12 matching lines...) Expand all Loading... |
840 static const int SRGB_EXT = 0x8C40; | 840 static const int SRGB_EXT = 0x8C40; |
841 } | 841 } |
842 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 842 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
843 // for details. All rights reserved. Use of this source code is governed by a | 843 // for details. All rights reserved. Use of this source code is governed by a |
844 // BSD-style license that can be found in the LICENSE file. | 844 // BSD-style license that can be found in the LICENSE file. |
845 | 845 |
846 | 846 |
847 @DocsEditable() | 847 @DocsEditable() |
848 @DomName('EXTBlendMinMax') | 848 @DomName('EXTBlendMinMax') |
849 @Experimental() // untriaged | 849 @Experimental() // untriaged |
850 @Native("EXTBlendMinMax") | 850 @Native("EXTBlendMinMax,EXT_blend_min_max") |
851 class ExtBlendMinMax extends Interceptor { | 851 class ExtBlendMinMax extends Interceptor { |
852 // To suppress missing implicit constructor warnings. | 852 // To suppress missing implicit constructor warnings. |
853 factory ExtBlendMinMax._() { throw new UnsupportedError("Not supported"); } | 853 factory ExtBlendMinMax._() { throw new UnsupportedError("Not supported"); } |
854 | 854 |
855 @DomName('EXTBlendMinMax.MAX_EXT') | 855 @DomName('EXTBlendMinMax.MAX_EXT') |
856 @DocsEditable() | 856 @DocsEditable() |
857 @Experimental() // untriaged | 857 @Experimental() // untriaged |
858 static const int MAX_EXT = 0x8008; | 858 static const int MAX_EXT = 0x8008; |
859 | 859 |
860 @DomName('EXTBlendMinMax.MIN_EXT') | 860 @DomName('EXTBlendMinMax.MIN_EXT') |
861 @DocsEditable() | 861 @DocsEditable() |
862 @Experimental() // untriaged | 862 @Experimental() // untriaged |
863 static const int MIN_EXT = 0x8007; | 863 static const int MIN_EXT = 0x8007; |
864 } | 864 } |
865 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 865 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
866 // for details. All rights reserved. Use of this source code is governed by a | 866 // for details. All rights reserved. Use of this source code is governed by a |
867 // BSD-style license that can be found in the LICENSE file. | 867 // BSD-style license that can be found in the LICENSE file. |
868 | 868 |
869 | 869 |
870 @DocsEditable() | 870 @DocsEditable() |
871 @DomName('EXTFragDepth') | 871 @DomName('EXTFragDepth') |
872 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/ | 872 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/ |
873 @Experimental() | 873 @Experimental() |
874 @Native("EXTFragDepth") | 874 @Native("EXTFragDepth,EXT_frag_depth") |
875 class ExtFragDepth extends Interceptor { | 875 class ExtFragDepth extends Interceptor { |
876 // To suppress missing implicit constructor warnings. | 876 // To suppress missing implicit constructor warnings. |
877 factory ExtFragDepth._() { throw new UnsupportedError("Not supported"); } | 877 factory ExtFragDepth._() { throw new UnsupportedError("Not supported"); } |
878 } | 878 } |
879 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 879 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
880 // for details. All rights reserved. Use of this source code is governed by a | 880 // for details. All rights reserved. Use of this source code is governed by a |
881 // BSD-style license that can be found in the LICENSE file. | 881 // BSD-style license that can be found in the LICENSE file. |
882 | 882 |
883 | 883 |
884 @DocsEditable() | 884 @DocsEditable() |
885 @DomName('EXTShaderTextureLOD') | 885 @DomName('EXTShaderTextureLOD') |
886 @Experimental() // untriaged | 886 @Experimental() // untriaged |
887 @Native("EXTShaderTextureLOD") | 887 @Native("EXTShaderTextureLOD,EXT_shader_texture_lod") |
888 class ExtShaderTextureLod extends Interceptor { | 888 class ExtShaderTextureLod extends Interceptor { |
889 // To suppress missing implicit constructor warnings. | 889 // To suppress missing implicit constructor warnings. |
890 factory ExtShaderTextureLod._() { throw new UnsupportedError("Not supported");
} | 890 factory ExtShaderTextureLod._() { throw new UnsupportedError("Not supported");
} |
891 } | 891 } |
892 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 892 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
893 // for details. All rights reserved. Use of this source code is governed by a | 893 // for details. All rights reserved. Use of this source code is governed by a |
894 // BSD-style license that can be found in the LICENSE file. | 894 // BSD-style license that can be found in the LICENSE file. |
895 | 895 |
896 | 896 |
897 @DocsEditable() | 897 @DocsEditable() |
898 @DomName('EXTTextureFilterAnisotropic') | 898 @DomName('EXTTextureFilterAnisotropic') |
899 // http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotrop
ic/ | 899 // http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotrop
ic/ |
900 @Experimental() | 900 @Experimental() |
901 @Native("EXTTextureFilterAnisotropic") | 901 @Native("EXTTextureFilterAnisotropic,EXT_texture_filter_anisotropic") |
902 class ExtTextureFilterAnisotropic extends Interceptor { | 902 class ExtTextureFilterAnisotropic extends Interceptor { |
903 // To suppress missing implicit constructor warnings. | 903 // To suppress missing implicit constructor warnings. |
904 factory ExtTextureFilterAnisotropic._() { throw new UnsupportedError("Not supp
orted"); } | 904 factory ExtTextureFilterAnisotropic._() { throw new UnsupportedError("Not supp
orted"); } |
905 | 905 |
906 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT') | 906 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT') |
907 @DocsEditable() | 907 @DocsEditable() |
908 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; | 908 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; |
909 | 909 |
910 @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT') | 910 @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT') |
911 @DocsEditable() | 911 @DocsEditable() |
(...skipping 14 matching lines...) Expand all Loading... |
926 } | 926 } |
927 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 927 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
928 // for details. All rights reserved. Use of this source code is governed by a | 928 // for details. All rights reserved. Use of this source code is governed by a |
929 // BSD-style license that can be found in the LICENSE file. | 929 // BSD-style license that can be found in the LICENSE file. |
930 | 930 |
931 | 931 |
932 @DocsEditable() | 932 @DocsEditable() |
933 @DomName('WebGLLoseContext') | 933 @DomName('WebGLLoseContext') |
934 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/ | 934 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/ |
935 @Experimental() | 935 @Experimental() |
936 @Native("WebGLLoseContext,WebGLExtensionLoseContext") | 936 @Native("WebGLLoseContext,WebGLExtensionLoseContext,WEBGL_lose_context") |
937 class LoseContext extends Interceptor { | 937 class LoseContext extends Interceptor { |
938 // To suppress missing implicit constructor warnings. | 938 // To suppress missing implicit constructor warnings. |
939 factory LoseContext._() { throw new UnsupportedError("Not supported"); } | 939 factory LoseContext._() { throw new UnsupportedError("Not supported"); } |
940 | 940 |
941 @DomName('WebGLLoseContext.loseContext') | 941 @DomName('WebGLLoseContext.loseContext') |
942 @DocsEditable() | 942 @DocsEditable() |
943 void loseContext() native; | 943 void loseContext() native; |
944 | 944 |
945 @DomName('WebGLLoseContext.restoreContext') | 945 @DomName('WebGLLoseContext.restoreContext') |
946 @DocsEditable() | 946 @DocsEditable() |
947 void restoreContext() native; | 947 void restoreContext() native; |
948 } | 948 } |
949 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 949 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
950 // for details. All rights reserved. Use of this source code is governed by a | 950 // for details. All rights reserved. Use of this source code is governed by a |
951 // BSD-style license that can be found in the LICENSE file. | 951 // BSD-style license that can be found in the LICENSE file. |
952 | 952 |
953 | 953 |
954 @DocsEditable() | 954 @DocsEditable() |
955 @DomName('OESElementIndexUint') | 955 @DomName('OESElementIndexUint') |
956 // http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/ | 956 // http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/ |
957 @Experimental() // experimental | 957 @Experimental() // experimental |
958 @Native("OESElementIndexUint") | 958 @Native("OESElementIndexUint,OES_element_index_uint") |
959 class OesElementIndexUint extends Interceptor { | 959 class OesElementIndexUint extends Interceptor { |
960 // To suppress missing implicit constructor warnings. | 960 // To suppress missing implicit constructor warnings. |
961 factory OesElementIndexUint._() { throw new UnsupportedError("Not supported");
} | 961 factory OesElementIndexUint._() { throw new UnsupportedError("Not supported");
} |
962 } | 962 } |
963 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 963 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
964 // for details. All rights reserved. Use of this source code is governed by a | 964 // for details. All rights reserved. Use of this source code is governed by a |
965 // BSD-style license that can be found in the LICENSE file. | 965 // BSD-style license that can be found in the LICENSE file. |
966 | 966 |
967 | 967 |
968 @DocsEditable() | 968 @DocsEditable() |
969 @DomName('OESStandardDerivatives') | 969 @DomName('OESStandardDerivatives') |
970 // http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/ | 970 // http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/ |
971 @Experimental() // experimental | 971 @Experimental() // experimental |
972 @Native("OESStandardDerivatives") | 972 @Native("OESStandardDerivatives,OES_standard_derivatives") |
973 class OesStandardDerivatives extends Interceptor { | 973 class OesStandardDerivatives extends Interceptor { |
974 // To suppress missing implicit constructor warnings. | 974 // To suppress missing implicit constructor warnings. |
975 factory OesStandardDerivatives._() { throw new UnsupportedError("Not supported
"); } | 975 factory OesStandardDerivatives._() { throw new UnsupportedError("Not supported
"); } |
976 | 976 |
977 @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES') | 977 @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES') |
978 @DocsEditable() | 978 @DocsEditable() |
979 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; | 979 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; |
980 } | 980 } |
981 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 981 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
982 // for details. All rights reserved. Use of this source code is governed by a | 982 // for details. All rights reserved. Use of this source code is governed by a |
983 // BSD-style license that can be found in the LICENSE file. | 983 // BSD-style license that can be found in the LICENSE file. |
984 | 984 |
985 | 985 |
986 @DocsEditable() | 986 @DocsEditable() |
987 @DomName('OESTextureFloat') | 987 @DomName('OESTextureFloat') |
988 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float/ | 988 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float/ |
989 @Experimental() // experimental | 989 @Experimental() // experimental |
990 @Native("OESTextureFloat") | 990 @Native("OESTextureFloat,OES_texture_float") |
991 class OesTextureFloat extends Interceptor { | 991 class OesTextureFloat extends Interceptor { |
992 // To suppress missing implicit constructor warnings. | 992 // To suppress missing implicit constructor warnings. |
993 factory OesTextureFloat._() { throw new UnsupportedError("Not supported"); } | 993 factory OesTextureFloat._() { throw new UnsupportedError("Not supported"); } |
994 } | 994 } |
995 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 995 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
996 // for details. All rights reserved. Use of this source code is governed by a | 996 // for details. All rights reserved. Use of this source code is governed by a |
997 // BSD-style license that can be found in the LICENSE file. | 997 // BSD-style license that can be found in the LICENSE file. |
998 | 998 |
999 | 999 |
1000 @DocsEditable() | 1000 @DocsEditable() |
1001 @DomName('OESTextureFloatLinear') | 1001 @DomName('OESTextureFloatLinear') |
1002 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/ | 1002 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/ |
1003 @Experimental() | 1003 @Experimental() |
1004 @Native("OESTextureFloatLinear") | 1004 @Native("OESTextureFloatLinear,OES_texture_float_linear") |
1005 class OesTextureFloatLinear extends Interceptor { | 1005 class OesTextureFloatLinear extends Interceptor { |
1006 // To suppress missing implicit constructor warnings. | 1006 // To suppress missing implicit constructor warnings. |
1007 factory OesTextureFloatLinear._() { throw new UnsupportedError("Not supported"
); } | 1007 factory OesTextureFloatLinear._() { throw new UnsupportedError("Not supported"
); } |
1008 } | 1008 } |
1009 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1009 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1010 // for details. All rights reserved. Use of this source code is governed by a | 1010 // for details. All rights reserved. Use of this source code is governed by a |
1011 // BSD-style license that can be found in the LICENSE file. | 1011 // BSD-style license that can be found in the LICENSE file. |
1012 | 1012 |
1013 | 1013 |
1014 @DocsEditable() | 1014 @DocsEditable() |
1015 @DomName('OESTextureHalfFloat') | 1015 @DomName('OESTextureHalfFloat') |
1016 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/ | 1016 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/ |
1017 @Experimental() // experimental | 1017 @Experimental() // experimental |
1018 @Native("OESTextureHalfFloat") | 1018 @Native("OESTextureHalfFloat,OES_texture_half_float") |
1019 class OesTextureHalfFloat extends Interceptor { | 1019 class OesTextureHalfFloat extends Interceptor { |
1020 // To suppress missing implicit constructor warnings. | 1020 // To suppress missing implicit constructor warnings. |
1021 factory OesTextureHalfFloat._() { throw new UnsupportedError("Not supported");
} | 1021 factory OesTextureHalfFloat._() { throw new UnsupportedError("Not supported");
} |
1022 | 1022 |
1023 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES') | 1023 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES') |
1024 @DocsEditable() | 1024 @DocsEditable() |
1025 static const int HALF_FLOAT_OES = 0x8D61; | 1025 static const int HALF_FLOAT_OES = 0x8D61; |
1026 } | 1026 } |
1027 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1027 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1028 // for details. All rights reserved. Use of this source code is governed by a | 1028 // for details. All rights reserved. Use of this source code is governed by a |
1029 // BSD-style license that can be found in the LICENSE file. | 1029 // BSD-style license that can be found in the LICENSE file. |
1030 | 1030 |
1031 | 1031 |
1032 @DocsEditable() | 1032 @DocsEditable() |
1033 @DomName('OESTextureHalfFloatLinear') | 1033 @DomName('OESTextureHalfFloatLinear') |
1034 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float_linea
r/ | 1034 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float_linea
r/ |
1035 @Experimental() | 1035 @Experimental() |
1036 @Native("OESTextureHalfFloatLinear") | 1036 @Native("OESTextureHalfFloatLinear,OES_texture_half_float_linear") |
1037 class OesTextureHalfFloatLinear extends Interceptor { | 1037 class OesTextureHalfFloatLinear extends Interceptor { |
1038 // To suppress missing implicit constructor warnings. | 1038 // To suppress missing implicit constructor warnings. |
1039 factory OesTextureHalfFloatLinear._() { throw new UnsupportedError("Not suppor
ted"); } | 1039 factory OesTextureHalfFloatLinear._() { throw new UnsupportedError("Not suppor
ted"); } |
1040 } | 1040 } |
1041 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1041 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1042 // for details. All rights reserved. Use of this source code is governed by a | 1042 // for details. All rights reserved. Use of this source code is governed by a |
1043 // BSD-style license that can be found in the LICENSE file. | 1043 // BSD-style license that can be found in the LICENSE file. |
1044 | 1044 |
1045 | 1045 |
1046 @DocsEditable() | 1046 @DocsEditable() |
1047 @DomName('OESVertexArrayObject') | 1047 @DomName('OESVertexArrayObject') |
1048 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ | 1048 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ |
1049 @Experimental() // experimental | 1049 @Experimental() // experimental |
1050 @Native("OESVertexArrayObject") | 1050 @Native("OESVertexArrayObject,OES_vertex_array_object") |
1051 class OesVertexArrayObject extends Interceptor { | 1051 class OesVertexArrayObject extends Interceptor { |
1052 // To suppress missing implicit constructor warnings. | 1052 // To suppress missing implicit constructor warnings. |
1053 factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported")
; } | 1053 factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported")
; } |
1054 | 1054 |
1055 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') | 1055 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') |
1056 @DocsEditable() | 1056 @DocsEditable() |
1057 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; | 1057 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; |
1058 | 1058 |
1059 @JSName('bindVertexArrayOES') | 1059 @JSName('bindVertexArrayOES') |
1060 @DomName('OESVertexArrayObject.bindVertexArrayOES') | 1060 @DomName('OESVertexArrayObject.bindVertexArrayOES') |
(...skipping 4952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6013 // BSD-style license that can be found in the LICENSE file. | 6013 // BSD-style license that can be found in the LICENSE file. |
6014 | 6014 |
6015 | 6015 |
6016 @DocsEditable() | 6016 @DocsEditable() |
6017 @DomName('WebGLRenderingContextBase') | 6017 @DomName('WebGLRenderingContextBase') |
6018 @Experimental() // untriaged | 6018 @Experimental() // untriaged |
6019 abstract class _WebGLRenderingContextBase extends Interceptor { | 6019 abstract class _WebGLRenderingContextBase extends Interceptor { |
6020 // To suppress missing implicit constructor warnings. | 6020 // To suppress missing implicit constructor warnings. |
6021 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo
rted"); } | 6021 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo
rted"); } |
6022 } | 6022 } |
OLD | NEW |