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

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

Issue 18182010: Make html metadata follow the spec. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed DocsEditable, Experimental, Unstable 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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 const int VERTEX_SHADER = RenderingContext.VERTEX_SHADER; 315 const int VERTEX_SHADER = RenderingContext.VERTEX_SHADER;
316 const int VIEWPORT = RenderingContext.VIEWPORT; 316 const int VIEWPORT = RenderingContext.VIEWPORT;
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 @Unstable()
328 class ActiveInfo extends NativeFieldWrapperClass1 { 328 class ActiveInfo extends NativeFieldWrapperClass1 {
329 329
330 @DomName('WebGLActiveInfo.name') 330 @DomName('WebGLActiveInfo.name')
331 @DocsEditable 331 @DocsEditable()
332 String get name native "WebGLActiveInfo_name_Getter"; 332 String get name native "WebGLActiveInfo_name_Getter";
333 333
334 @DomName('WebGLActiveInfo.size') 334 @DomName('WebGLActiveInfo.size')
335 @DocsEditable 335 @DocsEditable()
336 int get size native "WebGLActiveInfo_size_Getter"; 336 int get size native "WebGLActiveInfo_size_Getter";
337 337
338 @DomName('WebGLActiveInfo.type') 338 @DomName('WebGLActiveInfo.type')
339 @DocsEditable 339 @DocsEditable()
340 int get type native "WebGLActiveInfo_type_Getter"; 340 int get type native "WebGLActiveInfo_type_Getter";
341 341
342 } 342 }
343 // 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
344 // 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
345 // BSD-style license that can be found in the LICENSE file. 345 // BSD-style license that can be found in the LICENSE file.
346 346
347 // WARNING: Do not edit - generated code. 347 // WARNING: Do not edit - generated code.
348 348
349 349
350 @DocsEditable 350 @DocsEditable()
351 @DomName('WebGLBuffer') 351 @DomName('WebGLBuffer')
352 @Unstable 352 @Unstable()
353 class Buffer extends NativeFieldWrapperClass1 { 353 class Buffer extends NativeFieldWrapperClass1 {
354 354
355 } 355 }
356 // 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
357 // 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
358 // BSD-style license that can be found in the LICENSE file. 358 // BSD-style license that can be found in the LICENSE file.
359 359
360 // WARNING: Do not edit - generated code. 360 // WARNING: Do not edit - generated code.
361 361
362 362
363 @DocsEditable 363 @DocsEditable()
364 @DomName('WebGLCompressedTextureATC') 364 @DomName('WebGLCompressedTextureATC')
365 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc / 365 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc /
366 @Experimental 366 @Experimental()
367 class CompressedTextureAtc extends NativeFieldWrapperClass1 { 367 class CompressedTextureAtc extends NativeFieldWrapperClass1 {
368 368
369 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL') 369 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL')
370 @DocsEditable 370 @DocsEditable()
371 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93; 371 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93;
372 372
373 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEB GL') 373 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEB GL')
374 @DocsEditable 374 @DocsEditable()
375 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE; 375 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE;
376 376
377 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL') 377 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL')
378 @DocsEditable 378 @DocsEditable()
379 static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92; 379 static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92;
380 380
381 } 381 }
382 // 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
383 // 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
384 // BSD-style license that can be found in the LICENSE file. 384 // BSD-style license that can be found in the LICENSE file.
385 385
386 // WARNING: Do not edit - generated code. 386 // WARNING: Do not edit - generated code.
387 387
388 388
389 @DocsEditable 389 @DocsEditable()
390 @DomName('WebGLCompressedTexturePVRTC') 390 @DomName('WebGLCompressedTexturePVRTC')
391 // 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/
392 @Experimental // experimental 392 @Experimental() // experimental
393 class CompressedTexturePvrtc extends NativeFieldWrapperClass1 { 393 class CompressedTexturePvrtc extends NativeFieldWrapperClass1 {
394 394
395 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG') 395 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG')
396 @DocsEditable 396 @DocsEditable()
397 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03; 397 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03;
398 398
399 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG') 399 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG')
400 @DocsEditable 400 @DocsEditable()
401 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02; 401 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02;
402 402
403 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG') 403 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG')
404 @DocsEditable 404 @DocsEditable()
405 static const int COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01; 405 static const int COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01;
406 406
407 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_4BPPV1_IMG') 407 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_4BPPV1_IMG')
408 @DocsEditable 408 @DocsEditable()
409 static const int COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00; 409 static const int COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00;
410 410
411 } 411 }
412 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 412 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
413 // for details. All rights reserved. Use of this source code is governed by a 413 // for details. All rights reserved. Use of this source code is governed by a
414 // BSD-style license that can be found in the LICENSE file. 414 // BSD-style license that can be found in the LICENSE file.
415 415
416 // WARNING: Do not edit - generated code. 416 // WARNING: Do not edit - generated code.
417 417
418 418
419 @DocsEditable 419 @DocsEditable()
420 @DomName('WebGLCompressedTextureS3TC') 420 @DomName('WebGLCompressedTextureS3TC')
421 // 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/
422 @Experimental // experimental 422 @Experimental() // experimental
423 class CompressedTextureS3TC extends NativeFieldWrapperClass1 { 423 class CompressedTextureS3TC extends NativeFieldWrapperClass1 {
424 424
425 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT') 425 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT')
426 @DocsEditable 426 @DocsEditable()
427 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; 427 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
428 428
429 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT') 429 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT')
430 @DocsEditable 430 @DocsEditable()
431 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2; 431 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2;
432 432
433 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT') 433 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT')
434 @DocsEditable 434 @DocsEditable()
435 static const int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3; 435 static const int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3;
436 436
437 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGB_S3TC_DXT1_EXT') 437 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGB_S3TC_DXT1_EXT')
438 @DocsEditable 438 @DocsEditable()
439 static const int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0; 439 static const int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0;
440 440
441 } 441 }
442 // 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
443 // 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
444 // BSD-style license that can be found in the LICENSE file. 444 // BSD-style license that can be found in the LICENSE file.
445 445
446 // WARNING: Do not edit - generated code. 446 // WARNING: Do not edit - generated code.
447 447
448 448
449 @DocsEditable 449 @DocsEditable()
450 @DomName('WebGLContextAttributes') 450 @DomName('WebGLContextAttributes')
451 @Unstable 451 @Unstable()
452 class ContextAttributes extends NativeFieldWrapperClass1 { 452 class ContextAttributes extends NativeFieldWrapperClass1 {
453 453
454 @DomName('WebGLContextAttributes.alpha') 454 @DomName('WebGLContextAttributes.alpha')
455 @DocsEditable 455 @DocsEditable()
456 bool get alpha native "WebGLContextAttributes_alpha_Getter"; 456 bool get alpha native "WebGLContextAttributes_alpha_Getter";
457 457
458 @DomName('WebGLContextAttributes.alpha') 458 @DomName('WebGLContextAttributes.alpha')
459 @DocsEditable 459 @DocsEditable()
460 void set alpha(bool value) native "WebGLContextAttributes_alpha_Setter"; 460 void set alpha(bool value) native "WebGLContextAttributes_alpha_Setter";
461 461
462 @DomName('WebGLContextAttributes.antialias') 462 @DomName('WebGLContextAttributes.antialias')
463 @DocsEditable 463 @DocsEditable()
464 bool get antialias native "WebGLContextAttributes_antialias_Getter"; 464 bool get antialias native "WebGLContextAttributes_antialias_Getter";
465 465
466 @DomName('WebGLContextAttributes.antialias') 466 @DomName('WebGLContextAttributes.antialias')
467 @DocsEditable 467 @DocsEditable()
468 void set antialias(bool value) native "WebGLContextAttributes_antialias_Setter "; 468 void set antialias(bool value) native "WebGLContextAttributes_antialias_Setter ";
469 469
470 @DomName('WebGLContextAttributes.depth') 470 @DomName('WebGLContextAttributes.depth')
471 @DocsEditable 471 @DocsEditable()
472 bool get depth native "WebGLContextAttributes_depth_Getter"; 472 bool get depth native "WebGLContextAttributes_depth_Getter";
473 473
474 @DomName('WebGLContextAttributes.depth') 474 @DomName('WebGLContextAttributes.depth')
475 @DocsEditable 475 @DocsEditable()
476 void set depth(bool value) native "WebGLContextAttributes_depth_Setter"; 476 void set depth(bool value) native "WebGLContextAttributes_depth_Setter";
477 477
478 @DomName('WebGLContextAttributes.premultipliedAlpha') 478 @DomName('WebGLContextAttributes.premultipliedAlpha')
479 @DocsEditable 479 @DocsEditable()
480 bool get premultipliedAlpha native "WebGLContextAttributes_premultipliedAlpha_ Getter"; 480 bool get premultipliedAlpha native "WebGLContextAttributes_premultipliedAlpha_ Getter";
481 481
482 @DomName('WebGLContextAttributes.premultipliedAlpha') 482 @DomName('WebGLContextAttributes.premultipliedAlpha')
483 @DocsEditable 483 @DocsEditable()
484 void set premultipliedAlpha(bool value) native "WebGLContextAttributes_premult ipliedAlpha_Setter"; 484 void set premultipliedAlpha(bool value) native "WebGLContextAttributes_premult ipliedAlpha_Setter";
485 485
486 @DomName('WebGLContextAttributes.preserveDrawingBuffer') 486 @DomName('WebGLContextAttributes.preserveDrawingBuffer')
487 @DocsEditable 487 @DocsEditable()
488 bool get preserveDrawingBuffer native "WebGLContextAttributes_preserveDrawingB uffer_Getter"; 488 bool get preserveDrawingBuffer native "WebGLContextAttributes_preserveDrawingB uffer_Getter";
489 489
490 @DomName('WebGLContextAttributes.preserveDrawingBuffer') 490 @DomName('WebGLContextAttributes.preserveDrawingBuffer')
491 @DocsEditable 491 @DocsEditable()
492 void set preserveDrawingBuffer(bool value) native "WebGLContextAttributes_pres erveDrawingBuffer_Setter"; 492 void set preserveDrawingBuffer(bool value) native "WebGLContextAttributes_pres erveDrawingBuffer_Setter";
493 493
494 @DomName('WebGLContextAttributes.stencil') 494 @DomName('WebGLContextAttributes.stencil')
495 @DocsEditable 495 @DocsEditable()
496 bool get stencil native "WebGLContextAttributes_stencil_Getter"; 496 bool get stencil native "WebGLContextAttributes_stencil_Getter";
497 497
498 @DomName('WebGLContextAttributes.stencil') 498 @DomName('WebGLContextAttributes.stencil')
499 @DocsEditable 499 @DocsEditable()
500 void set stencil(bool value) native "WebGLContextAttributes_stencil_Setter"; 500 void set stencil(bool value) native "WebGLContextAttributes_stencil_Setter";
501 501
502 } 502 }
503 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 503 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
504 // 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
505 // BSD-style license that can be found in the LICENSE file. 505 // BSD-style license that can be found in the LICENSE file.
506 506
507 // WARNING: Do not edit - generated code. 507 // WARNING: Do not edit - generated code.
508 508
509 509
510 @DocsEditable 510 @DocsEditable()
511 @DomName('WebGLContextEvent') 511 @DomName('WebGLContextEvent')
512 @Unstable 512 @Unstable()
513 class ContextEvent extends Event { 513 class ContextEvent extends Event {
514 // To suppress missing implicit constructor warnings. 514 // To suppress missing implicit constructor warnings.
515 factory ContextEvent._() { throw new UnsupportedError("Not supported"); } 515 factory ContextEvent._() { throw new UnsupportedError("Not supported"); }
516 516
517 @DomName('WebGLContextEvent.statusMessage') 517 @DomName('WebGLContextEvent.statusMessage')
518 @DocsEditable 518 @DocsEditable()
519 String get statusMessage native "WebGLContextEvent_statusMessage_Getter"; 519 String get statusMessage native "WebGLContextEvent_statusMessage_Getter";
520 520
521 } 521 }
522 // 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
523 // 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
524 // BSD-style license that can be found in the LICENSE file. 524 // BSD-style license that can be found in the LICENSE file.
525 525
526 // WARNING: Do not edit - generated code. 526 // WARNING: Do not edit - generated code.
527 527
528 528
529 @DocsEditable 529 @DocsEditable()
530 @DomName('WebGLDebugRendererInfo') 530 @DomName('WebGLDebugRendererInfo')
531 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/ 531 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/
532 @Experimental // experimental 532 @Experimental() // experimental
533 class DebugRendererInfo extends NativeFieldWrapperClass1 { 533 class DebugRendererInfo extends NativeFieldWrapperClass1 {
534 534
535 @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL') 535 @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL')
536 @DocsEditable 536 @DocsEditable()
537 static const int UNMASKED_RENDERER_WEBGL = 0x9246; 537 static const int UNMASKED_RENDERER_WEBGL = 0x9246;
538 538
539 @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL') 539 @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL')
540 @DocsEditable 540 @DocsEditable()
541 static const int UNMASKED_VENDOR_WEBGL = 0x9245; 541 static const int UNMASKED_VENDOR_WEBGL = 0x9245;
542 542
543 } 543 }
544 // 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
545 // 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
546 // BSD-style license that can be found in the LICENSE file. 546 // BSD-style license that can be found in the LICENSE file.
547 547
548 // WARNING: Do not edit - generated code. 548 // WARNING: Do not edit - generated code.
549 549
550 550
551 @DocsEditable 551 @DocsEditable()
552 @DomName('WebGLDebugShaders') 552 @DomName('WebGLDebugShaders')
553 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/ 553 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/
554 @Experimental // experimental 554 @Experimental() // experimental
555 class DebugShaders extends NativeFieldWrapperClass1 { 555 class DebugShaders extends NativeFieldWrapperClass1 {
556 556
557 @DomName('WebGLDebugShaders.getTranslatedShaderSource') 557 @DomName('WebGLDebugShaders.getTranslatedShaderSource')
558 @DocsEditable 558 @DocsEditable()
559 String getTranslatedShaderSource(Shader shader) native "WebGLDebugShaders_getT ranslatedShaderSource_Callback"; 559 String getTranslatedShaderSource(Shader shader) native "WebGLDebugShaders_getT ranslatedShaderSource_Callback";
560 560
561 } 561 }
562 // 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
563 // 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
564 // BSD-style license that can be found in the LICENSE file. 564 // BSD-style license that can be found in the LICENSE file.
565 565
566 // WARNING: Do not edit - generated code. 566 // WARNING: Do not edit - generated code.
567 567
568 568
569 @DocsEditable 569 @DocsEditable()
570 @DomName('WebGLDepthTexture') 570 @DomName('WebGLDepthTexture')
571 // http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/ 571 // http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/
572 @Experimental // experimental 572 @Experimental() // experimental
573 class DepthTexture extends NativeFieldWrapperClass1 { 573 class DepthTexture extends NativeFieldWrapperClass1 {
574 574
575 @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL') 575 @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL')
576 @DocsEditable 576 @DocsEditable()
577 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA; 577 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA;
578 578
579 } 579 }
580 // 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
581 // 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
582 // BSD-style license that can be found in the LICENSE file. 582 // BSD-style license that can be found in the LICENSE file.
583 583
584 // WARNING: Do not edit - generated code. 584 // WARNING: Do not edit - generated code.
585 585
586 586
587 @DocsEditable 587 @DocsEditable()
588 @DomName('EXTDrawBuffers') 588 @DomName('EXTDrawBuffers')
589 // http://www.khronos.org/registry/webgl/specs/latest/ 589 // http://www.khronos.org/registry/webgl/specs/latest/
590 @Experimental // stable 590 @Experimental() // stable
591 class ExtDrawBuffers extends NativeFieldWrapperClass1 { 591 class ExtDrawBuffers extends NativeFieldWrapperClass1 {
592 592
593 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT0_EXT') 593 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT0_EXT')
594 @DocsEditable 594 @DocsEditable()
595 static const int COLOR_ATTACHMENT0_EXT = 0x8CE0; 595 static const int COLOR_ATTACHMENT0_EXT = 0x8CE0;
596 596
597 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT10_EXT') 597 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT10_EXT')
598 @DocsEditable 598 @DocsEditable()
599 static const int COLOR_ATTACHMENT10_EXT = 0x8CEA; 599 static const int COLOR_ATTACHMENT10_EXT = 0x8CEA;
600 600
601 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT11_EXT') 601 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT11_EXT')
602 @DocsEditable 602 @DocsEditable()
603 static const int COLOR_ATTACHMENT11_EXT = 0x8CEB; 603 static const int COLOR_ATTACHMENT11_EXT = 0x8CEB;
604 604
605 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT12_EXT') 605 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT12_EXT')
606 @DocsEditable 606 @DocsEditable()
607 static const int COLOR_ATTACHMENT12_EXT = 0x8CEC; 607 static const int COLOR_ATTACHMENT12_EXT = 0x8CEC;
608 608
609 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT13_EXT') 609 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT13_EXT')
610 @DocsEditable 610 @DocsEditable()
611 static const int COLOR_ATTACHMENT13_EXT = 0x8CED; 611 static const int COLOR_ATTACHMENT13_EXT = 0x8CED;
612 612
613 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT14_EXT') 613 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT14_EXT')
614 @DocsEditable 614 @DocsEditable()
615 static const int COLOR_ATTACHMENT14_EXT = 0x8CEE; 615 static const int COLOR_ATTACHMENT14_EXT = 0x8CEE;
616 616
617 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT15_EXT') 617 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT15_EXT')
618 @DocsEditable 618 @DocsEditable()
619 static const int COLOR_ATTACHMENT15_EXT = 0x8CEF; 619 static const int COLOR_ATTACHMENT15_EXT = 0x8CEF;
620 620
621 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT1_EXT') 621 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT1_EXT')
622 @DocsEditable 622 @DocsEditable()
623 static const int COLOR_ATTACHMENT1_EXT = 0x8CE1; 623 static const int COLOR_ATTACHMENT1_EXT = 0x8CE1;
624 624
625 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT2_EXT') 625 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT2_EXT')
626 @DocsEditable 626 @DocsEditable()
627 static const int COLOR_ATTACHMENT2_EXT = 0x8CE2; 627 static const int COLOR_ATTACHMENT2_EXT = 0x8CE2;
628 628
629 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT3_EXT') 629 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT3_EXT')
630 @DocsEditable 630 @DocsEditable()
631 static const int COLOR_ATTACHMENT3_EXT = 0x8CE3; 631 static const int COLOR_ATTACHMENT3_EXT = 0x8CE3;
632 632
633 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT4_EXT') 633 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT4_EXT')
634 @DocsEditable 634 @DocsEditable()
635 static const int COLOR_ATTACHMENT4_EXT = 0x8CE4; 635 static const int COLOR_ATTACHMENT4_EXT = 0x8CE4;
636 636
637 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT5_EXT') 637 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT5_EXT')
638 @DocsEditable 638 @DocsEditable()
639 static const int COLOR_ATTACHMENT5_EXT = 0x8CE5; 639 static const int COLOR_ATTACHMENT5_EXT = 0x8CE5;
640 640
641 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT6_EXT') 641 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT6_EXT')
642 @DocsEditable 642 @DocsEditable()
643 static const int COLOR_ATTACHMENT6_EXT = 0x8CE6; 643 static const int COLOR_ATTACHMENT6_EXT = 0x8CE6;
644 644
645 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT7_EXT') 645 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT7_EXT')
646 @DocsEditable 646 @DocsEditable()
647 static const int COLOR_ATTACHMENT7_EXT = 0x8CE7; 647 static const int COLOR_ATTACHMENT7_EXT = 0x8CE7;
648 648
649 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT8_EXT') 649 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT8_EXT')
650 @DocsEditable 650 @DocsEditable()
651 static const int COLOR_ATTACHMENT8_EXT = 0x8CE8; 651 static const int COLOR_ATTACHMENT8_EXT = 0x8CE8;
652 652
653 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT9_EXT') 653 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT9_EXT')
654 @DocsEditable 654 @DocsEditable()
655 static const int COLOR_ATTACHMENT9_EXT = 0x8CE9; 655 static const int COLOR_ATTACHMENT9_EXT = 0x8CE9;
656 656
657 @DomName('EXTDrawBuffers.DRAW_BUFFER0_EXT') 657 @DomName('EXTDrawBuffers.DRAW_BUFFER0_EXT')
658 @DocsEditable 658 @DocsEditable()
659 static const int DRAW_BUFFER0_EXT = 0x8825; 659 static const int DRAW_BUFFER0_EXT = 0x8825;
660 660
661 @DomName('EXTDrawBuffers.DRAW_BUFFER10_EXT') 661 @DomName('EXTDrawBuffers.DRAW_BUFFER10_EXT')
662 @DocsEditable 662 @DocsEditable()
663 static const int DRAW_BUFFER10_EXT = 0x882F; 663 static const int DRAW_BUFFER10_EXT = 0x882F;
664 664
665 @DomName('EXTDrawBuffers.DRAW_BUFFER11_EXT') 665 @DomName('EXTDrawBuffers.DRAW_BUFFER11_EXT')
666 @DocsEditable 666 @DocsEditable()
667 static const int DRAW_BUFFER11_EXT = 0x8830; 667 static const int DRAW_BUFFER11_EXT = 0x8830;
668 668
669 @DomName('EXTDrawBuffers.DRAW_BUFFER12_EXT') 669 @DomName('EXTDrawBuffers.DRAW_BUFFER12_EXT')
670 @DocsEditable 670 @DocsEditable()
671 static const int DRAW_BUFFER12_EXT = 0x8831; 671 static const int DRAW_BUFFER12_EXT = 0x8831;
672 672
673 @DomName('EXTDrawBuffers.DRAW_BUFFER13_EXT') 673 @DomName('EXTDrawBuffers.DRAW_BUFFER13_EXT')
674 @DocsEditable 674 @DocsEditable()
675 static const int DRAW_BUFFER13_EXT = 0x8832; 675 static const int DRAW_BUFFER13_EXT = 0x8832;
676 676
677 @DomName('EXTDrawBuffers.DRAW_BUFFER14_EXT') 677 @DomName('EXTDrawBuffers.DRAW_BUFFER14_EXT')
678 @DocsEditable 678 @DocsEditable()
679 static const int DRAW_BUFFER14_EXT = 0x8833; 679 static const int DRAW_BUFFER14_EXT = 0x8833;
680 680
681 @DomName('EXTDrawBuffers.DRAW_BUFFER15_EXT') 681 @DomName('EXTDrawBuffers.DRAW_BUFFER15_EXT')
682 @DocsEditable 682 @DocsEditable()
683 static const int DRAW_BUFFER15_EXT = 0x8834; 683 static const int DRAW_BUFFER15_EXT = 0x8834;
684 684
685 @DomName('EXTDrawBuffers.DRAW_BUFFER1_EXT') 685 @DomName('EXTDrawBuffers.DRAW_BUFFER1_EXT')
686 @DocsEditable 686 @DocsEditable()
687 static const int DRAW_BUFFER1_EXT = 0x8826; 687 static const int DRAW_BUFFER1_EXT = 0x8826;
688 688
689 @DomName('EXTDrawBuffers.DRAW_BUFFER2_EXT') 689 @DomName('EXTDrawBuffers.DRAW_BUFFER2_EXT')
690 @DocsEditable 690 @DocsEditable()
691 static const int DRAW_BUFFER2_EXT = 0x8827; 691 static const int DRAW_BUFFER2_EXT = 0x8827;
692 692
693 @DomName('EXTDrawBuffers.DRAW_BUFFER3_EXT') 693 @DomName('EXTDrawBuffers.DRAW_BUFFER3_EXT')
694 @DocsEditable 694 @DocsEditable()
695 static const int DRAW_BUFFER3_EXT = 0x8828; 695 static const int DRAW_BUFFER3_EXT = 0x8828;
696 696
697 @DomName('EXTDrawBuffers.DRAW_BUFFER4_EXT') 697 @DomName('EXTDrawBuffers.DRAW_BUFFER4_EXT')
698 @DocsEditable 698 @DocsEditable()
699 static const int DRAW_BUFFER4_EXT = 0x8829; 699 static const int DRAW_BUFFER4_EXT = 0x8829;
700 700
701 @DomName('EXTDrawBuffers.DRAW_BUFFER5_EXT') 701 @DomName('EXTDrawBuffers.DRAW_BUFFER5_EXT')
702 @DocsEditable 702 @DocsEditable()
703 static const int DRAW_BUFFER5_EXT = 0x882A; 703 static const int DRAW_BUFFER5_EXT = 0x882A;
704 704
705 @DomName('EXTDrawBuffers.DRAW_BUFFER6_EXT') 705 @DomName('EXTDrawBuffers.DRAW_BUFFER6_EXT')
706 @DocsEditable 706 @DocsEditable()
707 static const int DRAW_BUFFER6_EXT = 0x882B; 707 static const int DRAW_BUFFER6_EXT = 0x882B;
708 708
709 @DomName('EXTDrawBuffers.DRAW_BUFFER7_EXT') 709 @DomName('EXTDrawBuffers.DRAW_BUFFER7_EXT')
710 @DocsEditable 710 @DocsEditable()
711 static const int DRAW_BUFFER7_EXT = 0x882C; 711 static const int DRAW_BUFFER7_EXT = 0x882C;
712 712
713 @DomName('EXTDrawBuffers.DRAW_BUFFER8_EXT') 713 @DomName('EXTDrawBuffers.DRAW_BUFFER8_EXT')
714 @DocsEditable 714 @DocsEditable()
715 static const int DRAW_BUFFER8_EXT = 0x882D; 715 static const int DRAW_BUFFER8_EXT = 0x882D;
716 716
717 @DomName('EXTDrawBuffers.DRAW_BUFFER9_EXT') 717 @DomName('EXTDrawBuffers.DRAW_BUFFER9_EXT')
718 @DocsEditable 718 @DocsEditable()
719 static const int DRAW_BUFFER9_EXT = 0x882E; 719 static const int DRAW_BUFFER9_EXT = 0x882E;
720 720
721 @DomName('EXTDrawBuffers.MAX_COLOR_ATTACHMENTS_EXT') 721 @DomName('EXTDrawBuffers.MAX_COLOR_ATTACHMENTS_EXT')
722 @DocsEditable 722 @DocsEditable()
723 static const int MAX_COLOR_ATTACHMENTS_EXT = 0x8CDF; 723 static const int MAX_COLOR_ATTACHMENTS_EXT = 0x8CDF;
724 724
725 @DomName('EXTDrawBuffers.MAX_DRAW_BUFFERS_EXT') 725 @DomName('EXTDrawBuffers.MAX_DRAW_BUFFERS_EXT')
726 @DocsEditable 726 @DocsEditable()
727 static const int MAX_DRAW_BUFFERS_EXT = 0x8824; 727 static const int MAX_DRAW_BUFFERS_EXT = 0x8824;
728 728
729 @DomName('EXTDrawBuffers.drawBuffersEXT') 729 @DomName('EXTDrawBuffers.drawBuffersEXT')
730 @DocsEditable 730 @DocsEditable()
731 void drawBuffersExt(List<int> buffers) native "EXTDrawBuffers_drawBuffersEXT_C allback"; 731 void drawBuffersExt(List<int> buffers) native "EXTDrawBuffers_drawBuffersEXT_C allback";
732 732
733 } 733 }
734 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 734 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
735 // for details. All rights reserved. Use of this source code is governed by a 735 // for details. All rights reserved. Use of this source code is governed by a
736 // BSD-style license that can be found in the LICENSE file. 736 // BSD-style license that can be found in the LICENSE file.
737 737
738 // WARNING: Do not edit - generated code. 738 // WARNING: Do not edit - generated code.
739 739
740 740
741 @DocsEditable 741 @DocsEditable()
742 @DomName('EXTFragDepth') 742 @DomName('EXTFragDepth')
743 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/ 743 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/
744 @Experimental 744 @Experimental()
745 class ExtFragDepth extends NativeFieldWrapperClass1 { 745 class ExtFragDepth extends NativeFieldWrapperClass1 {
746 746
747 } 747 }
748 // 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
749 // 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
750 // BSD-style license that can be found in the LICENSE file. 750 // BSD-style license that can be found in the LICENSE file.
751 751
752 // WARNING: Do not edit - generated code. 752 // WARNING: Do not edit - generated code.
753 753
754 754
755 @DocsEditable 755 @DocsEditable()
756 @DomName('EXTTextureFilterAnisotropic') 756 @DomName('EXTTextureFilterAnisotropic')
757 // 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/
758 @Experimental 758 @Experimental()
759 class ExtTextureFilterAnisotropic extends NativeFieldWrapperClass1 { 759 class ExtTextureFilterAnisotropic extends NativeFieldWrapperClass1 {
760 760
761 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT') 761 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT')
762 @DocsEditable 762 @DocsEditable()
763 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; 763 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;
764 764
765 @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT') 765 @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT')
766 @DocsEditable 766 @DocsEditable()
767 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; 767 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE;
768 768
769 } 769 }
770 // 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
771 // 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
772 // BSD-style license that can be found in the LICENSE file. 772 // BSD-style license that can be found in the LICENSE file.
773 773
774 // WARNING: Do not edit - generated code. 774 // WARNING: Do not edit - generated code.
775 775
776 776
777 @DocsEditable 777 @DocsEditable()
778 @DomName('WebGLFramebuffer') 778 @DomName('WebGLFramebuffer')
779 @Unstable 779 @Unstable()
780 class Framebuffer extends NativeFieldWrapperClass1 { 780 class Framebuffer extends NativeFieldWrapperClass1 {
781 781
782 } 782 }
783 // 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
784 // 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
785 // BSD-style license that can be found in the LICENSE file. 785 // BSD-style license that can be found in the LICENSE file.
786 786
787 // WARNING: Do not edit - generated code. 787 // WARNING: Do not edit - generated code.
788 788
789 789
790 @DocsEditable 790 @DocsEditable()
791 @DomName('WebGLLoseContext') 791 @DomName('WebGLLoseContext')
792 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/ 792 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/
793 @Experimental 793 @Experimental()
794 class LoseContext extends NativeFieldWrapperClass1 { 794 class LoseContext extends NativeFieldWrapperClass1 {
795 795
796 @DomName('WebGLLoseContext.loseContext') 796 @DomName('WebGLLoseContext.loseContext')
797 @DocsEditable 797 @DocsEditable()
798 void loseContext() native "WebGLLoseContext_loseContext_Callback"; 798 void loseContext() native "WebGLLoseContext_loseContext_Callback";
799 799
800 @DomName('WebGLLoseContext.restoreContext') 800 @DomName('WebGLLoseContext.restoreContext')
801 @DocsEditable 801 @DocsEditable()
802 void restoreContext() native "WebGLLoseContext_restoreContext_Callback"; 802 void restoreContext() native "WebGLLoseContext_restoreContext_Callback";
803 803
804 } 804 }
805 // 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
806 // 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
807 // BSD-style license that can be found in the LICENSE file. 807 // BSD-style license that can be found in the LICENSE file.
808 808
809 // WARNING: Do not edit - generated code. 809 // WARNING: Do not edit - generated code.
810 810
811 811
812 @DocsEditable 812 @DocsEditable()
813 @DomName('OESElementIndexUint') 813 @DomName('OESElementIndexUint')
814 // http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/ 814 // http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/
815 @Experimental // experimental 815 @Experimental() // experimental
816 class OesElementIndexUint extends NativeFieldWrapperClass1 { 816 class OesElementIndexUint extends NativeFieldWrapperClass1 {
817 817
818 } 818 }
819 // 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
820 // 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
821 // BSD-style license that can be found in the LICENSE file. 821 // BSD-style license that can be found in the LICENSE file.
822 822
823 // WARNING: Do not edit - generated code. 823 // WARNING: Do not edit - generated code.
824 824
825 825
826 @DocsEditable 826 @DocsEditable()
827 @DomName('OESStandardDerivatives') 827 @DomName('OESStandardDerivatives')
828 // http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/ 828 // http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/
829 @Experimental // experimental 829 @Experimental() // experimental
830 class OesStandardDerivatives extends NativeFieldWrapperClass1 { 830 class OesStandardDerivatives extends NativeFieldWrapperClass1 {
831 831
832 @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES') 832 @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES')
833 @DocsEditable 833 @DocsEditable()
834 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; 834 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B;
835 835
836 } 836 }
837 // 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
838 // 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
839 // BSD-style license that can be found in the LICENSE file. 839 // BSD-style license that can be found in the LICENSE file.
840 840
841 // WARNING: Do not edit - generated code. 841 // WARNING: Do not edit - generated code.
842 842
843 843
844 @DocsEditable 844 @DocsEditable()
845 @DomName('OESTextureFloat') 845 @DomName('OESTextureFloat')
846 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float/ 846 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float/
847 @Experimental // experimental 847 @Experimental() // experimental
848 class OesTextureFloat extends NativeFieldWrapperClass1 { 848 class OesTextureFloat extends NativeFieldWrapperClass1 {
849 849
850 } 850 }
851 // 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
852 // 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
853 // BSD-style license that can be found in the LICENSE file. 853 // BSD-style license that can be found in the LICENSE file.
854 854
855 // WARNING: Do not edit - generated code. 855 // WARNING: Do not edit - generated code.
856 856
857 857
858 @DocsEditable 858 @DocsEditable()
859 @DomName('OESTextureFloatLinear') 859 @DomName('OESTextureFloatLinear')
860 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/ 860 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/
861 @Experimental 861 @Experimental()
862 class OesTextureFloatLinear extends NativeFieldWrapperClass1 { 862 class OesTextureFloatLinear extends NativeFieldWrapperClass1 {
863 863
864 } 864 }
865 // 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
866 // 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
867 // BSD-style license that can be found in the LICENSE file. 867 // BSD-style license that can be found in the LICENSE file.
868 868
869 // WARNING: Do not edit - generated code. 869 // WARNING: Do not edit - generated code.
870 870
871 871
872 @DocsEditable 872 @DocsEditable()
873 @DomName('OESTextureHalfFloat') 873 @DomName('OESTextureHalfFloat')
874 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/ 874 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/
875 @Experimental // experimental 875 @Experimental() // experimental
876 class OesTextureHalfFloat extends NativeFieldWrapperClass1 { 876 class OesTextureHalfFloat extends NativeFieldWrapperClass1 {
877 877
878 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES') 878 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES')
879 @DocsEditable 879 @DocsEditable()
880 static const int HALF_FLOAT_OES = 0x8D61; 880 static const int HALF_FLOAT_OES = 0x8D61;
881 881
882 } 882 }
883 // 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
884 // 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
885 // BSD-style license that can be found in the LICENSE file. 885 // BSD-style license that can be found in the LICENSE file.
886 886
887 // WARNING: Do not edit - generated code. 887 // WARNING: Do not edit - generated code.
888 888
889 889
890 @DocsEditable 890 @DocsEditable()
891 @DomName('OESTextureHalfFloatLinear') 891 @DomName('OESTextureHalfFloatLinear')
892 // 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/
893 @Experimental 893 @Experimental()
894 class OesTextureHalfFloatLinear extends NativeFieldWrapperClass1 { 894 class OesTextureHalfFloatLinear extends NativeFieldWrapperClass1 {
895 895
896 } 896 }
897 // 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
898 // 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
899 // BSD-style license that can be found in the LICENSE file. 899 // BSD-style license that can be found in the LICENSE file.
900 900
901 // WARNING: Do not edit - generated code. 901 // WARNING: Do not edit - generated code.
902 902
903 903
904 @DocsEditable 904 @DocsEditable()
905 @DomName('OESVertexArrayObject') 905 @DomName('OESVertexArrayObject')
906 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ 906 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
907 @Experimental // experimental 907 @Experimental() // experimental
908 class OesVertexArrayObject extends NativeFieldWrapperClass1 { 908 class OesVertexArrayObject extends NativeFieldWrapperClass1 {
909 909
910 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') 910 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES')
911 @DocsEditable 911 @DocsEditable()
912 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; 912 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5;
913 913
914 @DomName('OESVertexArrayObject.bindVertexArrayOES') 914 @DomName('OESVertexArrayObject.bindVertexArrayOES')
915 @DocsEditable 915 @DocsEditable()
916 void bindVertexArray(VertexArrayObject arrayObject) native "OESVertexArrayObje ct_bindVertexArrayOES_Callback"; 916 void bindVertexArray(VertexArrayObject arrayObject) native "OESVertexArrayObje ct_bindVertexArrayOES_Callback";
917 917
918 @DomName('OESVertexArrayObject.createVertexArrayOES') 918 @DomName('OESVertexArrayObject.createVertexArrayOES')
919 @DocsEditable 919 @DocsEditable()
920 VertexArrayObject createVertexArray() native "OESVertexArrayObject_createVerte xArrayOES_Callback"; 920 VertexArrayObject createVertexArray() native "OESVertexArrayObject_createVerte xArrayOES_Callback";
921 921
922 @DomName('OESVertexArrayObject.deleteVertexArrayOES') 922 @DomName('OESVertexArrayObject.deleteVertexArrayOES')
923 @DocsEditable 923 @DocsEditable()
924 void deleteVertexArray(VertexArrayObject arrayObject) native "OESVertexArrayOb ject_deleteVertexArrayOES_Callback"; 924 void deleteVertexArray(VertexArrayObject arrayObject) native "OESVertexArrayOb ject_deleteVertexArrayOES_Callback";
925 925
926 @DomName('OESVertexArrayObject.isVertexArrayOES') 926 @DomName('OESVertexArrayObject.isVertexArrayOES')
927 @DocsEditable 927 @DocsEditable()
928 bool isVertexArray(VertexArrayObject arrayObject) native "OESVertexArrayObject _isVertexArrayOES_Callback"; 928 bool isVertexArray(VertexArrayObject arrayObject) native "OESVertexArrayObject _isVertexArrayOES_Callback";
929 929
930 } 930 }
931 // 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
932 // 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
933 // BSD-style license that can be found in the LICENSE file. 933 // BSD-style license that can be found in the LICENSE file.
934 934
935 // WARNING: Do not edit - generated code. 935 // WARNING: Do not edit - generated code.
936 936
937 937
938 @DocsEditable 938 @DocsEditable()
939 @DomName('WebGLProgram') 939 @DomName('WebGLProgram')
940 @Unstable 940 @Unstable()
941 class Program extends NativeFieldWrapperClass1 { 941 class Program extends NativeFieldWrapperClass1 {
942 942
943 } 943 }
944 // 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
945 // 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
946 // BSD-style license that can be found in the LICENSE file. 946 // BSD-style license that can be found in the LICENSE file.
947 947
948 // WARNING: Do not edit - generated code. 948 // WARNING: Do not edit - generated code.
949 949
950 950
951 @DocsEditable 951 @DocsEditable()
952 @DomName('WebGLRenderbuffer') 952 @DomName('WebGLRenderbuffer')
953 @Unstable 953 @Unstable()
954 class Renderbuffer extends NativeFieldWrapperClass1 { 954 class Renderbuffer extends NativeFieldWrapperClass1 {
955 955
956 } 956 }
957 // 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
958 // 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
959 // BSD-style license that can be found in the LICENSE file. 959 // BSD-style license that can be found in the LICENSE file.
960 960
961 // WARNING: Do not edit - generated code. 961 // WARNING: Do not edit - generated code.
962 962
963 963
964 @DocsEditable 964 @DocsEditable()
965 @DomName('WebGLRenderingContext') 965 @DomName('WebGLRenderingContext')
966 @SupportedBrowser(SupportedBrowser.CHROME) 966 @SupportedBrowser(SupportedBrowser.CHROME)
967 @SupportedBrowser(SupportedBrowser.FIREFOX) 967 @SupportedBrowser(SupportedBrowser.FIREFOX)
968 @Experimental 968 @Experimental()
969 @Unstable 969 @Unstable()
970 class RenderingContext extends CanvasRenderingContext { 970 class RenderingContext extends CanvasRenderingContext {
971 // To suppress missing implicit constructor warnings. 971 // To suppress missing implicit constructor warnings.
972 factory RenderingContext._() { throw new UnsupportedError("Not supported"); } 972 factory RenderingContext._() { throw new UnsupportedError("Not supported"); }
973 973
974 /// Checks if this type is supported on the current platform. 974 /// Checks if this type is supported on the current platform.
975 static bool get supported => true; 975 static bool get supported => true;
976 976
977 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES') 977 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES')
978 @DocsEditable 978 @DocsEditable()
979 static const int ACTIVE_ATTRIBUTES = 0x8B89; 979 static const int ACTIVE_ATTRIBUTES = 0x8B89;
980 980
981 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE') 981 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE')
982 @DocsEditable 982 @DocsEditable()
983 static const int ACTIVE_TEXTURE = 0x84E0; 983 static const int ACTIVE_TEXTURE = 0x84E0;
984 984
985 @DomName('WebGLRenderingContext.ACTIVE_UNIFORMS') 985 @DomName('WebGLRenderingContext.ACTIVE_UNIFORMS')
986 @DocsEditable 986 @DocsEditable()
987 static const int ACTIVE_UNIFORMS = 0x8B86; 987 static const int ACTIVE_UNIFORMS = 0x8B86;
988 988
989 @DomName('WebGLRenderingContext.ALIASED_LINE_WIDTH_RANGE') 989 @DomName('WebGLRenderingContext.ALIASED_LINE_WIDTH_RANGE')
990 @DocsEditable 990 @DocsEditable()
991 static const int ALIASED_LINE_WIDTH_RANGE = 0x846E; 991 static const int ALIASED_LINE_WIDTH_RANGE = 0x846E;
992 992
993 @DomName('WebGLRenderingContext.ALIASED_POINT_SIZE_RANGE') 993 @DomName('WebGLRenderingContext.ALIASED_POINT_SIZE_RANGE')
994 @DocsEditable 994 @DocsEditable()
995 static const int ALIASED_POINT_SIZE_RANGE = 0x846D; 995 static const int ALIASED_POINT_SIZE_RANGE = 0x846D;
996 996
997 @DomName('WebGLRenderingContext.ALPHA') 997 @DomName('WebGLRenderingContext.ALPHA')
998 @DocsEditable 998 @DocsEditable()
999 static const int ALPHA = 0x1906; 999 static const int ALPHA = 0x1906;
1000 1000
1001 @DomName('WebGLRenderingContext.ALPHA_BITS') 1001 @DomName('WebGLRenderingContext.ALPHA_BITS')
1002 @DocsEditable 1002 @DocsEditable()
1003 static const int ALPHA_BITS = 0x0D55; 1003 static const int ALPHA_BITS = 0x0D55;
1004 1004
1005 @DomName('WebGLRenderingContext.ALWAYS') 1005 @DomName('WebGLRenderingContext.ALWAYS')
1006 @DocsEditable 1006 @DocsEditable()
1007 static const int ALWAYS = 0x0207; 1007 static const int ALWAYS = 0x0207;
1008 1008
1009 @DomName('WebGLRenderingContext.ARRAY_BUFFER') 1009 @DomName('WebGLRenderingContext.ARRAY_BUFFER')
1010 @DocsEditable 1010 @DocsEditable()
1011 static const int ARRAY_BUFFER = 0x8892; 1011 static const int ARRAY_BUFFER = 0x8892;
1012 1012
1013 @DomName('WebGLRenderingContext.ARRAY_BUFFER_BINDING') 1013 @DomName('WebGLRenderingContext.ARRAY_BUFFER_BINDING')
1014 @DocsEditable 1014 @DocsEditable()
1015 static const int ARRAY_BUFFER_BINDING = 0x8894; 1015 static const int ARRAY_BUFFER_BINDING = 0x8894;
1016 1016
1017 @DomName('WebGLRenderingContext.ATTACHED_SHADERS') 1017 @DomName('WebGLRenderingContext.ATTACHED_SHADERS')
1018 @DocsEditable 1018 @DocsEditable()
1019 static const int ATTACHED_SHADERS = 0x8B85; 1019 static const int ATTACHED_SHADERS = 0x8B85;
1020 1020
1021 @DomName('WebGLRenderingContext.BACK') 1021 @DomName('WebGLRenderingContext.BACK')
1022 @DocsEditable 1022 @DocsEditable()
1023 static const int BACK = 0x0405; 1023 static const int BACK = 0x0405;
1024 1024
1025 @DomName('WebGLRenderingContext.BLEND') 1025 @DomName('WebGLRenderingContext.BLEND')
1026 @DocsEditable 1026 @DocsEditable()
1027 static const int BLEND = 0x0BE2; 1027 static const int BLEND = 0x0BE2;
1028 1028
1029 @DomName('WebGLRenderingContext.BLEND_COLOR') 1029 @DomName('WebGLRenderingContext.BLEND_COLOR')
1030 @DocsEditable 1030 @DocsEditable()
1031 static const int BLEND_COLOR = 0x8005; 1031 static const int BLEND_COLOR = 0x8005;
1032 1032
1033 @DomName('WebGLRenderingContext.BLEND_DST_ALPHA') 1033 @DomName('WebGLRenderingContext.BLEND_DST_ALPHA')
1034 @DocsEditable 1034 @DocsEditable()
1035 static const int BLEND_DST_ALPHA = 0x80CA; 1035 static const int BLEND_DST_ALPHA = 0x80CA;
1036 1036
1037 @DomName('WebGLRenderingContext.BLEND_DST_RGB') 1037 @DomName('WebGLRenderingContext.BLEND_DST_RGB')
1038 @DocsEditable 1038 @DocsEditable()
1039 static const int BLEND_DST_RGB = 0x80C8; 1039 static const int BLEND_DST_RGB = 0x80C8;
1040 1040
1041 @DomName('WebGLRenderingContext.BLEND_EQUATION') 1041 @DomName('WebGLRenderingContext.BLEND_EQUATION')
1042 @DocsEditable 1042 @DocsEditable()
1043 static const int BLEND_EQUATION = 0x8009; 1043 static const int BLEND_EQUATION = 0x8009;
1044 1044
1045 @DomName('WebGLRenderingContext.BLEND_EQUATION_ALPHA') 1045 @DomName('WebGLRenderingContext.BLEND_EQUATION_ALPHA')
1046 @DocsEditable 1046 @DocsEditable()
1047 static const int BLEND_EQUATION_ALPHA = 0x883D; 1047 static const int BLEND_EQUATION_ALPHA = 0x883D;
1048 1048
1049 @DomName('WebGLRenderingContext.BLEND_EQUATION_RGB') 1049 @DomName('WebGLRenderingContext.BLEND_EQUATION_RGB')
1050 @DocsEditable 1050 @DocsEditable()
1051 static const int BLEND_EQUATION_RGB = 0x8009; 1051 static const int BLEND_EQUATION_RGB = 0x8009;
1052 1052
1053 @DomName('WebGLRenderingContext.BLEND_SRC_ALPHA') 1053 @DomName('WebGLRenderingContext.BLEND_SRC_ALPHA')
1054 @DocsEditable 1054 @DocsEditable()
1055 static const int BLEND_SRC_ALPHA = 0x80CB; 1055 static const int BLEND_SRC_ALPHA = 0x80CB;
1056 1056
1057 @DomName('WebGLRenderingContext.BLEND_SRC_RGB') 1057 @DomName('WebGLRenderingContext.BLEND_SRC_RGB')
1058 @DocsEditable 1058 @DocsEditable()
1059 static const int BLEND_SRC_RGB = 0x80C9; 1059 static const int BLEND_SRC_RGB = 0x80C9;
1060 1060
1061 @DomName('WebGLRenderingContext.BLUE_BITS') 1061 @DomName('WebGLRenderingContext.BLUE_BITS')
1062 @DocsEditable 1062 @DocsEditable()
1063 static const int BLUE_BITS = 0x0D54; 1063 static const int BLUE_BITS = 0x0D54;
1064 1064
1065 @DomName('WebGLRenderingContext.BOOL') 1065 @DomName('WebGLRenderingContext.BOOL')
1066 @DocsEditable 1066 @DocsEditable()
1067 static const int BOOL = 0x8B56; 1067 static const int BOOL = 0x8B56;
1068 1068
1069 @DomName('WebGLRenderingContext.BOOL_VEC2') 1069 @DomName('WebGLRenderingContext.BOOL_VEC2')
1070 @DocsEditable 1070 @DocsEditable()
1071 static const int BOOL_VEC2 = 0x8B57; 1071 static const int BOOL_VEC2 = 0x8B57;
1072 1072
1073 @DomName('WebGLRenderingContext.BOOL_VEC3') 1073 @DomName('WebGLRenderingContext.BOOL_VEC3')
1074 @DocsEditable 1074 @DocsEditable()
1075 static const int BOOL_VEC3 = 0x8B58; 1075 static const int BOOL_VEC3 = 0x8B58;
1076 1076
1077 @DomName('WebGLRenderingContext.BOOL_VEC4') 1077 @DomName('WebGLRenderingContext.BOOL_VEC4')
1078 @DocsEditable 1078 @DocsEditable()
1079 static const int BOOL_VEC4 = 0x8B59; 1079 static const int BOOL_VEC4 = 0x8B59;
1080 1080
1081 @DomName('WebGLRenderingContext.BROWSER_DEFAULT_WEBGL') 1081 @DomName('WebGLRenderingContext.BROWSER_DEFAULT_WEBGL')
1082 @DocsEditable 1082 @DocsEditable()
1083 static const int BROWSER_DEFAULT_WEBGL = 0x9244; 1083 static const int BROWSER_DEFAULT_WEBGL = 0x9244;
1084 1084
1085 @DomName('WebGLRenderingContext.BUFFER_SIZE') 1085 @DomName('WebGLRenderingContext.BUFFER_SIZE')
1086 @DocsEditable 1086 @DocsEditable()
1087 static const int BUFFER_SIZE = 0x8764; 1087 static const int BUFFER_SIZE = 0x8764;
1088 1088
1089 @DomName('WebGLRenderingContext.BUFFER_USAGE') 1089 @DomName('WebGLRenderingContext.BUFFER_USAGE')
1090 @DocsEditable 1090 @DocsEditable()
1091 static const int BUFFER_USAGE = 0x8765; 1091 static const int BUFFER_USAGE = 0x8765;
1092 1092
1093 @DomName('WebGLRenderingContext.BYTE') 1093 @DomName('WebGLRenderingContext.BYTE')
1094 @DocsEditable 1094 @DocsEditable()
1095 static const int BYTE = 0x1400; 1095 static const int BYTE = 0x1400;
1096 1096
1097 @DomName('WebGLRenderingContext.CCW') 1097 @DomName('WebGLRenderingContext.CCW')
1098 @DocsEditable 1098 @DocsEditable()
1099 static const int CCW = 0x0901; 1099 static const int CCW = 0x0901;
1100 1100
1101 @DomName('WebGLRenderingContext.CLAMP_TO_EDGE') 1101 @DomName('WebGLRenderingContext.CLAMP_TO_EDGE')
1102 @DocsEditable 1102 @DocsEditable()
1103 static const int CLAMP_TO_EDGE = 0x812F; 1103 static const int CLAMP_TO_EDGE = 0x812F;
1104 1104
1105 @DomName('WebGLRenderingContext.COLOR_ATTACHMENT0') 1105 @DomName('WebGLRenderingContext.COLOR_ATTACHMENT0')
1106 @DocsEditable 1106 @DocsEditable()
1107 static const int COLOR_ATTACHMENT0 = 0x8CE0; 1107 static const int COLOR_ATTACHMENT0 = 0x8CE0;
1108 1108
1109 @DomName('WebGLRenderingContext.COLOR_BUFFER_BIT') 1109 @DomName('WebGLRenderingContext.COLOR_BUFFER_BIT')
1110 @DocsEditable 1110 @DocsEditable()
1111 static const int COLOR_BUFFER_BIT = 0x00004000; 1111 static const int COLOR_BUFFER_BIT = 0x00004000;
1112 1112
1113 @DomName('WebGLRenderingContext.COLOR_CLEAR_VALUE') 1113 @DomName('WebGLRenderingContext.COLOR_CLEAR_VALUE')
1114 @DocsEditable 1114 @DocsEditable()
1115 static const int COLOR_CLEAR_VALUE = 0x0C22; 1115 static const int COLOR_CLEAR_VALUE = 0x0C22;
1116 1116
1117 @DomName('WebGLRenderingContext.COLOR_WRITEMASK') 1117 @DomName('WebGLRenderingContext.COLOR_WRITEMASK')
1118 @DocsEditable 1118 @DocsEditable()
1119 static const int COLOR_WRITEMASK = 0x0C23; 1119 static const int COLOR_WRITEMASK = 0x0C23;
1120 1120
1121 @DomName('WebGLRenderingContext.COMPILE_STATUS') 1121 @DomName('WebGLRenderingContext.COMPILE_STATUS')
1122 @DocsEditable 1122 @DocsEditable()
1123 static const int COMPILE_STATUS = 0x8B81; 1123 static const int COMPILE_STATUS = 0x8B81;
1124 1124
1125 @DomName('WebGLRenderingContext.COMPRESSED_TEXTURE_FORMATS') 1125 @DomName('WebGLRenderingContext.COMPRESSED_TEXTURE_FORMATS')
1126 @DocsEditable 1126 @DocsEditable()
1127 static const int COMPRESSED_TEXTURE_FORMATS = 0x86A3; 1127 static const int COMPRESSED_TEXTURE_FORMATS = 0x86A3;
1128 1128
1129 @DomName('WebGLRenderingContext.CONSTANT_ALPHA') 1129 @DomName('WebGLRenderingContext.CONSTANT_ALPHA')
1130 @DocsEditable 1130 @DocsEditable()
1131 static const int CONSTANT_ALPHA = 0x8003; 1131 static const int CONSTANT_ALPHA = 0x8003;
1132 1132
1133 @DomName('WebGLRenderingContext.CONSTANT_COLOR') 1133 @DomName('WebGLRenderingContext.CONSTANT_COLOR')
1134 @DocsEditable 1134 @DocsEditable()
1135 static const int CONSTANT_COLOR = 0x8001; 1135 static const int CONSTANT_COLOR = 0x8001;
1136 1136
1137 @DomName('WebGLRenderingContext.CONTEXT_LOST_WEBGL') 1137 @DomName('WebGLRenderingContext.CONTEXT_LOST_WEBGL')
1138 @DocsEditable 1138 @DocsEditable()
1139 static const int CONTEXT_LOST_WEBGL = 0x9242; 1139 static const int CONTEXT_LOST_WEBGL = 0x9242;
1140 1140
1141 @DomName('WebGLRenderingContext.CULL_FACE') 1141 @DomName('WebGLRenderingContext.CULL_FACE')
1142 @DocsEditable 1142 @DocsEditable()
1143 static const int CULL_FACE = 0x0B44; 1143 static const int CULL_FACE = 0x0B44;
1144 1144
1145 @DomName('WebGLRenderingContext.CULL_FACE_MODE') 1145 @DomName('WebGLRenderingContext.CULL_FACE_MODE')
1146 @DocsEditable 1146 @DocsEditable()
1147 static const int CULL_FACE_MODE = 0x0B45; 1147 static const int CULL_FACE_MODE = 0x0B45;
1148 1148
1149 @DomName('WebGLRenderingContext.CURRENT_PROGRAM') 1149 @DomName('WebGLRenderingContext.CURRENT_PROGRAM')
1150 @DocsEditable 1150 @DocsEditable()
1151 static const int CURRENT_PROGRAM = 0x8B8D; 1151 static const int CURRENT_PROGRAM = 0x8B8D;
1152 1152
1153 @DomName('WebGLRenderingContext.CURRENT_VERTEX_ATTRIB') 1153 @DomName('WebGLRenderingContext.CURRENT_VERTEX_ATTRIB')
1154 @DocsEditable 1154 @DocsEditable()
1155 static const int CURRENT_VERTEX_ATTRIB = 0x8626; 1155 static const int CURRENT_VERTEX_ATTRIB = 0x8626;
1156 1156
1157 @DomName('WebGLRenderingContext.CW') 1157 @DomName('WebGLRenderingContext.CW')
1158 @DocsEditable 1158 @DocsEditable()
1159 static const int CW = 0x0900; 1159 static const int CW = 0x0900;
1160 1160
1161 @DomName('WebGLRenderingContext.DECR') 1161 @DomName('WebGLRenderingContext.DECR')
1162 @DocsEditable 1162 @DocsEditable()
1163 static const int DECR = 0x1E03; 1163 static const int DECR = 0x1E03;
1164 1164
1165 @DomName('WebGLRenderingContext.DECR_WRAP') 1165 @DomName('WebGLRenderingContext.DECR_WRAP')
1166 @DocsEditable 1166 @DocsEditable()
1167 static const int DECR_WRAP = 0x8508; 1167 static const int DECR_WRAP = 0x8508;
1168 1168
1169 @DomName('WebGLRenderingContext.DELETE_STATUS') 1169 @DomName('WebGLRenderingContext.DELETE_STATUS')
1170 @DocsEditable 1170 @DocsEditable()
1171 static const int DELETE_STATUS = 0x8B80; 1171 static const int DELETE_STATUS = 0x8B80;
1172 1172
1173 @DomName('WebGLRenderingContext.DEPTH_ATTACHMENT') 1173 @DomName('WebGLRenderingContext.DEPTH_ATTACHMENT')
1174 @DocsEditable 1174 @DocsEditable()
1175 static const int DEPTH_ATTACHMENT = 0x8D00; 1175 static const int DEPTH_ATTACHMENT = 0x8D00;
1176 1176
1177 @DomName('WebGLRenderingContext.DEPTH_BITS') 1177 @DomName('WebGLRenderingContext.DEPTH_BITS')
1178 @DocsEditable 1178 @DocsEditable()
1179 static const int DEPTH_BITS = 0x0D56; 1179 static const int DEPTH_BITS = 0x0D56;
1180 1180
1181 @DomName('WebGLRenderingContext.DEPTH_BUFFER_BIT') 1181 @DomName('WebGLRenderingContext.DEPTH_BUFFER_BIT')
1182 @DocsEditable 1182 @DocsEditable()
1183 static const int DEPTH_BUFFER_BIT = 0x00000100; 1183 static const int DEPTH_BUFFER_BIT = 0x00000100;
1184 1184
1185 @DomName('WebGLRenderingContext.DEPTH_CLEAR_VALUE') 1185 @DomName('WebGLRenderingContext.DEPTH_CLEAR_VALUE')
1186 @DocsEditable 1186 @DocsEditable()
1187 static const int DEPTH_CLEAR_VALUE = 0x0B73; 1187 static const int DEPTH_CLEAR_VALUE = 0x0B73;
1188 1188
1189 @DomName('WebGLRenderingContext.DEPTH_COMPONENT') 1189 @DomName('WebGLRenderingContext.DEPTH_COMPONENT')
1190 @DocsEditable 1190 @DocsEditable()
1191 static const int DEPTH_COMPONENT = 0x1902; 1191 static const int DEPTH_COMPONENT = 0x1902;
1192 1192
1193 @DomName('WebGLRenderingContext.DEPTH_COMPONENT16') 1193 @DomName('WebGLRenderingContext.DEPTH_COMPONENT16')
1194 @DocsEditable 1194 @DocsEditable()
1195 static const int DEPTH_COMPONENT16 = 0x81A5; 1195 static const int DEPTH_COMPONENT16 = 0x81A5;
1196 1196
1197 @DomName('WebGLRenderingContext.DEPTH_FUNC') 1197 @DomName('WebGLRenderingContext.DEPTH_FUNC')
1198 @DocsEditable 1198 @DocsEditable()
1199 static const int DEPTH_FUNC = 0x0B74; 1199 static const int DEPTH_FUNC = 0x0B74;
1200 1200
1201 @DomName('WebGLRenderingContext.DEPTH_RANGE') 1201 @DomName('WebGLRenderingContext.DEPTH_RANGE')
1202 @DocsEditable 1202 @DocsEditable()
1203 static const int DEPTH_RANGE = 0x0B70; 1203 static const int DEPTH_RANGE = 0x0B70;
1204 1204
1205 @DomName('WebGLRenderingContext.DEPTH_STENCIL') 1205 @DomName('WebGLRenderingContext.DEPTH_STENCIL')
1206 @DocsEditable 1206 @DocsEditable()
1207 static const int DEPTH_STENCIL = 0x84F9; 1207 static const int DEPTH_STENCIL = 0x84F9;
1208 1208
1209 @DomName('WebGLRenderingContext.DEPTH_STENCIL_ATTACHMENT') 1209 @DomName('WebGLRenderingContext.DEPTH_STENCIL_ATTACHMENT')
1210 @DocsEditable 1210 @DocsEditable()
1211 static const int DEPTH_STENCIL_ATTACHMENT = 0x821A; 1211 static const int DEPTH_STENCIL_ATTACHMENT = 0x821A;
1212 1212
1213 @DomName('WebGLRenderingContext.DEPTH_TEST') 1213 @DomName('WebGLRenderingContext.DEPTH_TEST')
1214 @DocsEditable 1214 @DocsEditable()
1215 static const int DEPTH_TEST = 0x0B71; 1215 static const int DEPTH_TEST = 0x0B71;
1216 1216
1217 @DomName('WebGLRenderingContext.DEPTH_WRITEMASK') 1217 @DomName('WebGLRenderingContext.DEPTH_WRITEMASK')
1218 @DocsEditable 1218 @DocsEditable()
1219 static const int DEPTH_WRITEMASK = 0x0B72; 1219 static const int DEPTH_WRITEMASK = 0x0B72;
1220 1220
1221 @DomName('WebGLRenderingContext.DITHER') 1221 @DomName('WebGLRenderingContext.DITHER')
1222 @DocsEditable 1222 @DocsEditable()
1223 static const int DITHER = 0x0BD0; 1223 static const int DITHER = 0x0BD0;
1224 1224
1225 @DomName('WebGLRenderingContext.DONT_CARE') 1225 @DomName('WebGLRenderingContext.DONT_CARE')
1226 @DocsEditable 1226 @DocsEditable()
1227 static const int DONT_CARE = 0x1100; 1227 static const int DONT_CARE = 0x1100;
1228 1228
1229 @DomName('WebGLRenderingContext.DST_ALPHA') 1229 @DomName('WebGLRenderingContext.DST_ALPHA')
1230 @DocsEditable 1230 @DocsEditable()
1231 static const int DST_ALPHA = 0x0304; 1231 static const int DST_ALPHA = 0x0304;
1232 1232
1233 @DomName('WebGLRenderingContext.DST_COLOR') 1233 @DomName('WebGLRenderingContext.DST_COLOR')
1234 @DocsEditable 1234 @DocsEditable()
1235 static const int DST_COLOR = 0x0306; 1235 static const int DST_COLOR = 0x0306;
1236 1236
1237 @DomName('WebGLRenderingContext.DYNAMIC_DRAW') 1237 @DomName('WebGLRenderingContext.DYNAMIC_DRAW')
1238 @DocsEditable 1238 @DocsEditable()
1239 static const int DYNAMIC_DRAW = 0x88E8; 1239 static const int DYNAMIC_DRAW = 0x88E8;
1240 1240
1241 @DomName('WebGLRenderingContext.ELEMENT_ARRAY_BUFFER') 1241 @DomName('WebGLRenderingContext.ELEMENT_ARRAY_BUFFER')
1242 @DocsEditable 1242 @DocsEditable()
1243 static const int ELEMENT_ARRAY_BUFFER = 0x8893; 1243 static const int ELEMENT_ARRAY_BUFFER = 0x8893;
1244 1244
1245 @DomName('WebGLRenderingContext.ELEMENT_ARRAY_BUFFER_BINDING') 1245 @DomName('WebGLRenderingContext.ELEMENT_ARRAY_BUFFER_BINDING')
1246 @DocsEditable 1246 @DocsEditable()
1247 static const int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895; 1247 static const int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895;
1248 1248
1249 @DomName('WebGLRenderingContext.EQUAL') 1249 @DomName('WebGLRenderingContext.EQUAL')
1250 @DocsEditable 1250 @DocsEditable()
1251 static const int EQUAL = 0x0202; 1251 static const int EQUAL = 0x0202;
1252 1252
1253 @DomName('WebGLRenderingContext.FASTEST') 1253 @DomName('WebGLRenderingContext.FASTEST')
1254 @DocsEditable 1254 @DocsEditable()
1255 static const int FASTEST = 0x1101; 1255 static const int FASTEST = 0x1101;
1256 1256
1257 @DomName('WebGLRenderingContext.FLOAT') 1257 @DomName('WebGLRenderingContext.FLOAT')
1258 @DocsEditable 1258 @DocsEditable()
1259 static const int FLOAT = 0x1406; 1259 static const int FLOAT = 0x1406;
1260 1260
1261 @DomName('WebGLRenderingContext.FLOAT_MAT2') 1261 @DomName('WebGLRenderingContext.FLOAT_MAT2')
1262 @DocsEditable 1262 @DocsEditable()
1263 static const int FLOAT_MAT2 = 0x8B5A; 1263 static const int FLOAT_MAT2 = 0x8B5A;
1264 1264
1265 @DomName('WebGLRenderingContext.FLOAT_MAT3') 1265 @DomName('WebGLRenderingContext.FLOAT_MAT3')
1266 @DocsEditable 1266 @DocsEditable()
1267 static const int FLOAT_MAT3 = 0x8B5B; 1267 static const int FLOAT_MAT3 = 0x8B5B;
1268 1268
1269 @DomName('WebGLRenderingContext.FLOAT_MAT4') 1269 @DomName('WebGLRenderingContext.FLOAT_MAT4')
1270 @DocsEditable 1270 @DocsEditable()
1271 static const int FLOAT_MAT4 = 0x8B5C; 1271 static const int FLOAT_MAT4 = 0x8B5C;
1272 1272
1273 @DomName('WebGLRenderingContext.FLOAT_VEC2') 1273 @DomName('WebGLRenderingContext.FLOAT_VEC2')
1274 @DocsEditable 1274 @DocsEditable()
1275 static const int FLOAT_VEC2 = 0x8B50; 1275 static const int FLOAT_VEC2 = 0x8B50;
1276 1276
1277 @DomName('WebGLRenderingContext.FLOAT_VEC3') 1277 @DomName('WebGLRenderingContext.FLOAT_VEC3')
1278 @DocsEditable 1278 @DocsEditable()
1279 static const int FLOAT_VEC3 = 0x8B51; 1279 static const int FLOAT_VEC3 = 0x8B51;
1280 1280
1281 @DomName('WebGLRenderingContext.FLOAT_VEC4') 1281 @DomName('WebGLRenderingContext.FLOAT_VEC4')
1282 @DocsEditable 1282 @DocsEditable()
1283 static const int FLOAT_VEC4 = 0x8B52; 1283 static const int FLOAT_VEC4 = 0x8B52;
1284 1284
1285 @DomName('WebGLRenderingContext.FRAGMENT_SHADER') 1285 @DomName('WebGLRenderingContext.FRAGMENT_SHADER')
1286 @DocsEditable 1286 @DocsEditable()
1287 static const int FRAGMENT_SHADER = 0x8B30; 1287 static const int FRAGMENT_SHADER = 0x8B30;
1288 1288
1289 @DomName('WebGLRenderingContext.FRAMEBUFFER') 1289 @DomName('WebGLRenderingContext.FRAMEBUFFER')
1290 @DocsEditable 1290 @DocsEditable()
1291 static const int FRAMEBUFFER = 0x8D40; 1291 static const int FRAMEBUFFER = 0x8D40;
1292 1292
1293 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME') 1293 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME')
1294 @DocsEditable 1294 @DocsEditable()
1295 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1; 1295 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1;
1296 1296
1297 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE') 1297 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE')
1298 @DocsEditable 1298 @DocsEditable()
1299 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0; 1299 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0;
1300 1300
1301 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE') 1301 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE')
1302 @DocsEditable 1302 @DocsEditable()
1303 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3; 1303 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3;
1304 1304
1305 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL') 1305 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL')
1306 @DocsEditable 1306 @DocsEditable()
1307 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2; 1307 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2;
1308 1308
1309 @DomName('WebGLRenderingContext.FRAMEBUFFER_BINDING') 1309 @DomName('WebGLRenderingContext.FRAMEBUFFER_BINDING')
1310 @DocsEditable 1310 @DocsEditable()
1311 static const int FRAMEBUFFER_BINDING = 0x8CA6; 1311 static const int FRAMEBUFFER_BINDING = 0x8CA6;
1312 1312
1313 @DomName('WebGLRenderingContext.FRAMEBUFFER_COMPLETE') 1313 @DomName('WebGLRenderingContext.FRAMEBUFFER_COMPLETE')
1314 @DocsEditable 1314 @DocsEditable()
1315 static const int FRAMEBUFFER_COMPLETE = 0x8CD5; 1315 static const int FRAMEBUFFER_COMPLETE = 0x8CD5;
1316 1316
1317 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT') 1317 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT')
1318 @DocsEditable 1318 @DocsEditable()
1319 static const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6; 1319 static const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6;
1320 1320
1321 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS') 1321 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS')
1322 @DocsEditable 1322 @DocsEditable()
1323 static const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9; 1323 static const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9;
1324 1324
1325 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT') 1325 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT')
1326 @DocsEditable 1326 @DocsEditable()
1327 static const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7; 1327 static const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7;
1328 1328
1329 @DomName('WebGLRenderingContext.FRAMEBUFFER_UNSUPPORTED') 1329 @DomName('WebGLRenderingContext.FRAMEBUFFER_UNSUPPORTED')
1330 @DocsEditable 1330 @DocsEditable()
1331 static const int FRAMEBUFFER_UNSUPPORTED = 0x8CDD; 1331 static const int FRAMEBUFFER_UNSUPPORTED = 0x8CDD;
1332 1332
1333 @DomName('WebGLRenderingContext.FRONT') 1333 @DomName('WebGLRenderingContext.FRONT')
1334 @DocsEditable 1334 @DocsEditable()
1335 static const int FRONT = 0x0404; 1335 static const int FRONT = 0x0404;
1336 1336
1337 @DomName('WebGLRenderingContext.FRONT_AND_BACK') 1337 @DomName('WebGLRenderingContext.FRONT_AND_BACK')
1338 @DocsEditable 1338 @DocsEditable()
1339 static const int FRONT_AND_BACK = 0x0408; 1339 static const int FRONT_AND_BACK = 0x0408;
1340 1340
1341 @DomName('WebGLRenderingContext.FRONT_FACE') 1341 @DomName('WebGLRenderingContext.FRONT_FACE')
1342 @DocsEditable 1342 @DocsEditable()
1343 static const int FRONT_FACE = 0x0B46; 1343 static const int FRONT_FACE = 0x0B46;
1344 1344
1345 @DomName('WebGLRenderingContext.FUNC_ADD') 1345 @DomName('WebGLRenderingContext.FUNC_ADD')
1346 @DocsEditable 1346 @DocsEditable()
1347 static const int FUNC_ADD = 0x8006; 1347 static const int FUNC_ADD = 0x8006;
1348 1348
1349 @DomName('WebGLRenderingContext.FUNC_REVERSE_SUBTRACT') 1349 @DomName('WebGLRenderingContext.FUNC_REVERSE_SUBTRACT')
1350 @DocsEditable 1350 @DocsEditable()
1351 static const int FUNC_REVERSE_SUBTRACT = 0x800B; 1351 static const int FUNC_REVERSE_SUBTRACT = 0x800B;
1352 1352
1353 @DomName('WebGLRenderingContext.FUNC_SUBTRACT') 1353 @DomName('WebGLRenderingContext.FUNC_SUBTRACT')
1354 @DocsEditable 1354 @DocsEditable()
1355 static const int FUNC_SUBTRACT = 0x800A; 1355 static const int FUNC_SUBTRACT = 0x800A;
1356 1356
1357 @DomName('WebGLRenderingContext.GENERATE_MIPMAP_HINT') 1357 @DomName('WebGLRenderingContext.GENERATE_MIPMAP_HINT')
1358 @DocsEditable 1358 @DocsEditable()
1359 static const int GENERATE_MIPMAP_HINT = 0x8192; 1359 static const int GENERATE_MIPMAP_HINT = 0x8192;
1360 1360
1361 @DomName('WebGLRenderingContext.GEQUAL') 1361 @DomName('WebGLRenderingContext.GEQUAL')
1362 @DocsEditable 1362 @DocsEditable()
1363 static const int GEQUAL = 0x0206; 1363 static const int GEQUAL = 0x0206;
1364 1364
1365 @DomName('WebGLRenderingContext.GREATER') 1365 @DomName('WebGLRenderingContext.GREATER')
1366 @DocsEditable 1366 @DocsEditable()
1367 static const int GREATER = 0x0204; 1367 static const int GREATER = 0x0204;
1368 1368
1369 @DomName('WebGLRenderingContext.GREEN_BITS') 1369 @DomName('WebGLRenderingContext.GREEN_BITS')
1370 @DocsEditable 1370 @DocsEditable()
1371 static const int GREEN_BITS = 0x0D53; 1371 static const int GREEN_BITS = 0x0D53;
1372 1372
1373 @DomName('WebGLRenderingContext.HIGH_FLOAT') 1373 @DomName('WebGLRenderingContext.HIGH_FLOAT')
1374 @DocsEditable 1374 @DocsEditable()
1375 static const int HIGH_FLOAT = 0x8DF2; 1375 static const int HIGH_FLOAT = 0x8DF2;
1376 1376
1377 @DomName('WebGLRenderingContext.HIGH_INT') 1377 @DomName('WebGLRenderingContext.HIGH_INT')
1378 @DocsEditable 1378 @DocsEditable()
1379 static const int HIGH_INT = 0x8DF5; 1379 static const int HIGH_INT = 0x8DF5;
1380 1380
1381 @DomName('WebGLRenderingContext.INCR') 1381 @DomName('WebGLRenderingContext.INCR')
1382 @DocsEditable 1382 @DocsEditable()
1383 static const int INCR = 0x1E02; 1383 static const int INCR = 0x1E02;
1384 1384
1385 @DomName('WebGLRenderingContext.INCR_WRAP') 1385 @DomName('WebGLRenderingContext.INCR_WRAP')
1386 @DocsEditable 1386 @DocsEditable()
1387 static const int INCR_WRAP = 0x8507; 1387 static const int INCR_WRAP = 0x8507;
1388 1388
1389 @DomName('WebGLRenderingContext.INT') 1389 @DomName('WebGLRenderingContext.INT')
1390 @DocsEditable 1390 @DocsEditable()
1391 static const int INT = 0x1404; 1391 static const int INT = 0x1404;
1392 1392
1393 @DomName('WebGLRenderingContext.INT_VEC2') 1393 @DomName('WebGLRenderingContext.INT_VEC2')
1394 @DocsEditable 1394 @DocsEditable()
1395 static const int INT_VEC2 = 0x8B53; 1395 static const int INT_VEC2 = 0x8B53;
1396 1396
1397 @DomName('WebGLRenderingContext.INT_VEC3') 1397 @DomName('WebGLRenderingContext.INT_VEC3')
1398 @DocsEditable 1398 @DocsEditable()
1399 static const int INT_VEC3 = 0x8B54; 1399 static const int INT_VEC3 = 0x8B54;
1400 1400
1401 @DomName('WebGLRenderingContext.INT_VEC4') 1401 @DomName('WebGLRenderingContext.INT_VEC4')
1402 @DocsEditable 1402 @DocsEditable()
1403 static const int INT_VEC4 = 0x8B55; 1403 static const int INT_VEC4 = 0x8B55;
1404 1404
1405 @DomName('WebGLRenderingContext.INVALID_ENUM') 1405 @DomName('WebGLRenderingContext.INVALID_ENUM')
1406 @DocsEditable 1406 @DocsEditable()
1407 static const int INVALID_ENUM = 0x0500; 1407 static const int INVALID_ENUM = 0x0500;
1408 1408
1409 @DomName('WebGLRenderingContext.INVALID_FRAMEBUFFER_OPERATION') 1409 @DomName('WebGLRenderingContext.INVALID_FRAMEBUFFER_OPERATION')
1410 @DocsEditable 1410 @DocsEditable()
1411 static const int INVALID_FRAMEBUFFER_OPERATION = 0x0506; 1411 static const int INVALID_FRAMEBUFFER_OPERATION = 0x0506;
1412 1412
1413 @DomName('WebGLRenderingContext.INVALID_OPERATION') 1413 @DomName('WebGLRenderingContext.INVALID_OPERATION')
1414 @DocsEditable 1414 @DocsEditable()
1415 static const int INVALID_OPERATION = 0x0502; 1415 static const int INVALID_OPERATION = 0x0502;
1416 1416
1417 @DomName('WebGLRenderingContext.INVALID_VALUE') 1417 @DomName('WebGLRenderingContext.INVALID_VALUE')
1418 @DocsEditable 1418 @DocsEditable()
1419 static const int INVALID_VALUE = 0x0501; 1419 static const int INVALID_VALUE = 0x0501;
1420 1420
1421 @DomName('WebGLRenderingContext.INVERT') 1421 @DomName('WebGLRenderingContext.INVERT')
1422 @DocsEditable 1422 @DocsEditable()
1423 static const int INVERT = 0x150A; 1423 static const int INVERT = 0x150A;
1424 1424
1425 @DomName('WebGLRenderingContext.KEEP') 1425 @DomName('WebGLRenderingContext.KEEP')
1426 @DocsEditable 1426 @DocsEditable()
1427 static const int KEEP = 0x1E00; 1427 static const int KEEP = 0x1E00;
1428 1428
1429 @DomName('WebGLRenderingContext.LEQUAL') 1429 @DomName('WebGLRenderingContext.LEQUAL')
1430 @DocsEditable 1430 @DocsEditable()
1431 static const int LEQUAL = 0x0203; 1431 static const int LEQUAL = 0x0203;
1432 1432
1433 @DomName('WebGLRenderingContext.LESS') 1433 @DomName('WebGLRenderingContext.LESS')
1434 @DocsEditable 1434 @DocsEditable()
1435 static const int LESS = 0x0201; 1435 static const int LESS = 0x0201;
1436 1436
1437 @DomName('WebGLRenderingContext.LINEAR') 1437 @DomName('WebGLRenderingContext.LINEAR')
1438 @DocsEditable 1438 @DocsEditable()
1439 static const int LINEAR = 0x2601; 1439 static const int LINEAR = 0x2601;
1440 1440
1441 @DomName('WebGLRenderingContext.LINEAR_MIPMAP_LINEAR') 1441 @DomName('WebGLRenderingContext.LINEAR_MIPMAP_LINEAR')
1442 @DocsEditable 1442 @DocsEditable()
1443 static const int LINEAR_MIPMAP_LINEAR = 0x2703; 1443 static const int LINEAR_MIPMAP_LINEAR = 0x2703;
1444 1444
1445 @DomName('WebGLRenderingContext.LINEAR_MIPMAP_NEAREST') 1445 @DomName('WebGLRenderingContext.LINEAR_MIPMAP_NEAREST')
1446 @DocsEditable 1446 @DocsEditable()
1447 static const int LINEAR_MIPMAP_NEAREST = 0x2701; 1447 static const int LINEAR_MIPMAP_NEAREST = 0x2701;
1448 1448
1449 @DomName('WebGLRenderingContext.LINES') 1449 @DomName('WebGLRenderingContext.LINES')
1450 @DocsEditable 1450 @DocsEditable()
1451 static const int LINES = 0x0001; 1451 static const int LINES = 0x0001;
1452 1452
1453 @DomName('WebGLRenderingContext.LINE_LOOP') 1453 @DomName('WebGLRenderingContext.LINE_LOOP')
1454 @DocsEditable 1454 @DocsEditable()
1455 static const int LINE_LOOP = 0x0002; 1455 static const int LINE_LOOP = 0x0002;
1456 1456
1457 @DomName('WebGLRenderingContext.LINE_STRIP') 1457 @DomName('WebGLRenderingContext.LINE_STRIP')
1458 @DocsEditable 1458 @DocsEditable()
1459 static const int LINE_STRIP = 0x0003; 1459 static const int LINE_STRIP = 0x0003;
1460 1460
1461 @DomName('WebGLRenderingContext.LINE_WIDTH') 1461 @DomName('WebGLRenderingContext.LINE_WIDTH')
1462 @DocsEditable 1462 @DocsEditable()
1463 static const int LINE_WIDTH = 0x0B21; 1463 static const int LINE_WIDTH = 0x0B21;
1464 1464
1465 @DomName('WebGLRenderingContext.LINK_STATUS') 1465 @DomName('WebGLRenderingContext.LINK_STATUS')
1466 @DocsEditable 1466 @DocsEditable()
1467 static const int LINK_STATUS = 0x8B82; 1467 static const int LINK_STATUS = 0x8B82;
1468 1468
1469 @DomName('WebGLRenderingContext.LOW_FLOAT') 1469 @DomName('WebGLRenderingContext.LOW_FLOAT')
1470 @DocsEditable 1470 @DocsEditable()
1471 static const int LOW_FLOAT = 0x8DF0; 1471 static const int LOW_FLOAT = 0x8DF0;
1472 1472
1473 @DomName('WebGLRenderingContext.LOW_INT') 1473 @DomName('WebGLRenderingContext.LOW_INT')
1474 @DocsEditable 1474 @DocsEditable()
1475 static const int LOW_INT = 0x8DF3; 1475 static const int LOW_INT = 0x8DF3;
1476 1476
1477 @DomName('WebGLRenderingContext.LUMINANCE') 1477 @DomName('WebGLRenderingContext.LUMINANCE')
1478 @DocsEditable 1478 @DocsEditable()
1479 static const int LUMINANCE = 0x1909; 1479 static const int LUMINANCE = 0x1909;
1480 1480
1481 @DomName('WebGLRenderingContext.LUMINANCE_ALPHA') 1481 @DomName('WebGLRenderingContext.LUMINANCE_ALPHA')
1482 @DocsEditable 1482 @DocsEditable()
1483 static const int LUMINANCE_ALPHA = 0x190A; 1483 static const int LUMINANCE_ALPHA = 0x190A;
1484 1484
1485 @DomName('WebGLRenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS') 1485 @DomName('WebGLRenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS')
1486 @DocsEditable 1486 @DocsEditable()
1487 static const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D; 1487 static const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D;
1488 1488
1489 @DomName('WebGLRenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE') 1489 @DomName('WebGLRenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE')
1490 @DocsEditable 1490 @DocsEditable()
1491 static const int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C; 1491 static const int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C;
1492 1492
1493 @DomName('WebGLRenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS') 1493 @DomName('WebGLRenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS')
1494 @DocsEditable 1494 @DocsEditable()
1495 static const int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD; 1495 static const int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD;
1496 1496
1497 @DomName('WebGLRenderingContext.MAX_RENDERBUFFER_SIZE') 1497 @DomName('WebGLRenderingContext.MAX_RENDERBUFFER_SIZE')
1498 @DocsEditable 1498 @DocsEditable()
1499 static const int MAX_RENDERBUFFER_SIZE = 0x84E8; 1499 static const int MAX_RENDERBUFFER_SIZE = 0x84E8;
1500 1500
1501 @DomName('WebGLRenderingContext.MAX_TEXTURE_IMAGE_UNITS') 1501 @DomName('WebGLRenderingContext.MAX_TEXTURE_IMAGE_UNITS')
1502 @DocsEditable 1502 @DocsEditable()
1503 static const int MAX_TEXTURE_IMAGE_UNITS = 0x8872; 1503 static const int MAX_TEXTURE_IMAGE_UNITS = 0x8872;
1504 1504
1505 @DomName('WebGLRenderingContext.MAX_TEXTURE_SIZE') 1505 @DomName('WebGLRenderingContext.MAX_TEXTURE_SIZE')
1506 @DocsEditable 1506 @DocsEditable()
1507 static const int MAX_TEXTURE_SIZE = 0x0D33; 1507 static const int MAX_TEXTURE_SIZE = 0x0D33;
1508 1508
1509 @DomName('WebGLRenderingContext.MAX_VARYING_VECTORS') 1509 @DomName('WebGLRenderingContext.MAX_VARYING_VECTORS')
1510 @DocsEditable 1510 @DocsEditable()
1511 static const int MAX_VARYING_VECTORS = 0x8DFC; 1511 static const int MAX_VARYING_VECTORS = 0x8DFC;
1512 1512
1513 @DomName('WebGLRenderingContext.MAX_VERTEX_ATTRIBS') 1513 @DomName('WebGLRenderingContext.MAX_VERTEX_ATTRIBS')
1514 @DocsEditable 1514 @DocsEditable()
1515 static const int MAX_VERTEX_ATTRIBS = 0x8869; 1515 static const int MAX_VERTEX_ATTRIBS = 0x8869;
1516 1516
1517 @DomName('WebGLRenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS') 1517 @DomName('WebGLRenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS')
1518 @DocsEditable 1518 @DocsEditable()
1519 static const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C; 1519 static const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C;
1520 1520
1521 @DomName('WebGLRenderingContext.MAX_VERTEX_UNIFORM_VECTORS') 1521 @DomName('WebGLRenderingContext.MAX_VERTEX_UNIFORM_VECTORS')
1522 @DocsEditable 1522 @DocsEditable()
1523 static const int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB; 1523 static const int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB;
1524 1524
1525 @DomName('WebGLRenderingContext.MAX_VIEWPORT_DIMS') 1525 @DomName('WebGLRenderingContext.MAX_VIEWPORT_DIMS')
1526 @DocsEditable 1526 @DocsEditable()
1527 static const int MAX_VIEWPORT_DIMS = 0x0D3A; 1527 static const int MAX_VIEWPORT_DIMS = 0x0D3A;
1528 1528
1529 @DomName('WebGLRenderingContext.MEDIUM_FLOAT') 1529 @DomName('WebGLRenderingContext.MEDIUM_FLOAT')
1530 @DocsEditable 1530 @DocsEditable()
1531 static const int MEDIUM_FLOAT = 0x8DF1; 1531 static const int MEDIUM_FLOAT = 0x8DF1;
1532 1532
1533 @DomName('WebGLRenderingContext.MEDIUM_INT') 1533 @DomName('WebGLRenderingContext.MEDIUM_INT')
1534 @DocsEditable 1534 @DocsEditable()
1535 static const int MEDIUM_INT = 0x8DF4; 1535 static const int MEDIUM_INT = 0x8DF4;
1536 1536
1537 @DomName('WebGLRenderingContext.MIRRORED_REPEAT') 1537 @DomName('WebGLRenderingContext.MIRRORED_REPEAT')
1538 @DocsEditable 1538 @DocsEditable()
1539 static const int MIRRORED_REPEAT = 0x8370; 1539 static const int MIRRORED_REPEAT = 0x8370;
1540 1540
1541 @DomName('WebGLRenderingContext.NEAREST') 1541 @DomName('WebGLRenderingContext.NEAREST')
1542 @DocsEditable 1542 @DocsEditable()
1543 static const int NEAREST = 0x2600; 1543 static const int NEAREST = 0x2600;
1544 1544
1545 @DomName('WebGLRenderingContext.NEAREST_MIPMAP_LINEAR') 1545 @DomName('WebGLRenderingContext.NEAREST_MIPMAP_LINEAR')
1546 @DocsEditable 1546 @DocsEditable()
1547 static const int NEAREST_MIPMAP_LINEAR = 0x2702; 1547 static const int NEAREST_MIPMAP_LINEAR = 0x2702;
1548 1548
1549 @DomName('WebGLRenderingContext.NEAREST_MIPMAP_NEAREST') 1549 @DomName('WebGLRenderingContext.NEAREST_MIPMAP_NEAREST')
1550 @DocsEditable 1550 @DocsEditable()
1551 static const int NEAREST_MIPMAP_NEAREST = 0x2700; 1551 static const int NEAREST_MIPMAP_NEAREST = 0x2700;
1552 1552
1553 @DomName('WebGLRenderingContext.NEVER') 1553 @DomName('WebGLRenderingContext.NEVER')
1554 @DocsEditable 1554 @DocsEditable()
1555 static const int NEVER = 0x0200; 1555 static const int NEVER = 0x0200;
1556 1556
1557 @DomName('WebGLRenderingContext.NICEST') 1557 @DomName('WebGLRenderingContext.NICEST')
1558 @DocsEditable 1558 @DocsEditable()
1559 static const int NICEST = 0x1102; 1559 static const int NICEST = 0x1102;
1560 1560
1561 @DomName('WebGLRenderingContext.NONE') 1561 @DomName('WebGLRenderingContext.NONE')
1562 @DocsEditable 1562 @DocsEditable()
1563 static const int NONE = 0; 1563 static const int NONE = 0;
1564 1564
1565 @DomName('WebGLRenderingContext.NOTEQUAL') 1565 @DomName('WebGLRenderingContext.NOTEQUAL')
1566 @DocsEditable 1566 @DocsEditable()
1567 static const int NOTEQUAL = 0x0205; 1567 static const int NOTEQUAL = 0x0205;
1568 1568
1569 @DomName('WebGLRenderingContext.NO_ERROR') 1569 @DomName('WebGLRenderingContext.NO_ERROR')
1570 @DocsEditable 1570 @DocsEditable()
1571 static const int NO_ERROR = 0; 1571 static const int NO_ERROR = 0;
1572 1572
1573 @DomName('WebGLRenderingContext.ONE') 1573 @DomName('WebGLRenderingContext.ONE')
1574 @DocsEditable 1574 @DocsEditable()
1575 static const int ONE = 1; 1575 static const int ONE = 1;
1576 1576
1577 @DomName('WebGLRenderingContext.ONE_MINUS_CONSTANT_ALPHA') 1577 @DomName('WebGLRenderingContext.ONE_MINUS_CONSTANT_ALPHA')
1578 @DocsEditable 1578 @DocsEditable()
1579 static const int ONE_MINUS_CONSTANT_ALPHA = 0x8004; 1579 static const int ONE_MINUS_CONSTANT_ALPHA = 0x8004;
1580 1580
1581 @DomName('WebGLRenderingContext.ONE_MINUS_CONSTANT_COLOR') 1581 @DomName('WebGLRenderingContext.ONE_MINUS_CONSTANT_COLOR')
1582 @DocsEditable 1582 @DocsEditable()
1583 static const int ONE_MINUS_CONSTANT_COLOR = 0x8002; 1583 static const int ONE_MINUS_CONSTANT_COLOR = 0x8002;
1584 1584
1585 @DomName('WebGLRenderingContext.ONE_MINUS_DST_ALPHA') 1585 @DomName('WebGLRenderingContext.ONE_MINUS_DST_ALPHA')
1586 @DocsEditable 1586 @DocsEditable()
1587 static const int ONE_MINUS_DST_ALPHA = 0x0305; 1587 static const int ONE_MINUS_DST_ALPHA = 0x0305;
1588 1588
1589 @DomName('WebGLRenderingContext.ONE_MINUS_DST_COLOR') 1589 @DomName('WebGLRenderingContext.ONE_MINUS_DST_COLOR')
1590 @DocsEditable 1590 @DocsEditable()
1591 static const int ONE_MINUS_DST_COLOR = 0x0307; 1591 static const int ONE_MINUS_DST_COLOR = 0x0307;
1592 1592
1593 @DomName('WebGLRenderingContext.ONE_MINUS_SRC_ALPHA') 1593 @DomName('WebGLRenderingContext.ONE_MINUS_SRC_ALPHA')
1594 @DocsEditable 1594 @DocsEditable()
1595 static const int ONE_MINUS_SRC_ALPHA = 0x0303; 1595 static const int ONE_MINUS_SRC_ALPHA = 0x0303;
1596 1596
1597 @DomName('WebGLRenderingContext.ONE_MINUS_SRC_COLOR') 1597 @DomName('WebGLRenderingContext.ONE_MINUS_SRC_COLOR')
1598 @DocsEditable 1598 @DocsEditable()
1599 static const int ONE_MINUS_SRC_COLOR = 0x0301; 1599 static const int ONE_MINUS_SRC_COLOR = 0x0301;
1600 1600
1601 @DomName('WebGLRenderingContext.OUT_OF_MEMORY') 1601 @DomName('WebGLRenderingContext.OUT_OF_MEMORY')
1602 @DocsEditable 1602 @DocsEditable()
1603 static const int OUT_OF_MEMORY = 0x0505; 1603 static const int OUT_OF_MEMORY = 0x0505;
1604 1604
1605 @DomName('WebGLRenderingContext.PACK_ALIGNMENT') 1605 @DomName('WebGLRenderingContext.PACK_ALIGNMENT')
1606 @DocsEditable 1606 @DocsEditable()
1607 static const int PACK_ALIGNMENT = 0x0D05; 1607 static const int PACK_ALIGNMENT = 0x0D05;
1608 1608
1609 @DomName('WebGLRenderingContext.POINTS') 1609 @DomName('WebGLRenderingContext.POINTS')
1610 @DocsEditable 1610 @DocsEditable()
1611 static const int POINTS = 0x0000; 1611 static const int POINTS = 0x0000;
1612 1612
1613 @DomName('WebGLRenderingContext.POLYGON_OFFSET_FACTOR') 1613 @DomName('WebGLRenderingContext.POLYGON_OFFSET_FACTOR')
1614 @DocsEditable 1614 @DocsEditable()
1615 static const int POLYGON_OFFSET_FACTOR = 0x8038; 1615 static const int POLYGON_OFFSET_FACTOR = 0x8038;
1616 1616
1617 @DomName('WebGLRenderingContext.POLYGON_OFFSET_FILL') 1617 @DomName('WebGLRenderingContext.POLYGON_OFFSET_FILL')
1618 @DocsEditable 1618 @DocsEditable()
1619 static const int POLYGON_OFFSET_FILL = 0x8037; 1619 static const int POLYGON_OFFSET_FILL = 0x8037;
1620 1620
1621 @DomName('WebGLRenderingContext.POLYGON_OFFSET_UNITS') 1621 @DomName('WebGLRenderingContext.POLYGON_OFFSET_UNITS')
1622 @DocsEditable 1622 @DocsEditable()
1623 static const int POLYGON_OFFSET_UNITS = 0x2A00; 1623 static const int POLYGON_OFFSET_UNITS = 0x2A00;
1624 1624
1625 @DomName('WebGLRenderingContext.RED_BITS') 1625 @DomName('WebGLRenderingContext.RED_BITS')
1626 @DocsEditable 1626 @DocsEditable()
1627 static const int RED_BITS = 0x0D52; 1627 static const int RED_BITS = 0x0D52;
1628 1628
1629 @DomName('WebGLRenderingContext.RENDERBUFFER') 1629 @DomName('WebGLRenderingContext.RENDERBUFFER')
1630 @DocsEditable 1630 @DocsEditable()
1631 static const int RENDERBUFFER = 0x8D41; 1631 static const int RENDERBUFFER = 0x8D41;
1632 1632
1633 @DomName('WebGLRenderingContext.RENDERBUFFER_ALPHA_SIZE') 1633 @DomName('WebGLRenderingContext.RENDERBUFFER_ALPHA_SIZE')
1634 @DocsEditable 1634 @DocsEditable()
1635 static const int RENDERBUFFER_ALPHA_SIZE = 0x8D53; 1635 static const int RENDERBUFFER_ALPHA_SIZE = 0x8D53;
1636 1636
1637 @DomName('WebGLRenderingContext.RENDERBUFFER_BINDING') 1637 @DomName('WebGLRenderingContext.RENDERBUFFER_BINDING')
1638 @DocsEditable 1638 @DocsEditable()
1639 static const int RENDERBUFFER_BINDING = 0x8CA7; 1639 static const int RENDERBUFFER_BINDING = 0x8CA7;
1640 1640
1641 @DomName('WebGLRenderingContext.RENDERBUFFER_BLUE_SIZE') 1641 @DomName('WebGLRenderingContext.RENDERBUFFER_BLUE_SIZE')
1642 @DocsEditable 1642 @DocsEditable()
1643 static const int RENDERBUFFER_BLUE_SIZE = 0x8D52; 1643 static const int RENDERBUFFER_BLUE_SIZE = 0x8D52;
1644 1644
1645 @DomName('WebGLRenderingContext.RENDERBUFFER_DEPTH_SIZE') 1645 @DomName('WebGLRenderingContext.RENDERBUFFER_DEPTH_SIZE')
1646 @DocsEditable 1646 @DocsEditable()
1647 static const int RENDERBUFFER_DEPTH_SIZE = 0x8D54; 1647 static const int RENDERBUFFER_DEPTH_SIZE = 0x8D54;
1648 1648
1649 @DomName('WebGLRenderingContext.RENDERBUFFER_GREEN_SIZE') 1649 @DomName('WebGLRenderingContext.RENDERBUFFER_GREEN_SIZE')
1650 @DocsEditable 1650 @DocsEditable()
1651 static const int RENDERBUFFER_GREEN_SIZE = 0x8D51; 1651 static const int RENDERBUFFER_GREEN_SIZE = 0x8D51;
1652 1652
1653 @DomName('WebGLRenderingContext.RENDERBUFFER_HEIGHT') 1653 @DomName('WebGLRenderingContext.RENDERBUFFER_HEIGHT')
1654 @DocsEditable 1654 @DocsEditable()
1655 static const int RENDERBUFFER_HEIGHT = 0x8D43; 1655 static const int RENDERBUFFER_HEIGHT = 0x8D43;
1656 1656
1657 @DomName('WebGLRenderingContext.RENDERBUFFER_INTERNAL_FORMAT') 1657 @DomName('WebGLRenderingContext.RENDERBUFFER_INTERNAL_FORMAT')
1658 @DocsEditable 1658 @DocsEditable()
1659 static const int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44; 1659 static const int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44;
1660 1660
1661 @DomName('WebGLRenderingContext.RENDERBUFFER_RED_SIZE') 1661 @DomName('WebGLRenderingContext.RENDERBUFFER_RED_SIZE')
1662 @DocsEditable 1662 @DocsEditable()
1663 static const int RENDERBUFFER_RED_SIZE = 0x8D50; 1663 static const int RENDERBUFFER_RED_SIZE = 0x8D50;
1664 1664
1665 @DomName('WebGLRenderingContext.RENDERBUFFER_STENCIL_SIZE') 1665 @DomName('WebGLRenderingContext.RENDERBUFFER_STENCIL_SIZE')
1666 @DocsEditable 1666 @DocsEditable()
1667 static const int RENDERBUFFER_STENCIL_SIZE = 0x8D55; 1667 static const int RENDERBUFFER_STENCIL_SIZE = 0x8D55;
1668 1668
1669 @DomName('WebGLRenderingContext.RENDERBUFFER_WIDTH') 1669 @DomName('WebGLRenderingContext.RENDERBUFFER_WIDTH')
1670 @DocsEditable 1670 @DocsEditable()
1671 static const int RENDERBUFFER_WIDTH = 0x8D42; 1671 static const int RENDERBUFFER_WIDTH = 0x8D42;
1672 1672
1673 @DomName('WebGLRenderingContext.RENDERER') 1673 @DomName('WebGLRenderingContext.RENDERER')
1674 @DocsEditable 1674 @DocsEditable()
1675 static const int RENDERER = 0x1F01; 1675 static const int RENDERER = 0x1F01;
1676 1676
1677 @DomName('WebGLRenderingContext.REPEAT') 1677 @DomName('WebGLRenderingContext.REPEAT')
1678 @DocsEditable 1678 @DocsEditable()
1679 static const int REPEAT = 0x2901; 1679 static const int REPEAT = 0x2901;
1680 1680
1681 @DomName('WebGLRenderingContext.REPLACE') 1681 @DomName('WebGLRenderingContext.REPLACE')
1682 @DocsEditable 1682 @DocsEditable()
1683 static const int REPLACE = 0x1E01; 1683 static const int REPLACE = 0x1E01;
1684 1684
1685 @DomName('WebGLRenderingContext.RGB') 1685 @DomName('WebGLRenderingContext.RGB')
1686 @DocsEditable 1686 @DocsEditable()
1687 static const int RGB = 0x1907; 1687 static const int RGB = 0x1907;
1688 1688
1689 @DomName('WebGLRenderingContext.RGB565') 1689 @DomName('WebGLRenderingContext.RGB565')
1690 @DocsEditable 1690 @DocsEditable()
1691 static const int RGB565 = 0x8D62; 1691 static const int RGB565 = 0x8D62;
1692 1692
1693 @DomName('WebGLRenderingContext.RGB5_A1') 1693 @DomName('WebGLRenderingContext.RGB5_A1')
1694 @DocsEditable 1694 @DocsEditable()
1695 static const int RGB5_A1 = 0x8057; 1695 static const int RGB5_A1 = 0x8057;
1696 1696
1697 @DomName('WebGLRenderingContext.RGBA') 1697 @DomName('WebGLRenderingContext.RGBA')
1698 @DocsEditable 1698 @DocsEditable()
1699 static const int RGBA = 0x1908; 1699 static const int RGBA = 0x1908;
1700 1700
1701 @DomName('WebGLRenderingContext.RGBA4') 1701 @DomName('WebGLRenderingContext.RGBA4')
1702 @DocsEditable 1702 @DocsEditable()
1703 static const int RGBA4 = 0x8056; 1703 static const int RGBA4 = 0x8056;
1704 1704
1705 @DomName('WebGLRenderingContext.SAMPLER_2D') 1705 @DomName('WebGLRenderingContext.SAMPLER_2D')
1706 @DocsEditable 1706 @DocsEditable()
1707 static const int SAMPLER_2D = 0x8B5E; 1707 static const int SAMPLER_2D = 0x8B5E;
1708 1708
1709 @DomName('WebGLRenderingContext.SAMPLER_CUBE') 1709 @DomName('WebGLRenderingContext.SAMPLER_CUBE')
1710 @DocsEditable 1710 @DocsEditable()
1711 static const int SAMPLER_CUBE = 0x8B60; 1711 static const int SAMPLER_CUBE = 0x8B60;
1712 1712
1713 @DomName('WebGLRenderingContext.SAMPLES') 1713 @DomName('WebGLRenderingContext.SAMPLES')
1714 @DocsEditable 1714 @DocsEditable()
1715 static const int SAMPLES = 0x80A9; 1715 static const int SAMPLES = 0x80A9;
1716 1716
1717 @DomName('WebGLRenderingContext.SAMPLE_ALPHA_TO_COVERAGE') 1717 @DomName('WebGLRenderingContext.SAMPLE_ALPHA_TO_COVERAGE')
1718 @DocsEditable 1718 @DocsEditable()
1719 static const int SAMPLE_ALPHA_TO_COVERAGE = 0x809E; 1719 static const int SAMPLE_ALPHA_TO_COVERAGE = 0x809E;
1720 1720
1721 @DomName('WebGLRenderingContext.SAMPLE_BUFFERS') 1721 @DomName('WebGLRenderingContext.SAMPLE_BUFFERS')
1722 @DocsEditable 1722 @DocsEditable()
1723 static const int SAMPLE_BUFFERS = 0x80A8; 1723 static const int SAMPLE_BUFFERS = 0x80A8;
1724 1724
1725 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE') 1725 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE')
1726 @DocsEditable 1726 @DocsEditable()
1727 static const int SAMPLE_COVERAGE = 0x80A0; 1727 static const int SAMPLE_COVERAGE = 0x80A0;
1728 1728
1729 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE_INVERT') 1729 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE_INVERT')
1730 @DocsEditable 1730 @DocsEditable()
1731 static const int SAMPLE_COVERAGE_INVERT = 0x80AB; 1731 static const int SAMPLE_COVERAGE_INVERT = 0x80AB;
1732 1732
1733 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE_VALUE') 1733 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE_VALUE')
1734 @DocsEditable 1734 @DocsEditable()
1735 static const int SAMPLE_COVERAGE_VALUE = 0x80AA; 1735 static const int SAMPLE_COVERAGE_VALUE = 0x80AA;
1736 1736
1737 @DomName('WebGLRenderingContext.SCISSOR_BOX') 1737 @DomName('WebGLRenderingContext.SCISSOR_BOX')
1738 @DocsEditable 1738 @DocsEditable()
1739 static const int SCISSOR_BOX = 0x0C10; 1739 static const int SCISSOR_BOX = 0x0C10;
1740 1740
1741 @DomName('WebGLRenderingContext.SCISSOR_TEST') 1741 @DomName('WebGLRenderingContext.SCISSOR_TEST')
1742 @DocsEditable 1742 @DocsEditable()
1743 static const int SCISSOR_TEST = 0x0C11; 1743 static const int SCISSOR_TEST = 0x0C11;
1744 1744
1745 @DomName('WebGLRenderingContext.SHADER_TYPE') 1745 @DomName('WebGLRenderingContext.SHADER_TYPE')
1746 @DocsEditable 1746 @DocsEditable()
1747 static const int SHADER_TYPE = 0x8B4F; 1747 static const int SHADER_TYPE = 0x8B4F;
1748 1748
1749 @DomName('WebGLRenderingContext.SHADING_LANGUAGE_VERSION') 1749 @DomName('WebGLRenderingContext.SHADING_LANGUAGE_VERSION')
1750 @DocsEditable 1750 @DocsEditable()
1751 static const int SHADING_LANGUAGE_VERSION = 0x8B8C; 1751 static const int SHADING_LANGUAGE_VERSION = 0x8B8C;
1752 1752
1753 @DomName('WebGLRenderingContext.SHORT') 1753 @DomName('WebGLRenderingContext.SHORT')
1754 @DocsEditable 1754 @DocsEditable()
1755 static const int SHORT = 0x1402; 1755 static const int SHORT = 0x1402;
1756 1756
1757 @DomName('WebGLRenderingContext.SRC_ALPHA') 1757 @DomName('WebGLRenderingContext.SRC_ALPHA')
1758 @DocsEditable 1758 @DocsEditable()
1759 static const int SRC_ALPHA = 0x0302; 1759 static const int SRC_ALPHA = 0x0302;
1760 1760
1761 @DomName('WebGLRenderingContext.SRC_ALPHA_SATURATE') 1761 @DomName('WebGLRenderingContext.SRC_ALPHA_SATURATE')
1762 @DocsEditable 1762 @DocsEditable()
1763 static const int SRC_ALPHA_SATURATE = 0x0308; 1763 static const int SRC_ALPHA_SATURATE = 0x0308;
1764 1764
1765 @DomName('WebGLRenderingContext.SRC_COLOR') 1765 @DomName('WebGLRenderingContext.SRC_COLOR')
1766 @DocsEditable 1766 @DocsEditable()
1767 static const int SRC_COLOR = 0x0300; 1767 static const int SRC_COLOR = 0x0300;
1768 1768
1769 @DomName('WebGLRenderingContext.STATIC_DRAW') 1769 @DomName('WebGLRenderingContext.STATIC_DRAW')
1770 @DocsEditable 1770 @DocsEditable()
1771 static const int STATIC_DRAW = 0x88E4; 1771 static const int STATIC_DRAW = 0x88E4;
1772 1772
1773 @DomName('WebGLRenderingContext.STENCIL_ATTACHMENT') 1773 @DomName('WebGLRenderingContext.STENCIL_ATTACHMENT')
1774 @DocsEditable 1774 @DocsEditable()
1775 static const int STENCIL_ATTACHMENT = 0x8D20; 1775 static const int STENCIL_ATTACHMENT = 0x8D20;
1776 1776
1777 @DomName('WebGLRenderingContext.STENCIL_BACK_FAIL') 1777 @DomName('WebGLRenderingContext.STENCIL_BACK_FAIL')
1778 @DocsEditable 1778 @DocsEditable()
1779 static const int STENCIL_BACK_FAIL = 0x8801; 1779 static const int STENCIL_BACK_FAIL = 0x8801;
1780 1780
1781 @DomName('WebGLRenderingContext.STENCIL_BACK_FUNC') 1781 @DomName('WebGLRenderingContext.STENCIL_BACK_FUNC')
1782 @DocsEditable 1782 @DocsEditable()
1783 static const int STENCIL_BACK_FUNC = 0x8800; 1783 static const int STENCIL_BACK_FUNC = 0x8800;
1784 1784
1785 @DomName('WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL') 1785 @DomName('WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL')
1786 @DocsEditable 1786 @DocsEditable()
1787 static const int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802; 1787 static const int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802;
1788 1788
1789 @DomName('WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_PASS') 1789 @DomName('WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_PASS')
1790 @DocsEditable 1790 @DocsEditable()
1791 static const int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803; 1791 static const int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803;
1792 1792
1793 @DomName('WebGLRenderingContext.STENCIL_BACK_REF') 1793 @DomName('WebGLRenderingContext.STENCIL_BACK_REF')
1794 @DocsEditable 1794 @DocsEditable()
1795 static const int STENCIL_BACK_REF = 0x8CA3; 1795 static const int STENCIL_BACK_REF = 0x8CA3;
1796 1796
1797 @DomName('WebGLRenderingContext.STENCIL_BACK_VALUE_MASK') 1797 @DomName('WebGLRenderingContext.STENCIL_BACK_VALUE_MASK')
1798 @DocsEditable 1798 @DocsEditable()
1799 static const int STENCIL_BACK_VALUE_MASK = 0x8CA4; 1799 static const int STENCIL_BACK_VALUE_MASK = 0x8CA4;
1800 1800
1801 @DomName('WebGLRenderingContext.STENCIL_BACK_WRITEMASK') 1801 @DomName('WebGLRenderingContext.STENCIL_BACK_WRITEMASK')
1802 @DocsEditable 1802 @DocsEditable()
1803 static const int STENCIL_BACK_WRITEMASK = 0x8CA5; 1803 static const int STENCIL_BACK_WRITEMASK = 0x8CA5;
1804 1804
1805 @DomName('WebGLRenderingContext.STENCIL_BITS') 1805 @DomName('WebGLRenderingContext.STENCIL_BITS')
1806 @DocsEditable 1806 @DocsEditable()
1807 static const int STENCIL_BITS = 0x0D57; 1807 static const int STENCIL_BITS = 0x0D57;
1808 1808
1809 @DomName('WebGLRenderingContext.STENCIL_BUFFER_BIT') 1809 @DomName('WebGLRenderingContext.STENCIL_BUFFER_BIT')
1810 @DocsEditable 1810 @DocsEditable()
1811 static const int STENCIL_BUFFER_BIT = 0x00000400; 1811 static const int STENCIL_BUFFER_BIT = 0x00000400;
1812 1812
1813 @DomName('WebGLRenderingContext.STENCIL_CLEAR_VALUE') 1813 @DomName('WebGLRenderingContext.STENCIL_CLEAR_VALUE')
1814 @DocsEditable 1814 @DocsEditable()
1815 static const int STENCIL_CLEAR_VALUE = 0x0B91; 1815 static const int STENCIL_CLEAR_VALUE = 0x0B91;
1816 1816
1817 @DomName('WebGLRenderingContext.STENCIL_FAIL') 1817 @DomName('WebGLRenderingContext.STENCIL_FAIL')
1818 @DocsEditable 1818 @DocsEditable()
1819 static const int STENCIL_FAIL = 0x0B94; 1819 static const int STENCIL_FAIL = 0x0B94;
1820 1820
1821 @DomName('WebGLRenderingContext.STENCIL_FUNC') 1821 @DomName('WebGLRenderingContext.STENCIL_FUNC')
1822 @DocsEditable 1822 @DocsEditable()
1823 static const int STENCIL_FUNC = 0x0B92; 1823 static const int STENCIL_FUNC = 0x0B92;
1824 1824
1825 @DomName('WebGLRenderingContext.STENCIL_INDEX') 1825 @DomName('WebGLRenderingContext.STENCIL_INDEX')
1826 @DocsEditable 1826 @DocsEditable()
1827 static const int STENCIL_INDEX = 0x1901; 1827 static const int STENCIL_INDEX = 0x1901;
1828 1828
1829 @DomName('WebGLRenderingContext.STENCIL_INDEX8') 1829 @DomName('WebGLRenderingContext.STENCIL_INDEX8')
1830 @DocsEditable 1830 @DocsEditable()
1831 static const int STENCIL_INDEX8 = 0x8D48; 1831 static const int STENCIL_INDEX8 = 0x8D48;
1832 1832
1833 @DomName('WebGLRenderingContext.STENCIL_PASS_DEPTH_FAIL') 1833 @DomName('WebGLRenderingContext.STENCIL_PASS_DEPTH_FAIL')
1834 @DocsEditable 1834 @DocsEditable()
1835 static const int STENCIL_PASS_DEPTH_FAIL = 0x0B95; 1835 static const int STENCIL_PASS_DEPTH_FAIL = 0x0B95;
1836 1836
1837 @DomName('WebGLRenderingContext.STENCIL_PASS_DEPTH_PASS') 1837 @DomName('WebGLRenderingContext.STENCIL_PASS_DEPTH_PASS')
1838 @DocsEditable 1838 @DocsEditable()
1839 static const int STENCIL_PASS_DEPTH_PASS = 0x0B96; 1839 static const int STENCIL_PASS_DEPTH_PASS = 0x0B96;
1840 1840
1841 @DomName('WebGLRenderingContext.STENCIL_REF') 1841 @DomName('WebGLRenderingContext.STENCIL_REF')
1842 @DocsEditable 1842 @DocsEditable()
1843 static const int STENCIL_REF = 0x0B97; 1843 static const int STENCIL_REF = 0x0B97;
1844 1844
1845 @DomName('WebGLRenderingContext.STENCIL_TEST') 1845 @DomName('WebGLRenderingContext.STENCIL_TEST')
1846 @DocsEditable 1846 @DocsEditable()
1847 static const int STENCIL_TEST = 0x0B90; 1847 static const int STENCIL_TEST = 0x0B90;
1848 1848
1849 @DomName('WebGLRenderingContext.STENCIL_VALUE_MASK') 1849 @DomName('WebGLRenderingContext.STENCIL_VALUE_MASK')
1850 @DocsEditable 1850 @DocsEditable()
1851 static const int STENCIL_VALUE_MASK = 0x0B93; 1851 static const int STENCIL_VALUE_MASK = 0x0B93;
1852 1852
1853 @DomName('WebGLRenderingContext.STENCIL_WRITEMASK') 1853 @DomName('WebGLRenderingContext.STENCIL_WRITEMASK')
1854 @DocsEditable 1854 @DocsEditable()
1855 static const int STENCIL_WRITEMASK = 0x0B98; 1855 static const int STENCIL_WRITEMASK = 0x0B98;
1856 1856
1857 @DomName('WebGLRenderingContext.STREAM_DRAW') 1857 @DomName('WebGLRenderingContext.STREAM_DRAW')
1858 @DocsEditable 1858 @DocsEditable()
1859 static const int STREAM_DRAW = 0x88E0; 1859 static const int STREAM_DRAW = 0x88E0;
1860 1860
1861 @DomName('WebGLRenderingContext.SUBPIXEL_BITS') 1861 @DomName('WebGLRenderingContext.SUBPIXEL_BITS')
1862 @DocsEditable 1862 @DocsEditable()
1863 static const int SUBPIXEL_BITS = 0x0D50; 1863 static const int SUBPIXEL_BITS = 0x0D50;
1864 1864
1865 @DomName('WebGLRenderingContext.TEXTURE') 1865 @DomName('WebGLRenderingContext.TEXTURE')
1866 @DocsEditable 1866 @DocsEditable()
1867 static const int TEXTURE = 0x1702; 1867 static const int TEXTURE = 0x1702;
1868 1868
1869 @DomName('WebGLRenderingContext.TEXTURE0') 1869 @DomName('WebGLRenderingContext.TEXTURE0')
1870 @DocsEditable 1870 @DocsEditable()
1871 static const int TEXTURE0 = 0x84C0; 1871 static const int TEXTURE0 = 0x84C0;
1872 1872
1873 @DomName('WebGLRenderingContext.TEXTURE1') 1873 @DomName('WebGLRenderingContext.TEXTURE1')
1874 @DocsEditable 1874 @DocsEditable()
1875 static const int TEXTURE1 = 0x84C1; 1875 static const int TEXTURE1 = 0x84C1;
1876 1876
1877 @DomName('WebGLRenderingContext.TEXTURE10') 1877 @DomName('WebGLRenderingContext.TEXTURE10')
1878 @DocsEditable 1878 @DocsEditable()
1879 static const int TEXTURE10 = 0x84CA; 1879 static const int TEXTURE10 = 0x84CA;
1880 1880
1881 @DomName('WebGLRenderingContext.TEXTURE11') 1881 @DomName('WebGLRenderingContext.TEXTURE11')
1882 @DocsEditable 1882 @DocsEditable()
1883 static const int TEXTURE11 = 0x84CB; 1883 static const int TEXTURE11 = 0x84CB;
1884 1884
1885 @DomName('WebGLRenderingContext.TEXTURE12') 1885 @DomName('WebGLRenderingContext.TEXTURE12')
1886 @DocsEditable 1886 @DocsEditable()
1887 static const int TEXTURE12 = 0x84CC; 1887 static const int TEXTURE12 = 0x84CC;
1888 1888
1889 @DomName('WebGLRenderingContext.TEXTURE13') 1889 @DomName('WebGLRenderingContext.TEXTURE13')
1890 @DocsEditable 1890 @DocsEditable()
1891 static const int TEXTURE13 = 0x84CD; 1891 static const int TEXTURE13 = 0x84CD;
1892 1892
1893 @DomName('WebGLRenderingContext.TEXTURE14') 1893 @DomName('WebGLRenderingContext.TEXTURE14')
1894 @DocsEditable 1894 @DocsEditable()
1895 static const int TEXTURE14 = 0x84CE; 1895 static const int TEXTURE14 = 0x84CE;
1896 1896
1897 @DomName('WebGLRenderingContext.TEXTURE15') 1897 @DomName('WebGLRenderingContext.TEXTURE15')
1898 @DocsEditable 1898 @DocsEditable()
1899 static const int TEXTURE15 = 0x84CF; 1899 static const int TEXTURE15 = 0x84CF;
1900 1900
1901 @DomName('WebGLRenderingContext.TEXTURE16') 1901 @DomName('WebGLRenderingContext.TEXTURE16')
1902 @DocsEditable 1902 @DocsEditable()
1903 static const int TEXTURE16 = 0x84D0; 1903 static const int TEXTURE16 = 0x84D0;
1904 1904
1905 @DomName('WebGLRenderingContext.TEXTURE17') 1905 @DomName('WebGLRenderingContext.TEXTURE17')
1906 @DocsEditable 1906 @DocsEditable()
1907 static const int TEXTURE17 = 0x84D1; 1907 static const int TEXTURE17 = 0x84D1;
1908 1908
1909 @DomName('WebGLRenderingContext.TEXTURE18') 1909 @DomName('WebGLRenderingContext.TEXTURE18')
1910 @DocsEditable 1910 @DocsEditable()
1911 static const int TEXTURE18 = 0x84D2; 1911 static const int TEXTURE18 = 0x84D2;
1912 1912
1913 @DomName('WebGLRenderingContext.TEXTURE19') 1913 @DomName('WebGLRenderingContext.TEXTURE19')
1914 @DocsEditable 1914 @DocsEditable()
1915 static const int TEXTURE19 = 0x84D3; 1915 static const int TEXTURE19 = 0x84D3;
1916 1916
1917 @DomName('WebGLRenderingContext.TEXTURE2') 1917 @DomName('WebGLRenderingContext.TEXTURE2')
1918 @DocsEditable 1918 @DocsEditable()
1919 static const int TEXTURE2 = 0x84C2; 1919 static const int TEXTURE2 = 0x84C2;
1920 1920
1921 @DomName('WebGLRenderingContext.TEXTURE20') 1921 @DomName('WebGLRenderingContext.TEXTURE20')
1922 @DocsEditable 1922 @DocsEditable()
1923 static const int TEXTURE20 = 0x84D4; 1923 static const int TEXTURE20 = 0x84D4;
1924 1924
1925 @DomName('WebGLRenderingContext.TEXTURE21') 1925 @DomName('WebGLRenderingContext.TEXTURE21')
1926 @DocsEditable 1926 @DocsEditable()
1927 static const int TEXTURE21 = 0x84D5; 1927 static const int TEXTURE21 = 0x84D5;
1928 1928
1929 @DomName('WebGLRenderingContext.TEXTURE22') 1929 @DomName('WebGLRenderingContext.TEXTURE22')
1930 @DocsEditable 1930 @DocsEditable()
1931 static const int TEXTURE22 = 0x84D6; 1931 static const int TEXTURE22 = 0x84D6;
1932 1932
1933 @DomName('WebGLRenderingContext.TEXTURE23') 1933 @DomName('WebGLRenderingContext.TEXTURE23')
1934 @DocsEditable 1934 @DocsEditable()
1935 static const int TEXTURE23 = 0x84D7; 1935 static const int TEXTURE23 = 0x84D7;
1936 1936
1937 @DomName('WebGLRenderingContext.TEXTURE24') 1937 @DomName('WebGLRenderingContext.TEXTURE24')
1938 @DocsEditable 1938 @DocsEditable()
1939 static const int TEXTURE24 = 0x84D8; 1939 static const int TEXTURE24 = 0x84D8;
1940 1940
1941 @DomName('WebGLRenderingContext.TEXTURE25') 1941 @DomName('WebGLRenderingContext.TEXTURE25')
1942 @DocsEditable 1942 @DocsEditable()
1943 static const int TEXTURE25 = 0x84D9; 1943 static const int TEXTURE25 = 0x84D9;
1944 1944
1945 @DomName('WebGLRenderingContext.TEXTURE26') 1945 @DomName('WebGLRenderingContext.TEXTURE26')
1946 @DocsEditable 1946 @DocsEditable()
1947 static const int TEXTURE26 = 0x84DA; 1947 static const int TEXTURE26 = 0x84DA;
1948 1948
1949 @DomName('WebGLRenderingContext.TEXTURE27') 1949 @DomName('WebGLRenderingContext.TEXTURE27')
1950 @DocsEditable 1950 @DocsEditable()
1951 static const int TEXTURE27 = 0x84DB; 1951 static const int TEXTURE27 = 0x84DB;
1952 1952
1953 @DomName('WebGLRenderingContext.TEXTURE28') 1953 @DomName('WebGLRenderingContext.TEXTURE28')
1954 @DocsEditable 1954 @DocsEditable()
1955 static const int TEXTURE28 = 0x84DC; 1955 static const int TEXTURE28 = 0x84DC;
1956 1956
1957 @DomName('WebGLRenderingContext.TEXTURE29') 1957 @DomName('WebGLRenderingContext.TEXTURE29')
1958 @DocsEditable 1958 @DocsEditable()
1959 static const int TEXTURE29 = 0x84DD; 1959 static const int TEXTURE29 = 0x84DD;
1960 1960
1961 @DomName('WebGLRenderingContext.TEXTURE3') 1961 @DomName('WebGLRenderingContext.TEXTURE3')
1962 @DocsEditable 1962 @DocsEditable()
1963 static const int TEXTURE3 = 0x84C3; 1963 static const int TEXTURE3 = 0x84C3;
1964 1964
1965 @DomName('WebGLRenderingContext.TEXTURE30') 1965 @DomName('WebGLRenderingContext.TEXTURE30')
1966 @DocsEditable 1966 @DocsEditable()
1967 static const int TEXTURE30 = 0x84DE; 1967 static const int TEXTURE30 = 0x84DE;
1968 1968
1969 @DomName('WebGLRenderingContext.TEXTURE31') 1969 @DomName('WebGLRenderingContext.TEXTURE31')
1970 @DocsEditable 1970 @DocsEditable()
1971 static const int TEXTURE31 = 0x84DF; 1971 static const int TEXTURE31 = 0x84DF;
1972 1972
1973 @DomName('WebGLRenderingContext.TEXTURE4') 1973 @DomName('WebGLRenderingContext.TEXTURE4')
1974 @DocsEditable 1974 @DocsEditable()
1975 static const int TEXTURE4 = 0x84C4; 1975 static const int TEXTURE4 = 0x84C4;
1976 1976
1977 @DomName('WebGLRenderingContext.TEXTURE5') 1977 @DomName('WebGLRenderingContext.TEXTURE5')
1978 @DocsEditable 1978 @DocsEditable()
1979 static const int TEXTURE5 = 0x84C5; 1979 static const int TEXTURE5 = 0x84C5;
1980 1980
1981 @DomName('WebGLRenderingContext.TEXTURE6') 1981 @DomName('WebGLRenderingContext.TEXTURE6')
1982 @DocsEditable 1982 @DocsEditable()
1983 static const int TEXTURE6 = 0x84C6; 1983 static const int TEXTURE6 = 0x84C6;
1984 1984
1985 @DomName('WebGLRenderingContext.TEXTURE7') 1985 @DomName('WebGLRenderingContext.TEXTURE7')
1986 @DocsEditable 1986 @DocsEditable()
1987 static const int TEXTURE7 = 0x84C7; 1987 static const int TEXTURE7 = 0x84C7;
1988 1988
1989 @DomName('WebGLRenderingContext.TEXTURE8') 1989 @DomName('WebGLRenderingContext.TEXTURE8')
1990 @DocsEditable 1990 @DocsEditable()
1991 static const int TEXTURE8 = 0x84C8; 1991 static const int TEXTURE8 = 0x84C8;
1992 1992
1993 @DomName('WebGLRenderingContext.TEXTURE9') 1993 @DomName('WebGLRenderingContext.TEXTURE9')
1994 @DocsEditable 1994 @DocsEditable()
1995 static const int TEXTURE9 = 0x84C9; 1995 static const int TEXTURE9 = 0x84C9;
1996 1996
1997 @DomName('WebGLRenderingContext.TEXTURE_2D') 1997 @DomName('WebGLRenderingContext.TEXTURE_2D')
1998 @DocsEditable 1998 @DocsEditable()
1999 static const int TEXTURE_2D = 0x0DE1; 1999 static const int TEXTURE_2D = 0x0DE1;
2000 2000
2001 @DomName('WebGLRenderingContext.TEXTURE_BINDING_2D') 2001 @DomName('WebGLRenderingContext.TEXTURE_BINDING_2D')
2002 @DocsEditable 2002 @DocsEditable()
2003 static const int TEXTURE_BINDING_2D = 0x8069; 2003 static const int TEXTURE_BINDING_2D = 0x8069;
2004 2004
2005 @DomName('WebGLRenderingContext.TEXTURE_BINDING_CUBE_MAP') 2005 @DomName('WebGLRenderingContext.TEXTURE_BINDING_CUBE_MAP')
2006 @DocsEditable 2006 @DocsEditable()
2007 static const int TEXTURE_BINDING_CUBE_MAP = 0x8514; 2007 static const int TEXTURE_BINDING_CUBE_MAP = 0x8514;
2008 2008
2009 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP') 2009 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP')
2010 @DocsEditable 2010 @DocsEditable()
2011 static const int TEXTURE_CUBE_MAP = 0x8513; 2011 static const int TEXTURE_CUBE_MAP = 0x8513;
2012 2012
2013 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X') 2013 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X')
2014 @DocsEditable 2014 @DocsEditable()
2015 static const int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516; 2015 static const int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516;
2016 2016
2017 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y') 2017 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y')
2018 @DocsEditable 2018 @DocsEditable()
2019 static const int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518; 2019 static const int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518;
2020 2020
2021 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z') 2021 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z')
2022 @DocsEditable 2022 @DocsEditable()
2023 static const int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A; 2023 static const int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A;
2024 2024
2025 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X') 2025 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X')
2026 @DocsEditable 2026 @DocsEditable()
2027 static const int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515; 2027 static const int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515;
2028 2028
2029 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y') 2029 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y')
2030 @DocsEditable 2030 @DocsEditable()
2031 static const int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517; 2031 static const int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517;
2032 2032
2033 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z') 2033 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z')
2034 @DocsEditable 2034 @DocsEditable()
2035 static const int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519; 2035 static const int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519;
2036 2036
2037 @DomName('WebGLRenderingContext.TEXTURE_MAG_FILTER') 2037 @DomName('WebGLRenderingContext.TEXTURE_MAG_FILTER')
2038 @DocsEditable 2038 @DocsEditable()
2039 static const int TEXTURE_MAG_FILTER = 0x2800; 2039 static const int TEXTURE_MAG_FILTER = 0x2800;
2040 2040
2041 @DomName('WebGLRenderingContext.TEXTURE_MIN_FILTER') 2041 @DomName('WebGLRenderingContext.TEXTURE_MIN_FILTER')
2042 @DocsEditable 2042 @DocsEditable()
2043 static const int TEXTURE_MIN_FILTER = 0x2801; 2043 static const int TEXTURE_MIN_FILTER = 0x2801;
2044 2044
2045 @DomName('WebGLRenderingContext.TEXTURE_WRAP_S') 2045 @DomName('WebGLRenderingContext.TEXTURE_WRAP_S')
2046 @DocsEditable 2046 @DocsEditable()
2047 static const int TEXTURE_WRAP_S = 0x2802; 2047 static const int TEXTURE_WRAP_S = 0x2802;
2048 2048
2049 @DomName('WebGLRenderingContext.TEXTURE_WRAP_T') 2049 @DomName('WebGLRenderingContext.TEXTURE_WRAP_T')
2050 @DocsEditable 2050 @DocsEditable()
2051 static const int TEXTURE_WRAP_T = 0x2803; 2051 static const int TEXTURE_WRAP_T = 0x2803;
2052 2052
2053 @DomName('WebGLRenderingContext.TRIANGLES') 2053 @DomName('WebGLRenderingContext.TRIANGLES')
2054 @DocsEditable 2054 @DocsEditable()
2055 static const int TRIANGLES = 0x0004; 2055 static const int TRIANGLES = 0x0004;
2056 2056
2057 @DomName('WebGLRenderingContext.TRIANGLE_FAN') 2057 @DomName('WebGLRenderingContext.TRIANGLE_FAN')
2058 @DocsEditable 2058 @DocsEditable()
2059 static const int TRIANGLE_FAN = 0x0006; 2059 static const int TRIANGLE_FAN = 0x0006;
2060 2060
2061 @DomName('WebGLRenderingContext.TRIANGLE_STRIP') 2061 @DomName('WebGLRenderingContext.TRIANGLE_STRIP')
2062 @DocsEditable 2062 @DocsEditable()
2063 static const int TRIANGLE_STRIP = 0x0005; 2063 static const int TRIANGLE_STRIP = 0x0005;
2064 2064
2065 @DomName('WebGLRenderingContext.UNPACK_ALIGNMENT') 2065 @DomName('WebGLRenderingContext.UNPACK_ALIGNMENT')
2066 @DocsEditable 2066 @DocsEditable()
2067 static const int UNPACK_ALIGNMENT = 0x0CF5; 2067 static const int UNPACK_ALIGNMENT = 0x0CF5;
2068 2068
2069 @DomName('WebGLRenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL') 2069 @DomName('WebGLRenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL')
2070 @DocsEditable 2070 @DocsEditable()
2071 static const int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; 2071 static const int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243;
2072 2072
2073 @DomName('WebGLRenderingContext.UNPACK_FLIP_Y_WEBGL') 2073 @DomName('WebGLRenderingContext.UNPACK_FLIP_Y_WEBGL')
2074 @DocsEditable 2074 @DocsEditable()
2075 static const int UNPACK_FLIP_Y_WEBGL = 0x9240; 2075 static const int UNPACK_FLIP_Y_WEBGL = 0x9240;
2076 2076
2077 @DomName('WebGLRenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL') 2077 @DomName('WebGLRenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL')
2078 @DocsEditable 2078 @DocsEditable()
2079 static const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; 2079 static const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241;
2080 2080
2081 @DomName('WebGLRenderingContext.UNSIGNED_BYTE') 2081 @DomName('WebGLRenderingContext.UNSIGNED_BYTE')
2082 @DocsEditable 2082 @DocsEditable()
2083 static const int UNSIGNED_BYTE = 0x1401; 2083 static const int UNSIGNED_BYTE = 0x1401;
2084 2084
2085 @DomName('WebGLRenderingContext.UNSIGNED_INT') 2085 @DomName('WebGLRenderingContext.UNSIGNED_INT')
2086 @DocsEditable 2086 @DocsEditable()
2087 static const int UNSIGNED_INT = 0x1405; 2087 static const int UNSIGNED_INT = 0x1405;
2088 2088
2089 @DomName('WebGLRenderingContext.UNSIGNED_SHORT') 2089 @DomName('WebGLRenderingContext.UNSIGNED_SHORT')
2090 @DocsEditable 2090 @DocsEditable()
2091 static const int UNSIGNED_SHORT = 0x1403; 2091 static const int UNSIGNED_SHORT = 0x1403;
2092 2092
2093 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_4_4_4_4') 2093 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_4_4_4_4')
2094 @DocsEditable 2094 @DocsEditable()
2095 static const int UNSIGNED_SHORT_4_4_4_4 = 0x8033; 2095 static const int UNSIGNED_SHORT_4_4_4_4 = 0x8033;
2096 2096
2097 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_5_5_5_1') 2097 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_5_5_5_1')
2098 @DocsEditable 2098 @DocsEditable()
2099 static const int UNSIGNED_SHORT_5_5_5_1 = 0x8034; 2099 static const int UNSIGNED_SHORT_5_5_5_1 = 0x8034;
2100 2100
2101 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_5_6_5') 2101 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_5_6_5')
2102 @DocsEditable 2102 @DocsEditable()
2103 static const int UNSIGNED_SHORT_5_6_5 = 0x8363; 2103 static const int UNSIGNED_SHORT_5_6_5 = 0x8363;
2104 2104
2105 @DomName('WebGLRenderingContext.VALIDATE_STATUS') 2105 @DomName('WebGLRenderingContext.VALIDATE_STATUS')
2106 @DocsEditable 2106 @DocsEditable()
2107 static const int VALIDATE_STATUS = 0x8B83; 2107 static const int VALIDATE_STATUS = 0x8B83;
2108 2108
2109 @DomName('WebGLRenderingContext.VENDOR') 2109 @DomName('WebGLRenderingContext.VENDOR')
2110 @DocsEditable 2110 @DocsEditable()
2111 static const int VENDOR = 0x1F00; 2111 static const int VENDOR = 0x1F00;
2112 2112
2113 @DomName('WebGLRenderingContext.VERSION') 2113 @DomName('WebGLRenderingContext.VERSION')
2114 @DocsEditable 2114 @DocsEditable()
2115 static const int VERSION = 0x1F02; 2115 static const int VERSION = 0x1F02;
2116 2116
2117 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING') 2117 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING')
2118 @DocsEditable 2118 @DocsEditable()
2119 static const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F; 2119 static const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F;
2120 2120
2121 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED') 2121 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED')
2122 @DocsEditable 2122 @DocsEditable()
2123 static const int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622; 2123 static const int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622;
2124 2124
2125 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED') 2125 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED')
2126 @DocsEditable 2126 @DocsEditable()
2127 static const int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A; 2127 static const int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A;
2128 2128
2129 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_POINTER') 2129 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_POINTER')
2130 @DocsEditable 2130 @DocsEditable()
2131 static const int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645; 2131 static const int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645;
2132 2132
2133 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_SIZE') 2133 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_SIZE')
2134 @DocsEditable 2134 @DocsEditable()
2135 static const int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623; 2135 static const int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623;
2136 2136
2137 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE') 2137 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE')
2138 @DocsEditable 2138 @DocsEditable()
2139 static const int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624; 2139 static const int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624;
2140 2140
2141 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_TYPE') 2141 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_TYPE')
2142 @DocsEditable 2142 @DocsEditable()
2143 static const int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; 2143 static const int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625;
2144 2144
2145 @DomName('WebGLRenderingContext.VERTEX_SHADER') 2145 @DomName('WebGLRenderingContext.VERTEX_SHADER')
2146 @DocsEditable 2146 @DocsEditable()
2147 static const int VERTEX_SHADER = 0x8B31; 2147 static const int VERTEX_SHADER = 0x8B31;
2148 2148
2149 @DomName('WebGLRenderingContext.VIEWPORT') 2149 @DomName('WebGLRenderingContext.VIEWPORT')
2150 @DocsEditable 2150 @DocsEditable()
2151 static const int VIEWPORT = 0x0BA2; 2151 static const int VIEWPORT = 0x0BA2;
2152 2152
2153 @DomName('WebGLRenderingContext.ZERO') 2153 @DomName('WebGLRenderingContext.ZERO')
2154 @DocsEditable 2154 @DocsEditable()
2155 static const int ZERO = 0; 2155 static const int ZERO = 0;
2156 2156
2157 @DomName('WebGLRenderingContext.drawingBufferHeight') 2157 @DomName('WebGLRenderingContext.drawingBufferHeight')
2158 @DocsEditable 2158 @DocsEditable()
2159 int get drawingBufferHeight native "WebGLRenderingContext_drawingBufferHeight_ Getter"; 2159 int get drawingBufferHeight native "WebGLRenderingContext_drawingBufferHeight_ Getter";
2160 2160
2161 @DomName('WebGLRenderingContext.drawingBufferWidth') 2161 @DomName('WebGLRenderingContext.drawingBufferWidth')
2162 @DocsEditable 2162 @DocsEditable()
2163 int get drawingBufferWidth native "WebGLRenderingContext_drawingBufferWidth_Ge tter"; 2163 int get drawingBufferWidth native "WebGLRenderingContext_drawingBufferWidth_Ge tter";
2164 2164
2165 @DomName('WebGLRenderingContext.activeTexture') 2165 @DomName('WebGLRenderingContext.activeTexture')
2166 @DocsEditable 2166 @DocsEditable()
2167 void activeTexture(int texture) native "WebGLRenderingContext_activeTexture_Ca llback"; 2167 void activeTexture(int texture) native "WebGLRenderingContext_activeTexture_Ca llback";
2168 2168
2169 @DomName('WebGLRenderingContext.attachShader') 2169 @DomName('WebGLRenderingContext.attachShader')
2170 @DocsEditable 2170 @DocsEditable()
2171 void attachShader(Program program, Shader shader) native "WebGLRenderingContex t_attachShader_Callback"; 2171 void attachShader(Program program, Shader shader) native "WebGLRenderingContex t_attachShader_Callback";
2172 2172
2173 @DomName('WebGLRenderingContext.bindAttribLocation') 2173 @DomName('WebGLRenderingContext.bindAttribLocation')
2174 @DocsEditable 2174 @DocsEditable()
2175 void bindAttribLocation(Program program, int index, String name) native "WebGL RenderingContext_bindAttribLocation_Callback"; 2175 void bindAttribLocation(Program program, int index, String name) native "WebGL RenderingContext_bindAttribLocation_Callback";
2176 2176
2177 @DomName('WebGLRenderingContext.bindBuffer') 2177 @DomName('WebGLRenderingContext.bindBuffer')
2178 @DocsEditable 2178 @DocsEditable()
2179 void bindBuffer(int target, Buffer buffer) native "WebGLRenderingContext_bindB uffer_Callback"; 2179 void bindBuffer(int target, Buffer buffer) native "WebGLRenderingContext_bindB uffer_Callback";
2180 2180
2181 @DomName('WebGLRenderingContext.bindFramebuffer') 2181 @DomName('WebGLRenderingContext.bindFramebuffer')
2182 @DocsEditable 2182 @DocsEditable()
2183 void bindFramebuffer(int target, Framebuffer framebuffer) native "WebGLRenderi ngContext_bindFramebuffer_Callback"; 2183 void bindFramebuffer(int target, Framebuffer framebuffer) native "WebGLRenderi ngContext_bindFramebuffer_Callback";
2184 2184
2185 @DomName('WebGLRenderingContext.bindRenderbuffer') 2185 @DomName('WebGLRenderingContext.bindRenderbuffer')
2186 @DocsEditable 2186 @DocsEditable()
2187 void bindRenderbuffer(int target, Renderbuffer renderbuffer) native "WebGLRend eringContext_bindRenderbuffer_Callback"; 2187 void bindRenderbuffer(int target, Renderbuffer renderbuffer) native "WebGLRend eringContext_bindRenderbuffer_Callback";
2188 2188
2189 @DomName('WebGLRenderingContext.bindTexture') 2189 @DomName('WebGLRenderingContext.bindTexture')
2190 @DocsEditable 2190 @DocsEditable()
2191 void bindTexture(int target, Texture texture) native "WebGLRenderingContext_bi ndTexture_Callback"; 2191 void bindTexture(int target, Texture texture) native "WebGLRenderingContext_bi ndTexture_Callback";
2192 2192
2193 @DomName('WebGLRenderingContext.blendColor') 2193 @DomName('WebGLRenderingContext.blendColor')
2194 @DocsEditable 2194 @DocsEditable()
2195 void blendColor(num red, num green, num blue, num alpha) native "WebGLRenderin gContext_blendColor_Callback"; 2195 void blendColor(num red, num green, num blue, num alpha) native "WebGLRenderin gContext_blendColor_Callback";
2196 2196
2197 @DomName('WebGLRenderingContext.blendEquation') 2197 @DomName('WebGLRenderingContext.blendEquation')
2198 @DocsEditable 2198 @DocsEditable()
2199 void blendEquation(int mode) native "WebGLRenderingContext_blendEquation_Callb ack"; 2199 void blendEquation(int mode) native "WebGLRenderingContext_blendEquation_Callb ack";
2200 2200
2201 @DomName('WebGLRenderingContext.blendEquationSeparate') 2201 @DomName('WebGLRenderingContext.blendEquationSeparate')
2202 @DocsEditable 2202 @DocsEditable()
2203 void blendEquationSeparate(int modeRGB, int modeAlpha) native "WebGLRenderingC ontext_blendEquationSeparate_Callback"; 2203 void blendEquationSeparate(int modeRGB, int modeAlpha) native "WebGLRenderingC ontext_blendEquationSeparate_Callback";
2204 2204
2205 @DomName('WebGLRenderingContext.blendFunc') 2205 @DomName('WebGLRenderingContext.blendFunc')
2206 @DocsEditable 2206 @DocsEditable()
2207 void blendFunc(int sfactor, int dfactor) native "WebGLRenderingContext_blendFu nc_Callback"; 2207 void blendFunc(int sfactor, int dfactor) native "WebGLRenderingContext_blendFu nc_Callback";
2208 2208
2209 @DomName('WebGLRenderingContext.blendFuncSeparate') 2209 @DomName('WebGLRenderingContext.blendFuncSeparate')
2210 @DocsEditable 2210 @DocsEditable()
2211 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) nat ive "WebGLRenderingContext_blendFuncSeparate_Callback"; 2211 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) nat ive "WebGLRenderingContext_blendFuncSeparate_Callback";
2212 2212
2213 void bufferData(int target, data_OR_size, int usage) { 2213 void bufferData(int target, data_OR_size, int usage) {
2214 if ((usage is int || usage == null) && (data_OR_size is TypedData || data_OR _size == null) && (target is int || target == null)) { 2214 if ((usage is int || usage == null) && (data_OR_size is TypedData || data_OR _size == null) && (target is int || target == null)) {
2215 _bufferData_1(target, data_OR_size, usage); 2215 _bufferData_1(target, data_OR_size, usage);
2216 return; 2216 return;
2217 } 2217 }
2218 if ((usage is int || usage == null) && (data_OR_size is ByteBuffer || data_O R_size == null) && (target is int || target == null)) { 2218 if ((usage is int || usage == null) && (data_OR_size is ByteBuffer || data_O R_size == null) && (target is int || target == null)) {
2219 _bufferData_2(target, data_OR_size, usage); 2219 _bufferData_2(target, data_OR_size, usage);
2220 return; 2220 return;
(...skipping 21 matching lines...) Expand all
2242 return; 2242 return;
2243 } 2243 }
2244 throw new ArgumentError("Incorrect number or type of arguments"); 2244 throw new ArgumentError("Incorrect number or type of arguments");
2245 } 2245 }
2246 2246
2247 void _bufferSubData_1(target, offset, data) native "WebGLRenderingContext__buf ferSubData_1_Callback"; 2247 void _bufferSubData_1(target, offset, data) native "WebGLRenderingContext__buf ferSubData_1_Callback";
2248 2248
2249 void _bufferSubData_2(target, offset, data) native "WebGLRenderingContext__buf ferSubData_2_Callback"; 2249 void _bufferSubData_2(target, offset, data) native "WebGLRenderingContext__buf ferSubData_2_Callback";
2250 2250
2251 @DomName('WebGLRenderingContext.checkFramebufferStatus') 2251 @DomName('WebGLRenderingContext.checkFramebufferStatus')
2252 @DocsEditable 2252 @DocsEditable()
2253 int checkFramebufferStatus(int target) native "WebGLRenderingContext_checkFram ebufferStatus_Callback"; 2253 int checkFramebufferStatus(int target) native "WebGLRenderingContext_checkFram ebufferStatus_Callback";
2254 2254
2255 @DomName('WebGLRenderingContext.clear') 2255 @DomName('WebGLRenderingContext.clear')
2256 @DocsEditable 2256 @DocsEditable()
2257 void clear(int mask) native "WebGLRenderingContext_clear_Callback"; 2257 void clear(int mask) native "WebGLRenderingContext_clear_Callback";
2258 2258
2259 @DomName('WebGLRenderingContext.clearColor') 2259 @DomName('WebGLRenderingContext.clearColor')
2260 @DocsEditable 2260 @DocsEditable()
2261 void clearColor(num red, num green, num blue, num alpha) native "WebGLRenderin gContext_clearColor_Callback"; 2261 void clearColor(num red, num green, num blue, num alpha) native "WebGLRenderin gContext_clearColor_Callback";
2262 2262
2263 @DomName('WebGLRenderingContext.clearDepth') 2263 @DomName('WebGLRenderingContext.clearDepth')
2264 @DocsEditable 2264 @DocsEditable()
2265 void clearDepth(num depth) native "WebGLRenderingContext_clearDepth_Callback"; 2265 void clearDepth(num depth) native "WebGLRenderingContext_clearDepth_Callback";
2266 2266
2267 @DomName('WebGLRenderingContext.clearStencil') 2267 @DomName('WebGLRenderingContext.clearStencil')
2268 @DocsEditable 2268 @DocsEditable()
2269 void clearStencil(int s) native "WebGLRenderingContext_clearStencil_Callback"; 2269 void clearStencil(int s) native "WebGLRenderingContext_clearStencil_Callback";
2270 2270
2271 @DomName('WebGLRenderingContext.colorMask') 2271 @DomName('WebGLRenderingContext.colorMask')
2272 @DocsEditable 2272 @DocsEditable()
2273 void colorMask(bool red, bool green, bool blue, bool alpha) native "WebGLRende ringContext_colorMask_Callback"; 2273 void colorMask(bool red, bool green, bool blue, bool alpha) native "WebGLRende ringContext_colorMask_Callback";
2274 2274
2275 @DomName('WebGLRenderingContext.compileShader') 2275 @DomName('WebGLRenderingContext.compileShader')
2276 @DocsEditable 2276 @DocsEditable()
2277 void compileShader(Shader shader) native "WebGLRenderingContext_compileShader_ Callback"; 2277 void compileShader(Shader shader) native "WebGLRenderingContext_compileShader_ Callback";
2278 2278
2279 @DomName('WebGLRenderingContext.compressedTexImage2D') 2279 @DomName('WebGLRenderingContext.compressedTexImage2D')
2280 @DocsEditable 2280 @DocsEditable()
2281 void compressedTexImage2D(int target, int level, int internalformat, int width , int height, int border, TypedData data) native "WebGLRenderingContext_compress edTexImage2D_Callback"; 2281 void compressedTexImage2D(int target, int level, int internalformat, int width , int height, int border, TypedData data) native "WebGLRenderingContext_compress edTexImage2D_Callback";
2282 2282
2283 @DomName('WebGLRenderingContext.compressedTexSubImage2D') 2283 @DomName('WebGLRenderingContext.compressedTexSubImage2D')
2284 @DocsEditable 2284 @DocsEditable()
2285 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, TypedData data) native "WebGLRenderingContext _compressedTexSubImage2D_Callback"; 2285 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, TypedData data) native "WebGLRenderingContext _compressedTexSubImage2D_Callback";
2286 2286
2287 @DomName('WebGLRenderingContext.copyTexImage2D') 2287 @DomName('WebGLRenderingContext.copyTexImage2D')
2288 @DocsEditable 2288 @DocsEditable()
2289 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i nt width, int height, int border) native "WebGLRenderingContext_copyTexImage2D_C allback"; 2289 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i nt width, int height, int border) native "WebGLRenderingContext_copyTexImage2D_C allback";
2290 2290
2291 @DomName('WebGLRenderingContext.copyTexSubImage2D') 2291 @DomName('WebGLRenderingContext.copyTexSubImage2D')
2292 @DocsEditable 2292 @DocsEditable()
2293 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) native "WebGLRenderingContext_copyTexSubImage2D_C allback"; 2293 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) native "WebGLRenderingContext_copyTexSubImage2D_C allback";
2294 2294
2295 @DomName('WebGLRenderingContext.createBuffer') 2295 @DomName('WebGLRenderingContext.createBuffer')
2296 @DocsEditable 2296 @DocsEditable()
2297 Buffer createBuffer() native "WebGLRenderingContext_createBuffer_Callback"; 2297 Buffer createBuffer() native "WebGLRenderingContext_createBuffer_Callback";
2298 2298
2299 @DomName('WebGLRenderingContext.createFramebuffer') 2299 @DomName('WebGLRenderingContext.createFramebuffer')
2300 @DocsEditable 2300 @DocsEditable()
2301 Framebuffer createFramebuffer() native "WebGLRenderingContext_createFramebuffe r_Callback"; 2301 Framebuffer createFramebuffer() native "WebGLRenderingContext_createFramebuffe r_Callback";
2302 2302
2303 @DomName('WebGLRenderingContext.createProgram') 2303 @DomName('WebGLRenderingContext.createProgram')
2304 @DocsEditable 2304 @DocsEditable()
2305 Program createProgram() native "WebGLRenderingContext_createProgram_Callback"; 2305 Program createProgram() native "WebGLRenderingContext_createProgram_Callback";
2306 2306
2307 @DomName('WebGLRenderingContext.createRenderbuffer') 2307 @DomName('WebGLRenderingContext.createRenderbuffer')
2308 @DocsEditable 2308 @DocsEditable()
2309 Renderbuffer createRenderbuffer() native "WebGLRenderingContext_createRenderbu ffer_Callback"; 2309 Renderbuffer createRenderbuffer() native "WebGLRenderingContext_createRenderbu ffer_Callback";
2310 2310
2311 @DomName('WebGLRenderingContext.createShader') 2311 @DomName('WebGLRenderingContext.createShader')
2312 @DocsEditable 2312 @DocsEditable()
2313 Shader createShader(int type) native "WebGLRenderingContext_createShader_Callb ack"; 2313 Shader createShader(int type) native "WebGLRenderingContext_createShader_Callb ack";
2314 2314
2315 @DomName('WebGLRenderingContext.createTexture') 2315 @DomName('WebGLRenderingContext.createTexture')
2316 @DocsEditable 2316 @DocsEditable()
2317 Texture createTexture() native "WebGLRenderingContext_createTexture_Callback"; 2317 Texture createTexture() native "WebGLRenderingContext_createTexture_Callback";
2318 2318
2319 @DomName('WebGLRenderingContext.cullFace') 2319 @DomName('WebGLRenderingContext.cullFace')
2320 @DocsEditable 2320 @DocsEditable()
2321 void cullFace(int mode) native "WebGLRenderingContext_cullFace_Callback"; 2321 void cullFace(int mode) native "WebGLRenderingContext_cullFace_Callback";
2322 2322
2323 @DomName('WebGLRenderingContext.deleteBuffer') 2323 @DomName('WebGLRenderingContext.deleteBuffer')
2324 @DocsEditable 2324 @DocsEditable()
2325 void deleteBuffer(Buffer buffer) native "WebGLRenderingContext_deleteBuffer_Ca llback"; 2325 void deleteBuffer(Buffer buffer) native "WebGLRenderingContext_deleteBuffer_Ca llback";
2326 2326
2327 @DomName('WebGLRenderingContext.deleteFramebuffer') 2327 @DomName('WebGLRenderingContext.deleteFramebuffer')
2328 @DocsEditable 2328 @DocsEditable()
2329 void deleteFramebuffer(Framebuffer framebuffer) native "WebGLRenderingContext_ deleteFramebuffer_Callback"; 2329 void deleteFramebuffer(Framebuffer framebuffer) native "WebGLRenderingContext_ deleteFramebuffer_Callback";
2330 2330
2331 @DomName('WebGLRenderingContext.deleteProgram') 2331 @DomName('WebGLRenderingContext.deleteProgram')
2332 @DocsEditable 2332 @DocsEditable()
2333 void deleteProgram(Program program) native "WebGLRenderingContext_deleteProgra m_Callback"; 2333 void deleteProgram(Program program) native "WebGLRenderingContext_deleteProgra m_Callback";
2334 2334
2335 @DomName('WebGLRenderingContext.deleteRenderbuffer') 2335 @DomName('WebGLRenderingContext.deleteRenderbuffer')
2336 @DocsEditable 2336 @DocsEditable()
2337 void deleteRenderbuffer(Renderbuffer renderbuffer) native "WebGLRenderingConte xt_deleteRenderbuffer_Callback"; 2337 void deleteRenderbuffer(Renderbuffer renderbuffer) native "WebGLRenderingConte xt_deleteRenderbuffer_Callback";
2338 2338
2339 @DomName('WebGLRenderingContext.deleteShader') 2339 @DomName('WebGLRenderingContext.deleteShader')
2340 @DocsEditable 2340 @DocsEditable()
2341 void deleteShader(Shader shader) native "WebGLRenderingContext_deleteShader_Ca llback"; 2341 void deleteShader(Shader shader) native "WebGLRenderingContext_deleteShader_Ca llback";
2342 2342
2343 @DomName('WebGLRenderingContext.deleteTexture') 2343 @DomName('WebGLRenderingContext.deleteTexture')
2344 @DocsEditable 2344 @DocsEditable()
2345 void deleteTexture(Texture texture) native "WebGLRenderingContext_deleteTextur e_Callback"; 2345 void deleteTexture(Texture texture) native "WebGLRenderingContext_deleteTextur e_Callback";
2346 2346
2347 @DomName('WebGLRenderingContext.depthFunc') 2347 @DomName('WebGLRenderingContext.depthFunc')
2348 @DocsEditable 2348 @DocsEditable()
2349 void depthFunc(int func) native "WebGLRenderingContext_depthFunc_Callback"; 2349 void depthFunc(int func) native "WebGLRenderingContext_depthFunc_Callback";
2350 2350
2351 @DomName('WebGLRenderingContext.depthMask') 2351 @DomName('WebGLRenderingContext.depthMask')
2352 @DocsEditable 2352 @DocsEditable()
2353 void depthMask(bool flag) native "WebGLRenderingContext_depthMask_Callback"; 2353 void depthMask(bool flag) native "WebGLRenderingContext_depthMask_Callback";
2354 2354
2355 @DomName('WebGLRenderingContext.depthRange') 2355 @DomName('WebGLRenderingContext.depthRange')
2356 @DocsEditable 2356 @DocsEditable()
2357 void depthRange(num zNear, num zFar) native "WebGLRenderingContext_depthRange_ Callback"; 2357 void depthRange(num zNear, num zFar) native "WebGLRenderingContext_depthRange_ Callback";
2358 2358
2359 @DomName('WebGLRenderingContext.detachShader') 2359 @DomName('WebGLRenderingContext.detachShader')
2360 @DocsEditable 2360 @DocsEditable()
2361 void detachShader(Program program, Shader shader) native "WebGLRenderingContex t_detachShader_Callback"; 2361 void detachShader(Program program, Shader shader) native "WebGLRenderingContex t_detachShader_Callback";
2362 2362
2363 @DomName('WebGLRenderingContext.disable') 2363 @DomName('WebGLRenderingContext.disable')
2364 @DocsEditable 2364 @DocsEditable()
2365 void disable(int cap) native "WebGLRenderingContext_disable_Callback"; 2365 void disable(int cap) native "WebGLRenderingContext_disable_Callback";
2366 2366
2367 @DomName('WebGLRenderingContext.disableVertexAttribArray') 2367 @DomName('WebGLRenderingContext.disableVertexAttribArray')
2368 @DocsEditable 2368 @DocsEditable()
2369 void disableVertexAttribArray(int index) native "WebGLRenderingContext_disable VertexAttribArray_Callback"; 2369 void disableVertexAttribArray(int index) native "WebGLRenderingContext_disable VertexAttribArray_Callback";
2370 2370
2371 @DomName('WebGLRenderingContext.drawArrays') 2371 @DomName('WebGLRenderingContext.drawArrays')
2372 @DocsEditable 2372 @DocsEditable()
2373 void drawArrays(int mode, int first, int count) native "WebGLRenderingContext_ drawArrays_Callback"; 2373 void drawArrays(int mode, int first, int count) native "WebGLRenderingContext_ drawArrays_Callback";
2374 2374
2375 @DomName('WebGLRenderingContext.drawElements') 2375 @DomName('WebGLRenderingContext.drawElements')
2376 @DocsEditable 2376 @DocsEditable()
2377 void drawElements(int mode, int count, int type, int offset) native "WebGLRend eringContext_drawElements_Callback"; 2377 void drawElements(int mode, int count, int type, int offset) native "WebGLRend eringContext_drawElements_Callback";
2378 2378
2379 @DomName('WebGLRenderingContext.enable') 2379 @DomName('WebGLRenderingContext.enable')
2380 @DocsEditable 2380 @DocsEditable()
2381 void enable(int cap) native "WebGLRenderingContext_enable_Callback"; 2381 void enable(int cap) native "WebGLRenderingContext_enable_Callback";
2382 2382
2383 @DomName('WebGLRenderingContext.enableVertexAttribArray') 2383 @DomName('WebGLRenderingContext.enableVertexAttribArray')
2384 @DocsEditable 2384 @DocsEditable()
2385 void enableVertexAttribArray(int index) native "WebGLRenderingContext_enableVe rtexAttribArray_Callback"; 2385 void enableVertexAttribArray(int index) native "WebGLRenderingContext_enableVe rtexAttribArray_Callback";
2386 2386
2387 @DomName('WebGLRenderingContext.finish') 2387 @DomName('WebGLRenderingContext.finish')
2388 @DocsEditable 2388 @DocsEditable()
2389 void finish() native "WebGLRenderingContext_finish_Callback"; 2389 void finish() native "WebGLRenderingContext_finish_Callback";
2390 2390
2391 @DomName('WebGLRenderingContext.flush') 2391 @DomName('WebGLRenderingContext.flush')
2392 @DocsEditable 2392 @DocsEditable()
2393 void flush() native "WebGLRenderingContext_flush_Callback"; 2393 void flush() native "WebGLRenderingContext_flush_Callback";
2394 2394
2395 @DomName('WebGLRenderingContext.framebufferRenderbuffer') 2395 @DomName('WebGLRenderingContext.framebufferRenderbuffer')
2396 @DocsEditable 2396 @DocsEditable()
2397 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge t, Renderbuffer renderbuffer) native "WebGLRenderingContext_framebufferRenderbuf fer_Callback"; 2397 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge t, Renderbuffer renderbuffer) native "WebGLRenderingContext_framebufferRenderbuf fer_Callback";
2398 2398
2399 @DomName('WebGLRenderingContext.framebufferTexture2D') 2399 @DomName('WebGLRenderingContext.framebufferTexture2D')
2400 @DocsEditable 2400 @DocsEditable()
2401 void framebufferTexture2D(int target, int attachment, int textarget, Texture t exture, int level) native "WebGLRenderingContext_framebufferTexture2D_Callback"; 2401 void framebufferTexture2D(int target, int attachment, int textarget, Texture t exture, int level) native "WebGLRenderingContext_framebufferTexture2D_Callback";
2402 2402
2403 @DomName('WebGLRenderingContext.frontFace') 2403 @DomName('WebGLRenderingContext.frontFace')
2404 @DocsEditable 2404 @DocsEditable()
2405 void frontFace(int mode) native "WebGLRenderingContext_frontFace_Callback"; 2405 void frontFace(int mode) native "WebGLRenderingContext_frontFace_Callback";
2406 2406
2407 @DomName('WebGLRenderingContext.generateMipmap') 2407 @DomName('WebGLRenderingContext.generateMipmap')
2408 @DocsEditable 2408 @DocsEditable()
2409 void generateMipmap(int target) native "WebGLRenderingContext_generateMipmap_C allback"; 2409 void generateMipmap(int target) native "WebGLRenderingContext_generateMipmap_C allback";
2410 2410
2411 @DomName('WebGLRenderingContext.getActiveAttrib') 2411 @DomName('WebGLRenderingContext.getActiveAttrib')
2412 @DocsEditable 2412 @DocsEditable()
2413 ActiveInfo getActiveAttrib(Program program, int index) native "WebGLRenderingC ontext_getActiveAttrib_Callback"; 2413 ActiveInfo getActiveAttrib(Program program, int index) native "WebGLRenderingC ontext_getActiveAttrib_Callback";
2414 2414
2415 @DomName('WebGLRenderingContext.getActiveUniform') 2415 @DomName('WebGLRenderingContext.getActiveUniform')
2416 @DocsEditable 2416 @DocsEditable()
2417 ActiveInfo getActiveUniform(Program program, int index) native "WebGLRendering Context_getActiveUniform_Callback"; 2417 ActiveInfo getActiveUniform(Program program, int index) native "WebGLRendering Context_getActiveUniform_Callback";
2418 2418
2419 @DomName('WebGLRenderingContext.getAttachedShaders') 2419 @DomName('WebGLRenderingContext.getAttachedShaders')
2420 @DocsEditable 2420 @DocsEditable()
2421 void getAttachedShaders(Program program) native "WebGLRenderingContext_getAtta chedShaders_Callback"; 2421 void getAttachedShaders(Program program) native "WebGLRenderingContext_getAtta chedShaders_Callback";
2422 2422
2423 @DomName('WebGLRenderingContext.getAttribLocation') 2423 @DomName('WebGLRenderingContext.getAttribLocation')
2424 @DocsEditable 2424 @DocsEditable()
2425 int getAttribLocation(Program program, String name) native "WebGLRenderingCont ext_getAttribLocation_Callback"; 2425 int getAttribLocation(Program program, String name) native "WebGLRenderingCont ext_getAttribLocation_Callback";
2426 2426
2427 @DomName('WebGLRenderingContext.getBufferParameter') 2427 @DomName('WebGLRenderingContext.getBufferParameter')
2428 @DocsEditable 2428 @DocsEditable()
2429 Object getBufferParameter(int target, int pname) native "WebGLRenderingContext _getBufferParameter_Callback"; 2429 Object getBufferParameter(int target, int pname) native "WebGLRenderingContext _getBufferParameter_Callback";
2430 2430
2431 @DomName('WebGLRenderingContext.getContextAttributes') 2431 @DomName('WebGLRenderingContext.getContextAttributes')
2432 @DocsEditable 2432 @DocsEditable()
2433 ContextAttributes getContextAttributes() native "WebGLRenderingContext_getCont extAttributes_Callback"; 2433 ContextAttributes getContextAttributes() native "WebGLRenderingContext_getCont extAttributes_Callback";
2434 2434
2435 @DomName('WebGLRenderingContext.getError') 2435 @DomName('WebGLRenderingContext.getError')
2436 @DocsEditable 2436 @DocsEditable()
2437 int getError() native "WebGLRenderingContext_getError_Callback"; 2437 int getError() native "WebGLRenderingContext_getError_Callback";
2438 2438
2439 @DomName('WebGLRenderingContext.getExtension') 2439 @DomName('WebGLRenderingContext.getExtension')
2440 @DocsEditable 2440 @DocsEditable()
2441 Object getExtension(String name) native "WebGLRenderingContext_getExtension_Ca llback"; 2441 Object getExtension(String name) native "WebGLRenderingContext_getExtension_Ca llback";
2442 2442
2443 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') 2443 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter')
2444 @DocsEditable 2444 @DocsEditable()
2445 Object getFramebufferAttachmentParameter(int target, int attachment, int pname ) native "WebGLRenderingContext_getFramebufferAttachmentParameter_Callback"; 2445 Object getFramebufferAttachmentParameter(int target, int attachment, int pname ) native "WebGLRenderingContext_getFramebufferAttachmentParameter_Callback";
2446 2446
2447 @DomName('WebGLRenderingContext.getParameter') 2447 @DomName('WebGLRenderingContext.getParameter')
2448 @DocsEditable 2448 @DocsEditable()
2449 Object getParameter(int pname) native "WebGLRenderingContext_getParameter_Call back"; 2449 Object getParameter(int pname) native "WebGLRenderingContext_getParameter_Call back";
2450 2450
2451 @DomName('WebGLRenderingContext.getProgramInfoLog') 2451 @DomName('WebGLRenderingContext.getProgramInfoLog')
2452 @DocsEditable 2452 @DocsEditable()
2453 String getProgramInfoLog(Program program) native "WebGLRenderingContext_getPro gramInfoLog_Callback"; 2453 String getProgramInfoLog(Program program) native "WebGLRenderingContext_getPro gramInfoLog_Callback";
2454 2454
2455 @DomName('WebGLRenderingContext.getProgramParameter') 2455 @DomName('WebGLRenderingContext.getProgramParameter')
2456 @DocsEditable 2456 @DocsEditable()
2457 Object getProgramParameter(Program program, int pname) native "WebGLRenderingC ontext_getProgramParameter_Callback"; 2457 Object getProgramParameter(Program program, int pname) native "WebGLRenderingC ontext_getProgramParameter_Callback";
2458 2458
2459 @DomName('WebGLRenderingContext.getRenderbufferParameter') 2459 @DomName('WebGLRenderingContext.getRenderbufferParameter')
2460 @DocsEditable 2460 @DocsEditable()
2461 Object getRenderbufferParameter(int target, int pname) native "WebGLRenderingC ontext_getRenderbufferParameter_Callback"; 2461 Object getRenderbufferParameter(int target, int pname) native "WebGLRenderingC ontext_getRenderbufferParameter_Callback";
2462 2462
2463 @DomName('WebGLRenderingContext.getShaderInfoLog') 2463 @DomName('WebGLRenderingContext.getShaderInfoLog')
2464 @DocsEditable 2464 @DocsEditable()
2465 String getShaderInfoLog(Shader shader) native "WebGLRenderingContext_getShader InfoLog_Callback"; 2465 String getShaderInfoLog(Shader shader) native "WebGLRenderingContext_getShader InfoLog_Callback";
2466 2466
2467 @DomName('WebGLRenderingContext.getShaderParameter') 2467 @DomName('WebGLRenderingContext.getShaderParameter')
2468 @DocsEditable 2468 @DocsEditable()
2469 Object getShaderParameter(Shader shader, int pname) native "WebGLRenderingCont ext_getShaderParameter_Callback"; 2469 Object getShaderParameter(Shader shader, int pname) native "WebGLRenderingCont ext_getShaderParameter_Callback";
2470 2470
2471 @DomName('WebGLRenderingContext.getShaderPrecisionFormat') 2471 @DomName('WebGLRenderingContext.getShaderPrecisionFormat')
2472 @DocsEditable 2472 @DocsEditable()
2473 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty pe) native "WebGLRenderingContext_getShaderPrecisionFormat_Callback"; 2473 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty pe) native "WebGLRenderingContext_getShaderPrecisionFormat_Callback";
2474 2474
2475 @DomName('WebGLRenderingContext.getShaderSource') 2475 @DomName('WebGLRenderingContext.getShaderSource')
2476 @DocsEditable 2476 @DocsEditable()
2477 String getShaderSource(Shader shader) native "WebGLRenderingContext_getShaderS ource_Callback"; 2477 String getShaderSource(Shader shader) native "WebGLRenderingContext_getShaderS ource_Callback";
2478 2478
2479 @DomName('WebGLRenderingContext.getSupportedExtensions') 2479 @DomName('WebGLRenderingContext.getSupportedExtensions')
2480 @DocsEditable 2480 @DocsEditable()
2481 List<String> getSupportedExtensions() native "WebGLRenderingContext_getSupport edExtensions_Callback"; 2481 List<String> getSupportedExtensions() native "WebGLRenderingContext_getSupport edExtensions_Callback";
2482 2482
2483 @DomName('WebGLRenderingContext.getTexParameter') 2483 @DomName('WebGLRenderingContext.getTexParameter')
2484 @DocsEditable 2484 @DocsEditable()
2485 Object getTexParameter(int target, int pname) native "WebGLRenderingContext_ge tTexParameter_Callback"; 2485 Object getTexParameter(int target, int pname) native "WebGLRenderingContext_ge tTexParameter_Callback";
2486 2486
2487 @DomName('WebGLRenderingContext.getUniform') 2487 @DomName('WebGLRenderingContext.getUniform')
2488 @DocsEditable 2488 @DocsEditable()
2489 Object getUniform(Program program, UniformLocation location) native "WebGLRend eringContext_getUniform_Callback"; 2489 Object getUniform(Program program, UniformLocation location) native "WebGLRend eringContext_getUniform_Callback";
2490 2490
2491 @DomName('WebGLRenderingContext.getUniformLocation') 2491 @DomName('WebGLRenderingContext.getUniformLocation')
2492 @DocsEditable 2492 @DocsEditable()
2493 UniformLocation getUniformLocation(Program program, String name) native "WebGL RenderingContext_getUniformLocation_Callback"; 2493 UniformLocation getUniformLocation(Program program, String name) native "WebGL RenderingContext_getUniformLocation_Callback";
2494 2494
2495 @DomName('WebGLRenderingContext.getVertexAttrib') 2495 @DomName('WebGLRenderingContext.getVertexAttrib')
2496 @DocsEditable 2496 @DocsEditable()
2497 Object getVertexAttrib(int index, int pname) native "WebGLRenderingContext_get VertexAttrib_Callback"; 2497 Object getVertexAttrib(int index, int pname) native "WebGLRenderingContext_get VertexAttrib_Callback";
2498 2498
2499 @DomName('WebGLRenderingContext.getVertexAttribOffset') 2499 @DomName('WebGLRenderingContext.getVertexAttribOffset')
2500 @DocsEditable 2500 @DocsEditable()
2501 int getVertexAttribOffset(int index, int pname) native "WebGLRenderingContext_ getVertexAttribOffset_Callback"; 2501 int getVertexAttribOffset(int index, int pname) native "WebGLRenderingContext_ getVertexAttribOffset_Callback";
2502 2502
2503 @DomName('WebGLRenderingContext.hint') 2503 @DomName('WebGLRenderingContext.hint')
2504 @DocsEditable 2504 @DocsEditable()
2505 void hint(int target, int mode) native "WebGLRenderingContext_hint_Callback"; 2505 void hint(int target, int mode) native "WebGLRenderingContext_hint_Callback";
2506 2506
2507 @DomName('WebGLRenderingContext.isBuffer') 2507 @DomName('WebGLRenderingContext.isBuffer')
2508 @DocsEditable 2508 @DocsEditable()
2509 bool isBuffer(Buffer buffer) native "WebGLRenderingContext_isBuffer_Callback"; 2509 bool isBuffer(Buffer buffer) native "WebGLRenderingContext_isBuffer_Callback";
2510 2510
2511 @DomName('WebGLRenderingContext.isContextLost') 2511 @DomName('WebGLRenderingContext.isContextLost')
2512 @DocsEditable 2512 @DocsEditable()
2513 bool isContextLost() native "WebGLRenderingContext_isContextLost_Callback"; 2513 bool isContextLost() native "WebGLRenderingContext_isContextLost_Callback";
2514 2514
2515 @DomName('WebGLRenderingContext.isEnabled') 2515 @DomName('WebGLRenderingContext.isEnabled')
2516 @DocsEditable 2516 @DocsEditable()
2517 bool isEnabled(int cap) native "WebGLRenderingContext_isEnabled_Callback"; 2517 bool isEnabled(int cap) native "WebGLRenderingContext_isEnabled_Callback";
2518 2518
2519 @DomName('WebGLRenderingContext.isFramebuffer') 2519 @DomName('WebGLRenderingContext.isFramebuffer')
2520 @DocsEditable 2520 @DocsEditable()
2521 bool isFramebuffer(Framebuffer framebuffer) native "WebGLRenderingContext_isFr amebuffer_Callback"; 2521 bool isFramebuffer(Framebuffer framebuffer) native "WebGLRenderingContext_isFr amebuffer_Callback";
2522 2522
2523 @DomName('WebGLRenderingContext.isProgram') 2523 @DomName('WebGLRenderingContext.isProgram')
2524 @DocsEditable 2524 @DocsEditable()
2525 bool isProgram(Program program) native "WebGLRenderingContext_isProgram_Callba ck"; 2525 bool isProgram(Program program) native "WebGLRenderingContext_isProgram_Callba ck";
2526 2526
2527 @DomName('WebGLRenderingContext.isRenderbuffer') 2527 @DomName('WebGLRenderingContext.isRenderbuffer')
2528 @DocsEditable 2528 @DocsEditable()
2529 bool isRenderbuffer(Renderbuffer renderbuffer) native "WebGLRenderingContext_i sRenderbuffer_Callback"; 2529 bool isRenderbuffer(Renderbuffer renderbuffer) native "WebGLRenderingContext_i sRenderbuffer_Callback";
2530 2530
2531 @DomName('WebGLRenderingContext.isShader') 2531 @DomName('WebGLRenderingContext.isShader')
2532 @DocsEditable 2532 @DocsEditable()
2533 bool isShader(Shader shader) native "WebGLRenderingContext_isShader_Callback"; 2533 bool isShader(Shader shader) native "WebGLRenderingContext_isShader_Callback";
2534 2534
2535 @DomName('WebGLRenderingContext.isTexture') 2535 @DomName('WebGLRenderingContext.isTexture')
2536 @DocsEditable 2536 @DocsEditable()
2537 bool isTexture(Texture texture) native "WebGLRenderingContext_isTexture_Callba ck"; 2537 bool isTexture(Texture texture) native "WebGLRenderingContext_isTexture_Callba ck";
2538 2538
2539 @DomName('WebGLRenderingContext.lineWidth') 2539 @DomName('WebGLRenderingContext.lineWidth')
2540 @DocsEditable 2540 @DocsEditable()
2541 void lineWidth(num width) native "WebGLRenderingContext_lineWidth_Callback"; 2541 void lineWidth(num width) native "WebGLRenderingContext_lineWidth_Callback";
2542 2542
2543 @DomName('WebGLRenderingContext.linkProgram') 2543 @DomName('WebGLRenderingContext.linkProgram')
2544 @DocsEditable 2544 @DocsEditable()
2545 void linkProgram(Program program) native "WebGLRenderingContext_linkProgram_Ca llback"; 2545 void linkProgram(Program program) native "WebGLRenderingContext_linkProgram_Ca llback";
2546 2546
2547 @DomName('WebGLRenderingContext.pixelStorei') 2547 @DomName('WebGLRenderingContext.pixelStorei')
2548 @DocsEditable 2548 @DocsEditable()
2549 void pixelStorei(int pname, int param) native "WebGLRenderingContext_pixelStor ei_Callback"; 2549 void pixelStorei(int pname, int param) native "WebGLRenderingContext_pixelStor ei_Callback";
2550 2550
2551 @DomName('WebGLRenderingContext.polygonOffset') 2551 @DomName('WebGLRenderingContext.polygonOffset')
2552 @DocsEditable 2552 @DocsEditable()
2553 void polygonOffset(num factor, num units) native "WebGLRenderingContext_polygo nOffset_Callback"; 2553 void polygonOffset(num factor, num units) native "WebGLRenderingContext_polygo nOffset_Callback";
2554 2554
2555 @DomName('WebGLRenderingContext.readPixels') 2555 @DomName('WebGLRenderingContext.readPixels')
2556 @DocsEditable 2556 @DocsEditable()
2557 void readPixels(int x, int y, int width, int height, int format, int type, Typ edData pixels) native "WebGLRenderingContext_readPixels_Callback"; 2557 void readPixels(int x, int y, int width, int height, int format, int type, Typ edData pixels) native "WebGLRenderingContext_readPixels_Callback";
2558 2558
2559 @DomName('WebGLRenderingContext.renderbufferStorage') 2559 @DomName('WebGLRenderingContext.renderbufferStorage')
2560 @DocsEditable 2560 @DocsEditable()
2561 void renderbufferStorage(int target, int internalformat, int width, int height ) native "WebGLRenderingContext_renderbufferStorage_Callback"; 2561 void renderbufferStorage(int target, int internalformat, int width, int height ) native "WebGLRenderingContext_renderbufferStorage_Callback";
2562 2562
2563 @DomName('WebGLRenderingContext.sampleCoverage') 2563 @DomName('WebGLRenderingContext.sampleCoverage')
2564 @DocsEditable 2564 @DocsEditable()
2565 void sampleCoverage(num value, bool invert) native "WebGLRenderingContext_samp leCoverage_Callback"; 2565 void sampleCoverage(num value, bool invert) native "WebGLRenderingContext_samp leCoverage_Callback";
2566 2566
2567 @DomName('WebGLRenderingContext.scissor') 2567 @DomName('WebGLRenderingContext.scissor')
2568 @DocsEditable 2568 @DocsEditable()
2569 void scissor(int x, int y, int width, int height) native "WebGLRenderingContex t_scissor_Callback"; 2569 void scissor(int x, int y, int width, int height) native "WebGLRenderingContex t_scissor_Callback";
2570 2570
2571 @DomName('WebGLRenderingContext.shaderSource') 2571 @DomName('WebGLRenderingContext.shaderSource')
2572 @DocsEditable 2572 @DocsEditable()
2573 void shaderSource(Shader shader, String string) native "WebGLRenderingContext_ shaderSource_Callback"; 2573 void shaderSource(Shader shader, String string) native "WebGLRenderingContext_ shaderSource_Callback";
2574 2574
2575 @DomName('WebGLRenderingContext.stencilFunc') 2575 @DomName('WebGLRenderingContext.stencilFunc')
2576 @DocsEditable 2576 @DocsEditable()
2577 void stencilFunc(int func, int ref, int mask) native "WebGLRenderingContext_st encilFunc_Callback"; 2577 void stencilFunc(int func, int ref, int mask) native "WebGLRenderingContext_st encilFunc_Callback";
2578 2578
2579 @DomName('WebGLRenderingContext.stencilFuncSeparate') 2579 @DomName('WebGLRenderingContext.stencilFuncSeparate')
2580 @DocsEditable 2580 @DocsEditable()
2581 void stencilFuncSeparate(int face, int func, int ref, int mask) native "WebGLR enderingContext_stencilFuncSeparate_Callback"; 2581 void stencilFuncSeparate(int face, int func, int ref, int mask) native "WebGLR enderingContext_stencilFuncSeparate_Callback";
2582 2582
2583 @DomName('WebGLRenderingContext.stencilMask') 2583 @DomName('WebGLRenderingContext.stencilMask')
2584 @DocsEditable 2584 @DocsEditable()
2585 void stencilMask(int mask) native "WebGLRenderingContext_stencilMask_Callback" ; 2585 void stencilMask(int mask) native "WebGLRenderingContext_stencilMask_Callback" ;
2586 2586
2587 @DomName('WebGLRenderingContext.stencilMaskSeparate') 2587 @DomName('WebGLRenderingContext.stencilMaskSeparate')
2588 @DocsEditable 2588 @DocsEditable()
2589 void stencilMaskSeparate(int face, int mask) native "WebGLRenderingContext_ste ncilMaskSeparate_Callback"; 2589 void stencilMaskSeparate(int face, int mask) native "WebGLRenderingContext_ste ncilMaskSeparate_Callback";
2590 2590
2591 @DomName('WebGLRenderingContext.stencilOp') 2591 @DomName('WebGLRenderingContext.stencilOp')
2592 @DocsEditable 2592 @DocsEditable()
2593 void stencilOp(int fail, int zfail, int zpass) native "WebGLRenderingContext_s tencilOp_Callback"; 2593 void stencilOp(int fail, int zfail, int zpass) native "WebGLRenderingContext_s tencilOp_Callback";
2594 2594
2595 @DomName('WebGLRenderingContext.stencilOpSeparate') 2595 @DomName('WebGLRenderingContext.stencilOpSeparate')
2596 @DocsEditable 2596 @DocsEditable()
2597 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native "WebGL RenderingContext_stencilOpSeparate_Callback"; 2597 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native "WebGL RenderingContext_stencilOpSeparate_Callback";
2598 2598
2599 void texImage2D(int target, int level, int internalformat, int format_OR_width , int height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, [int format, int type, TypedData pixels]) { 2599 void texImage2D(int target, int level, int internalformat, int format_OR_width , int height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, [int format, int type, TypedData pixels]) {
2600 if ((pixels is TypedData || pixels == null) && (type is int || type == null) && (format is int || format == null) && (border_OR_canvas_OR_image_OR_pixels_OR _video is int || border_OR_canvas_OR_image_OR_pixels_OR_video == null) && (heigh t_OR_type is int || height_OR_type == null) && (format_OR_width is int || format _OR_width == null) && (internalformat is int || internalformat == null) && (leve l is int || level == null) && (target is int || target == null)) { 2600 if ((pixels is TypedData || pixels == null) && (type is int || type == null) && (format is int || format == null) && (border_OR_canvas_OR_image_OR_pixels_OR _video is int || border_OR_canvas_OR_image_OR_pixels_OR_video == null) && (heigh t_OR_type is int || height_OR_type == null) && (format_OR_width is int || format _OR_width == null) && (internalformat is int || internalformat == null) && (leve l is int || level == null) && (target is int || target == null)) {
2601 _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); 2601 _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels);
2602 return; 2602 return;
2603 } 2603 }
2604 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_ canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || height_ OR_type == null) && (format_OR_width is int || format_OR_width == null) && (inte rnalformat is int || internalformat == null) && (level is int || level == null) && (target is int || target == null) && format == null && type == null && pixels == null) { 2604 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_ canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || height_ OR_type == null) && (format_OR_width is int || format_OR_width == null) && (inte rnalformat is int || internalformat == null) && (level is int || level == null) && (target is int || target == null) && format == null && type == null && pixels == null) {
2605 _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video); 2605 _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video);
2606 return; 2606 return;
(...skipping 17 matching lines...) Expand all
2624 2624
2625 void _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_t ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext __texImage2D_2_Callback"; 2625 void _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_t ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext __texImage2D_2_Callback";
2626 2626
2627 void _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_t ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext __texImage2D_3_Callback"; 2627 void _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_t ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext __texImage2D_3_Callback";
2628 2628
2629 void _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_t ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext __texImage2D_4_Callback"; 2629 void _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_t ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext __texImage2D_4_Callback";
2630 2630
2631 void _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_t ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext __texImage2D_5_Callback"; 2631 void _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_t ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext __texImage2D_5_Callback";
2632 2632
2633 @DomName('WebGLRenderingContext.texParameterf') 2633 @DomName('WebGLRenderingContext.texParameterf')
2634 @DocsEditable 2634 @DocsEditable()
2635 void texParameterf(int target, int pname, num param) native "WebGLRenderingCon text_texParameterf_Callback"; 2635 void texParameterf(int target, int pname, num param) native "WebGLRenderingCon text_texParameterf_Callback";
2636 2636
2637 @DomName('WebGLRenderingContext.texParameteri') 2637 @DomName('WebGLRenderingContext.texParameteri')
2638 @DocsEditable 2638 @DocsEditable()
2639 void texParameteri(int target, int pname, int param) native "WebGLRenderingCon text_texParameteri_Callback"; 2639 void texParameteri(int target, int pname, int param) native "WebGLRenderingCon text_texParameteri_Callback";
2640 2640
2641 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format _OR_width, int height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [in t type, TypedData pixels]) { 2641 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format _OR_width, int height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [in t type, TypedData pixels]) {
2642 if ((pixels is TypedData || pixels == null) && (type is int || type == null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is int || canvas_OR_format_OR_ image_OR_pixels_OR_video == null) && (height_OR_type is int || height_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (yoffset is int || yoffset == null) && (xoffset is int || xoffset == null) && (level is int || level == null) && (target is int || target == null)) { 2642 if ((pixels is TypedData || pixels == null) && (type is int || type == null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is int || canvas_OR_format_OR_ image_OR_pixels_OR_video == null) && (height_OR_type is int || height_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (yoffset is int || yoffset == null) && (xoffset is int || xoffset == null) && (level is int || level == null) && (target is int || target == null)) {
2643 _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); 2643 _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels);
2644 return; 2644 return;
2645 } 2645 }
2646 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || canvas_OR_ format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || height_ OR_type == null) && (format_OR_width is int || format_OR_width == null) && (yoff set is int || yoffset == null) && (xoffset is int || xoffset == null) && (level is int || level == null) && (target is int || target == null) && type == null && pixels == null) { 2646 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || canvas_OR_ format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || height_ OR_type == null) && (format_OR_width is int || format_OR_width == null) && (yoff set is int || yoffset == null) && (xoffset is int || xoffset == null) && (level is int || level == null) && (target is int || target == null) && type == null && pixels == null) {
2647 _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); 2647 _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
2648 return; 2648 return;
(...skipping 17 matching lines...) Expand all
2666 2666
2667 void _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height _OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo ntext__texSubImage2D_2_Callback"; 2667 void _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height _OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo ntext__texSubImage2D_2_Callback";
2668 2668
2669 void _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height _OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo ntext__texSubImage2D_3_Callback"; 2669 void _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height _OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo ntext__texSubImage2D_3_Callback";
2670 2670
2671 void _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height _OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo ntext__texSubImage2D_4_Callback"; 2671 void _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height _OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo ntext__texSubImage2D_4_Callback";
2672 2672
2673 void _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height _OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo ntext__texSubImage2D_5_Callback"; 2673 void _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height _OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo ntext__texSubImage2D_5_Callback";
2674 2674
2675 @DomName('WebGLRenderingContext.uniform1f') 2675 @DomName('WebGLRenderingContext.uniform1f')
2676 @DocsEditable 2676 @DocsEditable()
2677 void uniform1f(UniformLocation location, num x) native "WebGLRenderingContext_ uniform1f_Callback"; 2677 void uniform1f(UniformLocation location, num x) native "WebGLRenderingContext_ uniform1f_Callback";
2678 2678
2679 @DomName('WebGLRenderingContext.uniform1fv') 2679 @DomName('WebGLRenderingContext.uniform1fv')
2680 @DocsEditable 2680 @DocsEditable()
2681 void uniform1fv(UniformLocation location, Float32List v) native "WebGLRenderin gContext_uniform1fv_Callback"; 2681 void uniform1fv(UniformLocation location, Float32List v) native "WebGLRenderin gContext_uniform1fv_Callback";
2682 2682
2683 @DomName('WebGLRenderingContext.uniform1i') 2683 @DomName('WebGLRenderingContext.uniform1i')
2684 @DocsEditable 2684 @DocsEditable()
2685 void uniform1i(UniformLocation location, int x) native "WebGLRenderingContext_ uniform1i_Callback"; 2685 void uniform1i(UniformLocation location, int x) native "WebGLRenderingContext_ uniform1i_Callback";
2686 2686
2687 @DomName('WebGLRenderingContext.uniform1iv') 2687 @DomName('WebGLRenderingContext.uniform1iv')
2688 @DocsEditable 2688 @DocsEditable()
2689 void uniform1iv(UniformLocation location, Int32List v) native "WebGLRenderingC ontext_uniform1iv_Callback"; 2689 void uniform1iv(UniformLocation location, Int32List v) native "WebGLRenderingC ontext_uniform1iv_Callback";
2690 2690
2691 @DomName('WebGLRenderingContext.uniform2f') 2691 @DomName('WebGLRenderingContext.uniform2f')
2692 @DocsEditable 2692 @DocsEditable()
2693 void uniform2f(UniformLocation location, num x, num y) native "WebGLRenderingC ontext_uniform2f_Callback"; 2693 void uniform2f(UniformLocation location, num x, num y) native "WebGLRenderingC ontext_uniform2f_Callback";
2694 2694
2695 @DomName('WebGLRenderingContext.uniform2fv') 2695 @DomName('WebGLRenderingContext.uniform2fv')
2696 @DocsEditable 2696 @DocsEditable()
2697 void uniform2fv(UniformLocation location, Float32List v) native "WebGLRenderin gContext_uniform2fv_Callback"; 2697 void uniform2fv(UniformLocation location, Float32List v) native "WebGLRenderin gContext_uniform2fv_Callback";
2698 2698
2699 @DomName('WebGLRenderingContext.uniform2i') 2699 @DomName('WebGLRenderingContext.uniform2i')
2700 @DocsEditable 2700 @DocsEditable()
2701 void uniform2i(UniformLocation location, int x, int y) native "WebGLRenderingC ontext_uniform2i_Callback"; 2701 void uniform2i(UniformLocation location, int x, int y) native "WebGLRenderingC ontext_uniform2i_Callback";
2702 2702
2703 @DomName('WebGLRenderingContext.uniform2iv') 2703 @DomName('WebGLRenderingContext.uniform2iv')
2704 @DocsEditable 2704 @DocsEditable()
2705 void uniform2iv(UniformLocation location, Int32List v) native "WebGLRenderingC ontext_uniform2iv_Callback"; 2705 void uniform2iv(UniformLocation location, Int32List v) native "WebGLRenderingC ontext_uniform2iv_Callback";
2706 2706
2707 @DomName('WebGLRenderingContext.uniform3f') 2707 @DomName('WebGLRenderingContext.uniform3f')
2708 @DocsEditable 2708 @DocsEditable()
2709 void uniform3f(UniformLocation location, num x, num y, num z) native "WebGLRen deringContext_uniform3f_Callback"; 2709 void uniform3f(UniformLocation location, num x, num y, num z) native "WebGLRen deringContext_uniform3f_Callback";
2710 2710
2711 @DomName('WebGLRenderingContext.uniform3fv') 2711 @DomName('WebGLRenderingContext.uniform3fv')
2712 @DocsEditable 2712 @DocsEditable()
2713 void uniform3fv(UniformLocation location, Float32List v) native "WebGLRenderin gContext_uniform3fv_Callback"; 2713 void uniform3fv(UniformLocation location, Float32List v) native "WebGLRenderin gContext_uniform3fv_Callback";
2714 2714
2715 @DomName('WebGLRenderingContext.uniform3i') 2715 @DomName('WebGLRenderingContext.uniform3i')
2716 @DocsEditable 2716 @DocsEditable()
2717 void uniform3i(UniformLocation location, int x, int y, int z) native "WebGLRen deringContext_uniform3i_Callback"; 2717 void uniform3i(UniformLocation location, int x, int y, int z) native "WebGLRen deringContext_uniform3i_Callback";
2718 2718
2719 @DomName('WebGLRenderingContext.uniform3iv') 2719 @DomName('WebGLRenderingContext.uniform3iv')
2720 @DocsEditable 2720 @DocsEditable()
2721 void uniform3iv(UniformLocation location, Int32List v) native "WebGLRenderingC ontext_uniform3iv_Callback"; 2721 void uniform3iv(UniformLocation location, Int32List v) native "WebGLRenderingC ontext_uniform3iv_Callback";
2722 2722
2723 @DomName('WebGLRenderingContext.uniform4f') 2723 @DomName('WebGLRenderingContext.uniform4f')
2724 @DocsEditable 2724 @DocsEditable()
2725 void uniform4f(UniformLocation location, num x, num y, num z, num w) native "W ebGLRenderingContext_uniform4f_Callback"; 2725 void uniform4f(UniformLocation location, num x, num y, num z, num w) native "W ebGLRenderingContext_uniform4f_Callback";
2726 2726
2727 @DomName('WebGLRenderingContext.uniform4fv') 2727 @DomName('WebGLRenderingContext.uniform4fv')
2728 @DocsEditable 2728 @DocsEditable()
2729 void uniform4fv(UniformLocation location, Float32List v) native "WebGLRenderin gContext_uniform4fv_Callback"; 2729 void uniform4fv(UniformLocation location, Float32List v) native "WebGLRenderin gContext_uniform4fv_Callback";
2730 2730
2731 @DomName('WebGLRenderingContext.uniform4i') 2731 @DomName('WebGLRenderingContext.uniform4i')
2732 @DocsEditable 2732 @DocsEditable()
2733 void uniform4i(UniformLocation location, int x, int y, int z, int w) native "W ebGLRenderingContext_uniform4i_Callback"; 2733 void uniform4i(UniformLocation location, int x, int y, int z, int w) native "W ebGLRenderingContext_uniform4i_Callback";
2734 2734
2735 @DomName('WebGLRenderingContext.uniform4iv') 2735 @DomName('WebGLRenderingContext.uniform4iv')
2736 @DocsEditable 2736 @DocsEditable()
2737 void uniform4iv(UniformLocation location, Int32List v) native "WebGLRenderingC ontext_uniform4iv_Callback"; 2737 void uniform4iv(UniformLocation location, Int32List v) native "WebGLRenderingC ontext_uniform4iv_Callback";
2738 2738
2739 @DomName('WebGLRenderingContext.uniformMatrix2fv') 2739 @DomName('WebGLRenderingContext.uniformMatrix2fv')
2740 @DocsEditable 2740 @DocsEditable()
2741 void uniformMatrix2fv(UniformLocation location, bool transpose, Float32List ar ray) native "WebGLRenderingContext_uniformMatrix2fv_Callback"; 2741 void uniformMatrix2fv(UniformLocation location, bool transpose, Float32List ar ray) native "WebGLRenderingContext_uniformMatrix2fv_Callback";
2742 2742
2743 @DomName('WebGLRenderingContext.uniformMatrix3fv') 2743 @DomName('WebGLRenderingContext.uniformMatrix3fv')
2744 @DocsEditable 2744 @DocsEditable()
2745 void uniformMatrix3fv(UniformLocation location, bool transpose, Float32List ar ray) native "WebGLRenderingContext_uniformMatrix3fv_Callback"; 2745 void uniformMatrix3fv(UniformLocation location, bool transpose, Float32List ar ray) native "WebGLRenderingContext_uniformMatrix3fv_Callback";
2746 2746
2747 @DomName('WebGLRenderingContext.uniformMatrix4fv') 2747 @DomName('WebGLRenderingContext.uniformMatrix4fv')
2748 @DocsEditable 2748 @DocsEditable()
2749 void uniformMatrix4fv(UniformLocation location, bool transpose, Float32List ar ray) native "WebGLRenderingContext_uniformMatrix4fv_Callback"; 2749 void uniformMatrix4fv(UniformLocation location, bool transpose, Float32List ar ray) native "WebGLRenderingContext_uniformMatrix4fv_Callback";
2750 2750
2751 @DomName('WebGLRenderingContext.useProgram') 2751 @DomName('WebGLRenderingContext.useProgram')
2752 @DocsEditable 2752 @DocsEditable()
2753 void useProgram(Program program) native "WebGLRenderingContext_useProgram_Call back"; 2753 void useProgram(Program program) native "WebGLRenderingContext_useProgram_Call back";
2754 2754
2755 @DomName('WebGLRenderingContext.validateProgram') 2755 @DomName('WebGLRenderingContext.validateProgram')
2756 @DocsEditable 2756 @DocsEditable()
2757 void validateProgram(Program program) native "WebGLRenderingContext_validatePr ogram_Callback"; 2757 void validateProgram(Program program) native "WebGLRenderingContext_validatePr ogram_Callback";
2758 2758
2759 @DomName('WebGLRenderingContext.vertexAttrib1f') 2759 @DomName('WebGLRenderingContext.vertexAttrib1f')
2760 @DocsEditable 2760 @DocsEditable()
2761 void vertexAttrib1f(int indx, num x) native "WebGLRenderingContext_vertexAttri b1f_Callback"; 2761 void vertexAttrib1f(int indx, num x) native "WebGLRenderingContext_vertexAttri b1f_Callback";
2762 2762
2763 @DomName('WebGLRenderingContext.vertexAttrib1fv') 2763 @DomName('WebGLRenderingContext.vertexAttrib1fv')
2764 @DocsEditable 2764 @DocsEditable()
2765 void vertexAttrib1fv(int indx, Float32List values) native "WebGLRenderingConte xt_vertexAttrib1fv_Callback"; 2765 void vertexAttrib1fv(int indx, Float32List values) native "WebGLRenderingConte xt_vertexAttrib1fv_Callback";
2766 2766
2767 @DomName('WebGLRenderingContext.vertexAttrib2f') 2767 @DomName('WebGLRenderingContext.vertexAttrib2f')
2768 @DocsEditable 2768 @DocsEditable()
2769 void vertexAttrib2f(int indx, num x, num y) native "WebGLRenderingContext_vert exAttrib2f_Callback"; 2769 void vertexAttrib2f(int indx, num x, num y) native "WebGLRenderingContext_vert exAttrib2f_Callback";
2770 2770
2771 @DomName('WebGLRenderingContext.vertexAttrib2fv') 2771 @DomName('WebGLRenderingContext.vertexAttrib2fv')
2772 @DocsEditable 2772 @DocsEditable()
2773 void vertexAttrib2fv(int indx, Float32List values) native "WebGLRenderingConte xt_vertexAttrib2fv_Callback"; 2773 void vertexAttrib2fv(int indx, Float32List values) native "WebGLRenderingConte xt_vertexAttrib2fv_Callback";
2774 2774
2775 @DomName('WebGLRenderingContext.vertexAttrib3f') 2775 @DomName('WebGLRenderingContext.vertexAttrib3f')
2776 @DocsEditable 2776 @DocsEditable()
2777 void vertexAttrib3f(int indx, num x, num y, num z) native "WebGLRenderingConte xt_vertexAttrib3f_Callback"; 2777 void vertexAttrib3f(int indx, num x, num y, num z) native "WebGLRenderingConte xt_vertexAttrib3f_Callback";
2778 2778
2779 @DomName('WebGLRenderingContext.vertexAttrib3fv') 2779 @DomName('WebGLRenderingContext.vertexAttrib3fv')
2780 @DocsEditable 2780 @DocsEditable()
2781 void vertexAttrib3fv(int indx, Float32List values) native "WebGLRenderingConte xt_vertexAttrib3fv_Callback"; 2781 void vertexAttrib3fv(int indx, Float32List values) native "WebGLRenderingConte xt_vertexAttrib3fv_Callback";
2782 2782
2783 @DomName('WebGLRenderingContext.vertexAttrib4f') 2783 @DomName('WebGLRenderingContext.vertexAttrib4f')
2784 @DocsEditable 2784 @DocsEditable()
2785 void vertexAttrib4f(int indx, num x, num y, num z, num w) native "WebGLRenderi ngContext_vertexAttrib4f_Callback"; 2785 void vertexAttrib4f(int indx, num x, num y, num z, num w) native "WebGLRenderi ngContext_vertexAttrib4f_Callback";
2786 2786
2787 @DomName('WebGLRenderingContext.vertexAttrib4fv') 2787 @DomName('WebGLRenderingContext.vertexAttrib4fv')
2788 @DocsEditable 2788 @DocsEditable()
2789 void vertexAttrib4fv(int indx, Float32List values) native "WebGLRenderingConte xt_vertexAttrib4fv_Callback"; 2789 void vertexAttrib4fv(int indx, Float32List values) native "WebGLRenderingConte xt_vertexAttrib4fv_Callback";
2790 2790
2791 @DomName('WebGLRenderingContext.vertexAttribPointer') 2791 @DomName('WebGLRenderingContext.vertexAttribPointer')
2792 @DocsEditable 2792 @DocsEditable()
2793 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset) native "WebGLRenderingContext_vertexAttribPointer_Callback"; 2793 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset) native "WebGLRenderingContext_vertexAttribPointer_Callback";
2794 2794
2795 @DomName('WebGLRenderingContext.viewport') 2795 @DomName('WebGLRenderingContext.viewport')
2796 @DocsEditable 2796 @DocsEditable()
2797 void viewport(int x, int y, int width, int height) native "WebGLRenderingConte xt_viewport_Callback"; 2797 void viewport(int x, int y, int width, int height) native "WebGLRenderingConte xt_viewport_Callback";
2798 2798
2799 } 2799 }
2800 // 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
2801 // 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
2802 // BSD-style license that can be found in the LICENSE file. 2802 // BSD-style license that can be found in the LICENSE file.
2803 2803
2804 // WARNING: Do not edit - generated code. 2804 // WARNING: Do not edit - generated code.
2805 2805
2806 2806
2807 @DocsEditable 2807 @DocsEditable()
2808 @DomName('WebGLShader') 2808 @DomName('WebGLShader')
2809 class Shader extends NativeFieldWrapperClass1 { 2809 class Shader extends NativeFieldWrapperClass1 {
2810 2810
2811 } 2811 }
2812 // 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
2813 // 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
2814 // BSD-style license that can be found in the LICENSE file. 2814 // BSD-style license that can be found in the LICENSE file.
2815 2815
2816 // WARNING: Do not edit - generated code. 2816 // WARNING: Do not edit - generated code.
2817 2817
2818 2818
2819 @DocsEditable 2819 @DocsEditable()
2820 @DomName('WebGLShaderPrecisionFormat') 2820 @DomName('WebGLShaderPrecisionFormat')
2821 class ShaderPrecisionFormat extends NativeFieldWrapperClass1 { 2821 class ShaderPrecisionFormat extends NativeFieldWrapperClass1 {
2822 2822
2823 @DomName('WebGLShaderPrecisionFormat.precision') 2823 @DomName('WebGLShaderPrecisionFormat.precision')
2824 @DocsEditable 2824 @DocsEditable()
2825 int get precision native "WebGLShaderPrecisionFormat_precision_Getter"; 2825 int get precision native "WebGLShaderPrecisionFormat_precision_Getter";
2826 2826
2827 @DomName('WebGLShaderPrecisionFormat.rangeMax') 2827 @DomName('WebGLShaderPrecisionFormat.rangeMax')
2828 @DocsEditable 2828 @DocsEditable()
2829 int get rangeMax native "WebGLShaderPrecisionFormat_rangeMax_Getter"; 2829 int get rangeMax native "WebGLShaderPrecisionFormat_rangeMax_Getter";
2830 2830
2831 @DomName('WebGLShaderPrecisionFormat.rangeMin') 2831 @DomName('WebGLShaderPrecisionFormat.rangeMin')
2832 @DocsEditable 2832 @DocsEditable()
2833 int get rangeMin native "WebGLShaderPrecisionFormat_rangeMin_Getter"; 2833 int get rangeMin native "WebGLShaderPrecisionFormat_rangeMin_Getter";
2834 2834
2835 } 2835 }
2836 // 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
2837 // 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
2838 // BSD-style license that can be found in the LICENSE file. 2838 // BSD-style license that can be found in the LICENSE file.
2839 2839
2840 // WARNING: Do not edit - generated code. 2840 // WARNING: Do not edit - generated code.
2841 2841
2842 2842
2843 @DocsEditable 2843 @DocsEditable()
2844 @DomName('WebGLTexture') 2844 @DomName('WebGLTexture')
2845 class Texture extends NativeFieldWrapperClass1 { 2845 class Texture extends NativeFieldWrapperClass1 {
2846 2846
2847 } 2847 }
2848 // 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
2849 // 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
2850 // BSD-style license that can be found in the LICENSE file. 2850 // BSD-style license that can be found in the LICENSE file.
2851 2851
2852 // WARNING: Do not edit - generated code. 2852 // WARNING: Do not edit - generated code.
2853 2853
2854 2854
2855 @DocsEditable 2855 @DocsEditable()
2856 @DomName('WebGLUniformLocation') 2856 @DomName('WebGLUniformLocation')
2857 class UniformLocation extends NativeFieldWrapperClass1 { 2857 class UniformLocation extends NativeFieldWrapperClass1 {
2858 2858
2859 } 2859 }
2860 // 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
2861 // 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
2862 // BSD-style license that can be found in the LICENSE file. 2862 // BSD-style license that can be found in the LICENSE file.
2863 2863
2864 // WARNING: Do not edit - generated code. 2864 // WARNING: Do not edit - generated code.
2865 2865
2866 2866
2867 @DocsEditable 2867 @DocsEditable()
2868 @DomName('WebGLVertexArrayObjectOES') 2868 @DomName('WebGLVertexArrayObjectOES')
2869 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ 2869 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
2870 @Experimental // experimental 2870 @Experimental() // experimental
2871 class VertexArrayObject extends NativeFieldWrapperClass1 { 2871 class VertexArrayObject extends NativeFieldWrapperClass1 {
2872 2872
2873 } 2873 }
OLDNEW
« no previous file with comments | « sdk/lib/web_gl/dart2js/web_gl_dart2js.dart ('k') | sdk/lib/web_sql/dart2js/web_sql_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698