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' hide deprecated; | 8 import 'dart:_internal' hide deprecated; |
9 import 'dart:html'; | 9 import 'dart:html'; |
10 import 'dart:html_common'; | 10 import 'dart:html_common'; |
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 // WARNING: Do not edit - generated code. | 366 // WARNING: Do not edit - generated code. |
367 | 367 |
368 | 368 |
369 @DocsEditable() | 369 @DocsEditable() |
370 @DomName('WebGLActiveInfo') | 370 @DomName('WebGLActiveInfo') |
371 @Unstable() | 371 @Unstable() |
372 class ActiveInfo extends NativeFieldWrapperClass2 { | 372 class ActiveInfo extends NativeFieldWrapperClass2 { |
373 // To suppress missing implicit constructor warnings. | 373 // To suppress missing implicit constructor warnings. |
374 factory ActiveInfo._() { throw new UnsupportedError("Not supported"); } | 374 factory ActiveInfo._() { throw new UnsupportedError("Not supported"); } |
375 | 375 |
376 static ActiveInfo internalCreateActiveInfo() { | |
377 return new ActiveInfo._internalWrap(); | |
378 } | |
379 | |
380 JsObject blink_jsObject = null; | |
381 | |
382 factory ActiveInfo._internalWrap() { | |
383 return new ActiveInfo._internal(); | |
384 } | |
385 | |
386 ActiveInfo._internal() { } | |
387 | |
388 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
389 | |
390 @DomName('WebGLActiveInfo.name') | 376 @DomName('WebGLActiveInfo.name') |
391 @DocsEditable() | 377 @DocsEditable() |
392 String get name => _blink.BlinkWebGLActiveInfo.instance.name_Getter_(unwrap_js
o(this)); | 378 String get name => _blink.BlinkWebGLActiveInfo.instance.name_Getter_(unwrap_js
o(this)); |
393 | 379 |
394 @DomName('WebGLActiveInfo.size') | 380 @DomName('WebGLActiveInfo.size') |
395 @DocsEditable() | 381 @DocsEditable() |
396 int get size => _blink.BlinkWebGLActiveInfo.instance.size_Getter_(unwrap_jso(t
his)); | 382 int get size => _blink.BlinkWebGLActiveInfo.instance.size_Getter_(unwrap_jso(t
his)); |
397 | 383 |
398 @DomName('WebGLActiveInfo.type') | 384 @DomName('WebGLActiveInfo.type') |
399 @DocsEditable() | 385 @DocsEditable() |
400 int get type => _blink.BlinkWebGLActiveInfo.instance.type_Getter_(unwrap_jso(t
his)); | 386 int get type => _blink.BlinkWebGLActiveInfo.instance.type_Getter_(unwrap_jso(t
his)); |
401 | 387 |
402 } | 388 } |
403 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 389 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
404 // for details. All rights reserved. Use of this source code is governed by a | 390 // for details. All rights reserved. Use of this source code is governed by a |
405 // BSD-style license that can be found in the LICENSE file. | 391 // BSD-style license that can be found in the LICENSE file. |
406 | 392 |
407 // WARNING: Do not edit - generated code. | 393 // WARNING: Do not edit - generated code. |
408 | 394 |
409 | 395 |
410 @DocsEditable() | 396 @DocsEditable() |
411 @DomName('ANGLEInstancedArrays') | 397 @DomName('ANGLEInstancedArrays') |
412 @Experimental() // untriaged | 398 @Experimental() // untriaged |
413 class AngleInstancedArrays extends NativeFieldWrapperClass2 { | 399 class AngleInstancedArrays extends NativeFieldWrapperClass2 { |
414 // To suppress missing implicit constructor warnings. | 400 // To suppress missing implicit constructor warnings. |
415 factory AngleInstancedArrays._() { throw new UnsupportedError("Not supported")
; } | 401 factory AngleInstancedArrays._() { throw new UnsupportedError("Not supported")
; } |
416 | 402 |
417 static AngleInstancedArrays internalCreateAngleInstancedArrays() { | |
418 return new AngleInstancedArrays._internalWrap(); | |
419 } | |
420 | |
421 JsObject blink_jsObject = null; | |
422 | |
423 factory AngleInstancedArrays._internalWrap() { | |
424 return new AngleInstancedArrays._internal(); | |
425 } | |
426 | |
427 AngleInstancedArrays._internal() { } | |
428 | |
429 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
430 | |
431 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE') | 403 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE') |
432 @DocsEditable() | 404 @DocsEditable() |
433 @Experimental() // untriaged | 405 @Experimental() // untriaged |
434 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; | 406 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; |
435 | 407 |
436 @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE') | 408 @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE') |
437 @DocsEditable() | 409 @DocsEditable() |
438 @Experimental() // untriaged | 410 @Experimental() // untriaged |
439 void drawArraysInstancedAngle(int mode, int first, int count, int primcount) =
> _blink.BlinkANGLEInstancedArrays.instance.drawArraysInstancedANGLE_Callback_4_
(unwrap_jso(this), mode, first, count, primcount); | 411 void drawArraysInstancedAngle(int mode, int first, int count, int primcount) =
> _blink.BlinkANGLEInstancedArrays.instance.drawArraysInstancedANGLE_Callback_4_
(unwrap_jso(this), mode, first, count, primcount); |
440 | 412 |
(...skipping 15 matching lines...) Expand all Loading... |
456 // WARNING: Do not edit - generated code. | 428 // WARNING: Do not edit - generated code. |
457 | 429 |
458 | 430 |
459 @DocsEditable() | 431 @DocsEditable() |
460 @DomName('WebGLBuffer') | 432 @DomName('WebGLBuffer') |
461 @Unstable() | 433 @Unstable() |
462 class Buffer extends NativeFieldWrapperClass2 { | 434 class Buffer extends NativeFieldWrapperClass2 { |
463 // To suppress missing implicit constructor warnings. | 435 // To suppress missing implicit constructor warnings. |
464 factory Buffer._() { throw new UnsupportedError("Not supported"); } | 436 factory Buffer._() { throw new UnsupportedError("Not supported"); } |
465 | 437 |
466 static Buffer internalCreateBuffer() { | |
467 return new Buffer._internalWrap(); | |
468 } | |
469 | |
470 JsObject blink_jsObject = null; | |
471 | |
472 factory Buffer._internalWrap() { | |
473 return new Buffer._internal(); | |
474 } | |
475 | |
476 Buffer._internal() { } | |
477 | |
478 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
479 | |
480 } | 438 } |
481 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 439 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
482 // for details. All rights reserved. Use of this source code is governed by a | 440 // for details. All rights reserved. Use of this source code is governed by a |
483 // BSD-style license that can be found in the LICENSE file. | 441 // BSD-style license that can be found in the LICENSE file. |
484 | 442 |
485 // WARNING: Do not edit - generated code. | 443 // WARNING: Do not edit - generated code. |
486 | 444 |
487 | 445 |
488 @DocsEditable() | 446 @DocsEditable() |
489 @DomName('WebGLCompressedTextureATC') | 447 @DomName('WebGLCompressedTextureATC') |
490 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc
/ | 448 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc
/ |
491 @Experimental() | 449 @Experimental() |
492 class CompressedTextureAtc extends NativeFieldWrapperClass2 { | 450 class CompressedTextureAtc extends NativeFieldWrapperClass2 { |
493 // To suppress missing implicit constructor warnings. | 451 // To suppress missing implicit constructor warnings. |
494 factory CompressedTextureAtc._() { throw new UnsupportedError("Not supported")
; } | 452 factory CompressedTextureAtc._() { throw new UnsupportedError("Not supported")
; } |
495 | 453 |
496 static CompressedTextureAtc internalCreateCompressedTextureAtc() { | |
497 return new CompressedTextureAtc._internalWrap(); | |
498 } | |
499 | |
500 JsObject blink_jsObject = null; | |
501 | |
502 factory CompressedTextureAtc._internalWrap() { | |
503 return new CompressedTextureAtc._internal(); | |
504 } | |
505 | |
506 CompressedTextureAtc._internal() { } | |
507 | |
508 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
509 | |
510 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL') | 454 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL') |
511 @DocsEditable() | 455 @DocsEditable() |
512 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93; | 456 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93; |
513 | 457 |
514 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEB
GL') | 458 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEB
GL') |
515 @DocsEditable() | 459 @DocsEditable() |
516 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE; | 460 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE; |
517 | 461 |
518 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL') | 462 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL') |
519 @DocsEditable() | 463 @DocsEditable() |
520 static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92; | 464 static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92; |
521 | 465 |
522 } | 466 } |
523 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 467 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
524 // for details. All rights reserved. Use of this source code is governed by a | 468 // for details. All rights reserved. Use of this source code is governed by a |
525 // BSD-style license that can be found in the LICENSE file. | 469 // BSD-style license that can be found in the LICENSE file. |
526 | 470 |
527 // WARNING: Do not edit - generated code. | 471 // WARNING: Do not edit - generated code. |
528 | 472 |
529 | 473 |
530 @DocsEditable() | 474 @DocsEditable() |
531 @DomName('WebGLCompressedTextureETC1') | 475 @DomName('WebGLCompressedTextureETC1') |
532 @Experimental() // untriaged | 476 @Experimental() // untriaged |
533 class CompressedTextureETC1 extends NativeFieldWrapperClass2 { | 477 class CompressedTextureETC1 extends NativeFieldWrapperClass2 { |
534 // To suppress missing implicit constructor warnings. | 478 // To suppress missing implicit constructor warnings. |
535 factory CompressedTextureETC1._() { throw new UnsupportedError("Not supported"
); } | 479 factory CompressedTextureETC1._() { throw new UnsupportedError("Not supported"
); } |
536 | 480 |
537 static CompressedTextureETC1 internalCreateCompressedTextureETC1() { | |
538 return new CompressedTextureETC1._internalWrap(); | |
539 } | |
540 | |
541 JsObject blink_jsObject = null; | |
542 | |
543 factory CompressedTextureETC1._internalWrap() { | |
544 return new CompressedTextureETC1._internal(); | |
545 } | |
546 | |
547 CompressedTextureETC1._internal() { } | |
548 | |
549 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
550 | |
551 @DomName('WebGLCompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL') | 481 @DomName('WebGLCompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL') |
552 @DocsEditable() | 482 @DocsEditable() |
553 @Experimental() // untriaged | 483 @Experimental() // untriaged |
554 static const int COMPRESSED_RGB_ETC1_WEBGL = 0x8D64; | 484 static const int COMPRESSED_RGB_ETC1_WEBGL = 0x8D64; |
555 | 485 |
556 } | 486 } |
557 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 487 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
558 // for details. All rights reserved. Use of this source code is governed by a | 488 // for details. All rights reserved. Use of this source code is governed by a |
559 // BSD-style license that can be found in the LICENSE file. | 489 // BSD-style license that can be found in the LICENSE file. |
560 | 490 |
561 // WARNING: Do not edit - generated code. | 491 // WARNING: Do not edit - generated code. |
562 | 492 |
563 | 493 |
564 @DocsEditable() | 494 @DocsEditable() |
565 @DomName('WebGLCompressedTexturePVRTC') | 495 @DomName('WebGLCompressedTexturePVRTC') |
566 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvr
tc/ | 496 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvr
tc/ |
567 @Experimental() // experimental | 497 @Experimental() // experimental |
568 class CompressedTexturePvrtc extends NativeFieldWrapperClass2 { | 498 class CompressedTexturePvrtc extends NativeFieldWrapperClass2 { |
569 // To suppress missing implicit constructor warnings. | 499 // To suppress missing implicit constructor warnings. |
570 factory CompressedTexturePvrtc._() { throw new UnsupportedError("Not supported
"); } | 500 factory CompressedTexturePvrtc._() { throw new UnsupportedError("Not supported
"); } |
571 | 501 |
572 static CompressedTexturePvrtc internalCreateCompressedTexturePvrtc() { | |
573 return new CompressedTexturePvrtc._internalWrap(); | |
574 } | |
575 | |
576 JsObject blink_jsObject = null; | |
577 | |
578 factory CompressedTexturePvrtc._internalWrap() { | |
579 return new CompressedTexturePvrtc._internal(); | |
580 } | |
581 | |
582 CompressedTexturePvrtc._internal() { } | |
583 | |
584 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
585 | |
586 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG') | 502 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG') |
587 @DocsEditable() | 503 @DocsEditable() |
588 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03; | 504 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03; |
589 | 505 |
590 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG') | 506 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG') |
591 @DocsEditable() | 507 @DocsEditable() |
592 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02; | 508 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02; |
593 | 509 |
594 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG') | 510 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG') |
595 @DocsEditable() | 511 @DocsEditable() |
(...skipping 12 matching lines...) Expand all Loading... |
608 | 524 |
609 | 525 |
610 @DocsEditable() | 526 @DocsEditable() |
611 @DomName('WebGLCompressedTextureS3TC') | 527 @DomName('WebGLCompressedTextureS3TC') |
612 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3t
c/ | 528 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3t
c/ |
613 @Experimental() // experimental | 529 @Experimental() // experimental |
614 class CompressedTextureS3TC extends NativeFieldWrapperClass2 { | 530 class CompressedTextureS3TC extends NativeFieldWrapperClass2 { |
615 // To suppress missing implicit constructor warnings. | 531 // To suppress missing implicit constructor warnings. |
616 factory CompressedTextureS3TC._() { throw new UnsupportedError("Not supported"
); } | 532 factory CompressedTextureS3TC._() { throw new UnsupportedError("Not supported"
); } |
617 | 533 |
618 static CompressedTextureS3TC internalCreateCompressedTextureS3TC() { | |
619 return new CompressedTextureS3TC._internalWrap(); | |
620 } | |
621 | |
622 JsObject blink_jsObject = null; | |
623 | |
624 factory CompressedTextureS3TC._internalWrap() { | |
625 return new CompressedTextureS3TC._internal(); | |
626 } | |
627 | |
628 CompressedTextureS3TC._internal() { } | |
629 | |
630 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
631 | |
632 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT') | 534 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT') |
633 @DocsEditable() | 535 @DocsEditable() |
634 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; | 536 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; |
635 | 537 |
636 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT') | 538 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT') |
637 @DocsEditable() | 539 @DocsEditable() |
638 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2; | 540 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2; |
639 | 541 |
640 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT') | 542 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT') |
641 @DocsEditable() | 543 @DocsEditable() |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
675 * | 577 * |
676 * If [stencil] is `true`, then the context has a stencil buffer of at least 8 | 578 * If [stencil] is `true`, then the context has a stencil buffer of at least 8 |
677 * bits. | 579 * bits. |
678 */ | 580 */ |
679 @DomName('WebGLContextAttributes') | 581 @DomName('WebGLContextAttributes') |
680 @Unstable() | 582 @Unstable() |
681 class ContextAttributes extends NativeFieldWrapperClass2 { | 583 class ContextAttributes extends NativeFieldWrapperClass2 { |
682 // To suppress missing implicit constructor warnings. | 584 // To suppress missing implicit constructor warnings. |
683 factory ContextAttributes._() { throw new UnsupportedError("Not supported"); } | 585 factory ContextAttributes._() { throw new UnsupportedError("Not supported"); } |
684 | 586 |
685 static ContextAttributes internalCreateContextAttributes() { | |
686 return new ContextAttributes._internalWrap(); | |
687 } | |
688 | |
689 JsObject blink_jsObject = null; | |
690 | |
691 factory ContextAttributes._internalWrap() { | |
692 return new ContextAttributes._internal(); | |
693 } | |
694 | |
695 ContextAttributes._internal() { } | |
696 | |
697 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
698 | |
699 @DomName('WebGLContextAttributes.alpha') | 587 @DomName('WebGLContextAttributes.alpha') |
700 @DocsEditable() | 588 @DocsEditable() |
701 bool get alpha => _blink.BlinkWebGLContextAttributes.instance.alpha_Getter_(un
wrap_jso(this)); | 589 bool get alpha => _blink.BlinkWebGLContextAttributes.instance.alpha_Getter_(un
wrap_jso(this)); |
702 | 590 |
703 @DomName('WebGLContextAttributes.alpha') | 591 @DomName('WebGLContextAttributes.alpha') |
704 @DocsEditable() | 592 @DocsEditable() |
705 void set alpha(bool value) => _blink.BlinkWebGLContextAttributes.instance.alph
a_Setter_(unwrap_jso(this), value); | 593 void set alpha(bool value) => _blink.BlinkWebGLContextAttributes.instance.alph
a_Setter_(unwrap_jso(this), value); |
706 | 594 |
707 @DomName('WebGLContextAttributes.antialias') | 595 @DomName('WebGLContextAttributes.antialias') |
708 @DocsEditable() | 596 @DocsEditable() |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
762 // WARNING: Do not edit - generated code. | 650 // WARNING: Do not edit - generated code. |
763 | 651 |
764 | 652 |
765 @DocsEditable() | 653 @DocsEditable() |
766 @DomName('WebGLContextEvent') | 654 @DomName('WebGLContextEvent') |
767 @Unstable() | 655 @Unstable() |
768 class ContextEvent extends Event { | 656 class ContextEvent extends Event { |
769 // To suppress missing implicit constructor warnings. | 657 // To suppress missing implicit constructor warnings. |
770 factory ContextEvent._() { throw new UnsupportedError("Not supported"); } | 658 factory ContextEvent._() { throw new UnsupportedError("Not supported"); } |
771 | 659 |
772 | |
773 static ContextEvent internalCreateContextEvent() { | |
774 return new ContextEvent._internalWrap(); | |
775 } | |
776 | |
777 factory ContextEvent._internalWrap() { | |
778 return new ContextEvent._internal(); | |
779 } | |
780 | |
781 ContextEvent._internal() : super._internal(); | |
782 | |
783 | |
784 @DomName('WebGLContextEvent.statusMessage') | 660 @DomName('WebGLContextEvent.statusMessage') |
785 @DocsEditable() | 661 @DocsEditable() |
786 String get statusMessage => _blink.BlinkWebGLContextEvent.instance.statusMessa
ge_Getter_(unwrap_jso(this)); | 662 String get statusMessage => _blink.BlinkWebGLContextEvent.instance.statusMessa
ge_Getter_(unwrap_jso(this)); |
787 | 663 |
788 } | 664 } |
789 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 665 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
790 // for details. All rights reserved. Use of this source code is governed by a | 666 // for details. All rights reserved. Use of this source code is governed by a |
791 // BSD-style license that can be found in the LICENSE file. | 667 // BSD-style license that can be found in the LICENSE file. |
792 | 668 |
793 // WARNING: Do not edit - generated code. | 669 // WARNING: Do not edit - generated code. |
794 | 670 |
795 | 671 |
796 @DocsEditable() | 672 @DocsEditable() |
797 @DomName('WebGLDebugRendererInfo') | 673 @DomName('WebGLDebugRendererInfo') |
798 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/ | 674 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/ |
799 @Experimental() // experimental | 675 @Experimental() // experimental |
800 class DebugRendererInfo extends NativeFieldWrapperClass2 { | 676 class DebugRendererInfo extends NativeFieldWrapperClass2 { |
801 // To suppress missing implicit constructor warnings. | 677 // To suppress missing implicit constructor warnings. |
802 factory DebugRendererInfo._() { throw new UnsupportedError("Not supported"); } | 678 factory DebugRendererInfo._() { throw new UnsupportedError("Not supported"); } |
803 | 679 |
804 static DebugRendererInfo internalCreateDebugRendererInfo() { | |
805 return new DebugRendererInfo._internalWrap(); | |
806 } | |
807 | |
808 JsObject blink_jsObject = null; | |
809 | |
810 factory DebugRendererInfo._internalWrap() { | |
811 return new DebugRendererInfo._internal(); | |
812 } | |
813 | |
814 DebugRendererInfo._internal() { } | |
815 | |
816 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
817 | |
818 @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL') | 680 @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL') |
819 @DocsEditable() | 681 @DocsEditable() |
820 static const int UNMASKED_RENDERER_WEBGL = 0x9246; | 682 static const int UNMASKED_RENDERER_WEBGL = 0x9246; |
821 | 683 |
822 @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL') | 684 @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL') |
823 @DocsEditable() | 685 @DocsEditable() |
824 static const int UNMASKED_VENDOR_WEBGL = 0x9245; | 686 static const int UNMASKED_VENDOR_WEBGL = 0x9245; |
825 | 687 |
826 } | 688 } |
827 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 689 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
828 // for details. All rights reserved. Use of this source code is governed by a | 690 // for details. All rights reserved. Use of this source code is governed by a |
829 // BSD-style license that can be found in the LICENSE file. | 691 // BSD-style license that can be found in the LICENSE file. |
830 | 692 |
831 // WARNING: Do not edit - generated code. | 693 // WARNING: Do not edit - generated code. |
832 | 694 |
833 | 695 |
834 @DocsEditable() | 696 @DocsEditable() |
835 @DomName('WebGLDebugShaders') | 697 @DomName('WebGLDebugShaders') |
836 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/ | 698 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/ |
837 @Experimental() // experimental | 699 @Experimental() // experimental |
838 class DebugShaders extends NativeFieldWrapperClass2 { | 700 class DebugShaders extends NativeFieldWrapperClass2 { |
839 // To suppress missing implicit constructor warnings. | 701 // To suppress missing implicit constructor warnings. |
840 factory DebugShaders._() { throw new UnsupportedError("Not supported"); } | 702 factory DebugShaders._() { throw new UnsupportedError("Not supported"); } |
841 | 703 |
842 static DebugShaders internalCreateDebugShaders() { | |
843 return new DebugShaders._internalWrap(); | |
844 } | |
845 | |
846 JsObject blink_jsObject = null; | |
847 | |
848 factory DebugShaders._internalWrap() { | |
849 return new DebugShaders._internal(); | |
850 } | |
851 | |
852 DebugShaders._internal() { } | |
853 | |
854 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
855 | |
856 @DomName('WebGLDebugShaders.getTranslatedShaderSource') | 704 @DomName('WebGLDebugShaders.getTranslatedShaderSource') |
857 @DocsEditable() | 705 @DocsEditable() |
858 String getTranslatedShaderSource(Shader shader) => _blink.BlinkWebGLDebugShade
rs.instance.getTranslatedShaderSource_Callback_1_(unwrap_jso(this), unwrap_jso(s
hader)); | 706 String getTranslatedShaderSource(Shader shader) => _blink.BlinkWebGLDebugShade
rs.instance.getTranslatedShaderSource_Callback_1_(unwrap_jso(this), unwrap_jso(s
hader)); |
859 | 707 |
860 } | 708 } |
861 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 709 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
862 // for details. All rights reserved. Use of this source code is governed by a | 710 // for details. All rights reserved. Use of this source code is governed by a |
863 // BSD-style license that can be found in the LICENSE file. | 711 // BSD-style license that can be found in the LICENSE file. |
864 | 712 |
865 // WARNING: Do not edit - generated code. | 713 // WARNING: Do not edit - generated code. |
866 | 714 |
867 | 715 |
868 @DocsEditable() | 716 @DocsEditable() |
869 @DomName('WebGLDepthTexture') | 717 @DomName('WebGLDepthTexture') |
870 // http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/ | 718 // http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/ |
871 @Experimental() // experimental | 719 @Experimental() // experimental |
872 class DepthTexture extends NativeFieldWrapperClass2 { | 720 class DepthTexture extends NativeFieldWrapperClass2 { |
873 // To suppress missing implicit constructor warnings. | 721 // To suppress missing implicit constructor warnings. |
874 factory DepthTexture._() { throw new UnsupportedError("Not supported"); } | 722 factory DepthTexture._() { throw new UnsupportedError("Not supported"); } |
875 | 723 |
876 static DepthTexture internalCreateDepthTexture() { | |
877 return new DepthTexture._internalWrap(); | |
878 } | |
879 | |
880 JsObject blink_jsObject = null; | |
881 | |
882 factory DepthTexture._internalWrap() { | |
883 return new DepthTexture._internal(); | |
884 } | |
885 | |
886 DepthTexture._internal() { } | |
887 | |
888 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
889 | |
890 @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL') | 724 @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL') |
891 @DocsEditable() | 725 @DocsEditable() |
892 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA; | 726 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA; |
893 | 727 |
894 } | 728 } |
895 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 729 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
896 // for details. All rights reserved. Use of this source code is governed by a | 730 // for details. All rights reserved. Use of this source code is governed by a |
897 // BSD-style license that can be found in the LICENSE file. | 731 // BSD-style license that can be found in the LICENSE file. |
898 | 732 |
899 // WARNING: Do not edit - generated code. | 733 // WARNING: Do not edit - generated code. |
900 | 734 |
901 | 735 |
902 @DocsEditable() | 736 @DocsEditable() |
903 @DomName('WebGLDrawBuffers') | 737 @DomName('WebGLDrawBuffers') |
904 // http://www.khronos.org/registry/webgl/specs/latest/ | 738 // http://www.khronos.org/registry/webgl/specs/latest/ |
905 @Experimental() // stable | 739 @Experimental() // stable |
906 class DrawBuffers extends NativeFieldWrapperClass2 { | 740 class DrawBuffers extends NativeFieldWrapperClass2 { |
907 // To suppress missing implicit constructor warnings. | 741 // To suppress missing implicit constructor warnings. |
908 factory DrawBuffers._() { throw new UnsupportedError("Not supported"); } | 742 factory DrawBuffers._() { throw new UnsupportedError("Not supported"); } |
909 | 743 |
910 static DrawBuffers internalCreateDrawBuffers() { | |
911 return new DrawBuffers._internalWrap(); | |
912 } | |
913 | |
914 JsObject blink_jsObject = null; | |
915 | |
916 factory DrawBuffers._internalWrap() { | |
917 return new DrawBuffers._internal(); | |
918 } | |
919 | |
920 DrawBuffers._internal() { } | |
921 | |
922 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
923 | |
924 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT0_WEBGL') | 744 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT0_WEBGL') |
925 @DocsEditable() | 745 @DocsEditable() |
926 static const int COLOR_ATTACHMENT0_WEBGL = 0x8CE0; | 746 static const int COLOR_ATTACHMENT0_WEBGL = 0x8CE0; |
927 | 747 |
928 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT10_WEBGL') | 748 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT10_WEBGL') |
929 @DocsEditable() | 749 @DocsEditable() |
930 static const int COLOR_ATTACHMENT10_WEBGL = 0x8CEA; | 750 static const int COLOR_ATTACHMENT10_WEBGL = 0x8CEA; |
931 | 751 |
932 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT11_WEBGL') | 752 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT11_WEBGL') |
933 @DocsEditable() | 753 @DocsEditable() |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1069 // WARNING: Do not edit - generated code. | 889 // WARNING: Do not edit - generated code. |
1070 | 890 |
1071 | 891 |
1072 @DocsEditable() | 892 @DocsEditable() |
1073 @DomName('EXTBlendMinMax') | 893 @DomName('EXTBlendMinMax') |
1074 @Experimental() // untriaged | 894 @Experimental() // untriaged |
1075 class ExtBlendMinMax extends NativeFieldWrapperClass2 { | 895 class ExtBlendMinMax extends NativeFieldWrapperClass2 { |
1076 // To suppress missing implicit constructor warnings. | 896 // To suppress missing implicit constructor warnings. |
1077 factory ExtBlendMinMax._() { throw new UnsupportedError("Not supported"); } | 897 factory ExtBlendMinMax._() { throw new UnsupportedError("Not supported"); } |
1078 | 898 |
1079 static ExtBlendMinMax internalCreateExtBlendMinMax() { | |
1080 return new ExtBlendMinMax._internalWrap(); | |
1081 } | |
1082 | |
1083 JsObject blink_jsObject = null; | |
1084 | |
1085 factory ExtBlendMinMax._internalWrap() { | |
1086 return new ExtBlendMinMax._internal(); | |
1087 } | |
1088 | |
1089 ExtBlendMinMax._internal() { } | |
1090 | |
1091 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
1092 | |
1093 @DomName('EXTBlendMinMax.MAX_EXT') | 899 @DomName('EXTBlendMinMax.MAX_EXT') |
1094 @DocsEditable() | 900 @DocsEditable() |
1095 @Experimental() // untriaged | 901 @Experimental() // untriaged |
1096 static const int MAX_EXT = 0x8008; | 902 static const int MAX_EXT = 0x8008; |
1097 | 903 |
1098 @DomName('EXTBlendMinMax.MIN_EXT') | 904 @DomName('EXTBlendMinMax.MIN_EXT') |
1099 @DocsEditable() | 905 @DocsEditable() |
1100 @Experimental() // untriaged | 906 @Experimental() // untriaged |
1101 static const int MIN_EXT = 0x8007; | 907 static const int MIN_EXT = 0x8007; |
1102 | 908 |
1103 } | 909 } |
1104 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 910 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1105 // for details. All rights reserved. Use of this source code is governed by a | 911 // for details. All rights reserved. Use of this source code is governed by a |
1106 // BSD-style license that can be found in the LICENSE file. | 912 // BSD-style license that can be found in the LICENSE file. |
1107 | 913 |
1108 // WARNING: Do not edit - generated code. | 914 // WARNING: Do not edit - generated code. |
1109 | 915 |
1110 | 916 |
1111 @DocsEditable() | 917 @DocsEditable() |
1112 @DomName('EXTFragDepth') | 918 @DomName('EXTFragDepth') |
1113 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/ | 919 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/ |
1114 @Experimental() | 920 @Experimental() |
1115 class ExtFragDepth extends NativeFieldWrapperClass2 { | 921 class ExtFragDepth extends NativeFieldWrapperClass2 { |
1116 // To suppress missing implicit constructor warnings. | 922 // To suppress missing implicit constructor warnings. |
1117 factory ExtFragDepth._() { throw new UnsupportedError("Not supported"); } | 923 factory ExtFragDepth._() { throw new UnsupportedError("Not supported"); } |
1118 | 924 |
1119 static ExtFragDepth internalCreateExtFragDepth() { | |
1120 return new ExtFragDepth._internalWrap(); | |
1121 } | |
1122 | |
1123 JsObject blink_jsObject = null; | |
1124 | |
1125 factory ExtFragDepth._internalWrap() { | |
1126 return new ExtFragDepth._internal(); | |
1127 } | |
1128 | |
1129 ExtFragDepth._internal() { } | |
1130 | |
1131 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
1132 | |
1133 } | 925 } |
1134 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 926 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1135 // for details. All rights reserved. Use of this source code is governed by a | 927 // for details. All rights reserved. Use of this source code is governed by a |
1136 // BSD-style license that can be found in the LICENSE file. | 928 // BSD-style license that can be found in the LICENSE file. |
1137 | 929 |
1138 // WARNING: Do not edit - generated code. | 930 // WARNING: Do not edit - generated code. |
1139 | 931 |
1140 | 932 |
1141 @DocsEditable() | 933 @DocsEditable() |
1142 @DomName('EXTShaderTextureLOD') | 934 @DomName('EXTShaderTextureLOD') |
1143 @Experimental() // untriaged | 935 @Experimental() // untriaged |
1144 class ExtShaderTextureLod extends NativeFieldWrapperClass2 { | 936 class ExtShaderTextureLod extends NativeFieldWrapperClass2 { |
1145 // To suppress missing implicit constructor warnings. | 937 // To suppress missing implicit constructor warnings. |
1146 factory ExtShaderTextureLod._() { throw new UnsupportedError("Not supported");
} | 938 factory ExtShaderTextureLod._() { throw new UnsupportedError("Not supported");
} |
1147 | 939 |
1148 static ExtShaderTextureLod internalCreateExtShaderTextureLod() { | |
1149 return new ExtShaderTextureLod._internalWrap(); | |
1150 } | |
1151 | |
1152 JsObject blink_jsObject = null; | |
1153 | |
1154 factory ExtShaderTextureLod._internalWrap() { | |
1155 return new ExtShaderTextureLod._internal(); | |
1156 } | |
1157 | |
1158 ExtShaderTextureLod._internal() { } | |
1159 | |
1160 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
1161 | |
1162 } | 940 } |
1163 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 941 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1164 // for details. All rights reserved. Use of this source code is governed by a | 942 // for details. All rights reserved. Use of this source code is governed by a |
1165 // BSD-style license that can be found in the LICENSE file. | 943 // BSD-style license that can be found in the LICENSE file. |
1166 | 944 |
1167 // WARNING: Do not edit - generated code. | 945 // WARNING: Do not edit - generated code. |
1168 | 946 |
1169 | 947 |
1170 @DocsEditable() | 948 @DocsEditable() |
1171 @DomName('EXTTextureFilterAnisotropic') | 949 @DomName('EXTTextureFilterAnisotropic') |
1172 // http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotrop
ic/ | 950 // http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotrop
ic/ |
1173 @Experimental() | 951 @Experimental() |
1174 class ExtTextureFilterAnisotropic extends NativeFieldWrapperClass2 { | 952 class ExtTextureFilterAnisotropic extends NativeFieldWrapperClass2 { |
1175 // To suppress missing implicit constructor warnings. | 953 // To suppress missing implicit constructor warnings. |
1176 factory ExtTextureFilterAnisotropic._() { throw new UnsupportedError("Not supp
orted"); } | 954 factory ExtTextureFilterAnisotropic._() { throw new UnsupportedError("Not supp
orted"); } |
1177 | 955 |
1178 static ExtTextureFilterAnisotropic internalCreateExtTextureFilterAnisotropic()
{ | |
1179 return new ExtTextureFilterAnisotropic._internalWrap(); | |
1180 } | |
1181 | |
1182 JsObject blink_jsObject = null; | |
1183 | |
1184 factory ExtTextureFilterAnisotropic._internalWrap() { | |
1185 return new ExtTextureFilterAnisotropic._internal(); | |
1186 } | |
1187 | |
1188 ExtTextureFilterAnisotropic._internal() { } | |
1189 | |
1190 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
1191 | |
1192 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT') | 956 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT') |
1193 @DocsEditable() | 957 @DocsEditable() |
1194 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; | 958 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; |
1195 | 959 |
1196 @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT') | 960 @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT') |
1197 @DocsEditable() | 961 @DocsEditable() |
1198 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; | 962 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; |
1199 | 963 |
1200 } | 964 } |
1201 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 965 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1202 // for details. All rights reserved. Use of this source code is governed by a | 966 // for details. All rights reserved. Use of this source code is governed by a |
1203 // BSD-style license that can be found in the LICENSE file. | 967 // BSD-style license that can be found in the LICENSE file. |
1204 | 968 |
1205 // WARNING: Do not edit - generated code. | 969 // WARNING: Do not edit - generated code. |
1206 | 970 |
1207 | 971 |
1208 @DocsEditable() | 972 @DocsEditable() |
1209 @DomName('WebGLFramebuffer') | 973 @DomName('WebGLFramebuffer') |
1210 @Unstable() | 974 @Unstable() |
1211 class Framebuffer extends NativeFieldWrapperClass2 { | 975 class Framebuffer extends NativeFieldWrapperClass2 { |
1212 // To suppress missing implicit constructor warnings. | 976 // To suppress missing implicit constructor warnings. |
1213 factory Framebuffer._() { throw new UnsupportedError("Not supported"); } | 977 factory Framebuffer._() { throw new UnsupportedError("Not supported"); } |
1214 | 978 |
1215 static Framebuffer internalCreateFramebuffer() { | |
1216 return new Framebuffer._internalWrap(); | |
1217 } | |
1218 | |
1219 JsObject blink_jsObject = null; | |
1220 | |
1221 factory Framebuffer._internalWrap() { | |
1222 return new Framebuffer._internal(); | |
1223 } | |
1224 | |
1225 Framebuffer._internal() { } | |
1226 | |
1227 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
1228 | |
1229 } | 979 } |
1230 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 980 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1231 // for details. All rights reserved. Use of this source code is governed by a | 981 // for details. All rights reserved. Use of this source code is governed by a |
1232 // BSD-style license that can be found in the LICENSE file. | 982 // BSD-style license that can be found in the LICENSE file. |
1233 | 983 |
1234 // WARNING: Do not edit - generated code. | 984 // WARNING: Do not edit - generated code. |
1235 | 985 |
1236 | 986 |
1237 @DocsEditable() | 987 @DocsEditable() |
1238 @DomName('WebGLLoseContext') | 988 @DomName('WebGLLoseContext') |
1239 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/ | 989 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/ |
1240 @Experimental() | 990 @Experimental() |
1241 class LoseContext extends NativeFieldWrapperClass2 { | 991 class LoseContext extends NativeFieldWrapperClass2 { |
1242 // To suppress missing implicit constructor warnings. | 992 // To suppress missing implicit constructor warnings. |
1243 factory LoseContext._() { throw new UnsupportedError("Not supported"); } | 993 factory LoseContext._() { throw new UnsupportedError("Not supported"); } |
1244 | 994 |
1245 static LoseContext internalCreateLoseContext() { | |
1246 return new LoseContext._internalWrap(); | |
1247 } | |
1248 | |
1249 JsObject blink_jsObject = null; | |
1250 | |
1251 factory LoseContext._internalWrap() { | |
1252 return new LoseContext._internal(); | |
1253 } | |
1254 | |
1255 LoseContext._internal() { } | |
1256 | |
1257 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
1258 | |
1259 @DomName('WebGLLoseContext.loseContext') | 995 @DomName('WebGLLoseContext.loseContext') |
1260 @DocsEditable() | 996 @DocsEditable() |
1261 void loseContext() => _blink.BlinkWebGLLoseContext.instance.loseContext_Callba
ck_0_(unwrap_jso(this)); | 997 void loseContext() => _blink.BlinkWebGLLoseContext.instance.loseContext_Callba
ck_0_(unwrap_jso(this)); |
1262 | 998 |
1263 @DomName('WebGLLoseContext.restoreContext') | 999 @DomName('WebGLLoseContext.restoreContext') |
1264 @DocsEditable() | 1000 @DocsEditable() |
1265 void restoreContext() => _blink.BlinkWebGLLoseContext.instance.restoreContext_
Callback_0_(unwrap_jso(this)); | 1001 void restoreContext() => _blink.BlinkWebGLLoseContext.instance.restoreContext_
Callback_0_(unwrap_jso(this)); |
1266 | 1002 |
1267 } | 1003 } |
1268 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1004 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1269 // for details. All rights reserved. Use of this source code is governed by a | 1005 // for details. All rights reserved. Use of this source code is governed by a |
1270 // BSD-style license that can be found in the LICENSE file. | 1006 // BSD-style license that can be found in the LICENSE file. |
1271 | 1007 |
1272 // WARNING: Do not edit - generated code. | 1008 // WARNING: Do not edit - generated code. |
1273 | 1009 |
1274 | 1010 |
1275 @DocsEditable() | 1011 @DocsEditable() |
1276 @DomName('OESElementIndexUint') | 1012 @DomName('OESElementIndexUint') |
1277 // http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/ | 1013 // http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/ |
1278 @Experimental() // experimental | 1014 @Experimental() // experimental |
1279 class OesElementIndexUint extends NativeFieldWrapperClass2 { | 1015 class OesElementIndexUint extends NativeFieldWrapperClass2 { |
1280 // To suppress missing implicit constructor warnings. | 1016 // To suppress missing implicit constructor warnings. |
1281 factory OesElementIndexUint._() { throw new UnsupportedError("Not supported");
} | 1017 factory OesElementIndexUint._() { throw new UnsupportedError("Not supported");
} |
1282 | 1018 |
1283 static OesElementIndexUint internalCreateOesElementIndexUint() { | |
1284 return new OesElementIndexUint._internalWrap(); | |
1285 } | |
1286 | |
1287 JsObject blink_jsObject = null; | |
1288 | |
1289 factory OesElementIndexUint._internalWrap() { | |
1290 return new OesElementIndexUint._internal(); | |
1291 } | |
1292 | |
1293 OesElementIndexUint._internal() { } | |
1294 | |
1295 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
1296 | |
1297 } | 1019 } |
1298 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1020 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1299 // for details. All rights reserved. Use of this source code is governed by a | 1021 // for details. All rights reserved. Use of this source code is governed by a |
1300 // BSD-style license that can be found in the LICENSE file. | 1022 // BSD-style license that can be found in the LICENSE file. |
1301 | 1023 |
1302 // WARNING: Do not edit - generated code. | 1024 // WARNING: Do not edit - generated code. |
1303 | 1025 |
1304 | 1026 |
1305 @DocsEditable() | 1027 @DocsEditable() |
1306 @DomName('OESStandardDerivatives') | 1028 @DomName('OESStandardDerivatives') |
1307 // http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/ | 1029 // http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/ |
1308 @Experimental() // experimental | 1030 @Experimental() // experimental |
1309 class OesStandardDerivatives extends NativeFieldWrapperClass2 { | 1031 class OesStandardDerivatives extends NativeFieldWrapperClass2 { |
1310 // To suppress missing implicit constructor warnings. | 1032 // To suppress missing implicit constructor warnings. |
1311 factory OesStandardDerivatives._() { throw new UnsupportedError("Not supported
"); } | 1033 factory OesStandardDerivatives._() { throw new UnsupportedError("Not supported
"); } |
1312 | 1034 |
1313 static OesStandardDerivatives internalCreateOesStandardDerivatives() { | |
1314 return new OesStandardDerivatives._internalWrap(); | |
1315 } | |
1316 | |
1317 JsObject blink_jsObject = null; | |
1318 | |
1319 factory OesStandardDerivatives._internalWrap() { | |
1320 return new OesStandardDerivatives._internal(); | |
1321 } | |
1322 | |
1323 OesStandardDerivatives._internal() { } | |
1324 | |
1325 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
1326 | |
1327 @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES') | 1035 @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES') |
1328 @DocsEditable() | 1036 @DocsEditable() |
1329 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; | 1037 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; |
1330 | 1038 |
1331 } | 1039 } |
1332 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1040 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1333 // for details. All rights reserved. Use of this source code is governed by a | 1041 // for details. All rights reserved. Use of this source code is governed by a |
1334 // BSD-style license that can be found in the LICENSE file. | 1042 // BSD-style license that can be found in the LICENSE file. |
1335 | 1043 |
1336 // WARNING: Do not edit - generated code. | 1044 // WARNING: Do not edit - generated code. |
1337 | 1045 |
1338 | 1046 |
1339 @DocsEditable() | 1047 @DocsEditable() |
1340 @DomName('OESTextureFloat') | 1048 @DomName('OESTextureFloat') |
1341 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float/ | 1049 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float/ |
1342 @Experimental() // experimental | 1050 @Experimental() // experimental |
1343 class OesTextureFloat extends NativeFieldWrapperClass2 { | 1051 class OesTextureFloat extends NativeFieldWrapperClass2 { |
1344 // To suppress missing implicit constructor warnings. | 1052 // To suppress missing implicit constructor warnings. |
1345 factory OesTextureFloat._() { throw new UnsupportedError("Not supported"); } | 1053 factory OesTextureFloat._() { throw new UnsupportedError("Not supported"); } |
1346 | 1054 |
1347 static OesTextureFloat internalCreateOesTextureFloat() { | |
1348 return new OesTextureFloat._internalWrap(); | |
1349 } | |
1350 | |
1351 JsObject blink_jsObject = null; | |
1352 | |
1353 factory OesTextureFloat._internalWrap() { | |
1354 return new OesTextureFloat._internal(); | |
1355 } | |
1356 | |
1357 OesTextureFloat._internal() { } | |
1358 | |
1359 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
1360 | |
1361 } | 1055 } |
1362 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1056 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1363 // for details. All rights reserved. Use of this source code is governed by a | 1057 // for details. All rights reserved. Use of this source code is governed by a |
1364 // BSD-style license that can be found in the LICENSE file. | 1058 // BSD-style license that can be found in the LICENSE file. |
1365 | 1059 |
1366 // WARNING: Do not edit - generated code. | 1060 // WARNING: Do not edit - generated code. |
1367 | 1061 |
1368 | 1062 |
1369 @DocsEditable() | 1063 @DocsEditable() |
1370 @DomName('OESTextureFloatLinear') | 1064 @DomName('OESTextureFloatLinear') |
1371 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/ | 1065 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/ |
1372 @Experimental() | 1066 @Experimental() |
1373 class OesTextureFloatLinear extends NativeFieldWrapperClass2 { | 1067 class OesTextureFloatLinear extends NativeFieldWrapperClass2 { |
1374 // To suppress missing implicit constructor warnings. | 1068 // To suppress missing implicit constructor warnings. |
1375 factory OesTextureFloatLinear._() { throw new UnsupportedError("Not supported"
); } | 1069 factory OesTextureFloatLinear._() { throw new UnsupportedError("Not supported"
); } |
1376 | 1070 |
1377 static OesTextureFloatLinear internalCreateOesTextureFloatLinear() { | |
1378 return new OesTextureFloatLinear._internalWrap(); | |
1379 } | |
1380 | |
1381 JsObject blink_jsObject = null; | |
1382 | |
1383 factory OesTextureFloatLinear._internalWrap() { | |
1384 return new OesTextureFloatLinear._internal(); | |
1385 } | |
1386 | |
1387 OesTextureFloatLinear._internal() { } | |
1388 | |
1389 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
1390 | |
1391 } | 1071 } |
1392 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1072 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1393 // for details. All rights reserved. Use of this source code is governed by a | 1073 // for details. All rights reserved. Use of this source code is governed by a |
1394 // BSD-style license that can be found in the LICENSE file. | 1074 // BSD-style license that can be found in the LICENSE file. |
1395 | 1075 |
1396 // WARNING: Do not edit - generated code. | 1076 // WARNING: Do not edit - generated code. |
1397 | 1077 |
1398 | 1078 |
1399 @DocsEditable() | 1079 @DocsEditable() |
1400 @DomName('OESTextureHalfFloat') | 1080 @DomName('OESTextureHalfFloat') |
1401 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/ | 1081 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/ |
1402 @Experimental() // experimental | 1082 @Experimental() // experimental |
1403 class OesTextureHalfFloat extends NativeFieldWrapperClass2 { | 1083 class OesTextureHalfFloat extends NativeFieldWrapperClass2 { |
1404 // To suppress missing implicit constructor warnings. | 1084 // To suppress missing implicit constructor warnings. |
1405 factory OesTextureHalfFloat._() { throw new UnsupportedError("Not supported");
} | 1085 factory OesTextureHalfFloat._() { throw new UnsupportedError("Not supported");
} |
1406 | 1086 |
1407 static OesTextureHalfFloat internalCreateOesTextureHalfFloat() { | |
1408 return new OesTextureHalfFloat._internalWrap(); | |
1409 } | |
1410 | |
1411 JsObject blink_jsObject = null; | |
1412 | |
1413 factory OesTextureHalfFloat._internalWrap() { | |
1414 return new OesTextureHalfFloat._internal(); | |
1415 } | |
1416 | |
1417 OesTextureHalfFloat._internal() { } | |
1418 | |
1419 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
1420 | |
1421 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES') | 1087 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES') |
1422 @DocsEditable() | 1088 @DocsEditable() |
1423 static const int HALF_FLOAT_OES = 0x8D61; | 1089 static const int HALF_FLOAT_OES = 0x8D61; |
1424 | 1090 |
1425 } | 1091 } |
1426 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1092 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1427 // for details. All rights reserved. Use of this source code is governed by a | 1093 // for details. All rights reserved. Use of this source code is governed by a |
1428 // BSD-style license that can be found in the LICENSE file. | 1094 // BSD-style license that can be found in the LICENSE file. |
1429 | 1095 |
1430 // WARNING: Do not edit - generated code. | 1096 // WARNING: Do not edit - generated code. |
1431 | 1097 |
1432 | 1098 |
1433 @DocsEditable() | 1099 @DocsEditable() |
1434 @DomName('OESTextureHalfFloatLinear') | 1100 @DomName('OESTextureHalfFloatLinear') |
1435 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float_linea
r/ | 1101 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float_linea
r/ |
1436 @Experimental() | 1102 @Experimental() |
1437 class OesTextureHalfFloatLinear extends NativeFieldWrapperClass2 { | 1103 class OesTextureHalfFloatLinear extends NativeFieldWrapperClass2 { |
1438 // To suppress missing implicit constructor warnings. | 1104 // To suppress missing implicit constructor warnings. |
1439 factory OesTextureHalfFloatLinear._() { throw new UnsupportedError("Not suppor
ted"); } | 1105 factory OesTextureHalfFloatLinear._() { throw new UnsupportedError("Not suppor
ted"); } |
1440 | 1106 |
1441 static OesTextureHalfFloatLinear internalCreateOesTextureHalfFloatLinear() { | |
1442 return new OesTextureHalfFloatLinear._internalWrap(); | |
1443 } | |
1444 | |
1445 JsObject blink_jsObject = null; | |
1446 | |
1447 factory OesTextureHalfFloatLinear._internalWrap() { | |
1448 return new OesTextureHalfFloatLinear._internal(); | |
1449 } | |
1450 | |
1451 OesTextureHalfFloatLinear._internal() { } | |
1452 | |
1453 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
1454 | |
1455 } | 1107 } |
1456 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1108 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1457 // for details. All rights reserved. Use of this source code is governed by a | 1109 // for details. All rights reserved. Use of this source code is governed by a |
1458 // BSD-style license that can be found in the LICENSE file. | 1110 // BSD-style license that can be found in the LICENSE file. |
1459 | 1111 |
1460 // WARNING: Do not edit - generated code. | 1112 // WARNING: Do not edit - generated code. |
1461 | 1113 |
1462 | 1114 |
1463 @DocsEditable() | 1115 @DocsEditable() |
1464 @DomName('OESVertexArrayObject') | 1116 @DomName('OESVertexArrayObject') |
1465 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ | 1117 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ |
1466 @Experimental() // experimental | 1118 @Experimental() // experimental |
1467 class OesVertexArrayObject extends NativeFieldWrapperClass2 { | 1119 class OesVertexArrayObject extends NativeFieldWrapperClass2 { |
1468 // To suppress missing implicit constructor warnings. | 1120 // To suppress missing implicit constructor warnings. |
1469 factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported")
; } | 1121 factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported")
; } |
1470 | 1122 |
1471 static OesVertexArrayObject internalCreateOesVertexArrayObject() { | |
1472 return new OesVertexArrayObject._internalWrap(); | |
1473 } | |
1474 | |
1475 JsObject blink_jsObject = null; | |
1476 | |
1477 factory OesVertexArrayObject._internalWrap() { | |
1478 return new OesVertexArrayObject._internal(); | |
1479 } | |
1480 | |
1481 OesVertexArrayObject._internal() { } | |
1482 | |
1483 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
1484 | |
1485 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') | 1123 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') |
1486 @DocsEditable() | 1124 @DocsEditable() |
1487 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; | 1125 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; |
1488 | 1126 |
1489 @DomName('OESVertexArrayObject.bindVertexArrayOES') | 1127 @DomName('OESVertexArrayObject.bindVertexArrayOES') |
1490 @DocsEditable() | 1128 @DocsEditable() |
1491 void bindVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertexAr
rayObject.instance.bindVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_jso(a
rrayObject)); | 1129 void bindVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertexAr
rayObject.instance.bindVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_jso(a
rrayObject)); |
1492 | 1130 |
1493 @DomName('OESVertexArrayObject.createVertexArrayOES') | 1131 @DomName('OESVertexArrayObject.createVertexArrayOES') |
1494 @DocsEditable() | 1132 @DocsEditable() |
(...skipping 15 matching lines...) Expand all Loading... |
1510 // WARNING: Do not edit - generated code. | 1148 // WARNING: Do not edit - generated code. |
1511 | 1149 |
1512 | 1150 |
1513 @DocsEditable() | 1151 @DocsEditable() |
1514 @DomName('WebGLProgram') | 1152 @DomName('WebGLProgram') |
1515 @Unstable() | 1153 @Unstable() |
1516 class Program extends NativeFieldWrapperClass2 { | 1154 class Program extends NativeFieldWrapperClass2 { |
1517 // To suppress missing implicit constructor warnings. | 1155 // To suppress missing implicit constructor warnings. |
1518 factory Program._() { throw new UnsupportedError("Not supported"); } | 1156 factory Program._() { throw new UnsupportedError("Not supported"); } |
1519 | 1157 |
1520 static Program internalCreateProgram() { | |
1521 return new Program._internalWrap(); | |
1522 } | |
1523 | |
1524 JsObject blink_jsObject = null; | |
1525 | |
1526 factory Program._internalWrap() { | |
1527 return new Program._internal(); | |
1528 } | |
1529 | |
1530 Program._internal() { } | |
1531 | |
1532 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
1533 | |
1534 } | 1158 } |
1535 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1159 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1536 // for details. All rights reserved. Use of this source code is governed by a | 1160 // for details. All rights reserved. Use of this source code is governed by a |
1537 // BSD-style license that can be found in the LICENSE file. | 1161 // BSD-style license that can be found in the LICENSE file. |
1538 | 1162 |
1539 // WARNING: Do not edit - generated code. | 1163 // WARNING: Do not edit - generated code. |
1540 | 1164 |
1541 | 1165 |
1542 @DocsEditable() | 1166 @DocsEditable() |
1543 @DomName('WebGLRenderbuffer') | 1167 @DomName('WebGLRenderbuffer') |
1544 @Unstable() | 1168 @Unstable() |
1545 class Renderbuffer extends NativeFieldWrapperClass2 { | 1169 class Renderbuffer extends NativeFieldWrapperClass2 { |
1546 // To suppress missing implicit constructor warnings. | 1170 // To suppress missing implicit constructor warnings. |
1547 factory Renderbuffer._() { throw new UnsupportedError("Not supported"); } | 1171 factory Renderbuffer._() { throw new UnsupportedError("Not supported"); } |
1548 | 1172 |
1549 static Renderbuffer internalCreateRenderbuffer() { | |
1550 return new Renderbuffer._internalWrap(); | |
1551 } | |
1552 | |
1553 JsObject blink_jsObject = null; | |
1554 | |
1555 factory Renderbuffer._internalWrap() { | |
1556 return new Renderbuffer._internal(); | |
1557 } | |
1558 | |
1559 Renderbuffer._internal() { } | |
1560 | |
1561 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
1562 | |
1563 } | 1173 } |
1564 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1174 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
1565 // for details. All rights reserved. Use of this source code is governed by a | 1175 // for details. All rights reserved. Use of this source code is governed by a |
1566 // BSD-style license that can be found in the LICENSE file. | 1176 // BSD-style license that can be found in the LICENSE file. |
1567 | 1177 |
1568 | 1178 |
1569 @DomName('WebGLRenderingContext') | 1179 @DomName('WebGLRenderingContext') |
1570 @SupportedBrowser(SupportedBrowser.CHROME) | 1180 @SupportedBrowser(SupportedBrowser.CHROME) |
1571 @SupportedBrowser(SupportedBrowser.FIREFOX) | 1181 @SupportedBrowser(SupportedBrowser.FIREFOX) |
1572 @Experimental() | 1182 @Experimental() |
1573 @Unstable() | 1183 @Unstable() |
1574 class RenderingContext extends NativeFieldWrapperClass2 implements CanvasRenderi
ngContext { | 1184 class RenderingContext extends NativeFieldWrapperClass2 implements CanvasRenderi
ngContext { |
1575 // To suppress missing implicit constructor warnings. | 1185 // To suppress missing implicit constructor warnings. |
1576 factory RenderingContext._() { throw new UnsupportedError("Not supported"); } | 1186 factory RenderingContext._() { throw new UnsupportedError("Not supported"); } |
1577 | 1187 |
1578 static RenderingContext internalCreateRenderingContext() { | |
1579 return new RenderingContext._internalWrap(); | |
1580 } | |
1581 | |
1582 JsObject blink_jsObject = null; | |
1583 | |
1584 factory RenderingContext._internalWrap() { | |
1585 return new RenderingContext._internal(); | |
1586 } | |
1587 | |
1588 RenderingContext._internal() { } | |
1589 | |
1590 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
1591 | |
1592 /// Checks if this type is supported on the current platform. | 1188 /// Checks if this type is supported on the current platform. |
1593 static bool get supported => true; | 1189 static bool get supported => true; |
1594 | 1190 |
1595 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES') | 1191 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES') |
1596 @DocsEditable() | 1192 @DocsEditable() |
1597 static const int ACTIVE_ATTRIBUTES = 0x8B89; | 1193 static const int ACTIVE_ATTRIBUTES = 0x8B89; |
1598 | 1194 |
1599 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE') | 1195 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE') |
1600 @DocsEditable() | 1196 @DocsEditable() |
1601 static const int ACTIVE_TEXTURE = 0x84E0; | 1197 static const int ACTIVE_TEXTURE = 0x84E0; |
(...skipping 1912 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3514 | 3110 |
3515 // WARNING: Do not edit - generated code. | 3111 // WARNING: Do not edit - generated code. |
3516 | 3112 |
3517 | 3113 |
3518 @DocsEditable() | 3114 @DocsEditable() |
3519 @DomName('WebGLShader') | 3115 @DomName('WebGLShader') |
3520 class Shader extends NativeFieldWrapperClass2 { | 3116 class Shader extends NativeFieldWrapperClass2 { |
3521 // To suppress missing implicit constructor warnings. | 3117 // To suppress missing implicit constructor warnings. |
3522 factory Shader._() { throw new UnsupportedError("Not supported"); } | 3118 factory Shader._() { throw new UnsupportedError("Not supported"); } |
3523 | 3119 |
3524 static Shader internalCreateShader() { | |
3525 return new Shader._internalWrap(); | |
3526 } | |
3527 | |
3528 JsObject blink_jsObject = null; | |
3529 | |
3530 factory Shader._internalWrap() { | |
3531 return new Shader._internal(); | |
3532 } | |
3533 | |
3534 Shader._internal() { } | |
3535 | |
3536 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
3537 | |
3538 } | 3120 } |
3539 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3121 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3540 // for details. All rights reserved. Use of this source code is governed by a | 3122 // for details. All rights reserved. Use of this source code is governed by a |
3541 // BSD-style license that can be found in the LICENSE file. | 3123 // BSD-style license that can be found in the LICENSE file. |
3542 | 3124 |
3543 // WARNING: Do not edit - generated code. | 3125 // WARNING: Do not edit - generated code. |
3544 | 3126 |
3545 | 3127 |
3546 @DocsEditable() | 3128 @DocsEditable() |
3547 @DomName('WebGLShaderPrecisionFormat') | 3129 @DomName('WebGLShaderPrecisionFormat') |
3548 class ShaderPrecisionFormat extends NativeFieldWrapperClass2 { | 3130 class ShaderPrecisionFormat extends NativeFieldWrapperClass2 { |
3549 // To suppress missing implicit constructor warnings. | 3131 // To suppress missing implicit constructor warnings. |
3550 factory ShaderPrecisionFormat._() { throw new UnsupportedError("Not supported"
); } | 3132 factory ShaderPrecisionFormat._() { throw new UnsupportedError("Not supported"
); } |
3551 | 3133 |
3552 static ShaderPrecisionFormat internalCreateShaderPrecisionFormat() { | |
3553 return new ShaderPrecisionFormat._internalWrap(); | |
3554 } | |
3555 | |
3556 JsObject blink_jsObject = null; | |
3557 | |
3558 factory ShaderPrecisionFormat._internalWrap() { | |
3559 return new ShaderPrecisionFormat._internal(); | |
3560 } | |
3561 | |
3562 ShaderPrecisionFormat._internal() { } | |
3563 | |
3564 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
3565 | |
3566 @DomName('WebGLShaderPrecisionFormat.precision') | 3134 @DomName('WebGLShaderPrecisionFormat.precision') |
3567 @DocsEditable() | 3135 @DocsEditable() |
3568 int get precision => _blink.BlinkWebGLShaderPrecisionFormat.instance.precision
_Getter_(unwrap_jso(this)); | 3136 int get precision => _blink.BlinkWebGLShaderPrecisionFormat.instance.precision
_Getter_(unwrap_jso(this)); |
3569 | 3137 |
3570 @DomName('WebGLShaderPrecisionFormat.rangeMax') | 3138 @DomName('WebGLShaderPrecisionFormat.rangeMax') |
3571 @DocsEditable() | 3139 @DocsEditable() |
3572 int get rangeMax => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMax_G
etter_(unwrap_jso(this)); | 3140 int get rangeMax => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMax_G
etter_(unwrap_jso(this)); |
3573 | 3141 |
3574 @DomName('WebGLShaderPrecisionFormat.rangeMin') | 3142 @DomName('WebGLShaderPrecisionFormat.rangeMin') |
3575 @DocsEditable() | 3143 @DocsEditable() |
3576 int get rangeMin => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMin_G
etter_(unwrap_jso(this)); | 3144 int get rangeMin => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMin_G
etter_(unwrap_jso(this)); |
3577 | 3145 |
3578 } | 3146 } |
3579 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3147 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3580 // for details. All rights reserved. Use of this source code is governed by a | 3148 // for details. All rights reserved. Use of this source code is governed by a |
3581 // BSD-style license that can be found in the LICENSE file. | 3149 // BSD-style license that can be found in the LICENSE file. |
3582 | 3150 |
3583 // WARNING: Do not edit - generated code. | 3151 // WARNING: Do not edit - generated code. |
3584 | 3152 |
3585 | 3153 |
3586 @DocsEditable() | 3154 @DocsEditable() |
3587 @DomName('WebGLTexture') | 3155 @DomName('WebGLTexture') |
3588 class Texture extends NativeFieldWrapperClass2 { | 3156 class Texture extends NativeFieldWrapperClass2 { |
3589 // To suppress missing implicit constructor warnings. | 3157 // To suppress missing implicit constructor warnings. |
3590 factory Texture._() { throw new UnsupportedError("Not supported"); } | 3158 factory Texture._() { throw new UnsupportedError("Not supported"); } |
3591 | 3159 |
3592 static Texture internalCreateTexture() { | |
3593 return new Texture._internalWrap(); | |
3594 } | |
3595 | |
3596 JsObject blink_jsObject = null; | |
3597 | |
3598 factory Texture._internalWrap() { | |
3599 return new Texture._internal(); | |
3600 } | |
3601 | |
3602 Texture._internal() { } | |
3603 | |
3604 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
3605 | |
3606 } | 3160 } |
3607 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3161 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3608 // for details. All rights reserved. Use of this source code is governed by a | 3162 // for details. All rights reserved. Use of this source code is governed by a |
3609 // BSD-style license that can be found in the LICENSE file. | 3163 // BSD-style license that can be found in the LICENSE file. |
3610 | 3164 |
3611 // WARNING: Do not edit - generated code. | 3165 // WARNING: Do not edit - generated code. |
3612 | 3166 |
3613 | 3167 |
3614 @DocsEditable() | 3168 @DocsEditable() |
3615 @DomName('WebGLUniformLocation') | 3169 @DomName('WebGLUniformLocation') |
3616 class UniformLocation extends NativeFieldWrapperClass2 { | 3170 class UniformLocation extends NativeFieldWrapperClass2 { |
3617 // To suppress missing implicit constructor warnings. | 3171 // To suppress missing implicit constructor warnings. |
3618 factory UniformLocation._() { throw new UnsupportedError("Not supported"); } | 3172 factory UniformLocation._() { throw new UnsupportedError("Not supported"); } |
3619 | 3173 |
3620 static UniformLocation internalCreateUniformLocation() { | |
3621 return new UniformLocation._internalWrap(); | |
3622 } | |
3623 | |
3624 JsObject blink_jsObject = null; | |
3625 | |
3626 factory UniformLocation._internalWrap() { | |
3627 return new UniformLocation._internal(); | |
3628 } | |
3629 | |
3630 UniformLocation._internal() { } | |
3631 | |
3632 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
3633 | |
3634 } | 3174 } |
3635 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3175 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3636 // for details. All rights reserved. Use of this source code is governed by a | 3176 // for details. All rights reserved. Use of this source code is governed by a |
3637 // BSD-style license that can be found in the LICENSE file. | 3177 // BSD-style license that can be found in the LICENSE file. |
3638 | 3178 |
3639 // WARNING: Do not edit - generated code. | 3179 // WARNING: Do not edit - generated code. |
3640 | 3180 |
3641 | 3181 |
3642 @DocsEditable() | 3182 @DocsEditable() |
3643 @DomName('WebGLVertexArrayObjectOES') | 3183 @DomName('WebGLVertexArrayObjectOES') |
3644 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ | 3184 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ |
3645 @Experimental() // experimental | 3185 @Experimental() // experimental |
3646 class VertexArrayObject extends NativeFieldWrapperClass2 { | 3186 class VertexArrayObject extends NativeFieldWrapperClass2 { |
3647 // To suppress missing implicit constructor warnings. | 3187 // To suppress missing implicit constructor warnings. |
3648 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } | 3188 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } |
3649 | 3189 |
3650 static VertexArrayObject internalCreateVertexArrayObject() { | |
3651 return new VertexArrayObject._internalWrap(); | |
3652 } | |
3653 | |
3654 JsObject blink_jsObject = null; | |
3655 | |
3656 factory VertexArrayObject._internalWrap() { | |
3657 return new VertexArrayObject._internal(); | |
3658 } | |
3659 | |
3660 VertexArrayObject._internal() { } | |
3661 | |
3662 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
3663 | |
3664 } | 3190 } |
3665 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3191 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3666 // for details. All rights reserved. Use of this source code is governed by a | 3192 // for details. All rights reserved. Use of this source code is governed by a |
3667 // BSD-style license that can be found in the LICENSE file. | 3193 // BSD-style license that can be found in the LICENSE file. |
3668 | 3194 |
3669 // WARNING: Do not edit - generated code. | 3195 // WARNING: Do not edit - generated code. |
3670 | 3196 |
3671 | 3197 |
3672 @DocsEditable() | 3198 @DocsEditable() |
3673 @DomName('WebGLRenderingContextBase') | 3199 @DomName('WebGLRenderingContextBase') |
3674 @Experimental() // untriaged | 3200 @Experimental() // untriaged |
3675 abstract class _WebGLRenderingContextBase extends NativeFieldWrapperClass2 { | 3201 abstract class _WebGLRenderingContextBase extends NativeFieldWrapperClass2 { |
3676 // To suppress missing implicit constructor warnings. | 3202 // To suppress missing implicit constructor warnings. |
3677 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo
rted"); } | 3203 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo
rted"); } |
3678 | 3204 |
3679 static _WebGLRenderingContextBase internalCreate_WebGLRenderingContextBase() { | |
3680 return new _WebGLRenderingContextBase._internalWrap(); | |
3681 } | |
3682 | |
3683 JsObject blink_jsObject = null; | |
3684 | |
3685 factory _WebGLRenderingContextBase._internalWrap() { | |
3686 return new _WebGLRenderingContextBase._internal(); | |
3687 } | |
3688 | |
3689 _WebGLRenderingContextBase._internal() { } | |
3690 | |
3691 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | |
3692 | |
3693 } | 3205 } |
OLD | NEW |