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

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

Issue 15074006: Generating annotations from DOM triage list. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
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 } 862 }
832 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 863 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
833 // for details. All rights reserved. Use of this source code is governed by a 864 // for details. All rights reserved. Use of this source code is governed by a
834 // BSD-style license that can be found in the LICENSE file. 865 // BSD-style license that can be found in the LICENSE file.
835 866
836 // WARNING: Do not edit - generated code. 867 // WARNING: Do not edit - generated code.
837 868
838 869
839 @DocsEditable 870 @DocsEditable
840 @DomName('OESVertexArrayObject') 871 @DomName('OESVertexArrayObject')
872 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
873 @Experimental // experimental
841 class OesVertexArrayObject extends NativeFieldWrapperClass1 { 874 class OesVertexArrayObject extends NativeFieldWrapperClass1 {
842 OesVertexArrayObject.internal(); 875 OesVertexArrayObject.internal();
843 876
844 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') 877 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES')
845 @DocsEditable 878 @DocsEditable
846 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; 879 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5;
847 880
848 @DomName('OESVertexArrayObject.bindVertexArrayOES') 881 @DomName('OESVertexArrayObject.bindVertexArrayOES')
849 @DocsEditable 882 @DocsEditable
850 void bindVertexArray(VertexArrayObject arrayObject) native "OESVertexArrayObje ct_bindVertexArrayOES_Callback"; 883 void bindVertexArray(VertexArrayObject arrayObject) native "OESVertexArrayObje ct_bindVertexArrayOES_Callback";
(...skipping 13 matching lines...) Expand all
864 } 897 }
865 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 898 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
866 // for details. All rights reserved. Use of this source code is governed by a 899 // for details. All rights reserved. Use of this source code is governed by a
867 // BSD-style license that can be found in the LICENSE file. 900 // BSD-style license that can be found in the LICENSE file.
868 901
869 // WARNING: Do not edit - generated code. 902 // WARNING: Do not edit - generated code.
870 903
871 904
872 @DocsEditable 905 @DocsEditable
873 @DomName('WebGLProgram') 906 @DomName('WebGLProgram')
907 @Unstable
874 class Program extends NativeFieldWrapperClass1 { 908 class Program extends NativeFieldWrapperClass1 {
875 Program.internal(); 909 Program.internal();
876 910
877 } 911 }
878 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 912 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
879 // for details. All rights reserved. Use of this source code is governed by a 913 // for details. All rights reserved. Use of this source code is governed by a
880 // BSD-style license that can be found in the LICENSE file. 914 // BSD-style license that can be found in the LICENSE file.
881 915
882 // WARNING: Do not edit - generated code. 916 // WARNING: Do not edit - generated code.
883 917
884 918
885 @DocsEditable 919 @DocsEditable
886 @DomName('WebGLRenderbuffer') 920 @DomName('WebGLRenderbuffer')
921 @Unstable
887 class Renderbuffer extends NativeFieldWrapperClass1 { 922 class Renderbuffer extends NativeFieldWrapperClass1 {
888 Renderbuffer.internal(); 923 Renderbuffer.internal();
889 924
890 } 925 }
891 // 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
892 // 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
893 // BSD-style license that can be found in the LICENSE file. 928 // BSD-style license that can be found in the LICENSE file.
894 929
895 // WARNING: Do not edit - generated code. 930 // WARNING: Do not edit - generated code.
896 931
897 932
898 @DocsEditable 933 @DocsEditable
899 @DomName('WebGLRenderingContext') 934 @DomName('WebGLRenderingContext')
900 @SupportedBrowser(SupportedBrowser.CHROME) 935 @SupportedBrowser(SupportedBrowser.CHROME)
901 @SupportedBrowser(SupportedBrowser.FIREFOX) 936 @SupportedBrowser(SupportedBrowser.FIREFOX)
902 @Experimental 937 @Experimental
938 @Unstable
903 class RenderingContext extends CanvasRenderingContext { 939 class RenderingContext extends CanvasRenderingContext {
904 RenderingContext.internal() : super.internal(); 940 RenderingContext.internal() : super.internal();
905 941
906 /// Checks if this type is supported on the current platform. 942 /// Checks if this type is supported on the current platform.
907 static bool get supported => true; 943 static bool get supported => true;
908 944
909 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES') 945 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES')
910 @DocsEditable 946 @DocsEditable
911 static const int ACTIVE_ATTRIBUTES = 0x8B89; 947 static const int ACTIVE_ATTRIBUTES = 0x8B89;
912 948
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
1297 @DomName('WebGLRenderingContext.GREATER') 1333 @DomName('WebGLRenderingContext.GREATER')
1298 @DocsEditable 1334 @DocsEditable
1299 static const int GREATER = 0x0204; 1335 static const int GREATER = 0x0204;
1300 1336
1301 @DomName('WebGLRenderingContext.GREEN_BITS') 1337 @DomName('WebGLRenderingContext.GREEN_BITS')
1302 @DocsEditable 1338 @DocsEditable
1303 static const int GREEN_BITS = 0x0D53; 1339 static const int GREEN_BITS = 0x0D53;
1304 1340
1305 @DomName('WebGLRenderingContext.HALF_FLOAT_OES') 1341 @DomName('WebGLRenderingContext.HALF_FLOAT_OES')
1306 @DocsEditable 1342 @DocsEditable
1343 @Experimental // nonstandard
1307 static const int HALF_FLOAT_OES = 0x8D61; 1344 static const int HALF_FLOAT_OES = 0x8D61;
1308 1345
1309 @DomName('WebGLRenderingContext.HIGH_FLOAT') 1346 @DomName('WebGLRenderingContext.HIGH_FLOAT')
1310 @DocsEditable 1347 @DocsEditable
1311 static const int HIGH_FLOAT = 0x8DF2; 1348 static const int HIGH_FLOAT = 0x8DF2;
1312 1349
1313 @DomName('WebGLRenderingContext.HIGH_INT') 1350 @DomName('WebGLRenderingContext.HIGH_INT')
1314 @DocsEditable 1351 @DocsEditable
1315 static const int HIGH_INT = 0x8DF5; 1352 static const int HIGH_INT = 0x8DF5;
1316 1353
(...skipping 1170 matching lines...) Expand 10 before | Expand all | Expand 10 after
2487 @DomName('WebGLRenderingContext.polygonOffset') 2524 @DomName('WebGLRenderingContext.polygonOffset')
2488 @DocsEditable 2525 @DocsEditable
2489 void polygonOffset(num factor, num units) native "WebGLRenderingContext_polygo nOffset_Callback"; 2526 void polygonOffset(num factor, num units) native "WebGLRenderingContext_polygo nOffset_Callback";
2490 2527
2491 @DomName('WebGLRenderingContext.readPixels') 2528 @DomName('WebGLRenderingContext.readPixels')
2492 @DocsEditable 2529 @DocsEditable
2493 void readPixels(int x, int y, int width, int height, int format, int type, Typ edData pixels) native "WebGLRenderingContext_readPixels_Callback"; 2530 void readPixels(int x, int y, int width, int height, int format, int type, Typ edData pixels) native "WebGLRenderingContext_readPixels_Callback";
2494 2531
2495 @DomName('WebGLRenderingContext.releaseShaderCompiler') 2532 @DomName('WebGLRenderingContext.releaseShaderCompiler')
2496 @DocsEditable 2533 @DocsEditable
2534 @deprecated // nonstandard
2497 void releaseShaderCompiler() native "WebGLRenderingContext_releaseShaderCompil er_Callback"; 2535 void releaseShaderCompiler() native "WebGLRenderingContext_releaseShaderCompil er_Callback";
2498 2536
2499 @DomName('WebGLRenderingContext.renderbufferStorage') 2537 @DomName('WebGLRenderingContext.renderbufferStorage')
2500 @DocsEditable 2538 @DocsEditable
2501 void renderbufferStorage(int target, int internalformat, int width, int height ) native "WebGLRenderingContext_renderbufferStorage_Callback"; 2539 void renderbufferStorage(int target, int internalformat, int width, int height ) native "WebGLRenderingContext_renderbufferStorage_Callback";
2502 2540
2503 @DomName('WebGLRenderingContext.sampleCoverage') 2541 @DomName('WebGLRenderingContext.sampleCoverage')
2504 @DocsEditable 2542 @DocsEditable
2505 void sampleCoverage(num value, bool invert) native "WebGLRenderingContext_samp leCoverage_Callback"; 2543 void sampleCoverage(num value, bool invert) native "WebGLRenderingContext_samp leCoverage_Callback";
2506 2544
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
2803 } 2841 }
2804 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2842 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2805 // for details. All rights reserved. Use of this source code is governed by a 2843 // for details. All rights reserved. Use of this source code is governed by a
2806 // BSD-style license that can be found in the LICENSE file. 2844 // BSD-style license that can be found in the LICENSE file.
2807 2845
2808 // WARNING: Do not edit - generated code. 2846 // WARNING: Do not edit - generated code.
2809 2847
2810 2848
2811 @DocsEditable 2849 @DocsEditable
2812 @DomName('WebGLVertexArrayObjectOES') 2850 @DomName('WebGLVertexArrayObjectOES')
2851 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
2852 @Experimental // experimental
2813 class VertexArrayObject extends NativeFieldWrapperClass1 { 2853 class VertexArrayObject extends NativeFieldWrapperClass1 {
2814 VertexArrayObject.internal(); 2854 VertexArrayObject.internal();
2815 2855
2816 } 2856 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698