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