Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(473)

Side by Side Diff: sdk/lib/web_gl/dartium/web_gl_dartium.dart

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

Powered by Google App Engine
This is Rietveld 408576698