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

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

Issue 1348173002: Dartium JS Enabled take 2 (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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';
11 import 'dart:nativewrappers'; 11 import 'dart:nativewrappers';
12 import 'dart:typed_data'; 12 import 'dart:typed_data';
13 import 'dart:_blink' as _blink; 13 import 'dart:_blink' as _blink;
14 import 'dart:js' as js;
14 // DO NOT EDIT 15 // DO NOT EDIT
15 // Auto-generated dart:web_gl library. 16 // Auto-generated dart:web_gl library.
16 17
17 18
18 19
19 20
20 21
21 // FIXME: Can we make this private? 22 // FIXME: Can we make this private?
22 final web_glBlinkMap = { 23 final web_glBlinkMap = {
23 'ANGLEInstancedArrays': () => AngleInstancedArrays, 24 'ANGLEInstancedArrays': () => AngleInstancedArrays,
(...skipping 27 matching lines...) Expand all
51 'WebGLRenderingContext': () => RenderingContext, 52 'WebGLRenderingContext': () => RenderingContext,
52 'WebGLRenderingContextBase': () => _WebGLRenderingContextBase, 53 'WebGLRenderingContextBase': () => _WebGLRenderingContextBase,
53 'WebGLShader': () => Shader, 54 'WebGLShader': () => Shader,
54 'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat, 55 'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat,
55 'WebGLTexture': () => Texture, 56 'WebGLTexture': () => Texture,
56 'WebGLUniformLocation': () => UniformLocation, 57 'WebGLUniformLocation': () => UniformLocation,
57 'WebGLVertexArrayObjectOES': () => VertexArrayObject, 58 'WebGLVertexArrayObjectOES': () => VertexArrayObject,
58 59
59 }; 60 };
60 61
62 // FIXME: Can we make this private?
63 final web_glBlinkFunctionMap = {
64 'ANGLEInstancedArrays': () => AngleInstancedArrays.internalCreateAngleInstance dArrays,
65 'EXTBlendMinMax': () => ExtBlendMinMax.internalCreateExtBlendMinMax,
66 'EXTFragDepth': () => ExtFragDepth.internalCreateExtFragDepth,
67 'EXTShaderTextureLOD': () => ExtShaderTextureLod.internalCreateExtShaderTextur eLod,
68 'EXTTextureFilterAnisotropic': () => ExtTextureFilterAnisotropic.internalCreat eExtTextureFilterAnisotropic,
69 'OESElementIndexUint': () => OesElementIndexUint.internalCreateOesElementIndex Uint,
70 'OESStandardDerivatives': () => OesStandardDerivatives.internalCreateOesStanda rdDerivatives,
71 'OESTextureFloat': () => OesTextureFloat.internalCreateOesTextureFloat,
72 'OESTextureFloatLinear': () => OesTextureFloatLinear.internalCreateOesTextureF loatLinear,
73 'OESTextureHalfFloat': () => OesTextureHalfFloat.internalCreateOesTextureHalfF loat,
74 'OESTextureHalfFloatLinear': () => OesTextureHalfFloatLinear.internalCreateOes TextureHalfFloatLinear,
75 'OESVertexArrayObject': () => OesVertexArrayObject.internalCreateOesVertexArra yObject,
76 'WebGLActiveInfo': () => ActiveInfo.internalCreateActiveInfo,
77 'WebGLBuffer': () => Buffer.internalCreateBuffer,
78 'WebGLCompressedTextureATC': () => CompressedTextureAtc.internalCreateCompress edTextureAtc,
79 'WebGLCompressedTextureETC1': () => CompressedTextureETC1.internalCreateCompre ssedTextureETC1,
80 'WebGLCompressedTexturePVRTC': () => CompressedTexturePvrtc.internalCreateComp ressedTexturePvrtc,
81 'WebGLCompressedTextureS3TC': () => CompressedTextureS3TC.internalCreateCompre ssedTextureS3TC,
82 'WebGLContextAttributes': () => ContextAttributes.internalCreateContextAttribu tes,
83 'WebGLContextEvent': () => ContextEvent.internalCreateContextEvent,
84 'WebGLDebugRendererInfo': () => DebugRendererInfo.internalCreateDebugRendererI nfo,
85 'WebGLDebugShaders': () => DebugShaders.internalCreateDebugShaders,
86 'WebGLDepthTexture': () => DepthTexture.internalCreateDepthTexture,
87 'WebGLDrawBuffers': () => DrawBuffers.internalCreateDrawBuffers,
88 'WebGLFramebuffer': () => Framebuffer.internalCreateFramebuffer,
89 'WebGLLoseContext': () => LoseContext.internalCreateLoseContext,
90 'WebGLProgram': () => Program.internalCreateProgram,
91 'WebGLRenderbuffer': () => Renderbuffer.internalCreateRenderbuffer,
92 'WebGLRenderingContext': () => RenderingContext.internalCreateRenderingContext ,
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 js.JsObject blink_jsObject;
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 int get hashCode => unwrap_jso(this).hashCode;
429
376 @DomName('WebGLActiveInfo.name') 430 @DomName('WebGLActiveInfo.name')
377 @DocsEditable() 431 @DocsEditable()
378 String get name => _blink.BlinkWebGLActiveInfo.instance.name_Getter_(unwrap_js o(this)); 432 String get name => _blink.BlinkWebGLActiveInfo.instance.name_Getter_(unwrap_js o(this));
379 433
380 @DomName('WebGLActiveInfo.size') 434 @DomName('WebGLActiveInfo.size')
381 @DocsEditable() 435 @DocsEditable()
382 int get size => _blink.BlinkWebGLActiveInfo.instance.size_Getter_(unwrap_jso(t his)); 436 int get size => _blink.BlinkWebGLActiveInfo.instance.size_Getter_(unwrap_jso(t his));
383 437
384 @DomName('WebGLActiveInfo.type') 438 @DomName('WebGLActiveInfo.type')
385 @DocsEditable() 439 @DocsEditable()
386 int get type => _blink.BlinkWebGLActiveInfo.instance.type_Getter_(unwrap_jso(t his)); 440 int get type => _blink.BlinkWebGLActiveInfo.instance.type_Getter_(unwrap_jso(t his));
387 441
388 } 442 }
389 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 443 // 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 444 // 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. 445 // BSD-style license that can be found in the LICENSE file.
392 446
393 // WARNING: Do not edit - generated code. 447 // WARNING: Do not edit - generated code.
394 448
395 449
396 @DocsEditable() 450 @DocsEditable()
397 @DomName('ANGLEInstancedArrays') 451 @DomName('ANGLEInstancedArrays')
398 @Experimental() // untriaged 452 @Experimental() // untriaged
399 class AngleInstancedArrays extends NativeFieldWrapperClass2 { 453 class AngleInstancedArrays extends NativeFieldWrapperClass2 {
400 // To suppress missing implicit constructor warnings. 454 // To suppress missing implicit constructor warnings.
401 factory AngleInstancedArrays._() { throw new UnsupportedError("Not supported") ; } 455 factory AngleInstancedArrays._() { throw new UnsupportedError("Not supported") ; }
402 456
457 static AngleInstancedArrays internalCreateAngleInstancedArrays() {
458 return new AngleInstancedArrays._internalWrap();
459 }
460
461 js.JsObject blink_jsObject;
462
463 factory AngleInstancedArrays._internalWrap() {
464 return new AngleInstancedArrays.internal_();
465 }
466
467 AngleInstancedArrays.internal_() { }
468
469 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
470 int get hashCode => unwrap_jso(this).hashCode;
471
403 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE') 472 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE')
404 @DocsEditable() 473 @DocsEditable()
405 @Experimental() // untriaged 474 @Experimental() // untriaged
406 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; 475 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE;
407 476
408 @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE') 477 @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE')
409 @DocsEditable() 478 @DocsEditable()
410 @Experimental() // untriaged 479 @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); 480 void drawArraysInstancedAngle(int mode, int first, int count, int primcount) = > _blink.BlinkANGLEInstancedArrays.instance.drawArraysInstancedANGLE_Callback_4_ (unwrap_jso(this), mode, first, count, primcount);
412 481
(...skipping 15 matching lines...) Expand all
428 // WARNING: Do not edit - generated code. 497 // WARNING: Do not edit - generated code.
429 498
430 499
431 @DocsEditable() 500 @DocsEditable()
432 @DomName('WebGLBuffer') 501 @DomName('WebGLBuffer')
433 @Unstable() 502 @Unstable()
434 class Buffer extends NativeFieldWrapperClass2 { 503 class Buffer extends NativeFieldWrapperClass2 {
435 // To suppress missing implicit constructor warnings. 504 // To suppress missing implicit constructor warnings.
436 factory Buffer._() { throw new UnsupportedError("Not supported"); } 505 factory Buffer._() { throw new UnsupportedError("Not supported"); }
437 506
507 static Buffer internalCreateBuffer() {
508 return new Buffer._internalWrap();
509 }
510
511 js.JsObject blink_jsObject;
512
513 factory Buffer._internalWrap() {
514 return new Buffer.internal_();
515 }
516
517 Buffer.internal_() { }
518
519 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
520 int get hashCode => unwrap_jso(this).hashCode;
521
438 } 522 }
439 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 523 // 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 524 // 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. 525 // BSD-style license that can be found in the LICENSE file.
442 526
443 // WARNING: Do not edit - generated code. 527 // WARNING: Do not edit - generated code.
444 528
445 529
446 @DocsEditable() 530 @DocsEditable()
447 @DomName('WebGLCompressedTextureATC') 531 @DomName('WebGLCompressedTextureATC')
448 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc / 532 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc /
449 @Experimental() 533 @Experimental()
450 class CompressedTextureAtc extends NativeFieldWrapperClass2 { 534 class CompressedTextureAtc extends NativeFieldWrapperClass2 {
451 // To suppress missing implicit constructor warnings. 535 // To suppress missing implicit constructor warnings.
452 factory CompressedTextureAtc._() { throw new UnsupportedError("Not supported") ; } 536 factory CompressedTextureAtc._() { throw new UnsupportedError("Not supported") ; }
453 537
538 static CompressedTextureAtc internalCreateCompressedTextureAtc() {
539 return new CompressedTextureAtc._internalWrap();
540 }
541
542 js.JsObject blink_jsObject;
543
544 factory CompressedTextureAtc._internalWrap() {
545 return new CompressedTextureAtc.internal_();
546 }
547
548 CompressedTextureAtc.internal_() { }
549
550 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
551 int get hashCode => unwrap_jso(this).hashCode;
552
454 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL') 553 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL')
455 @DocsEditable() 554 @DocsEditable()
456 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93; 555 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93;
457 556
458 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEB GL') 557 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEB GL')
459 @DocsEditable() 558 @DocsEditable()
460 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE; 559 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE;
461 560
462 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL') 561 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL')
463 @DocsEditable() 562 @DocsEditable()
464 static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92; 563 static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92;
465 564
466 } 565 }
467 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 566 // 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 567 // 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. 568 // BSD-style license that can be found in the LICENSE file.
470 569
471 // WARNING: Do not edit - generated code. 570 // WARNING: Do not edit - generated code.
472 571
473 572
474 @DocsEditable() 573 @DocsEditable()
475 @DomName('WebGLCompressedTextureETC1') 574 @DomName('WebGLCompressedTextureETC1')
476 @Experimental() // untriaged 575 @Experimental() // untriaged
477 class CompressedTextureETC1 extends NativeFieldWrapperClass2 { 576 class CompressedTextureETC1 extends NativeFieldWrapperClass2 {
478 // To suppress missing implicit constructor warnings. 577 // To suppress missing implicit constructor warnings.
479 factory CompressedTextureETC1._() { throw new UnsupportedError("Not supported" ); } 578 factory CompressedTextureETC1._() { throw new UnsupportedError("Not supported" ); }
480 579
580 static CompressedTextureETC1 internalCreateCompressedTextureETC1() {
581 return new CompressedTextureETC1._internalWrap();
582 }
583
584 js.JsObject blink_jsObject;
585
586 factory CompressedTextureETC1._internalWrap() {
587 return new CompressedTextureETC1.internal_();
588 }
589
590 CompressedTextureETC1.internal_() { }
591
592 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
593 int get hashCode => unwrap_jso(this).hashCode;
594
481 @DomName('WebGLCompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL') 595 @DomName('WebGLCompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL')
482 @DocsEditable() 596 @DocsEditable()
483 @Experimental() // untriaged 597 @Experimental() // untriaged
484 static const int COMPRESSED_RGB_ETC1_WEBGL = 0x8D64; 598 static const int COMPRESSED_RGB_ETC1_WEBGL = 0x8D64;
485 599
486 } 600 }
487 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 601 // 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 602 // 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. 603 // BSD-style license that can be found in the LICENSE file.
490 604
491 // WARNING: Do not edit - generated code. 605 // WARNING: Do not edit - generated code.
492 606
493 607
494 @DocsEditable() 608 @DocsEditable()
495 @DomName('WebGLCompressedTexturePVRTC') 609 @DomName('WebGLCompressedTexturePVRTC')
496 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvr tc/ 610 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvr tc/
497 @Experimental() // experimental 611 @Experimental() // experimental
498 class CompressedTexturePvrtc extends NativeFieldWrapperClass2 { 612 class CompressedTexturePvrtc extends NativeFieldWrapperClass2 {
499 // To suppress missing implicit constructor warnings. 613 // To suppress missing implicit constructor warnings.
500 factory CompressedTexturePvrtc._() { throw new UnsupportedError("Not supported "); } 614 factory CompressedTexturePvrtc._() { throw new UnsupportedError("Not supported "); }
501 615
616 static CompressedTexturePvrtc internalCreateCompressedTexturePvrtc() {
617 return new CompressedTexturePvrtc._internalWrap();
618 }
619
620 js.JsObject blink_jsObject;
621
622 factory CompressedTexturePvrtc._internalWrap() {
623 return new CompressedTexturePvrtc.internal_();
624 }
625
626 CompressedTexturePvrtc.internal_() { }
627
628 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
629 int get hashCode => unwrap_jso(this).hashCode;
630
502 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG') 631 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG')
503 @DocsEditable() 632 @DocsEditable()
504 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03; 633 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03;
505 634
506 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG') 635 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG')
507 @DocsEditable() 636 @DocsEditable()
508 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02; 637 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02;
509 638
510 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG') 639 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG')
511 @DocsEditable() 640 @DocsEditable()
(...skipping 12 matching lines...) Expand all
524 653
525 654
526 @DocsEditable() 655 @DocsEditable()
527 @DomName('WebGLCompressedTextureS3TC') 656 @DomName('WebGLCompressedTextureS3TC')
528 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3t c/ 657 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3t c/
529 @Experimental() // experimental 658 @Experimental() // experimental
530 class CompressedTextureS3TC extends NativeFieldWrapperClass2 { 659 class CompressedTextureS3TC extends NativeFieldWrapperClass2 {
531 // To suppress missing implicit constructor warnings. 660 // To suppress missing implicit constructor warnings.
532 factory CompressedTextureS3TC._() { throw new UnsupportedError("Not supported" ); } 661 factory CompressedTextureS3TC._() { throw new UnsupportedError("Not supported" ); }
533 662
663 static CompressedTextureS3TC internalCreateCompressedTextureS3TC() {
664 return new CompressedTextureS3TC._internalWrap();
665 }
666
667 js.JsObject blink_jsObject;
668
669 factory CompressedTextureS3TC._internalWrap() {
670 return new CompressedTextureS3TC.internal_();
671 }
672
673 CompressedTextureS3TC.internal_() { }
674
675 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
676 int get hashCode => unwrap_jso(this).hashCode;
677
534 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT') 678 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT')
535 @DocsEditable() 679 @DocsEditable()
536 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; 680 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
537 681
538 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT') 682 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT')
539 @DocsEditable() 683 @DocsEditable()
540 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2; 684 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2;
541 685
542 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT') 686 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT')
543 @DocsEditable() 687 @DocsEditable()
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 * 721 *
578 * If [stencil] is `true`, then the context has a stencil buffer of at least 8 722 * If [stencil] is `true`, then the context has a stencil buffer of at least 8
579 * bits. 723 * bits.
580 */ 724 */
581 @DomName('WebGLContextAttributes') 725 @DomName('WebGLContextAttributes')
582 @Unstable() 726 @Unstable()
583 class ContextAttributes extends NativeFieldWrapperClass2 { 727 class ContextAttributes extends NativeFieldWrapperClass2 {
584 // To suppress missing implicit constructor warnings. 728 // To suppress missing implicit constructor warnings.
585 factory ContextAttributes._() { throw new UnsupportedError("Not supported"); } 729 factory ContextAttributes._() { throw new UnsupportedError("Not supported"); }
586 730
731 static ContextAttributes internalCreateContextAttributes() {
732 return new ContextAttributes._internalWrap();
733 }
734
735 js.JsObject blink_jsObject;
736
737 factory ContextAttributes._internalWrap() {
738 return new ContextAttributes.internal_();
739 }
740
741 ContextAttributes.internal_() { }
742
743 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
744 int get hashCode => unwrap_jso(this).hashCode;
745
587 @DomName('WebGLContextAttributes.alpha') 746 @DomName('WebGLContextAttributes.alpha')
588 @DocsEditable() 747 @DocsEditable()
589 bool get alpha => _blink.BlinkWebGLContextAttributes.instance.alpha_Getter_(un wrap_jso(this)); 748 bool get alpha => _blink.BlinkWebGLContextAttributes.instance.alpha_Getter_(un wrap_jso(this));
590 749
591 @DomName('WebGLContextAttributes.alpha') 750 @DomName('WebGLContextAttributes.alpha')
592 @DocsEditable() 751 @DocsEditable()
593 void set alpha(bool value) => _blink.BlinkWebGLContextAttributes.instance.alph a_Setter_(unwrap_jso(this), value); 752 set alpha(bool value) => _blink.BlinkWebGLContextAttributes.instance.alpha_Set ter_(unwrap_jso(this), value);
594 753
595 @DomName('WebGLContextAttributes.antialias') 754 @DomName('WebGLContextAttributes.antialias')
596 @DocsEditable() 755 @DocsEditable()
597 bool get antialias => _blink.BlinkWebGLContextAttributes.instance.antialias_Ge tter_(unwrap_jso(this)); 756 bool get antialias => _blink.BlinkWebGLContextAttributes.instance.antialias_Ge tter_(unwrap_jso(this));
598 757
599 @DomName('WebGLContextAttributes.antialias') 758 @DomName('WebGLContextAttributes.antialias')
600 @DocsEditable() 759 @DocsEditable()
601 void set antialias(bool value) => _blink.BlinkWebGLContextAttributes.instance. antialias_Setter_(unwrap_jso(this), value); 760 set antialias(bool value) => _blink.BlinkWebGLContextAttributes.instance.antia lias_Setter_(unwrap_jso(this), value);
602 761
603 @DomName('WebGLContextAttributes.depth') 762 @DomName('WebGLContextAttributes.depth')
604 @DocsEditable() 763 @DocsEditable()
605 bool get depth => _blink.BlinkWebGLContextAttributes.instance.depth_Getter_(un wrap_jso(this)); 764 bool get depth => _blink.BlinkWebGLContextAttributes.instance.depth_Getter_(un wrap_jso(this));
606 765
607 @DomName('WebGLContextAttributes.depth') 766 @DomName('WebGLContextAttributes.depth')
608 @DocsEditable() 767 @DocsEditable()
609 void set depth(bool value) => _blink.BlinkWebGLContextAttributes.instance.dept h_Setter_(unwrap_jso(this), value); 768 set depth(bool value) => _blink.BlinkWebGLContextAttributes.instance.depth_Set ter_(unwrap_jso(this), value);
610 769
611 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat') 770 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat')
612 @DocsEditable() 771 @DocsEditable()
613 @Experimental() // untriaged 772 @Experimental() // untriaged
614 bool get failIfMajorPerformanceCaveat => _blink.BlinkWebGLContextAttributes.in stance.failIfMajorPerformanceCaveat_Getter_(unwrap_jso(this)); 773 bool get failIfMajorPerformanceCaveat => _blink.BlinkWebGLContextAttributes.in stance.failIfMajorPerformanceCaveat_Getter_(unwrap_jso(this));
615 774
616 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat') 775 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat')
617 @DocsEditable() 776 @DocsEditable()
618 @Experimental() // untriaged 777 @Experimental() // untriaged
619 void set failIfMajorPerformanceCaveat(bool value) => _blink.BlinkWebGLContextA ttributes.instance.failIfMajorPerformanceCaveat_Setter_(unwrap_jso(this), value) ; 778 set failIfMajorPerformanceCaveat(bool value) => _blink.BlinkWebGLContextAttrib utes.instance.failIfMajorPerformanceCaveat_Setter_(unwrap_jso(this), value);
620 779
621 @DomName('WebGLContextAttributes.premultipliedAlpha') 780 @DomName('WebGLContextAttributes.premultipliedAlpha')
622 @DocsEditable() 781 @DocsEditable()
623 bool get premultipliedAlpha => _blink.BlinkWebGLContextAttributes.instance.pre multipliedAlpha_Getter_(unwrap_jso(this)); 782 bool get premultipliedAlpha => _blink.BlinkWebGLContextAttributes.instance.pre multipliedAlpha_Getter_(unwrap_jso(this));
624 783
625 @DomName('WebGLContextAttributes.premultipliedAlpha') 784 @DomName('WebGLContextAttributes.premultipliedAlpha')
626 @DocsEditable() 785 @DocsEditable()
627 void set premultipliedAlpha(bool value) => _blink.BlinkWebGLContextAttributes. instance.premultipliedAlpha_Setter_(unwrap_jso(this), value); 786 set premultipliedAlpha(bool value) => _blink.BlinkWebGLContextAttributes.insta nce.premultipliedAlpha_Setter_(unwrap_jso(this), value);
628 787
629 @DomName('WebGLContextAttributes.preserveDrawingBuffer') 788 @DomName('WebGLContextAttributes.preserveDrawingBuffer')
630 @DocsEditable() 789 @DocsEditable()
631 bool get preserveDrawingBuffer => _blink.BlinkWebGLContextAttributes.instance. preserveDrawingBuffer_Getter_(unwrap_jso(this)); 790 bool get preserveDrawingBuffer => _blink.BlinkWebGLContextAttributes.instance. preserveDrawingBuffer_Getter_(unwrap_jso(this));
632 791
633 @DomName('WebGLContextAttributes.preserveDrawingBuffer') 792 @DomName('WebGLContextAttributes.preserveDrawingBuffer')
634 @DocsEditable() 793 @DocsEditable()
635 void set preserveDrawingBuffer(bool value) => _blink.BlinkWebGLContextAttribut es.instance.preserveDrawingBuffer_Setter_(unwrap_jso(this), value); 794 set preserveDrawingBuffer(bool value) => _blink.BlinkWebGLContextAttributes.in stance.preserveDrawingBuffer_Setter_(unwrap_jso(this), value);
636 795
637 @DomName('WebGLContextAttributes.stencil') 796 @DomName('WebGLContextAttributes.stencil')
638 @DocsEditable() 797 @DocsEditable()
639 bool get stencil => _blink.BlinkWebGLContextAttributes.instance.stencil_Getter _(unwrap_jso(this)); 798 bool get stencil => _blink.BlinkWebGLContextAttributes.instance.stencil_Getter _(unwrap_jso(this));
640 799
641 @DomName('WebGLContextAttributes.stencil') 800 @DomName('WebGLContextAttributes.stencil')
642 @DocsEditable() 801 @DocsEditable()
643 void set stencil(bool value) => _blink.BlinkWebGLContextAttributes.instance.st encil_Setter_(unwrap_jso(this), value); 802 set stencil(bool value) => _blink.BlinkWebGLContextAttributes.instance.stencil _Setter_(unwrap_jso(this), value);
644 803
645 } 804 }
646 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 805 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
647 // for details. All rights reserved. Use of this source code is governed by a 806 // for details. All rights reserved. Use of this source code is governed by a
648 // BSD-style license that can be found in the LICENSE file. 807 // BSD-style license that can be found in the LICENSE file.
649 808
650 // WARNING: Do not edit - generated code. 809 // WARNING: Do not edit - generated code.
651 810
652 811
653 @DocsEditable() 812 @DocsEditable()
654 @DomName('WebGLContextEvent') 813 @DomName('WebGLContextEvent')
655 @Unstable() 814 @Unstable()
656 class ContextEvent extends Event { 815 class ContextEvent extends Event {
657 // To suppress missing implicit constructor warnings. 816 // To suppress missing implicit constructor warnings.
658 factory ContextEvent._() { throw new UnsupportedError("Not supported"); } 817 factory ContextEvent._() { throw new UnsupportedError("Not supported"); }
659 818
819
820 static ContextEvent internalCreateContextEvent() {
821 return new ContextEvent._internalWrap();
822 }
823
824 factory ContextEvent._internalWrap() {
825 return new ContextEvent.internal_();
826 }
827
828 ContextEvent.internal_() : super.internal_();
829
830
660 @DomName('WebGLContextEvent.statusMessage') 831 @DomName('WebGLContextEvent.statusMessage')
661 @DocsEditable() 832 @DocsEditable()
662 String get statusMessage => _blink.BlinkWebGLContextEvent.instance.statusMessa ge_Getter_(unwrap_jso(this)); 833 String get statusMessage => _blink.BlinkWebGLContextEvent.instance.statusMessa ge_Getter_(unwrap_jso(this));
663 834
664 } 835 }
665 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 836 // 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 837 // 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. 838 // BSD-style license that can be found in the LICENSE file.
668 839
669 // WARNING: Do not edit - generated code. 840 // WARNING: Do not edit - generated code.
670 841
671 842
672 @DocsEditable() 843 @DocsEditable()
673 @DomName('WebGLDebugRendererInfo') 844 @DomName('WebGLDebugRendererInfo')
674 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/ 845 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/
675 @Experimental() // experimental 846 @Experimental() // experimental
676 class DebugRendererInfo extends NativeFieldWrapperClass2 { 847 class DebugRendererInfo extends NativeFieldWrapperClass2 {
677 // To suppress missing implicit constructor warnings. 848 // To suppress missing implicit constructor warnings.
678 factory DebugRendererInfo._() { throw new UnsupportedError("Not supported"); } 849 factory DebugRendererInfo._() { throw new UnsupportedError("Not supported"); }
679 850
851 static DebugRendererInfo internalCreateDebugRendererInfo() {
852 return new DebugRendererInfo._internalWrap();
853 }
854
855 js.JsObject blink_jsObject;
856
857 factory DebugRendererInfo._internalWrap() {
858 return new DebugRendererInfo.internal_();
859 }
860
861 DebugRendererInfo.internal_() { }
862
863 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
864 int get hashCode => unwrap_jso(this).hashCode;
865
680 @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL') 866 @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL')
681 @DocsEditable() 867 @DocsEditable()
682 static const int UNMASKED_RENDERER_WEBGL = 0x9246; 868 static const int UNMASKED_RENDERER_WEBGL = 0x9246;
683 869
684 @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL') 870 @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL')
685 @DocsEditable() 871 @DocsEditable()
686 static const int UNMASKED_VENDOR_WEBGL = 0x9245; 872 static const int UNMASKED_VENDOR_WEBGL = 0x9245;
687 873
688 } 874 }
689 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 875 // 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 876 // 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. 877 // BSD-style license that can be found in the LICENSE file.
692 878
693 // WARNING: Do not edit - generated code. 879 // WARNING: Do not edit - generated code.
694 880
695 881
696 @DocsEditable() 882 @DocsEditable()
697 @DomName('WebGLDebugShaders') 883 @DomName('WebGLDebugShaders')
698 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/ 884 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/
699 @Experimental() // experimental 885 @Experimental() // experimental
700 class DebugShaders extends NativeFieldWrapperClass2 { 886 class DebugShaders extends NativeFieldWrapperClass2 {
701 // To suppress missing implicit constructor warnings. 887 // To suppress missing implicit constructor warnings.
702 factory DebugShaders._() { throw new UnsupportedError("Not supported"); } 888 factory DebugShaders._() { throw new UnsupportedError("Not supported"); }
703 889
890 static DebugShaders internalCreateDebugShaders() {
891 return new DebugShaders._internalWrap();
892 }
893
894 js.JsObject blink_jsObject;
895
896 factory DebugShaders._internalWrap() {
897 return new DebugShaders.internal_();
898 }
899
900 DebugShaders.internal_() { }
901
902 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
903 int get hashCode => unwrap_jso(this).hashCode;
904
704 @DomName('WebGLDebugShaders.getTranslatedShaderSource') 905 @DomName('WebGLDebugShaders.getTranslatedShaderSource')
705 @DocsEditable() 906 @DocsEditable()
706 String getTranslatedShaderSource(Shader shader) => _blink.BlinkWebGLDebugShade rs.instance.getTranslatedShaderSource_Callback_1_(unwrap_jso(this), unwrap_jso(s hader)); 907 String getTranslatedShaderSource(Shader shader) => _blink.BlinkWebGLDebugShade rs.instance.getTranslatedShaderSource_Callback_1_(unwrap_jso(this), unwrap_jso(s hader));
707 908
708 } 909 }
709 // 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
710 // 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
711 // BSD-style license that can be found in the LICENSE file. 912 // BSD-style license that can be found in the LICENSE file.
712 913
713 // WARNING: Do not edit - generated code. 914 // WARNING: Do not edit - generated code.
714 915
715 916
716 @DocsEditable() 917 @DocsEditable()
717 @DomName('WebGLDepthTexture') 918 @DomName('WebGLDepthTexture')
718 // http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/ 919 // http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/
719 @Experimental() // experimental 920 @Experimental() // experimental
720 class DepthTexture extends NativeFieldWrapperClass2 { 921 class DepthTexture extends NativeFieldWrapperClass2 {
721 // To suppress missing implicit constructor warnings. 922 // To suppress missing implicit constructor warnings.
722 factory DepthTexture._() { throw new UnsupportedError("Not supported"); } 923 factory DepthTexture._() { throw new UnsupportedError("Not supported"); }
723 924
925 static DepthTexture internalCreateDepthTexture() {
926 return new DepthTexture._internalWrap();
927 }
928
929 js.JsObject blink_jsObject;
930
931 factory DepthTexture._internalWrap() {
932 return new DepthTexture.internal_();
933 }
934
935 DepthTexture.internal_() { }
936
937 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
938 int get hashCode => unwrap_jso(this).hashCode;
939
724 @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL') 940 @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL')
725 @DocsEditable() 941 @DocsEditable()
726 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA; 942 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA;
727 943
728 } 944 }
729 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 945 // 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 946 // 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. 947 // BSD-style license that can be found in the LICENSE file.
732 948
733 // WARNING: Do not edit - generated code. 949 // WARNING: Do not edit - generated code.
734 950
735 951
736 @DocsEditable() 952 @DocsEditable()
737 @DomName('WebGLDrawBuffers') 953 @DomName('WebGLDrawBuffers')
738 // http://www.khronos.org/registry/webgl/specs/latest/ 954 // http://www.khronos.org/registry/webgl/specs/latest/
739 @Experimental() // stable 955 @Experimental() // stable
740 class DrawBuffers extends NativeFieldWrapperClass2 { 956 class DrawBuffers extends NativeFieldWrapperClass2 {
741 // To suppress missing implicit constructor warnings. 957 // To suppress missing implicit constructor warnings.
742 factory DrawBuffers._() { throw new UnsupportedError("Not supported"); } 958 factory DrawBuffers._() { throw new UnsupportedError("Not supported"); }
743 959
960 static DrawBuffers internalCreateDrawBuffers() {
961 return new DrawBuffers._internalWrap();
962 }
963
964 js.JsObject blink_jsObject;
965
966 factory DrawBuffers._internalWrap() {
967 return new DrawBuffers.internal_();
968 }
969
970 DrawBuffers.internal_() { }
971
972 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
973 int get hashCode => unwrap_jso(this).hashCode;
974
744 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT0_WEBGL') 975 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT0_WEBGL')
745 @DocsEditable() 976 @DocsEditable()
746 static const int COLOR_ATTACHMENT0_WEBGL = 0x8CE0; 977 static const int COLOR_ATTACHMENT0_WEBGL = 0x8CE0;
747 978
748 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT10_WEBGL') 979 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT10_WEBGL')
749 @DocsEditable() 980 @DocsEditable()
750 static const int COLOR_ATTACHMENT10_WEBGL = 0x8CEA; 981 static const int COLOR_ATTACHMENT10_WEBGL = 0x8CEA;
751 982
752 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT11_WEBGL') 983 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT11_WEBGL')
753 @DocsEditable() 984 @DocsEditable()
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 // WARNING: Do not edit - generated code. 1120 // WARNING: Do not edit - generated code.
890 1121
891 1122
892 @DocsEditable() 1123 @DocsEditable()
893 @DomName('EXTBlendMinMax') 1124 @DomName('EXTBlendMinMax')
894 @Experimental() // untriaged 1125 @Experimental() // untriaged
895 class ExtBlendMinMax extends NativeFieldWrapperClass2 { 1126 class ExtBlendMinMax extends NativeFieldWrapperClass2 {
896 // To suppress missing implicit constructor warnings. 1127 // To suppress missing implicit constructor warnings.
897 factory ExtBlendMinMax._() { throw new UnsupportedError("Not supported"); } 1128 factory ExtBlendMinMax._() { throw new UnsupportedError("Not supported"); }
898 1129
1130 static ExtBlendMinMax internalCreateExtBlendMinMax() {
1131 return new ExtBlendMinMax._internalWrap();
1132 }
1133
1134 js.JsObject blink_jsObject;
1135
1136 factory ExtBlendMinMax._internalWrap() {
1137 return new ExtBlendMinMax.internal_();
1138 }
1139
1140 ExtBlendMinMax.internal_() { }
1141
1142 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1143 int get hashCode => unwrap_jso(this).hashCode;
1144
899 @DomName('EXTBlendMinMax.MAX_EXT') 1145 @DomName('EXTBlendMinMax.MAX_EXT')
900 @DocsEditable() 1146 @DocsEditable()
901 @Experimental() // untriaged 1147 @Experimental() // untriaged
902 static const int MAX_EXT = 0x8008; 1148 static const int MAX_EXT = 0x8008;
903 1149
904 @DomName('EXTBlendMinMax.MIN_EXT') 1150 @DomName('EXTBlendMinMax.MIN_EXT')
905 @DocsEditable() 1151 @DocsEditable()
906 @Experimental() // untriaged 1152 @Experimental() // untriaged
907 static const int MIN_EXT = 0x8007; 1153 static const int MIN_EXT = 0x8007;
908 1154
909 } 1155 }
910 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1156 // 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 1157 // 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. 1158 // BSD-style license that can be found in the LICENSE file.
913 1159
914 // WARNING: Do not edit - generated code. 1160 // WARNING: Do not edit - generated code.
915 1161
916 1162
917 @DocsEditable() 1163 @DocsEditable()
918 @DomName('EXTFragDepth') 1164 @DomName('EXTFragDepth')
919 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/ 1165 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/
920 @Experimental() 1166 @Experimental()
921 class ExtFragDepth extends NativeFieldWrapperClass2 { 1167 class ExtFragDepth extends NativeFieldWrapperClass2 {
922 // To suppress missing implicit constructor warnings. 1168 // To suppress missing implicit constructor warnings.
923 factory ExtFragDepth._() { throw new UnsupportedError("Not supported"); } 1169 factory ExtFragDepth._() { throw new UnsupportedError("Not supported"); }
924 1170
1171 static ExtFragDepth internalCreateExtFragDepth() {
1172 return new ExtFragDepth._internalWrap();
1173 }
1174
1175 js.JsObject blink_jsObject;
1176
1177 factory ExtFragDepth._internalWrap() {
1178 return new ExtFragDepth.internal_();
1179 }
1180
1181 ExtFragDepth.internal_() { }
1182
1183 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1184 int get hashCode => unwrap_jso(this).hashCode;
1185
925 } 1186 }
926 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1187 // 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 1188 // 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. 1189 // BSD-style license that can be found in the LICENSE file.
929 1190
930 // WARNING: Do not edit - generated code. 1191 // WARNING: Do not edit - generated code.
931 1192
932 1193
933 @DocsEditable() 1194 @DocsEditable()
934 @DomName('EXTShaderTextureLOD') 1195 @DomName('EXTShaderTextureLOD')
935 @Experimental() // untriaged 1196 @Experimental() // untriaged
936 class ExtShaderTextureLod extends NativeFieldWrapperClass2 { 1197 class ExtShaderTextureLod extends NativeFieldWrapperClass2 {
937 // To suppress missing implicit constructor warnings. 1198 // To suppress missing implicit constructor warnings.
938 factory ExtShaderTextureLod._() { throw new UnsupportedError("Not supported"); } 1199 factory ExtShaderTextureLod._() { throw new UnsupportedError("Not supported"); }
939 1200
1201 static ExtShaderTextureLod internalCreateExtShaderTextureLod() {
1202 return new ExtShaderTextureLod._internalWrap();
1203 }
1204
1205 js.JsObject blink_jsObject;
1206
1207 factory ExtShaderTextureLod._internalWrap() {
1208 return new ExtShaderTextureLod.internal_();
1209 }
1210
1211 ExtShaderTextureLod.internal_() { }
1212
1213 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1214 int get hashCode => unwrap_jso(this).hashCode;
1215
940 } 1216 }
941 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1217 // 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 1218 // 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. 1219 // BSD-style license that can be found in the LICENSE file.
944 1220
945 // WARNING: Do not edit - generated code. 1221 // WARNING: Do not edit - generated code.
946 1222
947 1223
948 @DocsEditable() 1224 @DocsEditable()
949 @DomName('EXTTextureFilterAnisotropic') 1225 @DomName('EXTTextureFilterAnisotropic')
950 // http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotrop ic/ 1226 // http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotrop ic/
951 @Experimental() 1227 @Experimental()
952 class ExtTextureFilterAnisotropic extends NativeFieldWrapperClass2 { 1228 class ExtTextureFilterAnisotropic extends NativeFieldWrapperClass2 {
953 // To suppress missing implicit constructor warnings. 1229 // To suppress missing implicit constructor warnings.
954 factory ExtTextureFilterAnisotropic._() { throw new UnsupportedError("Not supp orted"); } 1230 factory ExtTextureFilterAnisotropic._() { throw new UnsupportedError("Not supp orted"); }
955 1231
1232 static ExtTextureFilterAnisotropic internalCreateExtTextureFilterAnisotropic() {
1233 return new ExtTextureFilterAnisotropic._internalWrap();
1234 }
1235
1236 js.JsObject blink_jsObject;
1237
1238 factory ExtTextureFilterAnisotropic._internalWrap() {
1239 return new ExtTextureFilterAnisotropic.internal_();
1240 }
1241
1242 ExtTextureFilterAnisotropic.internal_() { }
1243
1244 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1245 int get hashCode => unwrap_jso(this).hashCode;
1246
956 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT') 1247 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT')
957 @DocsEditable() 1248 @DocsEditable()
958 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; 1249 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;
959 1250
960 @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT') 1251 @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT')
961 @DocsEditable() 1252 @DocsEditable()
962 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; 1253 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE;
963 1254
964 } 1255 }
965 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1256 // 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 1257 // 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. 1258 // BSD-style license that can be found in the LICENSE file.
968 1259
969 // WARNING: Do not edit - generated code. 1260 // WARNING: Do not edit - generated code.
970 1261
971 1262
972 @DocsEditable() 1263 @DocsEditable()
973 @DomName('WebGLFramebuffer') 1264 @DomName('WebGLFramebuffer')
974 @Unstable() 1265 @Unstable()
975 class Framebuffer extends NativeFieldWrapperClass2 { 1266 class Framebuffer extends NativeFieldWrapperClass2 {
976 // To suppress missing implicit constructor warnings. 1267 // To suppress missing implicit constructor warnings.
977 factory Framebuffer._() { throw new UnsupportedError("Not supported"); } 1268 factory Framebuffer._() { throw new UnsupportedError("Not supported"); }
978 1269
1270 static Framebuffer internalCreateFramebuffer() {
1271 return new Framebuffer._internalWrap();
1272 }
1273
1274 js.JsObject blink_jsObject;
1275
1276 factory Framebuffer._internalWrap() {
1277 return new Framebuffer.internal_();
1278 }
1279
1280 Framebuffer.internal_() { }
1281
1282 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1283 int get hashCode => unwrap_jso(this).hashCode;
1284
979 } 1285 }
980 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1286 // 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 1287 // 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. 1288 // BSD-style license that can be found in the LICENSE file.
983 1289
984 // WARNING: Do not edit - generated code. 1290 // WARNING: Do not edit - generated code.
985 1291
986 1292
987 @DocsEditable() 1293 @DocsEditable()
988 @DomName('WebGLLoseContext') 1294 @DomName('WebGLLoseContext')
989 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/ 1295 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/
990 @Experimental() 1296 @Experimental()
991 class LoseContext extends NativeFieldWrapperClass2 { 1297 class LoseContext extends NativeFieldWrapperClass2 {
992 // To suppress missing implicit constructor warnings. 1298 // To suppress missing implicit constructor warnings.
993 factory LoseContext._() { throw new UnsupportedError("Not supported"); } 1299 factory LoseContext._() { throw new UnsupportedError("Not supported"); }
994 1300
1301 static LoseContext internalCreateLoseContext() {
1302 return new LoseContext._internalWrap();
1303 }
1304
1305 js.JsObject blink_jsObject;
1306
1307 factory LoseContext._internalWrap() {
1308 return new LoseContext.internal_();
1309 }
1310
1311 LoseContext.internal_() { }
1312
1313 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1314 int get hashCode => unwrap_jso(this).hashCode;
1315
995 @DomName('WebGLLoseContext.loseContext') 1316 @DomName('WebGLLoseContext.loseContext')
996 @DocsEditable() 1317 @DocsEditable()
997 void loseContext() => _blink.BlinkWebGLLoseContext.instance.loseContext_Callba ck_0_(unwrap_jso(this)); 1318 void loseContext() => _blink.BlinkWebGLLoseContext.instance.loseContext_Callba ck_0_(unwrap_jso(this));
998 1319
999 @DomName('WebGLLoseContext.restoreContext') 1320 @DomName('WebGLLoseContext.restoreContext')
1000 @DocsEditable() 1321 @DocsEditable()
1001 void restoreContext() => _blink.BlinkWebGLLoseContext.instance.restoreContext_ Callback_0_(unwrap_jso(this)); 1322 void restoreContext() => _blink.BlinkWebGLLoseContext.instance.restoreContext_ Callback_0_(unwrap_jso(this));
1002 1323
1003 } 1324 }
1004 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1325 // 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 1326 // 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. 1327 // BSD-style license that can be found in the LICENSE file.
1007 1328
1008 // WARNING: Do not edit - generated code. 1329 // WARNING: Do not edit - generated code.
1009 1330
1010 1331
1011 @DocsEditable() 1332 @DocsEditable()
1012 @DomName('OESElementIndexUint') 1333 @DomName('OESElementIndexUint')
1013 // http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/ 1334 // http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/
1014 @Experimental() // experimental 1335 @Experimental() // experimental
1015 class OesElementIndexUint extends NativeFieldWrapperClass2 { 1336 class OesElementIndexUint extends NativeFieldWrapperClass2 {
1016 // To suppress missing implicit constructor warnings. 1337 // To suppress missing implicit constructor warnings.
1017 factory OesElementIndexUint._() { throw new UnsupportedError("Not supported"); } 1338 factory OesElementIndexUint._() { throw new UnsupportedError("Not supported"); }
1018 1339
1340 static OesElementIndexUint internalCreateOesElementIndexUint() {
1341 return new OesElementIndexUint._internalWrap();
1342 }
1343
1344 js.JsObject blink_jsObject;
1345
1346 factory OesElementIndexUint._internalWrap() {
1347 return new OesElementIndexUint.internal_();
1348 }
1349
1350 OesElementIndexUint.internal_() { }
1351
1352 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1353 int get hashCode => unwrap_jso(this).hashCode;
1354
1019 } 1355 }
1020 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1356 // 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 1357 // 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. 1358 // BSD-style license that can be found in the LICENSE file.
1023 1359
1024 // WARNING: Do not edit - generated code. 1360 // WARNING: Do not edit - generated code.
1025 1361
1026 1362
1027 @DocsEditable() 1363 @DocsEditable()
1028 @DomName('OESStandardDerivatives') 1364 @DomName('OESStandardDerivatives')
1029 // http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/ 1365 // http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/
1030 @Experimental() // experimental 1366 @Experimental() // experimental
1031 class OesStandardDerivatives extends NativeFieldWrapperClass2 { 1367 class OesStandardDerivatives extends NativeFieldWrapperClass2 {
1032 // To suppress missing implicit constructor warnings. 1368 // To suppress missing implicit constructor warnings.
1033 factory OesStandardDerivatives._() { throw new UnsupportedError("Not supported "); } 1369 factory OesStandardDerivatives._() { throw new UnsupportedError("Not supported "); }
1034 1370
1371 static OesStandardDerivatives internalCreateOesStandardDerivatives() {
1372 return new OesStandardDerivatives._internalWrap();
1373 }
1374
1375 js.JsObject blink_jsObject;
1376
1377 factory OesStandardDerivatives._internalWrap() {
1378 return new OesStandardDerivatives.internal_();
1379 }
1380
1381 OesStandardDerivatives.internal_() { }
1382
1383 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1384 int get hashCode => unwrap_jso(this).hashCode;
1385
1035 @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES') 1386 @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES')
1036 @DocsEditable() 1387 @DocsEditable()
1037 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; 1388 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B;
1038 1389
1039 } 1390 }
1040 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1391 // 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 1392 // 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. 1393 // BSD-style license that can be found in the LICENSE file.
1043 1394
1044 // WARNING: Do not edit - generated code. 1395 // WARNING: Do not edit - generated code.
1045 1396
1046 1397
1047 @DocsEditable() 1398 @DocsEditable()
1048 @DomName('OESTextureFloat') 1399 @DomName('OESTextureFloat')
1049 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float/ 1400 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float/
1050 @Experimental() // experimental 1401 @Experimental() // experimental
1051 class OesTextureFloat extends NativeFieldWrapperClass2 { 1402 class OesTextureFloat extends NativeFieldWrapperClass2 {
1052 // To suppress missing implicit constructor warnings. 1403 // To suppress missing implicit constructor warnings.
1053 factory OesTextureFloat._() { throw new UnsupportedError("Not supported"); } 1404 factory OesTextureFloat._() { throw new UnsupportedError("Not supported"); }
1054 1405
1406 static OesTextureFloat internalCreateOesTextureFloat() {
1407 return new OesTextureFloat._internalWrap();
1408 }
1409
1410 js.JsObject blink_jsObject;
1411
1412 factory OesTextureFloat._internalWrap() {
1413 return new OesTextureFloat.internal_();
1414 }
1415
1416 OesTextureFloat.internal_() { }
1417
1418 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1419 int get hashCode => unwrap_jso(this).hashCode;
1420
1055 } 1421 }
1056 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1422 // 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 1423 // 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. 1424 // BSD-style license that can be found in the LICENSE file.
1059 1425
1060 // WARNING: Do not edit - generated code. 1426 // WARNING: Do not edit - generated code.
1061 1427
1062 1428
1063 @DocsEditable() 1429 @DocsEditable()
1064 @DomName('OESTextureFloatLinear') 1430 @DomName('OESTextureFloatLinear')
1065 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/ 1431 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/
1066 @Experimental() 1432 @Experimental()
1067 class OesTextureFloatLinear extends NativeFieldWrapperClass2 { 1433 class OesTextureFloatLinear extends NativeFieldWrapperClass2 {
1068 // To suppress missing implicit constructor warnings. 1434 // To suppress missing implicit constructor warnings.
1069 factory OesTextureFloatLinear._() { throw new UnsupportedError("Not supported" ); } 1435 factory OesTextureFloatLinear._() { throw new UnsupportedError("Not supported" ); }
1070 1436
1437 static OesTextureFloatLinear internalCreateOesTextureFloatLinear() {
1438 return new OesTextureFloatLinear._internalWrap();
1439 }
1440
1441 js.JsObject blink_jsObject;
1442
1443 factory OesTextureFloatLinear._internalWrap() {
1444 return new OesTextureFloatLinear.internal_();
1445 }
1446
1447 OesTextureFloatLinear.internal_() { }
1448
1449 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1450 int get hashCode => unwrap_jso(this).hashCode;
1451
1071 } 1452 }
1072 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1453 // 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 1454 // 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. 1455 // BSD-style license that can be found in the LICENSE file.
1075 1456
1076 // WARNING: Do not edit - generated code. 1457 // WARNING: Do not edit - generated code.
1077 1458
1078 1459
1079 @DocsEditable() 1460 @DocsEditable()
1080 @DomName('OESTextureHalfFloat') 1461 @DomName('OESTextureHalfFloat')
1081 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/ 1462 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/
1082 @Experimental() // experimental 1463 @Experimental() // experimental
1083 class OesTextureHalfFloat extends NativeFieldWrapperClass2 { 1464 class OesTextureHalfFloat extends NativeFieldWrapperClass2 {
1084 // To suppress missing implicit constructor warnings. 1465 // To suppress missing implicit constructor warnings.
1085 factory OesTextureHalfFloat._() { throw new UnsupportedError("Not supported"); } 1466 factory OesTextureHalfFloat._() { throw new UnsupportedError("Not supported"); }
1086 1467
1468 static OesTextureHalfFloat internalCreateOesTextureHalfFloat() {
1469 return new OesTextureHalfFloat._internalWrap();
1470 }
1471
1472 js.JsObject blink_jsObject;
1473
1474 factory OesTextureHalfFloat._internalWrap() {
1475 return new OesTextureHalfFloat.internal_();
1476 }
1477
1478 OesTextureHalfFloat.internal_() { }
1479
1480 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1481 int get hashCode => unwrap_jso(this).hashCode;
1482
1087 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES') 1483 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES')
1088 @DocsEditable() 1484 @DocsEditable()
1089 static const int HALF_FLOAT_OES = 0x8D61; 1485 static const int HALF_FLOAT_OES = 0x8D61;
1090 1486
1091 } 1487 }
1092 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1488 // 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 1489 // 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. 1490 // BSD-style license that can be found in the LICENSE file.
1095 1491
1096 // WARNING: Do not edit - generated code. 1492 // WARNING: Do not edit - generated code.
1097 1493
1098 1494
1099 @DocsEditable() 1495 @DocsEditable()
1100 @DomName('OESTextureHalfFloatLinear') 1496 @DomName('OESTextureHalfFloatLinear')
1101 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float_linea r/ 1497 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float_linea r/
1102 @Experimental() 1498 @Experimental()
1103 class OesTextureHalfFloatLinear extends NativeFieldWrapperClass2 { 1499 class OesTextureHalfFloatLinear extends NativeFieldWrapperClass2 {
1104 // To suppress missing implicit constructor warnings. 1500 // To suppress missing implicit constructor warnings.
1105 factory OesTextureHalfFloatLinear._() { throw new UnsupportedError("Not suppor ted"); } 1501 factory OesTextureHalfFloatLinear._() { throw new UnsupportedError("Not suppor ted"); }
1106 1502
1503 static OesTextureHalfFloatLinear internalCreateOesTextureHalfFloatLinear() {
1504 return new OesTextureHalfFloatLinear._internalWrap();
1505 }
1506
1507 js.JsObject blink_jsObject;
1508
1509 factory OesTextureHalfFloatLinear._internalWrap() {
1510 return new OesTextureHalfFloatLinear.internal_();
1511 }
1512
1513 OesTextureHalfFloatLinear.internal_() { }
1514
1515 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1516 int get hashCode => unwrap_jso(this).hashCode;
1517
1107 } 1518 }
1108 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1519 // 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 1520 // 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. 1521 // BSD-style license that can be found in the LICENSE file.
1111 1522
1112 // WARNING: Do not edit - generated code. 1523 // WARNING: Do not edit - generated code.
1113 1524
1114 1525
1115 @DocsEditable() 1526 @DocsEditable()
1116 @DomName('OESVertexArrayObject') 1527 @DomName('OESVertexArrayObject')
1117 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ 1528 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
1118 @Experimental() // experimental 1529 @Experimental() // experimental
1119 class OesVertexArrayObject extends NativeFieldWrapperClass2 { 1530 class OesVertexArrayObject extends NativeFieldWrapperClass2 {
1120 // To suppress missing implicit constructor warnings. 1531 // To suppress missing implicit constructor warnings.
1121 factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported") ; } 1532 factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported") ; }
1122 1533
1534 static OesVertexArrayObject internalCreateOesVertexArrayObject() {
1535 return new OesVertexArrayObject._internalWrap();
1536 }
1537
1538 js.JsObject blink_jsObject;
1539
1540 factory OesVertexArrayObject._internalWrap() {
1541 return new OesVertexArrayObject.internal_();
1542 }
1543
1544 OesVertexArrayObject.internal_() { }
1545
1546 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1547 int get hashCode => unwrap_jso(this).hashCode;
1548
1123 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') 1549 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES')
1124 @DocsEditable() 1550 @DocsEditable()
1125 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; 1551 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5;
1126 1552
1127 @DomName('OESVertexArrayObject.bindVertexArrayOES') 1553 @DomName('OESVertexArrayObject.bindVertexArrayOES')
1128 @DocsEditable() 1554 @DocsEditable()
1129 void bindVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertexAr rayObject.instance.bindVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_jso(a rrayObject)); 1555 void bindVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertexAr rayObject.instance.bindVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_jso(a rrayObject));
1130 1556
1131 @DomName('OESVertexArrayObject.createVertexArrayOES') 1557 @DomName('OESVertexArrayObject.createVertexArrayOES')
1132 @DocsEditable() 1558 @DocsEditable()
1133 VertexArrayObject createVertexArray() => _blink.BlinkOESVertexArrayObject.inst ance.createVertexArrayOES_Callback_0_(unwrap_jso(this)); 1559 VertexArrayObject createVertexArray() => wrap_jso(_blink.BlinkOESVertexArrayOb ject.instance.createVertexArrayOES_Callback_0_(unwrap_jso(this)));
1134 1560
1135 @DomName('OESVertexArrayObject.deleteVertexArrayOES') 1561 @DomName('OESVertexArrayObject.deleteVertexArrayOES')
1136 @DocsEditable() 1562 @DocsEditable()
1137 void deleteVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertex ArrayObject.instance.deleteVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_j so(arrayObject)); 1563 void deleteVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertex ArrayObject.instance.deleteVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_j so(arrayObject));
1138 1564
1139 @DomName('OESVertexArrayObject.isVertexArrayOES') 1565 @DomName('OESVertexArrayObject.isVertexArrayOES')
1140 @DocsEditable() 1566 @DocsEditable()
1141 bool isVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertexArra yObject.instance.isVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_jso(array Object)); 1567 bool isVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertexArra yObject.instance.isVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_jso(array Object));
1142 1568
1143 } 1569 }
1144 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1570 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1145 // for details. All rights reserved. Use of this source code is governed by a 1571 // for details. All rights reserved. Use of this source code is governed by a
1146 // BSD-style license that can be found in the LICENSE file. 1572 // BSD-style license that can be found in the LICENSE file.
1147 1573
1148 // WARNING: Do not edit - generated code. 1574 // WARNING: Do not edit - generated code.
1149 1575
1150 1576
1151 @DocsEditable() 1577 @DocsEditable()
1152 @DomName('WebGLProgram') 1578 @DomName('WebGLProgram')
1153 @Unstable() 1579 @Unstable()
1154 class Program extends NativeFieldWrapperClass2 { 1580 class Program extends NativeFieldWrapperClass2 {
1155 // To suppress missing implicit constructor warnings. 1581 // To suppress missing implicit constructor warnings.
1156 factory Program._() { throw new UnsupportedError("Not supported"); } 1582 factory Program._() { throw new UnsupportedError("Not supported"); }
1157 1583
1584 static Program internalCreateProgram() {
1585 return new Program._internalWrap();
1586 }
1587
1588 js.JsObject blink_jsObject;
1589
1590 factory Program._internalWrap() {
1591 return new Program.internal_();
1592 }
1593
1594 Program.internal_() { }
1595
1596 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1597 int get hashCode => unwrap_jso(this).hashCode;
1598
1158 } 1599 }
1159 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1600 // 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 1601 // 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. 1602 // BSD-style license that can be found in the LICENSE file.
1162 1603
1163 // WARNING: Do not edit - generated code. 1604 // WARNING: Do not edit - generated code.
1164 1605
1165 1606
1166 @DocsEditable() 1607 @DocsEditable()
1167 @DomName('WebGLRenderbuffer') 1608 @DomName('WebGLRenderbuffer')
1168 @Unstable() 1609 @Unstable()
1169 class Renderbuffer extends NativeFieldWrapperClass2 { 1610 class Renderbuffer extends NativeFieldWrapperClass2 {
1170 // To suppress missing implicit constructor warnings. 1611 // To suppress missing implicit constructor warnings.
1171 factory Renderbuffer._() { throw new UnsupportedError("Not supported"); } 1612 factory Renderbuffer._() { throw new UnsupportedError("Not supported"); }
1172 1613
1614 static Renderbuffer internalCreateRenderbuffer() {
1615 return new Renderbuffer._internalWrap();
1616 }
1617
1618 js.JsObject blink_jsObject;
1619
1620 factory Renderbuffer._internalWrap() {
1621 return new Renderbuffer.internal_();
1622 }
1623
1624 Renderbuffer.internal_() { }
1625
1626 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1627 int get hashCode => unwrap_jso(this).hashCode;
1628
1173 } 1629 }
1174 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1630 // 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 1631 // 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. 1632 // BSD-style license that can be found in the LICENSE file.
1177 1633
1178 1634
1179 @DomName('WebGLRenderingContext') 1635 @DomName('WebGLRenderingContext')
1180 @SupportedBrowser(SupportedBrowser.CHROME) 1636 @SupportedBrowser(SupportedBrowser.CHROME)
1181 @SupportedBrowser(SupportedBrowser.FIREFOX) 1637 @SupportedBrowser(SupportedBrowser.FIREFOX)
1182 @Experimental() 1638 @Experimental()
1183 @Unstable() 1639 @Unstable()
1184 class RenderingContext extends NativeFieldWrapperClass2 implements CanvasRenderi ngContext { 1640 class RenderingContext extends NativeFieldWrapperClass2 implements CanvasRenderi ngContext {
1185 // To suppress missing implicit constructor warnings. 1641 // To suppress missing implicit constructor warnings.
1186 factory RenderingContext._() { throw new UnsupportedError("Not supported"); } 1642 factory RenderingContext._() { throw new UnsupportedError("Not supported"); }
1187 1643
1644 static RenderingContext internalCreateRenderingContext() {
1645 return new RenderingContext._internalWrap();
1646 }
1647
1648 js.JsObject blink_jsObject;
1649
1650 factory RenderingContext._internalWrap() {
1651 return new RenderingContext.internal_();
1652 }
1653
1654 RenderingContext.internal_() { }
1655
1656 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
1657 int get hashCode => unwrap_jso(this).hashCode;
1658
1188 /// Checks if this type is supported on the current platform. 1659 /// Checks if this type is supported on the current platform.
1189 static bool get supported => true; 1660 static bool get supported => true;
1190 1661
1191 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES') 1662 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES')
1192 @DocsEditable() 1663 @DocsEditable()
1193 static const int ACTIVE_ATTRIBUTES = 0x8B89; 1664 static const int ACTIVE_ATTRIBUTES = 0x8B89;
1194 1665
1195 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE') 1666 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE')
1196 @DocsEditable() 1667 @DocsEditable()
1197 static const int ACTIVE_TEXTURE = 0x84E0; 1668 static const int ACTIVE_TEXTURE = 0x84E0;
(...skipping 1324 matching lines...) Expand 10 before | Expand all | Expand 10 after
2522 @DomName('WebGLRenderingContext.copyTexImage2D') 2993 @DomName('WebGLRenderingContext.copyTexImage2D')
2523 @DocsEditable() 2994 @DocsEditable()
2524 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i nt width, int height, int border) => _blink.BlinkWebGLRenderingContext.instance. copyTexImage2D_Callback_8_(unwrap_jso(this), target, level, internalformat, x, y , width, height, border); 2995 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i nt width, int height, int border) => _blink.BlinkWebGLRenderingContext.instance. copyTexImage2D_Callback_8_(unwrap_jso(this), target, level, internalformat, x, y , width, height, border);
2525 2996
2526 @DomName('WebGLRenderingContext.copyTexSubImage2D') 2997 @DomName('WebGLRenderingContext.copyTexSubImage2D')
2527 @DocsEditable() 2998 @DocsEditable()
2528 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) => _blink.BlinkWebGLRenderingContext.instance.cop yTexSubImage2D_Callback_8_(unwrap_jso(this), target, level, xoffset, yoffset, x, y, width, height); 2999 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) => _blink.BlinkWebGLRenderingContext.instance.cop yTexSubImage2D_Callback_8_(unwrap_jso(this), target, level, xoffset, yoffset, x, y, width, height);
2529 3000
2530 @DomName('WebGLRenderingContext.createBuffer') 3001 @DomName('WebGLRenderingContext.createBuffer')
2531 @DocsEditable() 3002 @DocsEditable()
2532 Buffer createBuffer() => _blink.BlinkWebGLRenderingContext.instance.createBuff er_Callback_0_(unwrap_jso(this)); 3003 Buffer createBuffer() => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.c reateBuffer_Callback_0_(unwrap_jso(this)));
2533 3004
2534 @DomName('WebGLRenderingContext.createFramebuffer') 3005 @DomName('WebGLRenderingContext.createFramebuffer')
2535 @DocsEditable() 3006 @DocsEditable()
2536 Framebuffer createFramebuffer() => _blink.BlinkWebGLRenderingContext.instance. createFramebuffer_Callback_0_(unwrap_jso(this)); 3007 Framebuffer createFramebuffer() => wrap_jso(_blink.BlinkWebGLRenderingContext. instance.createFramebuffer_Callback_0_(unwrap_jso(this)));
2537 3008
2538 @DomName('WebGLRenderingContext.createProgram') 3009 @DomName('WebGLRenderingContext.createProgram')
2539 @DocsEditable() 3010 @DocsEditable()
2540 Program createProgram() => _blink.BlinkWebGLRenderingContext.instance.createPr ogram_Callback_0_(unwrap_jso(this)); 3011 Program createProgram() => wrap_jso(_blink.BlinkWebGLRenderingContext.instance .createProgram_Callback_0_(unwrap_jso(this)));
2541 3012
2542 @DomName('WebGLRenderingContext.createRenderbuffer') 3013 @DomName('WebGLRenderingContext.createRenderbuffer')
2543 @DocsEditable() 3014 @DocsEditable()
2544 Renderbuffer createRenderbuffer() => _blink.BlinkWebGLRenderingContext.instanc e.createRenderbuffer_Callback_0_(unwrap_jso(this)); 3015 Renderbuffer createRenderbuffer() => wrap_jso(_blink.BlinkWebGLRenderingContex t.instance.createRenderbuffer_Callback_0_(unwrap_jso(this)));
2545 3016
2546 @DomName('WebGLRenderingContext.createShader') 3017 @DomName('WebGLRenderingContext.createShader')
2547 @DocsEditable() 3018 @DocsEditable()
2548 Shader createShader(int type) => _blink.BlinkWebGLRenderingContext.instance.cr eateShader_Callback_1_(unwrap_jso(this), type); 3019 Shader createShader(int type) => wrap_jso(_blink.BlinkWebGLRenderingContext.in stance.createShader_Callback_1_(unwrap_jso(this), type));
2549 3020
2550 @DomName('WebGLRenderingContext.createTexture') 3021 @DomName('WebGLRenderingContext.createTexture')
2551 @DocsEditable() 3022 @DocsEditable()
2552 Texture createTexture() => _blink.BlinkWebGLRenderingContext.instance.createTe xture_Callback_0_(unwrap_jso(this)); 3023 Texture createTexture() => wrap_jso(_blink.BlinkWebGLRenderingContext.instance .createTexture_Callback_0_(unwrap_jso(this)));
2553 3024
2554 @DomName('WebGLRenderingContext.cullFace') 3025 @DomName('WebGLRenderingContext.cullFace')
2555 @DocsEditable() 3026 @DocsEditable()
2556 void cullFace(int mode) => _blink.BlinkWebGLRenderingContext.instance.cullFace _Callback_1_(unwrap_jso(this), mode); 3027 void cullFace(int mode) => _blink.BlinkWebGLRenderingContext.instance.cullFace _Callback_1_(unwrap_jso(this), mode);
2557 3028
2558 @DomName('WebGLRenderingContext.deleteBuffer') 3029 @DomName('WebGLRenderingContext.deleteBuffer')
2559 @DocsEditable() 3030 @DocsEditable()
2560 void deleteBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.instance .deleteBuffer_Callback_1_(unwrap_jso(this), unwrap_jso(buffer)); 3031 void deleteBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.instance .deleteBuffer_Callback_1_(unwrap_jso(this), unwrap_jso(buffer));
2561 3032
2562 @DomName('WebGLRenderingContext.deleteFramebuffer') 3033 @DomName('WebGLRenderingContext.deleteFramebuffer')
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
2638 @DomName('WebGLRenderingContext.frontFace') 3109 @DomName('WebGLRenderingContext.frontFace')
2639 @DocsEditable() 3110 @DocsEditable()
2640 void frontFace(int mode) => _blink.BlinkWebGLRenderingContext.instance.frontFa ce_Callback_1_(unwrap_jso(this), mode); 3111 void frontFace(int mode) => _blink.BlinkWebGLRenderingContext.instance.frontFa ce_Callback_1_(unwrap_jso(this), mode);
2641 3112
2642 @DomName('WebGLRenderingContext.generateMipmap') 3113 @DomName('WebGLRenderingContext.generateMipmap')
2643 @DocsEditable() 3114 @DocsEditable()
2644 void generateMipmap(int target) => _blink.BlinkWebGLRenderingContext.instance. generateMipmap_Callback_1_(unwrap_jso(this), target); 3115 void generateMipmap(int target) => _blink.BlinkWebGLRenderingContext.instance. generateMipmap_Callback_1_(unwrap_jso(this), target);
2645 3116
2646 @DomName('WebGLRenderingContext.getActiveAttrib') 3117 @DomName('WebGLRenderingContext.getActiveAttrib')
2647 @DocsEditable() 3118 @DocsEditable()
2648 ActiveInfo getActiveAttrib(Program program, int index) => _blink.BlinkWebGLRen deringContext.instance.getActiveAttrib_Callback_2_(unwrap_jso(this), unwrap_jso( program), index); 3119 ActiveInfo getActiveAttrib(Program program, int index) => wrap_jso(_blink.Blin kWebGLRenderingContext.instance.getActiveAttrib_Callback_2_(unwrap_jso(this), un wrap_jso(program), index));
2649 3120
2650 @DomName('WebGLRenderingContext.getActiveUniform') 3121 @DomName('WebGLRenderingContext.getActiveUniform')
2651 @DocsEditable() 3122 @DocsEditable()
2652 ActiveInfo getActiveUniform(Program program, int index) => _blink.BlinkWebGLRe nderingContext.instance.getActiveUniform_Callback_2_(unwrap_jso(this), unwrap_js o(program), index); 3123 ActiveInfo getActiveUniform(Program program, int index) => wrap_jso(_blink.Bli nkWebGLRenderingContext.instance.getActiveUniform_Callback_2_(unwrap_jso(this), unwrap_jso(program), index));
2653 3124
2654 @DomName('WebGLRenderingContext.getAttachedShaders') 3125 @DomName('WebGLRenderingContext.getAttachedShaders')
2655 @DocsEditable() 3126 @DocsEditable()
2656 List<Shader> getAttachedShaders(Program program) => _blink.BlinkWebGLRendering Context.instance.getAttachedShaders_Callback_1_(unwrap_jso(this), unwrap_jso(pro gram)); 3127 List<Shader> getAttachedShaders(Program program) => wrap_jso(_blink.BlinkWebGL RenderingContext.instance.getAttachedShaders_Callback_1_(unwrap_jso(this), unwra p_jso(program)));
2657 3128
2658 @DomName('WebGLRenderingContext.getAttribLocation') 3129 @DomName('WebGLRenderingContext.getAttribLocation')
2659 @DocsEditable() 3130 @DocsEditable()
2660 int getAttribLocation(Program program, String name) => _blink.BlinkWebGLRender ingContext.instance.getAttribLocation_Callback_2_(unwrap_jso(this), unwrap_jso(p rogram), name); 3131 int getAttribLocation(Program program, String name) => _blink.BlinkWebGLRender ingContext.instance.getAttribLocation_Callback_2_(unwrap_jso(this), unwrap_jso(p rogram), name);
2661 3132
2662 @DomName('WebGLRenderingContext.getBufferParameter') 3133 @DomName('WebGLRenderingContext.getBufferParameter')
2663 @DocsEditable() 3134 @DocsEditable()
2664 Object getBufferParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGL RenderingContext.instance.getBufferParameter_Callback_2_(unwrap_jso(this), targe t, pname)); 3135 Object getBufferParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGL RenderingContext.instance.getBufferParameter_Callback_2_(unwrap_jso(this), targe t, pname));
2665 3136
2666 @DomName('WebGLRenderingContext.getContextAttributes') 3137 @DomName('WebGLRenderingContext.getContextAttributes')
2667 @DocsEditable() 3138 @DocsEditable()
2668 ContextAttributes getContextAttributes() => _blink.BlinkWebGLRenderingContext. instance.getContextAttributes_Callback_0_(unwrap_jso(this)); 3139 ContextAttributes getContextAttributes() => wrap_jso(_blink.BlinkWebGLRenderin gContext.instance.getContextAttributes_Callback_0_(unwrap_jso(this)));
2669 3140
2670 @DomName('WebGLRenderingContext.getError') 3141 @DomName('WebGLRenderingContext.getError')
2671 @DocsEditable() 3142 @DocsEditable()
2672 int getError() => _blink.BlinkWebGLRenderingContext.instance.getError_Callback _0_(unwrap_jso(this)); 3143 int getError() => _blink.BlinkWebGLRenderingContext.instance.getError_Callback _0_(unwrap_jso(this));
2673 3144
2674 @DomName('WebGLRenderingContext.getExtension') 3145 @DomName('WebGLRenderingContext.getExtension')
2675 @DocsEditable() 3146 @DocsEditable()
2676 Object getExtension(String name) => wrap_jso(_blink.BlinkWebGLRenderingContext .instance.getExtension_Callback_1_(unwrap_jso(this), name)); 3147 Object getExtension(String name) => wrap_jso(_blink.BlinkWebGLRenderingContext .instance.getExtension_Callback_1_(unwrap_jso(this), name));
2677 3148
2678 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') 3149 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter')
(...skipping 19 matching lines...) Expand all
2698 @DomName('WebGLRenderingContext.getShaderInfoLog') 3169 @DomName('WebGLRenderingContext.getShaderInfoLog')
2699 @DocsEditable() 3170 @DocsEditable()
2700 String getShaderInfoLog(Shader shader) => _blink.BlinkWebGLRenderingContext.in stance.getShaderInfoLog_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); 3171 String getShaderInfoLog(Shader shader) => _blink.BlinkWebGLRenderingContext.in stance.getShaderInfoLog_Callback_1_(unwrap_jso(this), unwrap_jso(shader));
2701 3172
2702 @DomName('WebGLRenderingContext.getShaderParameter') 3173 @DomName('WebGLRenderingContext.getShaderParameter')
2703 @DocsEditable() 3174 @DocsEditable()
2704 Object getShaderParameter(Shader shader, int pname) => wrap_jso(_blink.BlinkWe bGLRenderingContext.instance.getShaderParameter_Callback_2_(unwrap_jso(this), un wrap_jso(shader), pname)); 3175 Object getShaderParameter(Shader shader, int pname) => wrap_jso(_blink.BlinkWe bGLRenderingContext.instance.getShaderParameter_Callback_2_(unwrap_jso(this), un wrap_jso(shader), pname));
2705 3176
2706 @DomName('WebGLRenderingContext.getShaderPrecisionFormat') 3177 @DomName('WebGLRenderingContext.getShaderPrecisionFormat')
2707 @DocsEditable() 3178 @DocsEditable()
2708 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty pe) => _blink.BlinkWebGLRenderingContext.instance.getShaderPrecisionFormat_Callb ack_2_(unwrap_jso(this), shadertype, precisiontype); 3179 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty pe) => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.getShaderPrecisionFor mat_Callback_2_(unwrap_jso(this), shadertype, precisiontype));
2709 3180
2710 @DomName('WebGLRenderingContext.getShaderSource') 3181 @DomName('WebGLRenderingContext.getShaderSource')
2711 @DocsEditable() 3182 @DocsEditable()
2712 String getShaderSource(Shader shader) => _blink.BlinkWebGLRenderingContext.ins tance.getShaderSource_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); 3183 String getShaderSource(Shader shader) => _blink.BlinkWebGLRenderingContext.ins tance.getShaderSource_Callback_1_(unwrap_jso(this), unwrap_jso(shader));
2713 3184
2714 @DomName('WebGLRenderingContext.getSupportedExtensions') 3185 @DomName('WebGLRenderingContext.getSupportedExtensions')
2715 @DocsEditable() 3186 @DocsEditable()
2716 List<String> getSupportedExtensions() => _blink.BlinkWebGLRenderingContext.ins tance.getSupportedExtensions_Callback_0_(unwrap_jso(this)); 3187 List<String> getSupportedExtensions() => _blink.BlinkWebGLRenderingContext.ins tance.getSupportedExtensions_Callback_0_(unwrap_jso(this));
2717 3188
2718 @DomName('WebGLRenderingContext.getTexParameter') 3189 @DomName('WebGLRenderingContext.getTexParameter')
2719 @DocsEditable() 3190 @DocsEditable()
2720 Object getTexParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGLRen deringContext.instance.getTexParameter_Callback_2_(unwrap_jso(this), target, pna me)); 3191 Object getTexParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGLRen deringContext.instance.getTexParameter_Callback_2_(unwrap_jso(this), target, pna me));
2721 3192
2722 @DomName('WebGLRenderingContext.getUniform') 3193 @DomName('WebGLRenderingContext.getUniform')
2723 @DocsEditable() 3194 @DocsEditable()
2724 Object getUniform(Program program, UniformLocation location) => wrap_jso(_blin k.BlinkWebGLRenderingContext.instance.getUniform_Callback_2_(unwrap_jso(this), u nwrap_jso(program), unwrap_jso(location))); 3195 Object getUniform(Program program, UniformLocation location) => wrap_jso(_blin k.BlinkWebGLRenderingContext.instance.getUniform_Callback_2_(unwrap_jso(this), u nwrap_jso(program), unwrap_jso(location)));
2725 3196
2726 @DomName('WebGLRenderingContext.getUniformLocation') 3197 @DomName('WebGLRenderingContext.getUniformLocation')
2727 @DocsEditable() 3198 @DocsEditable()
2728 UniformLocation getUniformLocation(Program program, String name) => _blink.Bli nkWebGLRenderingContext.instance.getUniformLocation_Callback_2_(unwrap_jso(this) , unwrap_jso(program), name); 3199 UniformLocation getUniformLocation(Program program, String name) => wrap_jso(_ blink.BlinkWebGLRenderingContext.instance.getUniformLocation_Callback_2_(unwrap_ jso(this), unwrap_jso(program), name));
2729 3200
2730 @DomName('WebGLRenderingContext.getVertexAttrib') 3201 @DomName('WebGLRenderingContext.getVertexAttrib')
2731 @DocsEditable() 3202 @DocsEditable()
2732 Object getVertexAttrib(int index, int pname) => wrap_jso(_blink.BlinkWebGLRend eringContext.instance.getVertexAttrib_Callback_2_(unwrap_jso(this), index, pname )); 3203 Object getVertexAttrib(int index, int pname) => wrap_jso(_blink.BlinkWebGLRend eringContext.instance.getVertexAttrib_Callback_2_(unwrap_jso(this), index, pname ));
2733 3204
2734 @DomName('WebGLRenderingContext.getVertexAttribOffset') 3205 @DomName('WebGLRenderingContext.getVertexAttribOffset')
2735 @DocsEditable() 3206 @DocsEditable()
2736 int getVertexAttribOffset(int index, int pname) => _blink.BlinkWebGLRenderingC ontext.instance.getVertexAttribOffset_Callback_2_(unwrap_jso(this), index, pname ); 3207 int getVertexAttribOffset(int index, int pname) => _blink.BlinkWebGLRenderingC ontext.instance.getVertexAttribOffset_Callback_2_(unwrap_jso(this), index, pname );
2737 3208
2738 @DomName('WebGLRenderingContext.hint') 3209 @DomName('WebGLRenderingContext.hint')
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
3110 3581
3111 // WARNING: Do not edit - generated code. 3582 // WARNING: Do not edit - generated code.
3112 3583
3113 3584
3114 @DocsEditable() 3585 @DocsEditable()
3115 @DomName('WebGLShader') 3586 @DomName('WebGLShader')
3116 class Shader extends NativeFieldWrapperClass2 { 3587 class Shader extends NativeFieldWrapperClass2 {
3117 // To suppress missing implicit constructor warnings. 3588 // To suppress missing implicit constructor warnings.
3118 factory Shader._() { throw new UnsupportedError("Not supported"); } 3589 factory Shader._() { throw new UnsupportedError("Not supported"); }
3119 3590
3591 static Shader internalCreateShader() {
3592 return new Shader._internalWrap();
3593 }
3594
3595 js.JsObject blink_jsObject;
3596
3597 factory Shader._internalWrap() {
3598 return new Shader.internal_();
3599 }
3600
3601 Shader.internal_() { }
3602
3603 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
3604 int get hashCode => unwrap_jso(this).hashCode;
3605
3120 } 3606 }
3121 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3607 // 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 3608 // 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. 3609 // BSD-style license that can be found in the LICENSE file.
3124 3610
3125 // WARNING: Do not edit - generated code. 3611 // WARNING: Do not edit - generated code.
3126 3612
3127 3613
3128 @DocsEditable() 3614 @DocsEditable()
3129 @DomName('WebGLShaderPrecisionFormat') 3615 @DomName('WebGLShaderPrecisionFormat')
3130 class ShaderPrecisionFormat extends NativeFieldWrapperClass2 { 3616 class ShaderPrecisionFormat extends NativeFieldWrapperClass2 {
3131 // To suppress missing implicit constructor warnings. 3617 // To suppress missing implicit constructor warnings.
3132 factory ShaderPrecisionFormat._() { throw new UnsupportedError("Not supported" ); } 3618 factory ShaderPrecisionFormat._() { throw new UnsupportedError("Not supported" ); }
3133 3619
3620 static ShaderPrecisionFormat internalCreateShaderPrecisionFormat() {
3621 return new ShaderPrecisionFormat._internalWrap();
3622 }
3623
3624 js.JsObject blink_jsObject;
3625
3626 factory ShaderPrecisionFormat._internalWrap() {
3627 return new ShaderPrecisionFormat.internal_();
3628 }
3629
3630 ShaderPrecisionFormat.internal_() { }
3631
3632 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
3633 int get hashCode => unwrap_jso(this).hashCode;
3634
3134 @DomName('WebGLShaderPrecisionFormat.precision') 3635 @DomName('WebGLShaderPrecisionFormat.precision')
3135 @DocsEditable() 3636 @DocsEditable()
3136 int get precision => _blink.BlinkWebGLShaderPrecisionFormat.instance.precision _Getter_(unwrap_jso(this)); 3637 int get precision => _blink.BlinkWebGLShaderPrecisionFormat.instance.precision _Getter_(unwrap_jso(this));
3137 3638
3138 @DomName('WebGLShaderPrecisionFormat.rangeMax') 3639 @DomName('WebGLShaderPrecisionFormat.rangeMax')
3139 @DocsEditable() 3640 @DocsEditable()
3140 int get rangeMax => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMax_G etter_(unwrap_jso(this)); 3641 int get rangeMax => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMax_G etter_(unwrap_jso(this));
3141 3642
3142 @DomName('WebGLShaderPrecisionFormat.rangeMin') 3643 @DomName('WebGLShaderPrecisionFormat.rangeMin')
3143 @DocsEditable() 3644 @DocsEditable()
3144 int get rangeMin => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMin_G etter_(unwrap_jso(this)); 3645 int get rangeMin => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMin_G etter_(unwrap_jso(this));
3145 3646
3146 } 3647 }
3147 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3648 // 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 3649 // 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. 3650 // BSD-style license that can be found in the LICENSE file.
3150 3651
3151 // WARNING: Do not edit - generated code. 3652 // WARNING: Do not edit - generated code.
3152 3653
3153 3654
3154 @DocsEditable() 3655 @DocsEditable()
3155 @DomName('WebGLTexture') 3656 @DomName('WebGLTexture')
3156 class Texture extends NativeFieldWrapperClass2 { 3657 class Texture extends NativeFieldWrapperClass2 {
3157 // To suppress missing implicit constructor warnings. 3658 // To suppress missing implicit constructor warnings.
3158 factory Texture._() { throw new UnsupportedError("Not supported"); } 3659 factory Texture._() { throw new UnsupportedError("Not supported"); }
3159 3660
3661 static Texture internalCreateTexture() {
3662 return new Texture._internalWrap();
3663 }
3664
3665 js.JsObject blink_jsObject;
3666
3667 factory Texture._internalWrap() {
3668 return new Texture.internal_();
3669 }
3670
3671 Texture.internal_() { }
3672
3673 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
3674 int get hashCode => unwrap_jso(this).hashCode;
3675
3160 } 3676 }
3161 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3677 // 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 3678 // 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. 3679 // BSD-style license that can be found in the LICENSE file.
3164 3680
3165 // WARNING: Do not edit - generated code. 3681 // WARNING: Do not edit - generated code.
3166 3682
3167 3683
3168 @DocsEditable() 3684 @DocsEditable()
3169 @DomName('WebGLUniformLocation') 3685 @DomName('WebGLUniformLocation')
3170 class UniformLocation extends NativeFieldWrapperClass2 { 3686 class UniformLocation extends NativeFieldWrapperClass2 {
3171 // To suppress missing implicit constructor warnings. 3687 // To suppress missing implicit constructor warnings.
3172 factory UniformLocation._() { throw new UnsupportedError("Not supported"); } 3688 factory UniformLocation._() { throw new UnsupportedError("Not supported"); }
3173 3689
3690 static UniformLocation internalCreateUniformLocation() {
3691 return new UniformLocation._internalWrap();
3692 }
3693
3694 js.JsObject blink_jsObject;
3695
3696 factory UniformLocation._internalWrap() {
3697 return new UniformLocation.internal_();
3698 }
3699
3700 UniformLocation.internal_() { }
3701
3702 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
3703 int get hashCode => unwrap_jso(this).hashCode;
3704
3174 } 3705 }
3175 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3706 // 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 3707 // 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. 3708 // BSD-style license that can be found in the LICENSE file.
3178 3709
3179 // WARNING: Do not edit - generated code. 3710 // WARNING: Do not edit - generated code.
3180 3711
3181 3712
3182 @DocsEditable() 3713 @DocsEditable()
3183 @DomName('WebGLVertexArrayObjectOES') 3714 @DomName('WebGLVertexArrayObjectOES')
3184 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ 3715 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
3185 @Experimental() // experimental 3716 @Experimental() // experimental
3186 class VertexArrayObject extends NativeFieldWrapperClass2 { 3717 class VertexArrayObject extends NativeFieldWrapperClass2 {
3187 // To suppress missing implicit constructor warnings. 3718 // To suppress missing implicit constructor warnings.
3188 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } 3719 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); }
3189 3720
3721 static VertexArrayObject internalCreateVertexArrayObject() {
3722 return new VertexArrayObject._internalWrap();
3723 }
3724
3725 js.JsObject blink_jsObject;
3726
3727 factory VertexArrayObject._internalWrap() {
3728 return new VertexArrayObject.internal_();
3729 }
3730
3731 VertexArrayObject.internal_() { }
3732
3733 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
3734 int get hashCode => unwrap_jso(this).hashCode;
3735
3190 } 3736 }
3191 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3737 // 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 3738 // 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. 3739 // BSD-style license that can be found in the LICENSE file.
3194 3740
3195 // WARNING: Do not edit - generated code. 3741 // WARNING: Do not edit - generated code.
3196 3742
3197 3743
3198 @DocsEditable() 3744 @DocsEditable()
3199 @DomName('WebGLRenderingContextBase') 3745 @DomName('WebGLRenderingContextBase')
3200 @Experimental() // untriaged 3746 @Experimental() // untriaged
3201 abstract class _WebGLRenderingContextBase extends NativeFieldWrapperClass2 { 3747 class _WebGLRenderingContextBase extends NativeFieldWrapperClass2 {
3202 // To suppress missing implicit constructor warnings. 3748 // To suppress missing implicit constructor warnings.
3203 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo rted"); } 3749 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo rted"); }
3204 3750
3205 } 3751 }
OLDNEW
« no previous file with comments | « sdk/lib/web_audio/dartium/web_audio_dartium.dart ('k') | sdk/lib/web_sql/dart2js/web_sql_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698