OLD | NEW |
1 /** | 1 /** |
2 * 3D programming in the browser. | 2 * 3D programming in the browser. |
3 */ | 3 */ |
4 library dart.dom.web_gl; | 4 library dart.dom.web_gl; |
5 | 5 |
6 import 'dart:collection'; | 6 import 'dart:collection'; |
7 import 'dart:_internal' hide deprecated; | 7 import 'dart:_internal' hide deprecated; |
8 import 'dart:html'; | 8 import 'dart:html'; |
9 import 'dart:html_common'; | 9 import 'dart:html_common'; |
10 import 'dart:_native_typed_data'; | 10 import 'dart:_native_typed_data'; |
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
514 bool alpha; | 514 bool alpha; |
515 | 515 |
516 @DomName('WebGLContextAttributes.antialias') | 516 @DomName('WebGLContextAttributes.antialias') |
517 @DocsEditable() | 517 @DocsEditable() |
518 bool antialias; | 518 bool antialias; |
519 | 519 |
520 @DomName('WebGLContextAttributes.depth') | 520 @DomName('WebGLContextAttributes.depth') |
521 @DocsEditable() | 521 @DocsEditable() |
522 bool depth; | 522 bool depth; |
523 | 523 |
| 524 @DomName('WebGLContextAttributes.failIfMajorPerformanceCaveat') |
| 525 @DocsEditable() |
| 526 @Experimental() // untriaged |
| 527 bool failIfMajorPerformanceCaveat; |
| 528 |
524 @DomName('WebGLContextAttributes.premultipliedAlpha') | 529 @DomName('WebGLContextAttributes.premultipliedAlpha') |
525 @DocsEditable() | 530 @DocsEditable() |
526 bool premultipliedAlpha; | 531 bool premultipliedAlpha; |
527 | 532 |
528 @DomName('WebGLContextAttributes.preserveDrawingBuffer') | 533 @DomName('WebGLContextAttributes.preserveDrawingBuffer') |
529 @DocsEditable() | 534 @DocsEditable() |
530 bool preserveDrawingBuffer; | 535 bool preserveDrawingBuffer; |
531 | 536 |
532 @DomName('WebGLContextAttributes.stencil') | 537 @DomName('WebGLContextAttributes.stencil') |
533 @DocsEditable() | 538 @DocsEditable() |
(...skipping 2696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3230 | 3235 |
3231 | 3236 |
3232 @DocsEditable() | 3237 @DocsEditable() |
3233 @DomName('WebGLVertexArrayObjectOES') | 3238 @DomName('WebGLVertexArrayObjectOES') |
3234 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ | 3239 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ |
3235 @Experimental() // experimental | 3240 @Experimental() // experimental |
3236 class VertexArrayObject extends Interceptor native "WebGLVertexArrayObjectOES" { | 3241 class VertexArrayObject extends Interceptor native "WebGLVertexArrayObjectOES" { |
3237 // To suppress missing implicit constructor warnings. | 3242 // To suppress missing implicit constructor warnings. |
3238 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } | 3243 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } |
3239 } | 3244 } |
OLD | NEW |