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

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

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