| OLD | NEW |
| 1 library dart.dom.web_gl; | 1 library dart.dom.web_gl; |
| 2 | 2 |
| 3 import 'dart:async'; | 3 import 'dart:async'; |
| 4 import 'dart:collection'; | 4 import 'dart:collection'; |
| 5 import 'dart:_collection-dev'; | 5 import 'dart:_collection-dev'; |
| 6 import 'dart:html'; | 6 import 'dart:html'; |
| 7 import 'dart:html_common'; | 7 import 'dart:html_common'; |
| 8 import 'dart:nativewrappers'; | 8 import 'dart:nativewrappers'; |
| 9 import 'dart:typed_data'; | 9 import 'dart:typed_data'; |
| 10 // DO NOT EDIT | 10 // DO NOT EDIT |
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 const int ZERO = RenderingContext.ZERO; | 317 const int ZERO = RenderingContext.ZERO; |
| 318 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 318 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 319 // for details. All rights reserved. Use of this source code is governed by a | 319 // for details. All rights reserved. Use of this source code is governed by a |
| 320 // BSD-style license that can be found in the LICENSE file. | 320 // BSD-style license that can be found in the LICENSE file. |
| 321 | 321 |
| 322 // WARNING: Do not edit - generated code. | 322 // WARNING: Do not edit - generated code. |
| 323 | 323 |
| 324 | 324 |
| 325 @DocsEditable | 325 @DocsEditable |
| 326 @DomName('WebGLActiveInfo') | 326 @DomName('WebGLActiveInfo') |
| 327 @Unstable |
| 327 class ActiveInfo extends NativeFieldWrapperClass1 { | 328 class ActiveInfo extends NativeFieldWrapperClass1 { |
| 328 ActiveInfo.internal(); | 329 ActiveInfo.internal(); |
| 329 | 330 |
| 330 @DomName('WebGLActiveInfo.name') | 331 @DomName('WebGLActiveInfo.name') |
| 331 @DocsEditable | 332 @DocsEditable |
| 332 String get name native "WebGLActiveInfo_name_Getter"; | 333 String get name native "WebGLActiveInfo_name_Getter"; |
| 333 | 334 |
| 334 @DomName('WebGLActiveInfo.size') | 335 @DomName('WebGLActiveInfo.size') |
| 335 @DocsEditable | 336 @DocsEditable |
| 336 int get size native "WebGLActiveInfo_size_Getter"; | 337 int get size native "WebGLActiveInfo_size_Getter"; |
| 337 | 338 |
| 338 @DomName('WebGLActiveInfo.type') | 339 @DomName('WebGLActiveInfo.type') |
| 339 @DocsEditable | 340 @DocsEditable |
| 340 int get type native "WebGLActiveInfo_type_Getter"; | 341 int get type native "WebGLActiveInfo_type_Getter"; |
| 341 | 342 |
| 342 } | 343 } |
| 343 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 344 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 344 // for details. All rights reserved. Use of this source code is governed by a | 345 // for details. All rights reserved. Use of this source code is governed by a |
| 345 // BSD-style license that can be found in the LICENSE file. | 346 // BSD-style license that can be found in the LICENSE file. |
| 346 | 347 |
| 347 // WARNING: Do not edit - generated code. | 348 // WARNING: Do not edit - generated code. |
| 348 | 349 |
| 349 | 350 |
| 350 @DocsEditable | 351 @DocsEditable |
| 351 @DomName('WebGLBuffer') | 352 @DomName('WebGLBuffer') |
| 353 @Unstable |
| 352 class Buffer extends NativeFieldWrapperClass1 { | 354 class Buffer extends NativeFieldWrapperClass1 { |
| 353 Buffer.internal(); | 355 Buffer.internal(); |
| 354 | 356 |
| 355 } | 357 } |
| 356 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 358 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 357 // for details. All rights reserved. Use of this source code is governed by a | 359 // for details. All rights reserved. Use of this source code is governed by a |
| 358 // BSD-style license that can be found in the LICENSE file. | 360 // BSD-style license that can be found in the LICENSE file. |
| 359 | 361 |
| 360 // WARNING: Do not edit - generated code. | 362 // WARNING: Do not edit - generated code. |
| 361 | 363 |
| 362 | 364 |
| 363 @DocsEditable | 365 @DocsEditable |
| 364 @DomName('WebGLCompressedTextureATC') | 366 @DomName('WebGLCompressedTextureATC') |
| 367 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc
/ |
| 368 @Experimental |
| 365 class CompressedTextureAtc extends NativeFieldWrapperClass1 { | 369 class CompressedTextureAtc extends NativeFieldWrapperClass1 { |
| 366 CompressedTextureAtc.internal(); | 370 CompressedTextureAtc.internal(); |
| 367 | 371 |
| 368 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL') | 372 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL') |
| 369 @DocsEditable | 373 @DocsEditable |
| 370 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93; | 374 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93; |
| 371 | 375 |
| 372 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEB
GL') | 376 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEB
GL') |
| 373 @DocsEditable | 377 @DocsEditable |
| 374 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE; | 378 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE; |
| 375 | 379 |
| 376 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL') | 380 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL') |
| 377 @DocsEditable | 381 @DocsEditable |
| 378 static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92; | 382 static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92; |
| 379 | 383 |
| 380 } | 384 } |
| 381 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 385 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 382 // for details. All rights reserved. Use of this source code is governed by a | 386 // for details. All rights reserved. Use of this source code is governed by a |
| 383 // BSD-style license that can be found in the LICENSE file. | 387 // BSD-style license that can be found in the LICENSE file. |
| 384 | 388 |
| 385 // WARNING: Do not edit - generated code. | 389 // WARNING: Do not edit - generated code. |
| 386 | 390 |
| 387 | 391 |
| 388 @DocsEditable | 392 @DocsEditable |
| 389 @DomName('WebGLCompressedTexturePVRTC') | 393 @DomName('WebGLCompressedTexturePVRTC') |
| 394 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvr
tc/ |
| 395 @Experimental // experimental |
| 390 class CompressedTexturePvrtc extends NativeFieldWrapperClass1 { | 396 class CompressedTexturePvrtc extends NativeFieldWrapperClass1 { |
| 391 CompressedTexturePvrtc.internal(); | 397 CompressedTexturePvrtc.internal(); |
| 392 | 398 |
| 393 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG') | 399 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG') |
| 394 @DocsEditable | 400 @DocsEditable |
| 395 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03; | 401 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03; |
| 396 | 402 |
| 397 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG') | 403 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG') |
| 398 @DocsEditable | 404 @DocsEditable |
| 399 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02; | 405 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02; |
| 400 | 406 |
| 401 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG') | 407 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG') |
| 402 @DocsEditable | 408 @DocsEditable |
| 403 static const int COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01; | 409 static const int COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01; |
| 404 | 410 |
| 405 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_4BPPV1_IMG') | 411 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_4BPPV1_IMG') |
| 406 @DocsEditable | 412 @DocsEditable |
| 407 static const int COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00; | 413 static const int COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00; |
| 408 | 414 |
| 409 } | 415 } |
| 410 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 416 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 411 // for details. All rights reserved. Use of this source code is governed by a | 417 // for details. All rights reserved. Use of this source code is governed by a |
| 412 // BSD-style license that can be found in the LICENSE file. | 418 // BSD-style license that can be found in the LICENSE file. |
| 413 | 419 |
| 414 // WARNING: Do not edit - generated code. | 420 // WARNING: Do not edit - generated code. |
| 415 | 421 |
| 416 | 422 |
| 417 @DocsEditable | 423 @DocsEditable |
| 418 @DomName('WebGLCompressedTextureS3TC') | 424 @DomName('WebGLCompressedTextureS3TC') |
| 425 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3t
c/ |
| 426 @Experimental // experimental |
| 419 class CompressedTextureS3TC extends NativeFieldWrapperClass1 { | 427 class CompressedTextureS3TC extends NativeFieldWrapperClass1 { |
| 420 CompressedTextureS3TC.internal(); | 428 CompressedTextureS3TC.internal(); |
| 421 | 429 |
| 422 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT') | 430 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT') |
| 423 @DocsEditable | 431 @DocsEditable |
| 424 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; | 432 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; |
| 425 | 433 |
| 426 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT') | 434 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT') |
| 427 @DocsEditable | 435 @DocsEditable |
| 428 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2; | 436 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2; |
| 429 | 437 |
| 430 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT') | 438 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT') |
| 431 @DocsEditable | 439 @DocsEditable |
| 432 static const int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3; | 440 static const int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3; |
| 433 | 441 |
| 434 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGB_S3TC_DXT1_EXT') | 442 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGB_S3TC_DXT1_EXT') |
| 435 @DocsEditable | 443 @DocsEditable |
| 436 static const int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0; | 444 static const int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0; |
| 437 | 445 |
| 438 } | 446 } |
| 439 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 447 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 440 // for details. All rights reserved. Use of this source code is governed by a | 448 // for details. All rights reserved. Use of this source code is governed by a |
| 441 // BSD-style license that can be found in the LICENSE file. | 449 // BSD-style license that can be found in the LICENSE file. |
| 442 | 450 |
| 443 // WARNING: Do not edit - generated code. | 451 // WARNING: Do not edit - generated code. |
| 444 | 452 |
| 445 | 453 |
| 446 @DocsEditable | 454 @DocsEditable |
| 447 @DomName('WebGLContextAttributes') | 455 @DomName('WebGLContextAttributes') |
| 456 @Unstable |
| 448 class ContextAttributes extends NativeFieldWrapperClass1 { | 457 class ContextAttributes extends NativeFieldWrapperClass1 { |
| 449 ContextAttributes.internal(); | 458 ContextAttributes.internal(); |
| 450 | 459 |
| 451 @DomName('WebGLContextAttributes.alpha') | 460 @DomName('WebGLContextAttributes.alpha') |
| 452 @DocsEditable | 461 @DocsEditable |
| 453 bool get alpha native "WebGLContextAttributes_alpha_Getter"; | 462 bool get alpha native "WebGLContextAttributes_alpha_Getter"; |
| 454 | 463 |
| 455 @DomName('WebGLContextAttributes.alpha') | 464 @DomName('WebGLContextAttributes.alpha') |
| 456 @DocsEditable | 465 @DocsEditable |
| 457 void set alpha(bool value) native "WebGLContextAttributes_alpha_Setter"; | 466 void set alpha(bool value) native "WebGLContextAttributes_alpha_Setter"; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 499 } | 508 } |
| 500 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 509 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 501 // for details. All rights reserved. Use of this source code is governed by a | 510 // for details. All rights reserved. Use of this source code is governed by a |
| 502 // BSD-style license that can be found in the LICENSE file. | 511 // BSD-style license that can be found in the LICENSE file. |
| 503 | 512 |
| 504 // WARNING: Do not edit - generated code. | 513 // WARNING: Do not edit - generated code. |
| 505 | 514 |
| 506 | 515 |
| 507 @DocsEditable | 516 @DocsEditable |
| 508 @DomName('WebGLContextEvent') | 517 @DomName('WebGLContextEvent') |
| 518 @Unstable |
| 509 class ContextEvent extends Event { | 519 class ContextEvent extends Event { |
| 510 ContextEvent.internal() : super.internal(); | 520 ContextEvent.internal() : super.internal(); |
| 511 | 521 |
| 512 @DomName('WebGLContextEvent.statusMessage') | 522 @DomName('WebGLContextEvent.statusMessage') |
| 513 @DocsEditable | 523 @DocsEditable |
| 514 String get statusMessage native "WebGLContextEvent_statusMessage_Getter"; | 524 String get statusMessage native "WebGLContextEvent_statusMessage_Getter"; |
| 515 | 525 |
| 516 } | 526 } |
| 517 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 527 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 518 // for details. All rights reserved. Use of this source code is governed by a | 528 // for details. All rights reserved. Use of this source code is governed by a |
| 519 // BSD-style license that can be found in the LICENSE file. | 529 // BSD-style license that can be found in the LICENSE file. |
| 520 | 530 |
| 521 // WARNING: Do not edit - generated code. | 531 // WARNING: Do not edit - generated code. |
| 522 | 532 |
| 523 | 533 |
| 524 @DocsEditable | 534 @DocsEditable |
| 525 @DomName('WebGLDebugRendererInfo') | 535 @DomName('WebGLDebugRendererInfo') |
| 536 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/ |
| 537 @Experimental // experimental |
| 526 class DebugRendererInfo extends NativeFieldWrapperClass1 { | 538 class DebugRendererInfo extends NativeFieldWrapperClass1 { |
| 527 DebugRendererInfo.internal(); | 539 DebugRendererInfo.internal(); |
| 528 | 540 |
| 529 @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL') | 541 @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL') |
| 530 @DocsEditable | 542 @DocsEditable |
| 531 static const int UNMASKED_RENDERER_WEBGL = 0x9246; | 543 static const int UNMASKED_RENDERER_WEBGL = 0x9246; |
| 532 | 544 |
| 533 @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL') | 545 @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL') |
| 534 @DocsEditable | 546 @DocsEditable |
| 535 static const int UNMASKED_VENDOR_WEBGL = 0x9245; | 547 static const int UNMASKED_VENDOR_WEBGL = 0x9245; |
| 536 | 548 |
| 537 } | 549 } |
| 538 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 550 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 539 // for details. All rights reserved. Use of this source code is governed by a | 551 // for details. All rights reserved. Use of this source code is governed by a |
| 540 // BSD-style license that can be found in the LICENSE file. | 552 // BSD-style license that can be found in the LICENSE file. |
| 541 | 553 |
| 542 // WARNING: Do not edit - generated code. | 554 // WARNING: Do not edit - generated code. |
| 543 | 555 |
| 544 | 556 |
| 545 @DocsEditable | 557 @DocsEditable |
| 546 @DomName('WebGLDebugShaders') | 558 @DomName('WebGLDebugShaders') |
| 559 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/ |
| 560 @Experimental // experimental |
| 547 class DebugShaders extends NativeFieldWrapperClass1 { | 561 class DebugShaders extends NativeFieldWrapperClass1 { |
| 548 DebugShaders.internal(); | 562 DebugShaders.internal(); |
| 549 | 563 |
| 550 @DomName('WebGLDebugShaders.getTranslatedShaderSource') | 564 @DomName('WebGLDebugShaders.getTranslatedShaderSource') |
| 551 @DocsEditable | 565 @DocsEditable |
| 552 String getTranslatedShaderSource(Shader shader) native "WebGLDebugShaders_getT
ranslatedShaderSource_Callback"; | 566 String getTranslatedShaderSource(Shader shader) native "WebGLDebugShaders_getT
ranslatedShaderSource_Callback"; |
| 553 | 567 |
| 554 } | 568 } |
| 555 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 569 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 556 // for details. All rights reserved. Use of this source code is governed by a | 570 // for details. All rights reserved. Use of this source code is governed by a |
| 557 // BSD-style license that can be found in the LICENSE file. | 571 // BSD-style license that can be found in the LICENSE file. |
| 558 | 572 |
| 559 // WARNING: Do not edit - generated code. | 573 // WARNING: Do not edit - generated code. |
| 560 | 574 |
| 561 | 575 |
| 562 @DocsEditable | 576 @DocsEditable |
| 563 @DomName('WebGLDepthTexture') | 577 @DomName('WebGLDepthTexture') |
| 578 // http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/ |
| 579 @Experimental // experimental |
| 564 class DepthTexture extends NativeFieldWrapperClass1 { | 580 class DepthTexture extends NativeFieldWrapperClass1 { |
| 565 DepthTexture.internal(); | 581 DepthTexture.internal(); |
| 566 | 582 |
| 567 @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL') | 583 @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL') |
| 568 @DocsEditable | 584 @DocsEditable |
| 569 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA; | 585 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA; |
| 570 | 586 |
| 571 } | 587 } |
| 572 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 588 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 573 // for details. All rights reserved. Use of this source code is governed by a | 589 // for details. All rights reserved. Use of this source code is governed by a |
| 574 // BSD-style license that can be found in the LICENSE file. | 590 // BSD-style license that can be found in the LICENSE file. |
| 575 | 591 |
| 576 // WARNING: Do not edit - generated code. | 592 // WARNING: Do not edit - generated code. |
| 577 | 593 |
| 578 | 594 |
| 579 @DocsEditable | 595 @DocsEditable |
| 580 @DomName('EXTDrawBuffers') | 596 @DomName('EXTDrawBuffers') |
| 597 // http://www.khronos.org/registry/webgl/specs/latest/ |
| 598 @Experimental // stable |
| 581 class ExtDrawBuffers extends NativeFieldWrapperClass1 { | 599 class ExtDrawBuffers extends NativeFieldWrapperClass1 { |
| 582 ExtDrawBuffers.internal(); | 600 ExtDrawBuffers.internal(); |
| 583 | 601 |
| 584 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT0_EXT') | 602 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT0_EXT') |
| 585 @DocsEditable | 603 @DocsEditable |
| 586 static const int COLOR_ATTACHMENT0_EXT = 0x8CE0; | 604 static const int COLOR_ATTACHMENT0_EXT = 0x8CE0; |
| 587 | 605 |
| 588 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT10_EXT') | 606 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT10_EXT') |
| 589 @DocsEditable | 607 @DocsEditable |
| 590 static const int COLOR_ATTACHMENT10_EXT = 0x8CEA; | 608 static const int COLOR_ATTACHMENT10_EXT = 0x8CEA; |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 720 } | 738 } |
| 721 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 739 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 722 // for details. All rights reserved. Use of this source code is governed by a | 740 // for details. All rights reserved. Use of this source code is governed by a |
| 723 // BSD-style license that can be found in the LICENSE file. | 741 // BSD-style license that can be found in the LICENSE file. |
| 724 | 742 |
| 725 // WARNING: Do not edit - generated code. | 743 // WARNING: Do not edit - generated code. |
| 726 | 744 |
| 727 | 745 |
| 728 @DocsEditable | 746 @DocsEditable |
| 729 @DomName('EXTTextureFilterAnisotropic') | 747 @DomName('EXTTextureFilterAnisotropic') |
| 748 // http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotrop
ic/ |
| 749 @Experimental |
| 730 class ExtTextureFilterAnisotropic extends NativeFieldWrapperClass1 { | 750 class ExtTextureFilterAnisotropic extends NativeFieldWrapperClass1 { |
| 731 ExtTextureFilterAnisotropic.internal(); | 751 ExtTextureFilterAnisotropic.internal(); |
| 732 | 752 |
| 733 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT') | 753 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT') |
| 734 @DocsEditable | 754 @DocsEditable |
| 735 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; | 755 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; |
| 736 | 756 |
| 737 @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT') | 757 @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT') |
| 738 @DocsEditable | 758 @DocsEditable |
| 739 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; | 759 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; |
| 740 | 760 |
| 741 } | 761 } |
| 742 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 762 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 743 // for details. All rights reserved. Use of this source code is governed by a | 763 // for details. All rights reserved. Use of this source code is governed by a |
| 744 // BSD-style license that can be found in the LICENSE file. | 764 // BSD-style license that can be found in the LICENSE file. |
| 745 | 765 |
| 746 // WARNING: Do not edit - generated code. | 766 // WARNING: Do not edit - generated code. |
| 747 | 767 |
| 748 | 768 |
| 749 @DocsEditable | 769 @DocsEditable |
| 750 @DomName('WebGLFramebuffer') | 770 @DomName('WebGLFramebuffer') |
| 771 @Unstable |
| 751 class Framebuffer extends NativeFieldWrapperClass1 { | 772 class Framebuffer extends NativeFieldWrapperClass1 { |
| 752 Framebuffer.internal(); | 773 Framebuffer.internal(); |
| 753 | 774 |
| 754 } | 775 } |
| 755 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 776 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 756 // for details. All rights reserved. Use of this source code is governed by a | 777 // for details. All rights reserved. Use of this source code is governed by a |
| 757 // BSD-style license that can be found in the LICENSE file. | 778 // BSD-style license that can be found in the LICENSE file. |
| 758 | 779 |
| 759 // WARNING: Do not edit - generated code. | 780 // WARNING: Do not edit - generated code. |
| 760 | 781 |
| 761 | 782 |
| 762 @DocsEditable | 783 @DocsEditable |
| 763 @DomName('WebGLLoseContext') | 784 @DomName('WebGLLoseContext') |
| 785 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/ |
| 786 @Experimental |
| 764 class LoseContext extends NativeFieldWrapperClass1 { | 787 class LoseContext extends NativeFieldWrapperClass1 { |
| 765 LoseContext.internal(); | 788 LoseContext.internal(); |
| 766 | 789 |
| 767 @DomName('WebGLLoseContext.loseContext') | 790 @DomName('WebGLLoseContext.loseContext') |
| 768 @DocsEditable | 791 @DocsEditable |
| 769 void loseContext() native "WebGLLoseContext_loseContext_Callback"; | 792 void loseContext() native "WebGLLoseContext_loseContext_Callback"; |
| 770 | 793 |
| 771 @DomName('WebGLLoseContext.restoreContext') | 794 @DomName('WebGLLoseContext.restoreContext') |
| 772 @DocsEditable | 795 @DocsEditable |
| 773 void restoreContext() native "WebGLLoseContext_restoreContext_Callback"; | 796 void restoreContext() native "WebGLLoseContext_restoreContext_Callback"; |
| 774 | 797 |
| 775 } | 798 } |
| 776 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 799 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 777 // for details. All rights reserved. Use of this source code is governed by a | 800 // for details. All rights reserved. Use of this source code is governed by a |
| 778 // BSD-style license that can be found in the LICENSE file. | 801 // BSD-style license that can be found in the LICENSE file. |
| 779 | 802 |
| 780 // WARNING: Do not edit - generated code. | 803 // WARNING: Do not edit - generated code. |
| 781 | 804 |
| 782 | 805 |
| 783 @DocsEditable | 806 @DocsEditable |
| 784 @DomName('OESElementIndexUint') | 807 @DomName('OESElementIndexUint') |
| 808 // http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/ |
| 809 @Experimental // experimental |
| 785 class OesElementIndexUint extends NativeFieldWrapperClass1 { | 810 class OesElementIndexUint extends NativeFieldWrapperClass1 { |
| 786 OesElementIndexUint.internal(); | 811 OesElementIndexUint.internal(); |
| 787 | 812 |
| 788 } | 813 } |
| 789 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 814 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 790 // for details. All rights reserved. Use of this source code is governed by a | 815 // for details. All rights reserved. Use of this source code is governed by a |
| 791 // BSD-style license that can be found in the LICENSE file. | 816 // BSD-style license that can be found in the LICENSE file. |
| 792 | 817 |
| 793 // WARNING: Do not edit - generated code. | 818 // WARNING: Do not edit - generated code. |
| 794 | 819 |
| 795 | 820 |
| 796 @DocsEditable | 821 @DocsEditable |
| 797 @DomName('OESStandardDerivatives') | 822 @DomName('OESStandardDerivatives') |
| 823 // http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/ |
| 824 @Experimental // experimental |
| 798 class OesStandardDerivatives extends NativeFieldWrapperClass1 { | 825 class OesStandardDerivatives extends NativeFieldWrapperClass1 { |
| 799 OesStandardDerivatives.internal(); | 826 OesStandardDerivatives.internal(); |
| 800 | 827 |
| 801 @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES') | 828 @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES') |
| 802 @DocsEditable | 829 @DocsEditable |
| 803 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; | 830 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; |
| 804 | 831 |
| 805 } | 832 } |
| 806 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 833 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 807 // for details. All rights reserved. Use of this source code is governed by a | 834 // for details. All rights reserved. Use of this source code is governed by a |
| 808 // BSD-style license that can be found in the LICENSE file. | 835 // BSD-style license that can be found in the LICENSE file. |
| 809 | 836 |
| 810 // WARNING: Do not edit - generated code. | 837 // WARNING: Do not edit - generated code. |
| 811 | 838 |
| 812 | 839 |
| 813 @DocsEditable | 840 @DocsEditable |
| 814 @DomName('OESTextureFloat') | 841 @DomName('OESTextureFloat') |
| 842 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float/ |
| 843 @Experimental // experimental |
| 815 class OesTextureFloat extends NativeFieldWrapperClass1 { | 844 class OesTextureFloat extends NativeFieldWrapperClass1 { |
| 816 OesTextureFloat.internal(); | 845 OesTextureFloat.internal(); |
| 817 | 846 |
| 818 } | 847 } |
| 819 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 848 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 820 // for details. All rights reserved. Use of this source code is governed by a | 849 // for details. All rights reserved. Use of this source code is governed by a |
| 821 // BSD-style license that can be found in the LICENSE file. | 850 // BSD-style license that can be found in the LICENSE file. |
| 822 | 851 |
| 823 // WARNING: Do not edit - generated code. | 852 // WARNING: Do not edit - generated code. |
| 824 | 853 |
| 825 | 854 |
| 826 @DocsEditable | 855 @DocsEditable |
| 827 @DomName('OESTextureHalfFloat') | 856 @DomName('OESTextureHalfFloat') |
| 857 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/ |
| 858 @Experimental // experimental |
| 828 class OesTextureHalfFloat extends NativeFieldWrapperClass1 { | 859 class OesTextureHalfFloat extends NativeFieldWrapperClass1 { |
| 829 OesTextureHalfFloat.internal(); | 860 OesTextureHalfFloat.internal(); |
| 830 | 861 |
| 831 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES') | 862 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES') |
| 832 @DocsEditable | 863 @DocsEditable |
| 864 @Experimental // untriaged |
| 833 static const int HALF_FLOAT_OES = 0x8D61; | 865 static const int HALF_FLOAT_OES = 0x8D61; |
| 834 | 866 |
| 835 } | 867 } |
| 836 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 868 // 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 | 869 // 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. | 870 // BSD-style license that can be found in the LICENSE file. |
| 839 | 871 |
| 840 // WARNING: Do not edit - generated code. | 872 // WARNING: Do not edit - generated code. |
| 841 | 873 |
| 842 | 874 |
| 843 @DocsEditable | 875 @DocsEditable |
| 844 @DomName('OESVertexArrayObject') | 876 @DomName('OESVertexArrayObject') |
| 877 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ |
| 878 @Experimental // experimental |
| 845 class OesVertexArrayObject extends NativeFieldWrapperClass1 { | 879 class OesVertexArrayObject extends NativeFieldWrapperClass1 { |
| 846 OesVertexArrayObject.internal(); | 880 OesVertexArrayObject.internal(); |
| 847 | 881 |
| 848 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') | 882 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') |
| 849 @DocsEditable | 883 @DocsEditable |
| 850 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; | 884 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; |
| 851 | 885 |
| 852 @DomName('OESVertexArrayObject.bindVertexArrayOES') | 886 @DomName('OESVertexArrayObject.bindVertexArrayOES') |
| 853 @DocsEditable | 887 @DocsEditable |
| 854 void bindVertexArray(VertexArrayObject arrayObject) native "OESVertexArrayObje
ct_bindVertexArrayOES_Callback"; | 888 void bindVertexArray(VertexArrayObject arrayObject) native "OESVertexArrayObje
ct_bindVertexArrayOES_Callback"; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 868 } | 902 } |
| 869 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 903 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 870 // for details. All rights reserved. Use of this source code is governed by a | 904 // for details. All rights reserved. Use of this source code is governed by a |
| 871 // BSD-style license that can be found in the LICENSE file. | 905 // BSD-style license that can be found in the LICENSE file. |
| 872 | 906 |
| 873 // WARNING: Do not edit - generated code. | 907 // WARNING: Do not edit - generated code. |
| 874 | 908 |
| 875 | 909 |
| 876 @DocsEditable | 910 @DocsEditable |
| 877 @DomName('WebGLProgram') | 911 @DomName('WebGLProgram') |
| 912 @Unstable |
| 878 class Program extends NativeFieldWrapperClass1 { | 913 class Program extends NativeFieldWrapperClass1 { |
| 879 Program.internal(); | 914 Program.internal(); |
| 880 | 915 |
| 881 } | 916 } |
| 882 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 917 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 883 // for details. All rights reserved. Use of this source code is governed by a | 918 // for details. All rights reserved. Use of this source code is governed by a |
| 884 // BSD-style license that can be found in the LICENSE file. | 919 // BSD-style license that can be found in the LICENSE file. |
| 885 | 920 |
| 886 // WARNING: Do not edit - generated code. | 921 // WARNING: Do not edit - generated code. |
| 887 | 922 |
| 888 | 923 |
| 889 @DocsEditable | 924 @DocsEditable |
| 890 @DomName('WebGLRenderbuffer') | 925 @DomName('WebGLRenderbuffer') |
| 926 @Unstable |
| 891 class Renderbuffer extends NativeFieldWrapperClass1 { | 927 class Renderbuffer extends NativeFieldWrapperClass1 { |
| 892 Renderbuffer.internal(); | 928 Renderbuffer.internal(); |
| 893 | 929 |
| 894 } | 930 } |
| 895 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 931 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 896 // for details. All rights reserved. Use of this source code is governed by a | 932 // for details. All rights reserved. Use of this source code is governed by a |
| 897 // BSD-style license that can be found in the LICENSE file. | 933 // BSD-style license that can be found in the LICENSE file. |
| 898 | 934 |
| 899 // WARNING: Do not edit - generated code. | 935 // WARNING: Do not edit - generated code. |
| 900 | 936 |
| 901 | 937 |
| 902 @DocsEditable | 938 @DocsEditable |
| 903 @DomName('WebGLRenderingContext') | 939 @DomName('WebGLRenderingContext') |
| 904 @SupportedBrowser(SupportedBrowser.CHROME) | 940 @SupportedBrowser(SupportedBrowser.CHROME) |
| 905 @SupportedBrowser(SupportedBrowser.FIREFOX) | 941 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 906 @Experimental | 942 @Experimental |
| 943 @Unstable |
| 907 class RenderingContext extends CanvasRenderingContext { | 944 class RenderingContext extends CanvasRenderingContext { |
| 908 RenderingContext.internal() : super.internal(); | 945 RenderingContext.internal() : super.internal(); |
| 909 | 946 |
| 910 /// Checks if this type is supported on the current platform. | 947 /// Checks if this type is supported on the current platform. |
| 911 static bool get supported => true; | 948 static bool get supported => true; |
| 912 | 949 |
| 913 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES') | 950 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES') |
| 914 @DocsEditable | 951 @DocsEditable |
| 915 static const int ACTIVE_ATTRIBUTES = 0x8B89; | 952 static const int ACTIVE_ATTRIBUTES = 0x8B89; |
| 916 | 953 |
| (...skipping 1882 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2799 } | 2836 } |
| 2800 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2837 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2801 // for details. All rights reserved. Use of this source code is governed by a | 2838 // for details. All rights reserved. Use of this source code is governed by a |
| 2802 // BSD-style license that can be found in the LICENSE file. | 2839 // BSD-style license that can be found in the LICENSE file. |
| 2803 | 2840 |
| 2804 // WARNING: Do not edit - generated code. | 2841 // WARNING: Do not edit - generated code. |
| 2805 | 2842 |
| 2806 | 2843 |
| 2807 @DocsEditable | 2844 @DocsEditable |
| 2808 @DomName('WebGLVertexArrayObjectOES') | 2845 @DomName('WebGLVertexArrayObjectOES') |
| 2846 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ |
| 2847 @Experimental // experimental |
| 2809 class VertexArrayObject extends NativeFieldWrapperClass1 { | 2848 class VertexArrayObject extends NativeFieldWrapperClass1 { |
| 2810 VertexArrayObject.internal(); | 2849 VertexArrayObject.internal(); |
| 2811 | 2850 |
| 2812 } | 2851 } |
| OLD | NEW |