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

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

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