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

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

Issue 1330163010: Revert "Dartium w/ JsInterop enabled" (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;
15 // DO NOT EDIT 14 // DO NOT EDIT
16 // Auto-generated dart:web_gl library. 15 // Auto-generated dart:web_gl library.
17 16
18 17
19 18
20 19
21 20
22 // FIXME: Can we make this private? 21 // FIXME: Can we make this private?
23 final web_glBlinkMap = { 22 final web_glBlinkMap = {
24 'ANGLEInstancedArrays': () => AngleInstancedArrays, 23 'ANGLEInstancedArrays': () => AngleInstancedArrays,
(...skipping 27 matching lines...) Expand all
52 'WebGLRenderingContext': () => RenderingContext, 51 'WebGLRenderingContext': () => RenderingContext,
53 'WebGLRenderingContextBase': () => _WebGLRenderingContextBase, 52 'WebGLRenderingContextBase': () => _WebGLRenderingContextBase,
54 'WebGLShader': () => Shader, 53 'WebGLShader': () => Shader,
55 'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat, 54 'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat,
56 'WebGLTexture': () => Texture, 55 'WebGLTexture': () => Texture,
57 'WebGLUniformLocation': () => UniformLocation, 56 'WebGLUniformLocation': () => UniformLocation,
58 'WebGLVertexArrayObjectOES': () => VertexArrayObject, 57 'WebGLVertexArrayObjectOES': () => VertexArrayObject,
59 58
60 }; 59 };
61 60
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 };
101 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 61 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
102 // for details. All rights reserved. Use of this source code is governed by a 62 // for details. All rights reserved. Use of this source code is governed by a
103 // BSD-style license that can be found in the LICENSE file. 63 // BSD-style license that can be found in the LICENSE file.
104 64
105 65
106 const int ACTIVE_ATTRIBUTES = RenderingContext.ACTIVE_ATTRIBUTES; 66 const int ACTIVE_ATTRIBUTES = RenderingContext.ACTIVE_ATTRIBUTES;
107 const int ACTIVE_TEXTURE = RenderingContext.ACTIVE_TEXTURE; 67 const int ACTIVE_TEXTURE = RenderingContext.ACTIVE_TEXTURE;
108 const int ACTIVE_UNIFORMS = RenderingContext.ACTIVE_UNIFORMS; 68 const int ACTIVE_UNIFORMS = RenderingContext.ACTIVE_UNIFORMS;
109 const int ALIASED_LINE_WIDTH_RANGE = RenderingContext.ALIASED_LINE_WIDTH_RANGE; 69 const int ALIASED_LINE_WIDTH_RANGE = RenderingContext.ALIASED_LINE_WIDTH_RANGE;
110 const int ALIASED_POINT_SIZE_RANGE = RenderingContext.ALIASED_POINT_SIZE_RANGE; 70 const int ALIASED_POINT_SIZE_RANGE = RenderingContext.ALIASED_POINT_SIZE_RANGE;
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 // WARNING: Do not edit - generated code. 366 // WARNING: Do not edit - generated code.
407 367
408 368
409 @DocsEditable() 369 @DocsEditable()
410 @DomName('WebGLActiveInfo') 370 @DomName('WebGLActiveInfo')
411 @Unstable() 371 @Unstable()
412 class ActiveInfo extends NativeFieldWrapperClass2 { 372 class ActiveInfo extends NativeFieldWrapperClass2 {
413 // To suppress missing implicit constructor warnings. 373 // To suppress missing implicit constructor warnings.
414 factory ActiveInfo._() { throw new UnsupportedError("Not supported"); } 374 factory ActiveInfo._() { throw new UnsupportedError("Not supported"); }
415 375
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
431 @DomName('WebGLActiveInfo.name') 376 @DomName('WebGLActiveInfo.name')
432 @DocsEditable() 377 @DocsEditable()
433 String get name => _blink.BlinkWebGLActiveInfo.instance.name_Getter_(unwrap_js o(this)); 378 String get name => _blink.BlinkWebGLActiveInfo.instance.name_Getter_(unwrap_js o(this));
434 379
435 @DomName('WebGLActiveInfo.size') 380 @DomName('WebGLActiveInfo.size')
436 @DocsEditable() 381 @DocsEditable()
437 int get size => _blink.BlinkWebGLActiveInfo.instance.size_Getter_(unwrap_jso(t his)); 382 int get size => _blink.BlinkWebGLActiveInfo.instance.size_Getter_(unwrap_jso(t his));
438 383
439 @DomName('WebGLActiveInfo.type') 384 @DomName('WebGLActiveInfo.type')
440 @DocsEditable() 385 @DocsEditable()
441 int get type => _blink.BlinkWebGLActiveInfo.instance.type_Getter_(unwrap_jso(t his)); 386 int get type => _blink.BlinkWebGLActiveInfo.instance.type_Getter_(unwrap_jso(t his));
442 387
443 } 388 }
444 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 389 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
445 // for details. All rights reserved. Use of this source code is governed by a 390 // for details. All rights reserved. Use of this source code is governed by a
446 // BSD-style license that can be found in the LICENSE file. 391 // BSD-style license that can be found in the LICENSE file.
447 392
448 // WARNING: Do not edit - generated code. 393 // WARNING: Do not edit - generated code.
449 394
450 395
451 @DocsEditable() 396 @DocsEditable()
452 @DomName('ANGLEInstancedArrays') 397 @DomName('ANGLEInstancedArrays')
453 @Experimental() // untriaged 398 @Experimental() // untriaged
454 class AngleInstancedArrays extends NativeFieldWrapperClass2 { 399 class AngleInstancedArrays extends NativeFieldWrapperClass2 {
455 // To suppress missing implicit constructor warnings. 400 // To suppress missing implicit constructor warnings.
456 factory AngleInstancedArrays._() { throw new UnsupportedError("Not supported") ; } 401 factory AngleInstancedArrays._() { throw new UnsupportedError("Not supported") ; }
457 402
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
473 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE') 403 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE')
474 @DocsEditable() 404 @DocsEditable()
475 @Experimental() // untriaged 405 @Experimental() // untriaged
476 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; 406 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE;
477 407
478 @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE') 408 @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE')
479 @DocsEditable() 409 @DocsEditable()
480 @Experimental() // untriaged 410 @Experimental() // untriaged
481 void drawArraysInstancedAngle(int mode, int first, int count, int primcount) = > _blink.BlinkANGLEInstancedArrays.instance.drawArraysInstancedANGLE_Callback_4_ (unwrap_jso(this), mode, first, count, primcount); 411 void drawArraysInstancedAngle(int mode, int first, int count, int primcount) = > _blink.BlinkANGLEInstancedArrays.instance.drawArraysInstancedANGLE_Callback_4_ (unwrap_jso(this), mode, first, count, primcount);
482 412
(...skipping 15 matching lines...) Expand all
498 // WARNING: Do not edit - generated code. 428 // WARNING: Do not edit - generated code.
499 429
500 430
501 @DocsEditable() 431 @DocsEditable()
502 @DomName('WebGLBuffer') 432 @DomName('WebGLBuffer')
503 @Unstable() 433 @Unstable()
504 class Buffer extends NativeFieldWrapperClass2 { 434 class Buffer extends NativeFieldWrapperClass2 {
505 // To suppress missing implicit constructor warnings. 435 // To suppress missing implicit constructor warnings.
506 factory Buffer._() { throw new UnsupportedError("Not supported"); } 436 factory Buffer._() { throw new UnsupportedError("Not supported"); }
507 437
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
523 } 438 }
524 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 439 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
525 // for details. All rights reserved. Use of this source code is governed by a 440 // for details. All rights reserved. Use of this source code is governed by a
526 // BSD-style license that can be found in the LICENSE file. 441 // BSD-style license that can be found in the LICENSE file.
527 442
528 // WARNING: Do not edit - generated code. 443 // WARNING: Do not edit - generated code.
529 444
530 445
531 @DocsEditable() 446 @DocsEditable()
532 @DomName('WebGLCompressedTextureATC') 447 @DomName('WebGLCompressedTextureATC')
533 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc / 448 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc /
534 @Experimental() 449 @Experimental()
535 class CompressedTextureAtc extends NativeFieldWrapperClass2 { 450 class CompressedTextureAtc extends NativeFieldWrapperClass2 {
536 // To suppress missing implicit constructor warnings. 451 // To suppress missing implicit constructor warnings.
537 factory CompressedTextureAtc._() { throw new UnsupportedError("Not supported") ; } 452 factory CompressedTextureAtc._() { throw new UnsupportedError("Not supported") ; }
538 453
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
554 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL') 454 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL')
555 @DocsEditable() 455 @DocsEditable()
556 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93; 456 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93;
557 457
558 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEB GL') 458 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEB GL')
559 @DocsEditable() 459 @DocsEditable()
560 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE; 460 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE;
561 461
562 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL') 462 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL')
563 @DocsEditable() 463 @DocsEditable()
564 static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92; 464 static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92;
565 465
566 } 466 }
567 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 467 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
568 // for details. All rights reserved. Use of this source code is governed by a 468 // for details. All rights reserved. Use of this source code is governed by a
569 // BSD-style license that can be found in the LICENSE file. 469 // BSD-style license that can be found in the LICENSE file.
570 470
571 // WARNING: Do not edit - generated code. 471 // WARNING: Do not edit - generated code.
572 472
573 473
574 @DocsEditable() 474 @DocsEditable()
575 @DomName('WebGLCompressedTextureETC1') 475 @DomName('WebGLCompressedTextureETC1')
576 @Experimental() // untriaged 476 @Experimental() // untriaged
577 class CompressedTextureETC1 extends NativeFieldWrapperClass2 { 477 class CompressedTextureETC1 extends NativeFieldWrapperClass2 {
578 // To suppress missing implicit constructor warnings. 478 // To suppress missing implicit constructor warnings.
579 factory CompressedTextureETC1._() { throw new UnsupportedError("Not supported" ); } 479 factory CompressedTextureETC1._() { throw new UnsupportedError("Not supported" ); }
580 480
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
596 @DomName('WebGLCompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL') 481 @DomName('WebGLCompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL')
597 @DocsEditable() 482 @DocsEditable()
598 @Experimental() // untriaged 483 @Experimental() // untriaged
599 static const int COMPRESSED_RGB_ETC1_WEBGL = 0x8D64; 484 static const int COMPRESSED_RGB_ETC1_WEBGL = 0x8D64;
600 485
601 } 486 }
602 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 487 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
603 // for details. All rights reserved. Use of this source code is governed by a 488 // for details. All rights reserved. Use of this source code is governed by a
604 // BSD-style license that can be found in the LICENSE file. 489 // BSD-style license that can be found in the LICENSE file.
605 490
606 // WARNING: Do not edit - generated code. 491 // WARNING: Do not edit - generated code.
607 492
608 493
609 @DocsEditable() 494 @DocsEditable()
610 @DomName('WebGLCompressedTexturePVRTC') 495 @DomName('WebGLCompressedTexturePVRTC')
611 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvr tc/ 496 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvr tc/
612 @Experimental() // experimental 497 @Experimental() // experimental
613 class CompressedTexturePvrtc extends NativeFieldWrapperClass2 { 498 class CompressedTexturePvrtc extends NativeFieldWrapperClass2 {
614 // To suppress missing implicit constructor warnings. 499 // To suppress missing implicit constructor warnings.
615 factory CompressedTexturePvrtc._() { throw new UnsupportedError("Not supported "); } 500 factory CompressedTexturePvrtc._() { throw new UnsupportedError("Not supported "); }
616 501
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
632 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG') 502 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG')
633 @DocsEditable() 503 @DocsEditable()
634 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03; 504 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03;
635 505
636 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG') 506 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG')
637 @DocsEditable() 507 @DocsEditable()
638 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02; 508 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02;
639 509
640 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG') 510 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG')
641 @DocsEditable() 511 @DocsEditable()
(...skipping 12 matching lines...) Expand all
654 524
655 525
656 @DocsEditable() 526 @DocsEditable()
657 @DomName('WebGLCompressedTextureS3TC') 527 @DomName('WebGLCompressedTextureS3TC')
658 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3t c/ 528 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3t c/
659 @Experimental() // experimental 529 @Experimental() // experimental
660 class CompressedTextureS3TC extends NativeFieldWrapperClass2 { 530 class CompressedTextureS3TC extends NativeFieldWrapperClass2 {
661 // To suppress missing implicit constructor warnings. 531 // To suppress missing implicit constructor warnings.
662 factory CompressedTextureS3TC._() { throw new UnsupportedError("Not supported" ); } 532 factory CompressedTextureS3TC._() { throw new UnsupportedError("Not supported" ); }
663 533
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
679 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT') 534 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT')
680 @DocsEditable() 535 @DocsEditable()
681 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; 536 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
682 537
683 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT') 538 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT')
684 @DocsEditable() 539 @DocsEditable()
685 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2; 540 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2;
686 541
687 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT') 542 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT')
688 @DocsEditable() 543 @DocsEditable()
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 * 577 *
723 * If [stencil] is `true`, then the context has a stencil buffer of at least 8 578 * If [stencil] is `true`, then the context has a stencil buffer of at least 8
724 * bits. 579 * bits.
725 */ 580 */
726 @DomName('WebGLContextAttributes') 581 @DomName('WebGLContextAttributes')
727 @Unstable() 582 @Unstable()
728 class ContextAttributes extends NativeFieldWrapperClass2 { 583 class ContextAttributes extends NativeFieldWrapperClass2 {
729 // To suppress missing implicit constructor warnings. 584 // To suppress missing implicit constructor warnings.
730 factory ContextAttributes._() { throw new UnsupportedError("Not supported"); } 585 factory ContextAttributes._() { throw new UnsupportedError("Not supported"); }
731 586
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
747 @DomName('WebGLContextAttributes.alpha') 587 @DomName('WebGLContextAttributes.alpha')
748 @DocsEditable() 588 @DocsEditable()
749 bool get alpha => _blink.BlinkWebGLContextAttributes.instance.alpha_Getter_(un wrap_jso(this)); 589 bool get alpha => _blink.BlinkWebGLContextAttributes.instance.alpha_Getter_(un wrap_jso(this));
750 590
751 @DomName('WebGLContextAttributes.alpha') 591 @DomName('WebGLContextAttributes.alpha')
752 @DocsEditable() 592 @DocsEditable()
753 set alpha(bool value) => _blink.BlinkWebGLContextAttributes.instance.alpha_Set ter_(unwrap_jso(this), value); 593 void set alpha(bool value) => _blink.BlinkWebGLContextAttributes.instance.alph a_Setter_(unwrap_jso(this), value);
754 594
755 @DomName('WebGLContextAttributes.antialias') 595 @DomName('WebGLContextAttributes.antialias')
756 @DocsEditable() 596 @DocsEditable()
757 bool get antialias => _blink.BlinkWebGLContextAttributes.instance.antialias_Ge tter_(unwrap_jso(this)); 597 bool get antialias => _blink.BlinkWebGLContextAttributes.instance.antialias_Ge tter_(unwrap_jso(this));
758 598
759 @DomName('WebGLContextAttributes.antialias') 599 @DomName('WebGLContextAttributes.antialias')
760 @DocsEditable() 600 @DocsEditable()
761 set antialias(bool value) => _blink.BlinkWebGLContextAttributes.instance.antia lias_Setter_(unwrap_jso(this), value); 601 void set antialias(bool value) => _blink.BlinkWebGLContextAttributes.instance. antialias_Setter_(unwrap_jso(this), value);
762 602
763 @DomName('WebGLContextAttributes.depth') 603 @DomName('WebGLContextAttributes.depth')
764 @DocsEditable() 604 @DocsEditable()
765 bool get depth => _blink.BlinkWebGLContextAttributes.instance.depth_Getter_(un wrap_jso(this)); 605 bool get depth => _blink.BlinkWebGLContextAttributes.instance.depth_Getter_(un wrap_jso(this));
766 606
767 @DomName('WebGLContextAttributes.depth') 607 @DomName('WebGLContextAttributes.depth')
768 @DocsEditable() 608 @DocsEditable()
769 set depth(bool value) => _blink.BlinkWebGLContextAttributes.instance.depth_Set ter_(unwrap_jso(this), value); 609 void set depth(bool value) => _blink.BlinkWebGLContextAttributes.instance.dept h_Setter_(unwrap_jso(this), value);
770 610
771 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat') 611 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat')
772 @DocsEditable() 612 @DocsEditable()
773 @Experimental() // untriaged 613 @Experimental() // untriaged
774 bool get failIfMajorPerformanceCaveat => _blink.BlinkWebGLContextAttributes.in stance.failIfMajorPerformanceCaveat_Getter_(unwrap_jso(this)); 614 bool get failIfMajorPerformanceCaveat => _blink.BlinkWebGLContextAttributes.in stance.failIfMajorPerformanceCaveat_Getter_(unwrap_jso(this));
775 615
776 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat') 616 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat')
777 @DocsEditable() 617 @DocsEditable()
778 @Experimental() // untriaged 618 @Experimental() // untriaged
779 set failIfMajorPerformanceCaveat(bool value) => _blink.BlinkWebGLContextAttrib utes.instance.failIfMajorPerformanceCaveat_Setter_(unwrap_jso(this), value); 619 void set failIfMajorPerformanceCaveat(bool value) => _blink.BlinkWebGLContextA ttributes.instance.failIfMajorPerformanceCaveat_Setter_(unwrap_jso(this), value) ;
780 620
781 @DomName('WebGLContextAttributes.premultipliedAlpha') 621 @DomName('WebGLContextAttributes.premultipliedAlpha')
782 @DocsEditable() 622 @DocsEditable()
783 bool get premultipliedAlpha => _blink.BlinkWebGLContextAttributes.instance.pre multipliedAlpha_Getter_(unwrap_jso(this)); 623 bool get premultipliedAlpha => _blink.BlinkWebGLContextAttributes.instance.pre multipliedAlpha_Getter_(unwrap_jso(this));
784 624
785 @DomName('WebGLContextAttributes.premultipliedAlpha') 625 @DomName('WebGLContextAttributes.premultipliedAlpha')
786 @DocsEditable() 626 @DocsEditable()
787 set premultipliedAlpha(bool value) => _blink.BlinkWebGLContextAttributes.insta nce.premultipliedAlpha_Setter_(unwrap_jso(this), value); 627 void set premultipliedAlpha(bool value) => _blink.BlinkWebGLContextAttributes. instance.premultipliedAlpha_Setter_(unwrap_jso(this), value);
788 628
789 @DomName('WebGLContextAttributes.preserveDrawingBuffer') 629 @DomName('WebGLContextAttributes.preserveDrawingBuffer')
790 @DocsEditable() 630 @DocsEditable()
791 bool get preserveDrawingBuffer => _blink.BlinkWebGLContextAttributes.instance. preserveDrawingBuffer_Getter_(unwrap_jso(this)); 631 bool get preserveDrawingBuffer => _blink.BlinkWebGLContextAttributes.instance. preserveDrawingBuffer_Getter_(unwrap_jso(this));
792 632
793 @DomName('WebGLContextAttributes.preserveDrawingBuffer') 633 @DomName('WebGLContextAttributes.preserveDrawingBuffer')
794 @DocsEditable() 634 @DocsEditable()
795 set preserveDrawingBuffer(bool value) => _blink.BlinkWebGLContextAttributes.in stance.preserveDrawingBuffer_Setter_(unwrap_jso(this), value); 635 void set preserveDrawingBuffer(bool value) => _blink.BlinkWebGLContextAttribut es.instance.preserveDrawingBuffer_Setter_(unwrap_jso(this), value);
796 636
797 @DomName('WebGLContextAttributes.stencil') 637 @DomName('WebGLContextAttributes.stencil')
798 @DocsEditable() 638 @DocsEditable()
799 bool get stencil => _blink.BlinkWebGLContextAttributes.instance.stencil_Getter _(unwrap_jso(this)); 639 bool get stencil => _blink.BlinkWebGLContextAttributes.instance.stencil_Getter _(unwrap_jso(this));
800 640
801 @DomName('WebGLContextAttributes.stencil') 641 @DomName('WebGLContextAttributes.stencil')
802 @DocsEditable() 642 @DocsEditable()
803 set stencil(bool value) => _blink.BlinkWebGLContextAttributes.instance.stencil _Setter_(unwrap_jso(this), value); 643 void set stencil(bool value) => _blink.BlinkWebGLContextAttributes.instance.st encil_Setter_(unwrap_jso(this), value);
804 644
805 } 645 }
806 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 646 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
807 // for details. All rights reserved. Use of this source code is governed by a 647 // for details. All rights reserved. Use of this source code is governed by a
808 // BSD-style license that can be found in the LICENSE file. 648 // BSD-style license that can be found in the LICENSE file.
809 649
810 // WARNING: Do not edit - generated code. 650 // WARNING: Do not edit - generated code.
811 651
812 652
813 @DocsEditable() 653 @DocsEditable()
814 @DomName('WebGLContextEvent') 654 @DomName('WebGLContextEvent')
815 @Unstable() 655 @Unstable()
816 class ContextEvent extends Event { 656 class ContextEvent extends Event {
817 // To suppress missing implicit constructor warnings. 657 // To suppress missing implicit constructor warnings.
818 factory ContextEvent._() { throw new UnsupportedError("Not supported"); } 658 factory ContextEvent._() { throw new UnsupportedError("Not supported"); }
819 659
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
832 @DomName('WebGLContextEvent.statusMessage') 660 @DomName('WebGLContextEvent.statusMessage')
833 @DocsEditable() 661 @DocsEditable()
834 String get statusMessage => _blink.BlinkWebGLContextEvent.instance.statusMessa ge_Getter_(unwrap_jso(this)); 662 String get statusMessage => _blink.BlinkWebGLContextEvent.instance.statusMessa ge_Getter_(unwrap_jso(this));
835 663
836 } 664 }
837 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 665 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
838 // for details. All rights reserved. Use of this source code is governed by a 666 // for details. All rights reserved. Use of this source code is governed by a
839 // BSD-style license that can be found in the LICENSE file. 667 // BSD-style license that can be found in the LICENSE file.
840 668
841 // WARNING: Do not edit - generated code. 669 // WARNING: Do not edit - generated code.
842 670
843 671
844 @DocsEditable() 672 @DocsEditable()
845 @DomName('WebGLDebugRendererInfo') 673 @DomName('WebGLDebugRendererInfo')
846 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/ 674 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/
847 @Experimental() // experimental 675 @Experimental() // experimental
848 class DebugRendererInfo extends NativeFieldWrapperClass2 { 676 class DebugRendererInfo extends NativeFieldWrapperClass2 {
849 // To suppress missing implicit constructor warnings. 677 // To suppress missing implicit constructor warnings.
850 factory DebugRendererInfo._() { throw new UnsupportedError("Not supported"); } 678 factory DebugRendererInfo._() { throw new UnsupportedError("Not supported"); }
851 679
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
867 @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL') 680 @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL')
868 @DocsEditable() 681 @DocsEditable()
869 static const int UNMASKED_RENDERER_WEBGL = 0x9246; 682 static const int UNMASKED_RENDERER_WEBGL = 0x9246;
870 683
871 @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL') 684 @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL')
872 @DocsEditable() 685 @DocsEditable()
873 static const int UNMASKED_VENDOR_WEBGL = 0x9245; 686 static const int UNMASKED_VENDOR_WEBGL = 0x9245;
874 687
875 } 688 }
876 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 689 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
877 // for details. All rights reserved. Use of this source code is governed by a 690 // for details. All rights reserved. Use of this source code is governed by a
878 // BSD-style license that can be found in the LICENSE file. 691 // BSD-style license that can be found in the LICENSE file.
879 692
880 // WARNING: Do not edit - generated code. 693 // WARNING: Do not edit - generated code.
881 694
882 695
883 @DocsEditable() 696 @DocsEditable()
884 @DomName('WebGLDebugShaders') 697 @DomName('WebGLDebugShaders')
885 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/ 698 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/
886 @Experimental() // experimental 699 @Experimental() // experimental
887 class DebugShaders extends NativeFieldWrapperClass2 { 700 class DebugShaders extends NativeFieldWrapperClass2 {
888 // To suppress missing implicit constructor warnings. 701 // To suppress missing implicit constructor warnings.
889 factory DebugShaders._() { throw new UnsupportedError("Not supported"); } 702 factory DebugShaders._() { throw new UnsupportedError("Not supported"); }
890 703
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
906 @DomName('WebGLDebugShaders.getTranslatedShaderSource') 704 @DomName('WebGLDebugShaders.getTranslatedShaderSource')
907 @DocsEditable() 705 @DocsEditable()
908 String getTranslatedShaderSource(Shader shader) => _blink.BlinkWebGLDebugShade rs.instance.getTranslatedShaderSource_Callback_1_(unwrap_jso(this), unwrap_jso(s hader)); 706 String getTranslatedShaderSource(Shader shader) => _blink.BlinkWebGLDebugShade rs.instance.getTranslatedShaderSource_Callback_1_(unwrap_jso(this), unwrap_jso(s hader));
909 707
910 } 708 }
911 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 709 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
912 // for details. All rights reserved. Use of this source code is governed by a 710 // for details. All rights reserved. Use of this source code is governed by a
913 // BSD-style license that can be found in the LICENSE file. 711 // BSD-style license that can be found in the LICENSE file.
914 712
915 // WARNING: Do not edit - generated code. 713 // WARNING: Do not edit - generated code.
916 714
917 715
918 @DocsEditable() 716 @DocsEditable()
919 @DomName('WebGLDepthTexture') 717 @DomName('WebGLDepthTexture')
920 // http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/ 718 // http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/
921 @Experimental() // experimental 719 @Experimental() // experimental
922 class DepthTexture extends NativeFieldWrapperClass2 { 720 class DepthTexture extends NativeFieldWrapperClass2 {
923 // To suppress missing implicit constructor warnings. 721 // To suppress missing implicit constructor warnings.
924 factory DepthTexture._() { throw new UnsupportedError("Not supported"); } 722 factory DepthTexture._() { throw new UnsupportedError("Not supported"); }
925 723
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
941 @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL') 724 @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL')
942 @DocsEditable() 725 @DocsEditable()
943 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA; 726 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA;
944 727
945 } 728 }
946 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 729 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
947 // for details. All rights reserved. Use of this source code is governed by a 730 // for details. All rights reserved. Use of this source code is governed by a
948 // BSD-style license that can be found in the LICENSE file. 731 // BSD-style license that can be found in the LICENSE file.
949 732
950 // WARNING: Do not edit - generated code. 733 // WARNING: Do not edit - generated code.
951 734
952 735
953 @DocsEditable() 736 @DocsEditable()
954 @DomName('WebGLDrawBuffers') 737 @DomName('WebGLDrawBuffers')
955 // http://www.khronos.org/registry/webgl/specs/latest/ 738 // http://www.khronos.org/registry/webgl/specs/latest/
956 @Experimental() // stable 739 @Experimental() // stable
957 class DrawBuffers extends NativeFieldWrapperClass2 { 740 class DrawBuffers extends NativeFieldWrapperClass2 {
958 // To suppress missing implicit constructor warnings. 741 // To suppress missing implicit constructor warnings.
959 factory DrawBuffers._() { throw new UnsupportedError("Not supported"); } 742 factory DrawBuffers._() { throw new UnsupportedError("Not supported"); }
960 743
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
976 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT0_WEBGL') 744 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT0_WEBGL')
977 @DocsEditable() 745 @DocsEditable()
978 static const int COLOR_ATTACHMENT0_WEBGL = 0x8CE0; 746 static const int COLOR_ATTACHMENT0_WEBGL = 0x8CE0;
979 747
980 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT10_WEBGL') 748 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT10_WEBGL')
981 @DocsEditable() 749 @DocsEditable()
982 static const int COLOR_ATTACHMENT10_WEBGL = 0x8CEA; 750 static const int COLOR_ATTACHMENT10_WEBGL = 0x8CEA;
983 751
984 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT11_WEBGL') 752 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT11_WEBGL')
985 @DocsEditable() 753 @DocsEditable()
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
1121 // WARNING: Do not edit - generated code. 889 // WARNING: Do not edit - generated code.
1122 890
1123 891
1124 @DocsEditable() 892 @DocsEditable()
1125 @DomName('EXTBlendMinMax') 893 @DomName('EXTBlendMinMax')
1126 @Experimental() // untriaged 894 @Experimental() // untriaged
1127 class ExtBlendMinMax extends NativeFieldWrapperClass2 { 895 class ExtBlendMinMax extends NativeFieldWrapperClass2 {
1128 // To suppress missing implicit constructor warnings. 896 // To suppress missing implicit constructor warnings.
1129 factory ExtBlendMinMax._() { throw new UnsupportedError("Not supported"); } 897 factory ExtBlendMinMax._() { throw new UnsupportedError("Not supported"); }
1130 898
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
1146 @DomName('EXTBlendMinMax.MAX_EXT') 899 @DomName('EXTBlendMinMax.MAX_EXT')
1147 @DocsEditable() 900 @DocsEditable()
1148 @Experimental() // untriaged 901 @Experimental() // untriaged
1149 static const int MAX_EXT = 0x8008; 902 static const int MAX_EXT = 0x8008;
1150 903
1151 @DomName('EXTBlendMinMax.MIN_EXT') 904 @DomName('EXTBlendMinMax.MIN_EXT')
1152 @DocsEditable() 905 @DocsEditable()
1153 @Experimental() // untriaged 906 @Experimental() // untriaged
1154 static const int MIN_EXT = 0x8007; 907 static const int MIN_EXT = 0x8007;
1155 908
1156 } 909 }
1157 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 910 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1158 // for details. All rights reserved. Use of this source code is governed by a 911 // for details. All rights reserved. Use of this source code is governed by a
1159 // BSD-style license that can be found in the LICENSE file. 912 // BSD-style license that can be found in the LICENSE file.
1160 913
1161 // WARNING: Do not edit - generated code. 914 // WARNING: Do not edit - generated code.
1162 915
1163 916
1164 @DocsEditable() 917 @DocsEditable()
1165 @DomName('EXTFragDepth') 918 @DomName('EXTFragDepth')
1166 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/ 919 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/
1167 @Experimental() 920 @Experimental()
1168 class ExtFragDepth extends NativeFieldWrapperClass2 { 921 class ExtFragDepth extends NativeFieldWrapperClass2 {
1169 // To suppress missing implicit constructor warnings. 922 // To suppress missing implicit constructor warnings.
1170 factory ExtFragDepth._() { throw new UnsupportedError("Not supported"); } 923 factory ExtFragDepth._() { throw new UnsupportedError("Not supported"); }
1171 924
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
1187 } 925 }
1188 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 926 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1189 // for details. All rights reserved. Use of this source code is governed by a 927 // for details. All rights reserved. Use of this source code is governed by a
1190 // BSD-style license that can be found in the LICENSE file. 928 // BSD-style license that can be found in the LICENSE file.
1191 929
1192 // WARNING: Do not edit - generated code. 930 // WARNING: Do not edit - generated code.
1193 931
1194 932
1195 @DocsEditable() 933 @DocsEditable()
1196 @DomName('EXTShaderTextureLOD') 934 @DomName('EXTShaderTextureLOD')
1197 @Experimental() // untriaged 935 @Experimental() // untriaged
1198 class ExtShaderTextureLod extends NativeFieldWrapperClass2 { 936 class ExtShaderTextureLod extends NativeFieldWrapperClass2 {
1199 // To suppress missing implicit constructor warnings. 937 // To suppress missing implicit constructor warnings.
1200 factory ExtShaderTextureLod._() { throw new UnsupportedError("Not supported"); } 938 factory ExtShaderTextureLod._() { throw new UnsupportedError("Not supported"); }
1201 939
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
1217 } 940 }
1218 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 941 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1219 // for details. All rights reserved. Use of this source code is governed by a 942 // for details. All rights reserved. Use of this source code is governed by a
1220 // BSD-style license that can be found in the LICENSE file. 943 // BSD-style license that can be found in the LICENSE file.
1221 944
1222 // WARNING: Do not edit - generated code. 945 // WARNING: Do not edit - generated code.
1223 946
1224 947
1225 @DocsEditable() 948 @DocsEditable()
1226 @DomName('EXTTextureFilterAnisotropic') 949 @DomName('EXTTextureFilterAnisotropic')
1227 // http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotrop ic/ 950 // http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotrop ic/
1228 @Experimental() 951 @Experimental()
1229 class ExtTextureFilterAnisotropic extends NativeFieldWrapperClass2 { 952 class ExtTextureFilterAnisotropic extends NativeFieldWrapperClass2 {
1230 // To suppress missing implicit constructor warnings. 953 // To suppress missing implicit constructor warnings.
1231 factory ExtTextureFilterAnisotropic._() { throw new UnsupportedError("Not supp orted"); } 954 factory ExtTextureFilterAnisotropic._() { throw new UnsupportedError("Not supp orted"); }
1232 955
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
1248 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT') 956 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT')
1249 @DocsEditable() 957 @DocsEditable()
1250 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; 958 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;
1251 959
1252 @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT') 960 @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT')
1253 @DocsEditable() 961 @DocsEditable()
1254 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; 962 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE;
1255 963
1256 } 964 }
1257 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 965 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1258 // for details. All rights reserved. Use of this source code is governed by a 966 // for details. All rights reserved. Use of this source code is governed by a
1259 // BSD-style license that can be found in the LICENSE file. 967 // BSD-style license that can be found in the LICENSE file.
1260 968
1261 // WARNING: Do not edit - generated code. 969 // WARNING: Do not edit - generated code.
1262 970
1263 971
1264 @DocsEditable() 972 @DocsEditable()
1265 @DomName('WebGLFramebuffer') 973 @DomName('WebGLFramebuffer')
1266 @Unstable() 974 @Unstable()
1267 class Framebuffer extends NativeFieldWrapperClass2 { 975 class Framebuffer extends NativeFieldWrapperClass2 {
1268 // To suppress missing implicit constructor warnings. 976 // To suppress missing implicit constructor warnings.
1269 factory Framebuffer._() { throw new UnsupportedError("Not supported"); } 977 factory Framebuffer._() { throw new UnsupportedError("Not supported"); }
1270 978
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
1286 } 979 }
1287 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 980 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1288 // for details. All rights reserved. Use of this source code is governed by a 981 // for details. All rights reserved. Use of this source code is governed by a
1289 // BSD-style license that can be found in the LICENSE file. 982 // BSD-style license that can be found in the LICENSE file.
1290 983
1291 // WARNING: Do not edit - generated code. 984 // WARNING: Do not edit - generated code.
1292 985
1293 986
1294 @DocsEditable() 987 @DocsEditable()
1295 @DomName('WebGLLoseContext') 988 @DomName('WebGLLoseContext')
1296 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/ 989 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/
1297 @Experimental() 990 @Experimental()
1298 class LoseContext extends NativeFieldWrapperClass2 { 991 class LoseContext extends NativeFieldWrapperClass2 {
1299 // To suppress missing implicit constructor warnings. 992 // To suppress missing implicit constructor warnings.
1300 factory LoseContext._() { throw new UnsupportedError("Not supported"); } 993 factory LoseContext._() { throw new UnsupportedError("Not supported"); }
1301 994
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
1317 @DomName('WebGLLoseContext.loseContext') 995 @DomName('WebGLLoseContext.loseContext')
1318 @DocsEditable() 996 @DocsEditable()
1319 void loseContext() => _blink.BlinkWebGLLoseContext.instance.loseContext_Callba ck_0_(unwrap_jso(this)); 997 void loseContext() => _blink.BlinkWebGLLoseContext.instance.loseContext_Callba ck_0_(unwrap_jso(this));
1320 998
1321 @DomName('WebGLLoseContext.restoreContext') 999 @DomName('WebGLLoseContext.restoreContext')
1322 @DocsEditable() 1000 @DocsEditable()
1323 void restoreContext() => _blink.BlinkWebGLLoseContext.instance.restoreContext_ Callback_0_(unwrap_jso(this)); 1001 void restoreContext() => _blink.BlinkWebGLLoseContext.instance.restoreContext_ Callback_0_(unwrap_jso(this));
1324 1002
1325 } 1003 }
1326 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1004 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1327 // for details. All rights reserved. Use of this source code is governed by a 1005 // for details. All rights reserved. Use of this source code is governed by a
1328 // BSD-style license that can be found in the LICENSE file. 1006 // BSD-style license that can be found in the LICENSE file.
1329 1007
1330 // WARNING: Do not edit - generated code. 1008 // WARNING: Do not edit - generated code.
1331 1009
1332 1010
1333 @DocsEditable() 1011 @DocsEditable()
1334 @DomName('OESElementIndexUint') 1012 @DomName('OESElementIndexUint')
1335 // http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/ 1013 // http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/
1336 @Experimental() // experimental 1014 @Experimental() // experimental
1337 class OesElementIndexUint extends NativeFieldWrapperClass2 { 1015 class OesElementIndexUint extends NativeFieldWrapperClass2 {
1338 // To suppress missing implicit constructor warnings. 1016 // To suppress missing implicit constructor warnings.
1339 factory OesElementIndexUint._() { throw new UnsupportedError("Not supported"); } 1017 factory OesElementIndexUint._() { throw new UnsupportedError("Not supported"); }
1340 1018
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
1356 } 1019 }
1357 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1020 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1358 // for details. All rights reserved. Use of this source code is governed by a 1021 // for details. All rights reserved. Use of this source code is governed by a
1359 // BSD-style license that can be found in the LICENSE file. 1022 // BSD-style license that can be found in the LICENSE file.
1360 1023
1361 // WARNING: Do not edit - generated code. 1024 // WARNING: Do not edit - generated code.
1362 1025
1363 1026
1364 @DocsEditable() 1027 @DocsEditable()
1365 @DomName('OESStandardDerivatives') 1028 @DomName('OESStandardDerivatives')
1366 // http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/ 1029 // http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/
1367 @Experimental() // experimental 1030 @Experimental() // experimental
1368 class OesStandardDerivatives extends NativeFieldWrapperClass2 { 1031 class OesStandardDerivatives extends NativeFieldWrapperClass2 {
1369 // To suppress missing implicit constructor warnings. 1032 // To suppress missing implicit constructor warnings.
1370 factory OesStandardDerivatives._() { throw new UnsupportedError("Not supported "); } 1033 factory OesStandardDerivatives._() { throw new UnsupportedError("Not supported "); }
1371 1034
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
1387 @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES') 1035 @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES')
1388 @DocsEditable() 1036 @DocsEditable()
1389 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; 1037 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B;
1390 1038
1391 } 1039 }
1392 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1040 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1393 // for details. All rights reserved. Use of this source code is governed by a 1041 // for details. All rights reserved. Use of this source code is governed by a
1394 // BSD-style license that can be found in the LICENSE file. 1042 // BSD-style license that can be found in the LICENSE file.
1395 1043
1396 // WARNING: Do not edit - generated code. 1044 // WARNING: Do not edit - generated code.
1397 1045
1398 1046
1399 @DocsEditable() 1047 @DocsEditable()
1400 @DomName('OESTextureFloat') 1048 @DomName('OESTextureFloat')
1401 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float/ 1049 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float/
1402 @Experimental() // experimental 1050 @Experimental() // experimental
1403 class OesTextureFloat extends NativeFieldWrapperClass2 { 1051 class OesTextureFloat extends NativeFieldWrapperClass2 {
1404 // To suppress missing implicit constructor warnings. 1052 // To suppress missing implicit constructor warnings.
1405 factory OesTextureFloat._() { throw new UnsupportedError("Not supported"); } 1053 factory OesTextureFloat._() { throw new UnsupportedError("Not supported"); }
1406 1054
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
1422 } 1055 }
1423 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1056 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1424 // for details. All rights reserved. Use of this source code is governed by a 1057 // for details. All rights reserved. Use of this source code is governed by a
1425 // BSD-style license that can be found in the LICENSE file. 1058 // BSD-style license that can be found in the LICENSE file.
1426 1059
1427 // WARNING: Do not edit - generated code. 1060 // WARNING: Do not edit - generated code.
1428 1061
1429 1062
1430 @DocsEditable() 1063 @DocsEditable()
1431 @DomName('OESTextureFloatLinear') 1064 @DomName('OESTextureFloatLinear')
1432 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/ 1065 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/
1433 @Experimental() 1066 @Experimental()
1434 class OesTextureFloatLinear extends NativeFieldWrapperClass2 { 1067 class OesTextureFloatLinear extends NativeFieldWrapperClass2 {
1435 // To suppress missing implicit constructor warnings. 1068 // To suppress missing implicit constructor warnings.
1436 factory OesTextureFloatLinear._() { throw new UnsupportedError("Not supported" ); } 1069 factory OesTextureFloatLinear._() { throw new UnsupportedError("Not supported" ); }
1437 1070
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
1453 } 1071 }
1454 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1072 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1455 // for details. All rights reserved. Use of this source code is governed by a 1073 // for details. All rights reserved. Use of this source code is governed by a
1456 // BSD-style license that can be found in the LICENSE file. 1074 // BSD-style license that can be found in the LICENSE file.
1457 1075
1458 // WARNING: Do not edit - generated code. 1076 // WARNING: Do not edit - generated code.
1459 1077
1460 1078
1461 @DocsEditable() 1079 @DocsEditable()
1462 @DomName('OESTextureHalfFloat') 1080 @DomName('OESTextureHalfFloat')
1463 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/ 1081 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/
1464 @Experimental() // experimental 1082 @Experimental() // experimental
1465 class OesTextureHalfFloat extends NativeFieldWrapperClass2 { 1083 class OesTextureHalfFloat extends NativeFieldWrapperClass2 {
1466 // To suppress missing implicit constructor warnings. 1084 // To suppress missing implicit constructor warnings.
1467 factory OesTextureHalfFloat._() { throw new UnsupportedError("Not supported"); } 1085 factory OesTextureHalfFloat._() { throw new UnsupportedError("Not supported"); }
1468 1086
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
1484 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES') 1087 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES')
1485 @DocsEditable() 1088 @DocsEditable()
1486 static const int HALF_FLOAT_OES = 0x8D61; 1089 static const int HALF_FLOAT_OES = 0x8D61;
1487 1090
1488 } 1091 }
1489 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1092 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1490 // for details. All rights reserved. Use of this source code is governed by a 1093 // for details. All rights reserved. Use of this source code is governed by a
1491 // BSD-style license that can be found in the LICENSE file. 1094 // BSD-style license that can be found in the LICENSE file.
1492 1095
1493 // WARNING: Do not edit - generated code. 1096 // WARNING: Do not edit - generated code.
1494 1097
1495 1098
1496 @DocsEditable() 1099 @DocsEditable()
1497 @DomName('OESTextureHalfFloatLinear') 1100 @DomName('OESTextureHalfFloatLinear')
1498 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float_linea r/ 1101 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float_linea r/
1499 @Experimental() 1102 @Experimental()
1500 class OesTextureHalfFloatLinear extends NativeFieldWrapperClass2 { 1103 class OesTextureHalfFloatLinear extends NativeFieldWrapperClass2 {
1501 // To suppress missing implicit constructor warnings. 1104 // To suppress missing implicit constructor warnings.
1502 factory OesTextureHalfFloatLinear._() { throw new UnsupportedError("Not suppor ted"); } 1105 factory OesTextureHalfFloatLinear._() { throw new UnsupportedError("Not suppor ted"); }
1503 1106
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
1519 } 1107 }
1520 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1108 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1521 // for details. All rights reserved. Use of this source code is governed by a 1109 // for details. All rights reserved. Use of this source code is governed by a
1522 // BSD-style license that can be found in the LICENSE file. 1110 // BSD-style license that can be found in the LICENSE file.
1523 1111
1524 // WARNING: Do not edit - generated code. 1112 // WARNING: Do not edit - generated code.
1525 1113
1526 1114
1527 @DocsEditable() 1115 @DocsEditable()
1528 @DomName('OESVertexArrayObject') 1116 @DomName('OESVertexArrayObject')
1529 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ 1117 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
1530 @Experimental() // experimental 1118 @Experimental() // experimental
1531 class OesVertexArrayObject extends NativeFieldWrapperClass2 { 1119 class OesVertexArrayObject extends NativeFieldWrapperClass2 {
1532 // To suppress missing implicit constructor warnings. 1120 // To suppress missing implicit constructor warnings.
1533 factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported") ; } 1121 factory OesVertexArrayObject._() { throw new UnsupportedError("Not supported") ; }
1534 1122
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
1550 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') 1123 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES')
1551 @DocsEditable() 1124 @DocsEditable()
1552 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; 1125 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5;
1553 1126
1554 @DomName('OESVertexArrayObject.bindVertexArrayOES') 1127 @DomName('OESVertexArrayObject.bindVertexArrayOES')
1555 @DocsEditable() 1128 @DocsEditable()
1556 void bindVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertexAr rayObject.instance.bindVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_jso(a rrayObject)); 1129 void bindVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertexAr rayObject.instance.bindVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_jso(a rrayObject));
1557 1130
1558 @DomName('OESVertexArrayObject.createVertexArrayOES') 1131 @DomName('OESVertexArrayObject.createVertexArrayOES')
1559 @DocsEditable() 1132 @DocsEditable()
1560 VertexArrayObject createVertexArray() => wrap_jso(_blink.BlinkOESVertexArrayOb ject.instance.createVertexArrayOES_Callback_0_(unwrap_jso(this))); 1133 VertexArrayObject createVertexArray() => _blink.BlinkOESVertexArrayObject.inst ance.createVertexArrayOES_Callback_0_(unwrap_jso(this));
1561 1134
1562 @DomName('OESVertexArrayObject.deleteVertexArrayOES') 1135 @DomName('OESVertexArrayObject.deleteVertexArrayOES')
1563 @DocsEditable() 1136 @DocsEditable()
1564 void deleteVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertex ArrayObject.instance.deleteVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_j so(arrayObject)); 1137 void deleteVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertex ArrayObject.instance.deleteVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_j so(arrayObject));
1565 1138
1566 @DomName('OESVertexArrayObject.isVertexArrayOES') 1139 @DomName('OESVertexArrayObject.isVertexArrayOES')
1567 @DocsEditable() 1140 @DocsEditable()
1568 bool isVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertexArra yObject.instance.isVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_jso(array Object)); 1141 bool isVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertexArra yObject.instance.isVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_jso(array Object));
1569 1142
1570 } 1143 }
1571 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1144 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1572 // for details. All rights reserved. Use of this source code is governed by a 1145 // for details. All rights reserved. Use of this source code is governed by a
1573 // BSD-style license that can be found in the LICENSE file. 1146 // BSD-style license that can be found in the LICENSE file.
1574 1147
1575 // WARNING: Do not edit - generated code. 1148 // WARNING: Do not edit - generated code.
1576 1149
1577 1150
1578 @DocsEditable() 1151 @DocsEditable()
1579 @DomName('WebGLProgram') 1152 @DomName('WebGLProgram')
1580 @Unstable() 1153 @Unstable()
1581 class Program extends NativeFieldWrapperClass2 { 1154 class Program extends NativeFieldWrapperClass2 {
1582 // To suppress missing implicit constructor warnings. 1155 // To suppress missing implicit constructor warnings.
1583 factory Program._() { throw new UnsupportedError("Not supported"); } 1156 factory Program._() { throw new UnsupportedError("Not supported"); }
1584 1157
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
1600 } 1158 }
1601 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1159 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1602 // for details. All rights reserved. Use of this source code is governed by a 1160 // for details. All rights reserved. Use of this source code is governed by a
1603 // BSD-style license that can be found in the LICENSE file. 1161 // BSD-style license that can be found in the LICENSE file.
1604 1162
1605 // WARNING: Do not edit - generated code. 1163 // WARNING: Do not edit - generated code.
1606 1164
1607 1165
1608 @DocsEditable() 1166 @DocsEditable()
1609 @DomName('WebGLRenderbuffer') 1167 @DomName('WebGLRenderbuffer')
1610 @Unstable() 1168 @Unstable()
1611 class Renderbuffer extends NativeFieldWrapperClass2 { 1169 class Renderbuffer extends NativeFieldWrapperClass2 {
1612 // To suppress missing implicit constructor warnings. 1170 // To suppress missing implicit constructor warnings.
1613 factory Renderbuffer._() { throw new UnsupportedError("Not supported"); } 1171 factory Renderbuffer._() { throw new UnsupportedError("Not supported"); }
1614 1172
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
1630 } 1173 }
1631 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1174 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
1632 // for details. All rights reserved. Use of this source code is governed by a 1175 // for details. All rights reserved. Use of this source code is governed by a
1633 // BSD-style license that can be found in the LICENSE file. 1176 // BSD-style license that can be found in the LICENSE file.
1634 1177
1635 1178
1636 @DomName('WebGLRenderingContext') 1179 @DomName('WebGLRenderingContext')
1637 @SupportedBrowser(SupportedBrowser.CHROME) 1180 @SupportedBrowser(SupportedBrowser.CHROME)
1638 @SupportedBrowser(SupportedBrowser.FIREFOX) 1181 @SupportedBrowser(SupportedBrowser.FIREFOX)
1639 @Experimental() 1182 @Experimental()
1640 @Unstable() 1183 @Unstable()
1641 class RenderingContext extends NativeFieldWrapperClass2 implements CanvasRenderi ngContext { 1184 class RenderingContext extends NativeFieldWrapperClass2 implements CanvasRenderi ngContext {
1642 // To suppress missing implicit constructor warnings. 1185 // To suppress missing implicit constructor warnings.
1643 factory RenderingContext._() { throw new UnsupportedError("Not supported"); } 1186 factory RenderingContext._() { throw new UnsupportedError("Not supported"); }
1644 1187
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
1660 /// Checks if this type is supported on the current platform. 1188 /// Checks if this type is supported on the current platform.
1661 static bool get supported => true; 1189 static bool get supported => true;
1662 1190
1663 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES') 1191 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES')
1664 @DocsEditable() 1192 @DocsEditable()
1665 static const int ACTIVE_ATTRIBUTES = 0x8B89; 1193 static const int ACTIVE_ATTRIBUTES = 0x8B89;
1666 1194
1667 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE') 1195 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE')
1668 @DocsEditable() 1196 @DocsEditable()
1669 static const int ACTIVE_TEXTURE = 0x84E0; 1197 static const int ACTIVE_TEXTURE = 0x84E0;
(...skipping 1324 matching lines...) Expand 10 before | Expand all | Expand 10 after
2994 @DomName('WebGLRenderingContext.copyTexImage2D') 2522 @DomName('WebGLRenderingContext.copyTexImage2D')
2995 @DocsEditable() 2523 @DocsEditable()
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); 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);
2997 2525
2998 @DomName('WebGLRenderingContext.copyTexSubImage2D') 2526 @DomName('WebGLRenderingContext.copyTexSubImage2D')
2999 @DocsEditable() 2527 @DocsEditable()
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); 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);
3001 2529
3002 @DomName('WebGLRenderingContext.createBuffer') 2530 @DomName('WebGLRenderingContext.createBuffer')
3003 @DocsEditable() 2531 @DocsEditable()
3004 Buffer createBuffer() => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.c reateBuffer_Callback_0_(unwrap_jso(this))); 2532 Buffer createBuffer() => _blink.BlinkWebGLRenderingContext.instance.createBuff er_Callback_0_(unwrap_jso(this));
3005 2533
3006 @DomName('WebGLRenderingContext.createFramebuffer') 2534 @DomName('WebGLRenderingContext.createFramebuffer')
3007 @DocsEditable() 2535 @DocsEditable()
3008 Framebuffer createFramebuffer() => wrap_jso(_blink.BlinkWebGLRenderingContext. instance.createFramebuffer_Callback_0_(unwrap_jso(this))); 2536 Framebuffer createFramebuffer() => _blink.BlinkWebGLRenderingContext.instance. createFramebuffer_Callback_0_(unwrap_jso(this));
3009 2537
3010 @DomName('WebGLRenderingContext.createProgram') 2538 @DomName('WebGLRenderingContext.createProgram')
3011 @DocsEditable() 2539 @DocsEditable()
3012 Program createProgram() => wrap_jso(_blink.BlinkWebGLRenderingContext.instance .createProgram_Callback_0_(unwrap_jso(this))); 2540 Program createProgram() => _blink.BlinkWebGLRenderingContext.instance.createPr ogram_Callback_0_(unwrap_jso(this));
3013 2541
3014 @DomName('WebGLRenderingContext.createRenderbuffer') 2542 @DomName('WebGLRenderingContext.createRenderbuffer')
3015 @DocsEditable() 2543 @DocsEditable()
3016 Renderbuffer createRenderbuffer() => wrap_jso(_blink.BlinkWebGLRenderingContex t.instance.createRenderbuffer_Callback_0_(unwrap_jso(this))); 2544 Renderbuffer createRenderbuffer() => _blink.BlinkWebGLRenderingContext.instanc e.createRenderbuffer_Callback_0_(unwrap_jso(this));
3017 2545
3018 @DomName('WebGLRenderingContext.createShader') 2546 @DomName('WebGLRenderingContext.createShader')
3019 @DocsEditable() 2547 @DocsEditable()
3020 Shader createShader(int type) => wrap_jso(_blink.BlinkWebGLRenderingContext.in stance.createShader_Callback_1_(unwrap_jso(this), type)); 2548 Shader createShader(int type) => _blink.BlinkWebGLRenderingContext.instance.cr eateShader_Callback_1_(unwrap_jso(this), type);
3021 2549
3022 @DomName('WebGLRenderingContext.createTexture') 2550 @DomName('WebGLRenderingContext.createTexture')
3023 @DocsEditable() 2551 @DocsEditable()
3024 Texture createTexture() => wrap_jso(_blink.BlinkWebGLRenderingContext.instance .createTexture_Callback_0_(unwrap_jso(this))); 2552 Texture createTexture() => _blink.BlinkWebGLRenderingContext.instance.createTe xture_Callback_0_(unwrap_jso(this));
3025 2553
3026 @DomName('WebGLRenderingContext.cullFace') 2554 @DomName('WebGLRenderingContext.cullFace')
3027 @DocsEditable() 2555 @DocsEditable()
3028 void cullFace(int mode) => _blink.BlinkWebGLRenderingContext.instance.cullFace _Callback_1_(unwrap_jso(this), mode); 2556 void cullFace(int mode) => _blink.BlinkWebGLRenderingContext.instance.cullFace _Callback_1_(unwrap_jso(this), mode);
3029 2557
3030 @DomName('WebGLRenderingContext.deleteBuffer') 2558 @DomName('WebGLRenderingContext.deleteBuffer')
3031 @DocsEditable() 2559 @DocsEditable()
3032 void deleteBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.instance .deleteBuffer_Callback_1_(unwrap_jso(this), unwrap_jso(buffer)); 2560 void deleteBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContext.instance .deleteBuffer_Callback_1_(unwrap_jso(this), unwrap_jso(buffer));
3033 2561
3034 @DomName('WebGLRenderingContext.deleteFramebuffer') 2562 @DomName('WebGLRenderingContext.deleteFramebuffer')
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
3110 @DomName('WebGLRenderingContext.frontFace') 2638 @DomName('WebGLRenderingContext.frontFace')
3111 @DocsEditable() 2639 @DocsEditable()
3112 void frontFace(int mode) => _blink.BlinkWebGLRenderingContext.instance.frontFa ce_Callback_1_(unwrap_jso(this), mode); 2640 void frontFace(int mode) => _blink.BlinkWebGLRenderingContext.instance.frontFa ce_Callback_1_(unwrap_jso(this), mode);
3113 2641
3114 @DomName('WebGLRenderingContext.generateMipmap') 2642 @DomName('WebGLRenderingContext.generateMipmap')
3115 @DocsEditable() 2643 @DocsEditable()
3116 void generateMipmap(int target) => _blink.BlinkWebGLRenderingContext.instance. generateMipmap_Callback_1_(unwrap_jso(this), target); 2644 void generateMipmap(int target) => _blink.BlinkWebGLRenderingContext.instance. generateMipmap_Callback_1_(unwrap_jso(this), target);
3117 2645
3118 @DomName('WebGLRenderingContext.getActiveAttrib') 2646 @DomName('WebGLRenderingContext.getActiveAttrib')
3119 @DocsEditable() 2647 @DocsEditable()
3120 ActiveInfo getActiveAttrib(Program program, int index) => wrap_jso(_blink.Blin kWebGLRenderingContext.instance.getActiveAttrib_Callback_2_(unwrap_jso(this), un wrap_jso(program), index)); 2648 ActiveInfo getActiveAttrib(Program program, int index) => _blink.BlinkWebGLRen deringContext.instance.getActiveAttrib_Callback_2_(unwrap_jso(this), unwrap_jso( program), index);
3121 2649
3122 @DomName('WebGLRenderingContext.getActiveUniform') 2650 @DomName('WebGLRenderingContext.getActiveUniform')
3123 @DocsEditable() 2651 @DocsEditable()
3124 ActiveInfo getActiveUniform(Program program, int index) => wrap_jso(_blink.Bli nkWebGLRenderingContext.instance.getActiveUniform_Callback_2_(unwrap_jso(this), unwrap_jso(program), index)); 2652 ActiveInfo getActiveUniform(Program program, int index) => _blink.BlinkWebGLRe nderingContext.instance.getActiveUniform_Callback_2_(unwrap_jso(this), unwrap_js o(program), index);
3125 2653
3126 @DomName('WebGLRenderingContext.getAttachedShaders') 2654 @DomName('WebGLRenderingContext.getAttachedShaders')
3127 @DocsEditable() 2655 @DocsEditable()
3128 List<Shader> getAttachedShaders(Program program) => wrap_jso(_blink.BlinkWebGL RenderingContext.instance.getAttachedShaders_Callback_1_(unwrap_jso(this), unwra p_jso(program))); 2656 List<Shader> getAttachedShaders(Program program) => _blink.BlinkWebGLRendering Context.instance.getAttachedShaders_Callback_1_(unwrap_jso(this), unwrap_jso(pro gram));
3129 2657
3130 @DomName('WebGLRenderingContext.getAttribLocation') 2658 @DomName('WebGLRenderingContext.getAttribLocation')
3131 @DocsEditable() 2659 @DocsEditable()
3132 int getAttribLocation(Program program, String name) => _blink.BlinkWebGLRender ingContext.instance.getAttribLocation_Callback_2_(unwrap_jso(this), unwrap_jso(p rogram), name); 2660 int getAttribLocation(Program program, String name) => _blink.BlinkWebGLRender ingContext.instance.getAttribLocation_Callback_2_(unwrap_jso(this), unwrap_jso(p rogram), name);
3133 2661
3134 @DomName('WebGLRenderingContext.getBufferParameter') 2662 @DomName('WebGLRenderingContext.getBufferParameter')
3135 @DocsEditable() 2663 @DocsEditable()
3136 Object getBufferParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGL RenderingContext.instance.getBufferParameter_Callback_2_(unwrap_jso(this), targe t, pname)); 2664 Object getBufferParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGL RenderingContext.instance.getBufferParameter_Callback_2_(unwrap_jso(this), targe t, pname));
3137 2665
3138 @DomName('WebGLRenderingContext.getContextAttributes') 2666 @DomName('WebGLRenderingContext.getContextAttributes')
3139 @DocsEditable() 2667 @DocsEditable()
3140 ContextAttributes getContextAttributes() => wrap_jso(_blink.BlinkWebGLRenderin gContext.instance.getContextAttributes_Callback_0_(unwrap_jso(this))); 2668 ContextAttributes getContextAttributes() => _blink.BlinkWebGLRenderingContext. instance.getContextAttributes_Callback_0_(unwrap_jso(this));
3141 2669
3142 @DomName('WebGLRenderingContext.getError') 2670 @DomName('WebGLRenderingContext.getError')
3143 @DocsEditable() 2671 @DocsEditable()
3144 int getError() => _blink.BlinkWebGLRenderingContext.instance.getError_Callback _0_(unwrap_jso(this)); 2672 int getError() => _blink.BlinkWebGLRenderingContext.instance.getError_Callback _0_(unwrap_jso(this));
3145 2673
3146 @DomName('WebGLRenderingContext.getExtension') 2674 @DomName('WebGLRenderingContext.getExtension')
3147 @DocsEditable() 2675 @DocsEditable()
3148 Object getExtension(String name) => wrap_jso(_blink.BlinkWebGLRenderingContext .instance.getExtension_Callback_1_(unwrap_jso(this), name)); 2676 Object getExtension(String name) => wrap_jso(_blink.BlinkWebGLRenderingContext .instance.getExtension_Callback_1_(unwrap_jso(this), name));
3149 2677
3150 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') 2678 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter')
(...skipping 19 matching lines...) Expand all
3170 @DomName('WebGLRenderingContext.getShaderInfoLog') 2698 @DomName('WebGLRenderingContext.getShaderInfoLog')
3171 @DocsEditable() 2699 @DocsEditable()
3172 String getShaderInfoLog(Shader shader) => _blink.BlinkWebGLRenderingContext.in stance.getShaderInfoLog_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); 2700 String getShaderInfoLog(Shader shader) => _blink.BlinkWebGLRenderingContext.in stance.getShaderInfoLog_Callback_1_(unwrap_jso(this), unwrap_jso(shader));
3173 2701
3174 @DomName('WebGLRenderingContext.getShaderParameter') 2702 @DomName('WebGLRenderingContext.getShaderParameter')
3175 @DocsEditable() 2703 @DocsEditable()
3176 Object getShaderParameter(Shader shader, int pname) => wrap_jso(_blink.BlinkWe bGLRenderingContext.instance.getShaderParameter_Callback_2_(unwrap_jso(this), un wrap_jso(shader), pname)); 2704 Object getShaderParameter(Shader shader, int pname) => wrap_jso(_blink.BlinkWe bGLRenderingContext.instance.getShaderParameter_Callback_2_(unwrap_jso(this), un wrap_jso(shader), pname));
3177 2705
3178 @DomName('WebGLRenderingContext.getShaderPrecisionFormat') 2706 @DomName('WebGLRenderingContext.getShaderPrecisionFormat')
3179 @DocsEditable() 2707 @DocsEditable()
3180 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty pe) => wrap_jso(_blink.BlinkWebGLRenderingContext.instance.getShaderPrecisionFor mat_Callback_2_(unwrap_jso(this), shadertype, precisiontype)); 2708 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty pe) => _blink.BlinkWebGLRenderingContext.instance.getShaderPrecisionFormat_Callb ack_2_(unwrap_jso(this), shadertype, precisiontype);
3181 2709
3182 @DomName('WebGLRenderingContext.getShaderSource') 2710 @DomName('WebGLRenderingContext.getShaderSource')
3183 @DocsEditable() 2711 @DocsEditable()
3184 String getShaderSource(Shader shader) => _blink.BlinkWebGLRenderingContext.ins tance.getShaderSource_Callback_1_(unwrap_jso(this), unwrap_jso(shader)); 2712 String getShaderSource(Shader shader) => _blink.BlinkWebGLRenderingContext.ins tance.getShaderSource_Callback_1_(unwrap_jso(this), unwrap_jso(shader));
3185 2713
3186 @DomName('WebGLRenderingContext.getSupportedExtensions') 2714 @DomName('WebGLRenderingContext.getSupportedExtensions')
3187 @DocsEditable() 2715 @DocsEditable()
3188 List<String> getSupportedExtensions() => _blink.BlinkWebGLRenderingContext.ins tance.getSupportedExtensions_Callback_0_(unwrap_jso(this)); 2716 List<String> getSupportedExtensions() => _blink.BlinkWebGLRenderingContext.ins tance.getSupportedExtensions_Callback_0_(unwrap_jso(this));
3189 2717
3190 @DomName('WebGLRenderingContext.getTexParameter') 2718 @DomName('WebGLRenderingContext.getTexParameter')
3191 @DocsEditable() 2719 @DocsEditable()
3192 Object getTexParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGLRen deringContext.instance.getTexParameter_Callback_2_(unwrap_jso(this), target, pna me)); 2720 Object getTexParameter(int target, int pname) => wrap_jso(_blink.BlinkWebGLRen deringContext.instance.getTexParameter_Callback_2_(unwrap_jso(this), target, pna me));
3193 2721
3194 @DomName('WebGLRenderingContext.getUniform') 2722 @DomName('WebGLRenderingContext.getUniform')
3195 @DocsEditable() 2723 @DocsEditable()
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))); 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)));
3197 2725
3198 @DomName('WebGLRenderingContext.getUniformLocation') 2726 @DomName('WebGLRenderingContext.getUniformLocation')
3199 @DocsEditable() 2727 @DocsEditable()
3200 UniformLocation getUniformLocation(Program program, String name) => wrap_jso(_ blink.BlinkWebGLRenderingContext.instance.getUniformLocation_Callback_2_(unwrap_ jso(this), unwrap_jso(program), name)); 2728 UniformLocation getUniformLocation(Program program, String name) => _blink.Bli nkWebGLRenderingContext.instance.getUniformLocation_Callback_2_(unwrap_jso(this) , unwrap_jso(program), name);
3201 2729
3202 @DomName('WebGLRenderingContext.getVertexAttrib') 2730 @DomName('WebGLRenderingContext.getVertexAttrib')
3203 @DocsEditable() 2731 @DocsEditable()
3204 Object getVertexAttrib(int index, int pname) => wrap_jso(_blink.BlinkWebGLRend eringContext.instance.getVertexAttrib_Callback_2_(unwrap_jso(this), index, pname )); 2732 Object getVertexAttrib(int index, int pname) => wrap_jso(_blink.BlinkWebGLRend eringContext.instance.getVertexAttrib_Callback_2_(unwrap_jso(this), index, pname ));
3205 2733
3206 @DomName('WebGLRenderingContext.getVertexAttribOffset') 2734 @DomName('WebGLRenderingContext.getVertexAttribOffset')
3207 @DocsEditable() 2735 @DocsEditable()
3208 int getVertexAttribOffset(int index, int pname) => _blink.BlinkWebGLRenderingC ontext.instance.getVertexAttribOffset_Callback_2_(unwrap_jso(this), index, pname ); 2736 int getVertexAttribOffset(int index, int pname) => _blink.BlinkWebGLRenderingC ontext.instance.getVertexAttribOffset_Callback_2_(unwrap_jso(this), index, pname );
3209 2737
3210 @DomName('WebGLRenderingContext.hint') 2738 @DomName('WebGLRenderingContext.hint')
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
3582 3110
3583 // WARNING: Do not edit - generated code. 3111 // WARNING: Do not edit - generated code.
3584 3112
3585 3113
3586 @DocsEditable() 3114 @DocsEditable()
3587 @DomName('WebGLShader') 3115 @DomName('WebGLShader')
3588 class Shader extends NativeFieldWrapperClass2 { 3116 class Shader extends NativeFieldWrapperClass2 {
3589 // To suppress missing implicit constructor warnings. 3117 // To suppress missing implicit constructor warnings.
3590 factory Shader._() { throw new UnsupportedError("Not supported"); } 3118 factory Shader._() { throw new UnsupportedError("Not supported"); }
3591 3119
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
3607 } 3120 }
3608 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3121 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3609 // for details. All rights reserved. Use of this source code is governed by a 3122 // for details. All rights reserved. Use of this source code is governed by a
3610 // BSD-style license that can be found in the LICENSE file. 3123 // BSD-style license that can be found in the LICENSE file.
3611 3124
3612 // WARNING: Do not edit - generated code. 3125 // WARNING: Do not edit - generated code.
3613 3126
3614 3127
3615 @DocsEditable() 3128 @DocsEditable()
3616 @DomName('WebGLShaderPrecisionFormat') 3129 @DomName('WebGLShaderPrecisionFormat')
3617 class ShaderPrecisionFormat extends NativeFieldWrapperClass2 { 3130 class ShaderPrecisionFormat extends NativeFieldWrapperClass2 {
3618 // To suppress missing implicit constructor warnings. 3131 // To suppress missing implicit constructor warnings.
3619 factory ShaderPrecisionFormat._() { throw new UnsupportedError("Not supported" ); } 3132 factory ShaderPrecisionFormat._() { throw new UnsupportedError("Not supported" ); }
3620 3133
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
3636 @DomName('WebGLShaderPrecisionFormat.precision') 3134 @DomName('WebGLShaderPrecisionFormat.precision')
3637 @DocsEditable() 3135 @DocsEditable()
3638 int get precision => _blink.BlinkWebGLShaderPrecisionFormat.instance.precision _Getter_(unwrap_jso(this)); 3136 int get precision => _blink.BlinkWebGLShaderPrecisionFormat.instance.precision _Getter_(unwrap_jso(this));
3639 3137
3640 @DomName('WebGLShaderPrecisionFormat.rangeMax') 3138 @DomName('WebGLShaderPrecisionFormat.rangeMax')
3641 @DocsEditable() 3139 @DocsEditable()
3642 int get rangeMax => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMax_G etter_(unwrap_jso(this)); 3140 int get rangeMax => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMax_G etter_(unwrap_jso(this));
3643 3141
3644 @DomName('WebGLShaderPrecisionFormat.rangeMin') 3142 @DomName('WebGLShaderPrecisionFormat.rangeMin')
3645 @DocsEditable() 3143 @DocsEditable()
3646 int get rangeMin => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMin_G etter_(unwrap_jso(this)); 3144 int get rangeMin => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMin_G etter_(unwrap_jso(this));
3647 3145
3648 } 3146 }
3649 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3147 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3650 // for details. All rights reserved. Use of this source code is governed by a 3148 // for details. All rights reserved. Use of this source code is governed by a
3651 // BSD-style license that can be found in the LICENSE file. 3149 // BSD-style license that can be found in the LICENSE file.
3652 3150
3653 // WARNING: Do not edit - generated code. 3151 // WARNING: Do not edit - generated code.
3654 3152
3655 3153
3656 @DocsEditable() 3154 @DocsEditable()
3657 @DomName('WebGLTexture') 3155 @DomName('WebGLTexture')
3658 class Texture extends NativeFieldWrapperClass2 { 3156 class Texture extends NativeFieldWrapperClass2 {
3659 // To suppress missing implicit constructor warnings. 3157 // To suppress missing implicit constructor warnings.
3660 factory Texture._() { throw new UnsupportedError("Not supported"); } 3158 factory Texture._() { throw new UnsupportedError("Not supported"); }
3661 3159
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
3677 } 3160 }
3678 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3161 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3679 // for details. All rights reserved. Use of this source code is governed by a 3162 // for details. All rights reserved. Use of this source code is governed by a
3680 // BSD-style license that can be found in the LICENSE file. 3163 // BSD-style license that can be found in the LICENSE file.
3681 3164
3682 // WARNING: Do not edit - generated code. 3165 // WARNING: Do not edit - generated code.
3683 3166
3684 3167
3685 @DocsEditable() 3168 @DocsEditable()
3686 @DomName('WebGLUniformLocation') 3169 @DomName('WebGLUniformLocation')
3687 class UniformLocation extends NativeFieldWrapperClass2 { 3170 class UniformLocation extends NativeFieldWrapperClass2 {
3688 // To suppress missing implicit constructor warnings. 3171 // To suppress missing implicit constructor warnings.
3689 factory UniformLocation._() { throw new UnsupportedError("Not supported"); } 3172 factory UniformLocation._() { throw new UnsupportedError("Not supported"); }
3690 3173
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
3706 } 3174 }
3707 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3175 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3708 // for details. All rights reserved. Use of this source code is governed by a 3176 // for details. All rights reserved. Use of this source code is governed by a
3709 // BSD-style license that can be found in the LICENSE file. 3177 // BSD-style license that can be found in the LICENSE file.
3710 3178
3711 // WARNING: Do not edit - generated code. 3179 // WARNING: Do not edit - generated code.
3712 3180
3713 3181
3714 @DocsEditable() 3182 @DocsEditable()
3715 @DomName('WebGLVertexArrayObjectOES') 3183 @DomName('WebGLVertexArrayObjectOES')
3716 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ 3184 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
3717 @Experimental() // experimental 3185 @Experimental() // experimental
3718 class VertexArrayObject extends NativeFieldWrapperClass2 { 3186 class VertexArrayObject extends NativeFieldWrapperClass2 {
3719 // To suppress missing implicit constructor warnings. 3187 // To suppress missing implicit constructor warnings.
3720 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } 3188 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); }
3721 3189
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
3737 } 3190 }
3738 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3191 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3739 // for details. All rights reserved. Use of this source code is governed by a 3192 // for details. All rights reserved. Use of this source code is governed by a
3740 // BSD-style license that can be found in the LICENSE file. 3193 // BSD-style license that can be found in the LICENSE file.
3741 3194
3742 // WARNING: Do not edit - generated code. 3195 // WARNING: Do not edit - generated code.
3743 3196
3744 3197
3745 @DocsEditable() 3198 @DocsEditable()
3746 @DomName('WebGLRenderingContextBase') 3199 @DomName('WebGLRenderingContextBase')
3747 @Experimental() // untriaged 3200 @Experimental() // untriaged
3748 class _WebGLRenderingContextBase extends NativeFieldWrapperClass2 { 3201 abstract class _WebGLRenderingContextBase extends NativeFieldWrapperClass2 {
3749 // To suppress missing implicit constructor warnings. 3202 // To suppress missing implicit constructor warnings.
3750 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo rted"); } 3203 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo rted"); }
3751 3204
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
3767 } 3205 }
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