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

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

Issue 18054021: Fixing up DOM constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 @Unstable
328 class ActiveInfo extends NativeFieldWrapperClass1 { 328 class ActiveInfo extends NativeFieldWrapperClass1 {
329 ActiveInfo.internal();
330 329
331 @DomName('WebGLActiveInfo.name') 330 @DomName('WebGLActiveInfo.name')
332 @DocsEditable 331 @DocsEditable
333 String get name native "WebGLActiveInfo_name_Getter"; 332 String get name native "WebGLActiveInfo_name_Getter";
334 333
335 @DomName('WebGLActiveInfo.size') 334 @DomName('WebGLActiveInfo.size')
336 @DocsEditable 335 @DocsEditable
337 int get size native "WebGLActiveInfo_size_Getter"; 336 int get size native "WebGLActiveInfo_size_Getter";
338 337
339 @DomName('WebGLActiveInfo.type') 338 @DomName('WebGLActiveInfo.type')
340 @DocsEditable 339 @DocsEditable
341 int get type native "WebGLActiveInfo_type_Getter"; 340 int get type native "WebGLActiveInfo_type_Getter";
342 341
343 } 342 }
344 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 343 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
345 // for details. All rights reserved. Use of this source code is governed by a 344 // for details. All rights reserved. Use of this source code is governed by a
346 // BSD-style license that can be found in the LICENSE file. 345 // BSD-style license that can be found in the LICENSE file.
347 346
348 // WARNING: Do not edit - generated code. 347 // WARNING: Do not edit - generated code.
349 348
350 349
351 @DocsEditable 350 @DocsEditable
352 @DomName('WebGLBuffer') 351 @DomName('WebGLBuffer')
353 @Unstable 352 @Unstable
354 class Buffer extends NativeFieldWrapperClass1 { 353 class Buffer extends NativeFieldWrapperClass1 {
355 Buffer.internal();
356 354
357 } 355 }
358 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 356 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
359 // for details. All rights reserved. Use of this source code is governed by a 357 // for details. All rights reserved. Use of this source code is governed by a
360 // BSD-style license that can be found in the LICENSE file. 358 // BSD-style license that can be found in the LICENSE file.
361 359
362 // WARNING: Do not edit - generated code. 360 // WARNING: Do not edit - generated code.
363 361
364 362
365 @DocsEditable 363 @DocsEditable
366 @DomName('WebGLCompressedTextureATC') 364 @DomName('WebGLCompressedTextureATC')
367 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc / 365 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc /
368 @Experimental 366 @Experimental
369 class CompressedTextureAtc extends NativeFieldWrapperClass1 { 367 class CompressedTextureAtc extends NativeFieldWrapperClass1 {
370 CompressedTextureAtc.internal();
371 368
372 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL') 369 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL')
373 @DocsEditable 370 @DocsEditable
374 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93; 371 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93;
375 372
376 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEB GL') 373 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEB GL')
377 @DocsEditable 374 @DocsEditable
378 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE; 375 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE;
379 376
380 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL') 377 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL')
381 @DocsEditable 378 @DocsEditable
382 static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92; 379 static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92;
383 380
384 } 381 }
385 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 382 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
386 // for details. All rights reserved. Use of this source code is governed by a 383 // for details. All rights reserved. Use of this source code is governed by a
387 // BSD-style license that can be found in the LICENSE file. 384 // BSD-style license that can be found in the LICENSE file.
388 385
389 // WARNING: Do not edit - generated code. 386 // WARNING: Do not edit - generated code.
390 387
391 388
392 @DocsEditable 389 @DocsEditable
393 @DomName('WebGLCompressedTexturePVRTC') 390 @DomName('WebGLCompressedTexturePVRTC')
394 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvr tc/ 391 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvr tc/
395 @Experimental // experimental 392 @Experimental // experimental
396 class CompressedTexturePvrtc extends NativeFieldWrapperClass1 { 393 class CompressedTexturePvrtc extends NativeFieldWrapperClass1 {
397 CompressedTexturePvrtc.internal();
398 394
399 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG') 395 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG')
400 @DocsEditable 396 @DocsEditable
401 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03; 397 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03;
402 398
403 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG') 399 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG')
404 @DocsEditable 400 @DocsEditable
405 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02; 401 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02;
406 402
407 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG') 403 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG')
(...skipping 10 matching lines...) Expand all
418 // BSD-style license that can be found in the LICENSE file. 414 // BSD-style license that can be found in the LICENSE file.
419 415
420 // WARNING: Do not edit - generated code. 416 // WARNING: Do not edit - generated code.
421 417
422 418
423 @DocsEditable 419 @DocsEditable
424 @DomName('WebGLCompressedTextureS3TC') 420 @DomName('WebGLCompressedTextureS3TC')
425 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3t c/ 421 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3t c/
426 @Experimental // experimental 422 @Experimental // experimental
427 class CompressedTextureS3TC extends NativeFieldWrapperClass1 { 423 class CompressedTextureS3TC extends NativeFieldWrapperClass1 {
428 CompressedTextureS3TC.internal();
429 424
430 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT') 425 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT')
431 @DocsEditable 426 @DocsEditable
432 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; 427 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
433 428
434 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT') 429 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT')
435 @DocsEditable 430 @DocsEditable
436 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2; 431 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2;
437 432
438 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT') 433 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT')
439 @DocsEditable 434 @DocsEditable
440 static const int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3; 435 static const int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3;
441 436
442 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGB_S3TC_DXT1_EXT') 437 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGB_S3TC_DXT1_EXT')
443 @DocsEditable 438 @DocsEditable
444 static const int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0; 439 static const int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0;
445 440
446 } 441 }
447 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 442 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
448 // for details. All rights reserved. Use of this source code is governed by a 443 // for details. All rights reserved. Use of this source code is governed by a
449 // BSD-style license that can be found in the LICENSE file. 444 // BSD-style license that can be found in the LICENSE file.
450 445
451 // WARNING: Do not edit - generated code. 446 // WARNING: Do not edit - generated code.
452 447
453 448
454 @DocsEditable 449 @DocsEditable
455 @DomName('WebGLContextAttributes') 450 @DomName('WebGLContextAttributes')
456 @Unstable 451 @Unstable
457 class ContextAttributes extends NativeFieldWrapperClass1 { 452 class ContextAttributes extends NativeFieldWrapperClass1 {
458 ContextAttributes.internal();
459 453
460 @DomName('WebGLContextAttributes.alpha') 454 @DomName('WebGLContextAttributes.alpha')
461 @DocsEditable 455 @DocsEditable
462 bool get alpha native "WebGLContextAttributes_alpha_Getter"; 456 bool get alpha native "WebGLContextAttributes_alpha_Getter";
463 457
464 @DomName('WebGLContextAttributes.alpha') 458 @DomName('WebGLContextAttributes.alpha')
465 @DocsEditable 459 @DocsEditable
466 void set alpha(bool value) native "WebGLContextAttributes_alpha_Setter"; 460 void set alpha(bool value) native "WebGLContextAttributes_alpha_Setter";
467 461
468 @DomName('WebGLContextAttributes.antialias') 462 @DomName('WebGLContextAttributes.antialias')
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 // for details. All rights reserved. Use of this source code is governed by a 504 // for details. All rights reserved. Use of this source code is governed by a
511 // BSD-style license that can be found in the LICENSE file. 505 // BSD-style license that can be found in the LICENSE file.
512 506
513 // WARNING: Do not edit - generated code. 507 // WARNING: Do not edit - generated code.
514 508
515 509
516 @DocsEditable 510 @DocsEditable
517 @DomName('WebGLContextEvent') 511 @DomName('WebGLContextEvent')
518 @Unstable 512 @Unstable
519 class ContextEvent extends Event { 513 class ContextEvent extends Event {
520 ContextEvent.internal() : super.internal(); 514 // To suppress missing implicit constructor warnings.
515 factory ContextEvent._() { throw new UnsupportedError("Not supported"); }
521 516
522 @DomName('WebGLContextEvent.statusMessage') 517 @DomName('WebGLContextEvent.statusMessage')
523 @DocsEditable 518 @DocsEditable
524 String get statusMessage native "WebGLContextEvent_statusMessage_Getter"; 519 String get statusMessage native "WebGLContextEvent_statusMessage_Getter";
525 520
526 } 521 }
527 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 522 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
528 // for details. All rights reserved. Use of this source code is governed by a 523 // for details. All rights reserved. Use of this source code is governed by a
529 // BSD-style license that can be found in the LICENSE file. 524 // BSD-style license that can be found in the LICENSE file.
530 525
531 // WARNING: Do not edit - generated code. 526 // WARNING: Do not edit - generated code.
532 527
533 528
534 @DocsEditable 529 @DocsEditable
535 @DomName('WebGLDebugRendererInfo') 530 @DomName('WebGLDebugRendererInfo')
536 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/ 531 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/
537 @Experimental // experimental 532 @Experimental // experimental
538 class DebugRendererInfo extends NativeFieldWrapperClass1 { 533 class DebugRendererInfo extends NativeFieldWrapperClass1 {
539 DebugRendererInfo.internal();
540 534
541 @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL') 535 @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL')
542 @DocsEditable 536 @DocsEditable
543 static const int UNMASKED_RENDERER_WEBGL = 0x9246; 537 static const int UNMASKED_RENDERER_WEBGL = 0x9246;
544 538
545 @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL') 539 @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL')
546 @DocsEditable 540 @DocsEditable
547 static const int UNMASKED_VENDOR_WEBGL = 0x9245; 541 static const int UNMASKED_VENDOR_WEBGL = 0x9245;
548 542
549 } 543 }
550 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 544 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
551 // for details. All rights reserved. Use of this source code is governed by a 545 // for details. All rights reserved. Use of this source code is governed by a
552 // BSD-style license that can be found in the LICENSE file. 546 // BSD-style license that can be found in the LICENSE file.
553 547
554 // WARNING: Do not edit - generated code. 548 // WARNING: Do not edit - generated code.
555 549
556 550
557 @DocsEditable 551 @DocsEditable
558 @DomName('WebGLDebugShaders') 552 @DomName('WebGLDebugShaders')
559 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/ 553 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/
560 @Experimental // experimental 554 @Experimental // experimental
561 class DebugShaders extends NativeFieldWrapperClass1 { 555 class DebugShaders extends NativeFieldWrapperClass1 {
562 DebugShaders.internal();
563 556
564 @DomName('WebGLDebugShaders.getTranslatedShaderSource') 557 @DomName('WebGLDebugShaders.getTranslatedShaderSource')
565 @DocsEditable 558 @DocsEditable
566 String getTranslatedShaderSource(Shader shader) native "WebGLDebugShaders_getT ranslatedShaderSource_Callback"; 559 String getTranslatedShaderSource(Shader shader) native "WebGLDebugShaders_getT ranslatedShaderSource_Callback";
567 560
568 } 561 }
569 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 562 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
570 // for details. All rights reserved. Use of this source code is governed by a 563 // for details. All rights reserved. Use of this source code is governed by a
571 // BSD-style license that can be found in the LICENSE file. 564 // BSD-style license that can be found in the LICENSE file.
572 565
573 // WARNING: Do not edit - generated code. 566 // WARNING: Do not edit - generated code.
574 567
575 568
576 @DocsEditable 569 @DocsEditable
577 @DomName('WebGLDepthTexture') 570 @DomName('WebGLDepthTexture')
578 // http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/ 571 // http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/
579 @Experimental // experimental 572 @Experimental // experimental
580 class DepthTexture extends NativeFieldWrapperClass1 { 573 class DepthTexture extends NativeFieldWrapperClass1 {
581 DepthTexture.internal();
582 574
583 @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL') 575 @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL')
584 @DocsEditable 576 @DocsEditable
585 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA; 577 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA;
586 578
587 } 579 }
588 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 580 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
589 // for details. All rights reserved. Use of this source code is governed by a 581 // for details. All rights reserved. Use of this source code is governed by a
590 // BSD-style license that can be found in the LICENSE file. 582 // BSD-style license that can be found in the LICENSE file.
591 583
592 // WARNING: Do not edit - generated code. 584 // WARNING: Do not edit - generated code.
593 585
594 586
595 @DocsEditable 587 @DocsEditable
596 @DomName('EXTDrawBuffers') 588 @DomName('EXTDrawBuffers')
597 // http://www.khronos.org/registry/webgl/specs/latest/ 589 // http://www.khronos.org/registry/webgl/specs/latest/
598 @Experimental // stable 590 @Experimental // stable
599 class ExtDrawBuffers extends NativeFieldWrapperClass1 { 591 class ExtDrawBuffers extends NativeFieldWrapperClass1 {
600 ExtDrawBuffers.internal();
601 592
602 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT0_EXT') 593 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT0_EXT')
603 @DocsEditable 594 @DocsEditable
604 static const int COLOR_ATTACHMENT0_EXT = 0x8CE0; 595 static const int COLOR_ATTACHMENT0_EXT = 0x8CE0;
605 596
606 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT10_EXT') 597 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT10_EXT')
607 @DocsEditable 598 @DocsEditable
608 static const int COLOR_ATTACHMENT10_EXT = 0x8CEA; 599 static const int COLOR_ATTACHMENT10_EXT = 0x8CEA;
609 600
610 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT11_EXT') 601 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT11_EXT')
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
745 // BSD-style license that can be found in the LICENSE file. 736 // BSD-style license that can be found in the LICENSE file.
746 737
747 // WARNING: Do not edit - generated code. 738 // WARNING: Do not edit - generated code.
748 739
749 740
750 @DocsEditable 741 @DocsEditable
751 @DomName('EXTFragDepth') 742 @DomName('EXTFragDepth')
752 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/ 743 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/
753 @Experimental 744 @Experimental
754 class ExtFragDepth extends NativeFieldWrapperClass1 { 745 class ExtFragDepth extends NativeFieldWrapperClass1 {
755 ExtFragDepth.internal();
756 746
757 } 747 }
758 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 748 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
759 // for details. All rights reserved. Use of this source code is governed by a 749 // for details. All rights reserved. Use of this source code is governed by a
760 // BSD-style license that can be found in the LICENSE file. 750 // BSD-style license that can be found in the LICENSE file.
761 751
762 // WARNING: Do not edit - generated code. 752 // WARNING: Do not edit - generated code.
763 753
764 754
765 @DocsEditable 755 @DocsEditable
766 @DomName('EXTTextureFilterAnisotropic') 756 @DomName('EXTTextureFilterAnisotropic')
767 // http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotrop ic/ 757 // http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotrop ic/
768 @Experimental 758 @Experimental
769 class ExtTextureFilterAnisotropic extends NativeFieldWrapperClass1 { 759 class ExtTextureFilterAnisotropic extends NativeFieldWrapperClass1 {
770 ExtTextureFilterAnisotropic.internal();
771 760
772 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT') 761 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT')
773 @DocsEditable 762 @DocsEditable
774 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; 763 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;
775 764
776 @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT') 765 @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT')
777 @DocsEditable 766 @DocsEditable
778 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; 767 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE;
779 768
780 } 769 }
781 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 770 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
782 // for details. All rights reserved. Use of this source code is governed by a 771 // for details. All rights reserved. Use of this source code is governed by a
783 // BSD-style license that can be found in the LICENSE file. 772 // BSD-style license that can be found in the LICENSE file.
784 773
785 // WARNING: Do not edit - generated code. 774 // WARNING: Do not edit - generated code.
786 775
787 776
788 @DocsEditable 777 @DocsEditable
789 @DomName('WebGLFramebuffer') 778 @DomName('WebGLFramebuffer')
790 @Unstable 779 @Unstable
791 class Framebuffer extends NativeFieldWrapperClass1 { 780 class Framebuffer extends NativeFieldWrapperClass1 {
792 Framebuffer.internal();
793 781
794 } 782 }
795 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 783 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
796 // for details. All rights reserved. Use of this source code is governed by a 784 // for details. All rights reserved. Use of this source code is governed by a
797 // BSD-style license that can be found in the LICENSE file. 785 // BSD-style license that can be found in the LICENSE file.
798 786
799 // WARNING: Do not edit - generated code. 787 // WARNING: Do not edit - generated code.
800 788
801 789
802 @DocsEditable 790 @DocsEditable
803 @DomName('WebGLLoseContext') 791 @DomName('WebGLLoseContext')
804 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/ 792 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/
805 @Experimental 793 @Experimental
806 class LoseContext extends NativeFieldWrapperClass1 { 794 class LoseContext extends NativeFieldWrapperClass1 {
807 LoseContext.internal();
808 795
809 @DomName('WebGLLoseContext.loseContext') 796 @DomName('WebGLLoseContext.loseContext')
810 @DocsEditable 797 @DocsEditable
811 void loseContext() native "WebGLLoseContext_loseContext_Callback"; 798 void loseContext() native "WebGLLoseContext_loseContext_Callback";
812 799
813 @DomName('WebGLLoseContext.restoreContext') 800 @DomName('WebGLLoseContext.restoreContext')
814 @DocsEditable 801 @DocsEditable
815 void restoreContext() native "WebGLLoseContext_restoreContext_Callback"; 802 void restoreContext() native "WebGLLoseContext_restoreContext_Callback";
816 803
817 } 804 }
818 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 805 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
819 // for details. All rights reserved. Use of this source code is governed by a 806 // for details. All rights reserved. Use of this source code is governed by a
820 // BSD-style license that can be found in the LICENSE file. 807 // BSD-style license that can be found in the LICENSE file.
821 808
822 // WARNING: Do not edit - generated code. 809 // WARNING: Do not edit - generated code.
823 810
824 811
825 @DocsEditable 812 @DocsEditable
826 @DomName('OESElementIndexUint') 813 @DomName('OESElementIndexUint')
827 // http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/ 814 // http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/
828 @Experimental // experimental 815 @Experimental // experimental
829 class OesElementIndexUint extends NativeFieldWrapperClass1 { 816 class OesElementIndexUint extends NativeFieldWrapperClass1 {
830 OesElementIndexUint.internal();
831 817
832 } 818 }
833 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 819 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
834 // for details. All rights reserved. Use of this source code is governed by a 820 // for details. All rights reserved. Use of this source code is governed by a
835 // BSD-style license that can be found in the LICENSE file. 821 // BSD-style license that can be found in the LICENSE file.
836 822
837 // WARNING: Do not edit - generated code. 823 // WARNING: Do not edit - generated code.
838 824
839 825
840 @DocsEditable 826 @DocsEditable
841 @DomName('OESStandardDerivatives') 827 @DomName('OESStandardDerivatives')
842 // http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/ 828 // http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/
843 @Experimental // experimental 829 @Experimental // experimental
844 class OesStandardDerivatives extends NativeFieldWrapperClass1 { 830 class OesStandardDerivatives extends NativeFieldWrapperClass1 {
845 OesStandardDerivatives.internal();
846 831
847 @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES') 832 @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES')
848 @DocsEditable 833 @DocsEditable
849 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; 834 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B;
850 835
851 } 836 }
852 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 837 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
853 // for details. All rights reserved. Use of this source code is governed by a 838 // for details. All rights reserved. Use of this source code is governed by a
854 // BSD-style license that can be found in the LICENSE file. 839 // BSD-style license that can be found in the LICENSE file.
855 840
856 // WARNING: Do not edit - generated code. 841 // WARNING: Do not edit - generated code.
857 842
858 843
859 @DocsEditable 844 @DocsEditable
860 @DomName('OESTextureFloat') 845 @DomName('OESTextureFloat')
861 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float/ 846 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float/
862 @Experimental // experimental 847 @Experimental // experimental
863 class OesTextureFloat extends NativeFieldWrapperClass1 { 848 class OesTextureFloat extends NativeFieldWrapperClass1 {
864 OesTextureFloat.internal();
865 849
866 } 850 }
867 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 851 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
868 // for details. All rights reserved. Use of this source code is governed by a 852 // for details. All rights reserved. Use of this source code is governed by a
869 // BSD-style license that can be found in the LICENSE file. 853 // BSD-style license that can be found in the LICENSE file.
870 854
871 // WARNING: Do not edit - generated code. 855 // WARNING: Do not edit - generated code.
872 856
873 857
874 @DocsEditable 858 @DocsEditable
875 @DomName('OESTextureFloatLinear') 859 @DomName('OESTextureFloatLinear')
876 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/ 860 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/
877 @Experimental 861 @Experimental
878 class OesTextureFloatLinear extends NativeFieldWrapperClass1 { 862 class OesTextureFloatLinear extends NativeFieldWrapperClass1 {
879 OesTextureFloatLinear.internal();
880 863
881 } 864 }
882 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 865 // 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 866 // 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. 867 // BSD-style license that can be found in the LICENSE file.
885 868
886 // WARNING: Do not edit - generated code. 869 // WARNING: Do not edit - generated code.
887 870
888 871
889 @DocsEditable 872 @DocsEditable
890 @DomName('OESTextureHalfFloat') 873 @DomName('OESTextureHalfFloat')
891 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/ 874 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/
892 @Experimental // experimental 875 @Experimental // experimental
893 class OesTextureHalfFloat extends NativeFieldWrapperClass1 { 876 class OesTextureHalfFloat extends NativeFieldWrapperClass1 {
894 OesTextureHalfFloat.internal();
895 877
896 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES') 878 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES')
897 @DocsEditable 879 @DocsEditable
898 static const int HALF_FLOAT_OES = 0x8D61; 880 static const int HALF_FLOAT_OES = 0x8D61;
899 881
900 } 882 }
901 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 883 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
902 // for details. All rights reserved. Use of this source code is governed by a 884 // for details. All rights reserved. Use of this source code is governed by a
903 // BSD-style license that can be found in the LICENSE file. 885 // BSD-style license that can be found in the LICENSE file.
904 886
905 // WARNING: Do not edit - generated code. 887 // WARNING: Do not edit - generated code.
906 888
907 889
908 @DocsEditable 890 @DocsEditable
909 @DomName('OESTextureHalfFloatLinear') 891 @DomName('OESTextureHalfFloatLinear')
910 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float_linea r/ 892 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float_linea r/
911 @Experimental 893 @Experimental
912 class OesTextureHalfFloatLinear extends NativeFieldWrapperClass1 { 894 class OesTextureHalfFloatLinear extends NativeFieldWrapperClass1 {
913 OesTextureHalfFloatLinear.internal();
914 895
915 } 896 }
916 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 897 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
917 // for details. All rights reserved. Use of this source code is governed by a 898 // for details. All rights reserved. Use of this source code is governed by a
918 // BSD-style license that can be found in the LICENSE file. 899 // BSD-style license that can be found in the LICENSE file.
919 900
920 // WARNING: Do not edit - generated code. 901 // WARNING: Do not edit - generated code.
921 902
922 903
923 @DocsEditable 904 @DocsEditable
924 @DomName('OESVertexArrayObject') 905 @DomName('OESVertexArrayObject')
925 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ 906 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
926 @Experimental // experimental 907 @Experimental // experimental
927 class OesVertexArrayObject extends NativeFieldWrapperClass1 { 908 class OesVertexArrayObject extends NativeFieldWrapperClass1 {
928 OesVertexArrayObject.internal();
929 909
930 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') 910 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES')
931 @DocsEditable 911 @DocsEditable
932 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; 912 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5;
933 913
934 @DomName('OESVertexArrayObject.bindVertexArrayOES') 914 @DomName('OESVertexArrayObject.bindVertexArrayOES')
935 @DocsEditable 915 @DocsEditable
936 void bindVertexArray(VertexArrayObject arrayObject) native "OESVertexArrayObje ct_bindVertexArrayOES_Callback"; 916 void bindVertexArray(VertexArrayObject arrayObject) native "OESVertexArrayObje ct_bindVertexArrayOES_Callback";
937 917
938 @DomName('OESVertexArrayObject.createVertexArrayOES') 918 @DomName('OESVertexArrayObject.createVertexArrayOES')
(...skipping 13 matching lines...) Expand all
952 // 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
953 // BSD-style license that can be found in the LICENSE file. 933 // BSD-style license that can be found in the LICENSE file.
954 934
955 // WARNING: Do not edit - generated code. 935 // WARNING: Do not edit - generated code.
956 936
957 937
958 @DocsEditable 938 @DocsEditable
959 @DomName('WebGLProgram') 939 @DomName('WebGLProgram')
960 @Unstable 940 @Unstable
961 class Program extends NativeFieldWrapperClass1 { 941 class Program extends NativeFieldWrapperClass1 {
962 Program.internal();
963 942
964 } 943 }
965 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 944 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
966 // for details. All rights reserved. Use of this source code is governed by a 945 // for details. All rights reserved. Use of this source code is governed by a
967 // BSD-style license that can be found in the LICENSE file. 946 // BSD-style license that can be found in the LICENSE file.
968 947
969 // WARNING: Do not edit - generated code. 948 // WARNING: Do not edit - generated code.
970 949
971 950
972 @DocsEditable 951 @DocsEditable
973 @DomName('WebGLRenderbuffer') 952 @DomName('WebGLRenderbuffer')
974 @Unstable 953 @Unstable
975 class Renderbuffer extends NativeFieldWrapperClass1 { 954 class Renderbuffer extends NativeFieldWrapperClass1 {
976 Renderbuffer.internal();
977 955
978 } 956 }
979 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 957 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
980 // for details. All rights reserved. Use of this source code is governed by a 958 // for details. All rights reserved. Use of this source code is governed by a
981 // BSD-style license that can be found in the LICENSE file. 959 // BSD-style license that can be found in the LICENSE file.
982 960
983 // WARNING: Do not edit - generated code. 961 // WARNING: Do not edit - generated code.
984 962
985 963
986 @DocsEditable 964 @DocsEditable
987 @DomName('WebGLRenderingContext') 965 @DomName('WebGLRenderingContext')
988 @SupportedBrowser(SupportedBrowser.CHROME) 966 @SupportedBrowser(SupportedBrowser.CHROME)
989 @SupportedBrowser(SupportedBrowser.FIREFOX) 967 @SupportedBrowser(SupportedBrowser.FIREFOX)
990 @Experimental 968 @Experimental
991 @Unstable 969 @Unstable
992 class RenderingContext extends CanvasRenderingContext { 970 class RenderingContext extends CanvasRenderingContext {
993 RenderingContext.internal() : super.internal(); 971 // To suppress missing implicit constructor warnings.
972 factory RenderingContext._() { throw new UnsupportedError("Not supported"); }
994 973
995 /// Checks if this type is supported on the current platform. 974 /// Checks if this type is supported on the current platform.
996 static bool get supported => true; 975 static bool get supported => true;
997 976
998 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES') 977 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES')
999 @DocsEditable 978 @DocsEditable
1000 static const int ACTIVE_ATTRIBUTES = 0x8B89; 979 static const int ACTIVE_ATTRIBUTES = 0x8B89;
1001 980
1002 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE') 981 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE')
1003 @DocsEditable 982 @DocsEditable
(...skipping 1817 matching lines...) Expand 10 before | Expand all | Expand 10 after
2821 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2800 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2822 // for details. All rights reserved. Use of this source code is governed by a 2801 // for details. All rights reserved. Use of this source code is governed by a
2823 // BSD-style license that can be found in the LICENSE file. 2802 // BSD-style license that can be found in the LICENSE file.
2824 2803
2825 // WARNING: Do not edit - generated code. 2804 // WARNING: Do not edit - generated code.
2826 2805
2827 2806
2828 @DocsEditable 2807 @DocsEditable
2829 @DomName('WebGLShader') 2808 @DomName('WebGLShader')
2830 class Shader extends NativeFieldWrapperClass1 { 2809 class Shader extends NativeFieldWrapperClass1 {
2831 Shader.internal();
2832 2810
2833 } 2811 }
2834 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2812 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2835 // for details. All rights reserved. Use of this source code is governed by a 2813 // for details. All rights reserved. Use of this source code is governed by a
2836 // BSD-style license that can be found in the LICENSE file. 2814 // BSD-style license that can be found in the LICENSE file.
2837 2815
2838 // WARNING: Do not edit - generated code. 2816 // WARNING: Do not edit - generated code.
2839 2817
2840 2818
2841 @DocsEditable 2819 @DocsEditable
2842 @DomName('WebGLShaderPrecisionFormat') 2820 @DomName('WebGLShaderPrecisionFormat')
2843 class ShaderPrecisionFormat extends NativeFieldWrapperClass1 { 2821 class ShaderPrecisionFormat extends NativeFieldWrapperClass1 {
2844 ShaderPrecisionFormat.internal();
2845 2822
2846 @DomName('WebGLShaderPrecisionFormat.precision') 2823 @DomName('WebGLShaderPrecisionFormat.precision')
2847 @DocsEditable 2824 @DocsEditable
2848 int get precision native "WebGLShaderPrecisionFormat_precision_Getter"; 2825 int get precision native "WebGLShaderPrecisionFormat_precision_Getter";
2849 2826
2850 @DomName('WebGLShaderPrecisionFormat.rangeMax') 2827 @DomName('WebGLShaderPrecisionFormat.rangeMax')
2851 @DocsEditable 2828 @DocsEditable
2852 int get rangeMax native "WebGLShaderPrecisionFormat_rangeMax_Getter"; 2829 int get rangeMax native "WebGLShaderPrecisionFormat_rangeMax_Getter";
2853 2830
2854 @DomName('WebGLShaderPrecisionFormat.rangeMin') 2831 @DomName('WebGLShaderPrecisionFormat.rangeMin')
2855 @DocsEditable 2832 @DocsEditable
2856 int get rangeMin native "WebGLShaderPrecisionFormat_rangeMin_Getter"; 2833 int get rangeMin native "WebGLShaderPrecisionFormat_rangeMin_Getter";
2857 2834
2858 } 2835 }
2859 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2836 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2860 // for details. All rights reserved. Use of this source code is governed by a 2837 // for details. All rights reserved. Use of this source code is governed by a
2861 // BSD-style license that can be found in the LICENSE file. 2838 // BSD-style license that can be found in the LICENSE file.
2862 2839
2863 // WARNING: Do not edit - generated code. 2840 // WARNING: Do not edit - generated code.
2864 2841
2865 2842
2866 @DocsEditable 2843 @DocsEditable
2867 @DomName('WebGLTexture') 2844 @DomName('WebGLTexture')
2868 class Texture extends NativeFieldWrapperClass1 { 2845 class Texture extends NativeFieldWrapperClass1 {
2869 Texture.internal();
2870 2846
2871 } 2847 }
2872 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2848 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2873 // for details. All rights reserved. Use of this source code is governed by a 2849 // for details. All rights reserved. Use of this source code is governed by a
2874 // BSD-style license that can be found in the LICENSE file. 2850 // BSD-style license that can be found in the LICENSE file.
2875 2851
2876 // WARNING: Do not edit - generated code. 2852 // WARNING: Do not edit - generated code.
2877 2853
2878 2854
2879 @DocsEditable 2855 @DocsEditable
2880 @DomName('WebGLUniformLocation') 2856 @DomName('WebGLUniformLocation')
2881 class UniformLocation extends NativeFieldWrapperClass1 { 2857 class UniformLocation extends NativeFieldWrapperClass1 {
2882 UniformLocation.internal();
2883 2858
2884 } 2859 }
2885 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2860 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2886 // for details. All rights reserved. Use of this source code is governed by a 2861 // for details. All rights reserved. Use of this source code is governed by a
2887 // BSD-style license that can be found in the LICENSE file. 2862 // BSD-style license that can be found in the LICENSE file.
2888 2863
2889 // WARNING: Do not edit - generated code. 2864 // WARNING: Do not edit - generated code.
2890 2865
2891 2866
2892 @DocsEditable 2867 @DocsEditable
2893 @DomName('WebGLVertexArrayObjectOES') 2868 @DomName('WebGLVertexArrayObjectOES')
2894 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ 2869 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
2895 @Experimental // experimental 2870 @Experimental // experimental
2896 class VertexArrayObject extends NativeFieldWrapperClass1 { 2871 class VertexArrayObject extends NativeFieldWrapperClass1 {
2897 VertexArrayObject.internal();
2898 2872
2899 } 2873 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698