| OLD | NEW |
| 1 library dart.dom.web_gl; | 1 library dart.dom.web_gl; |
| 2 | 2 |
| 3 import 'dart:async'; | 3 import 'dart:async'; |
| 4 import 'dart:collection'; | 4 import 'dart:collection'; |
| 5 import 'dart:_collection-dev' hide deprecated; | 5 import 'dart:_collection-dev' hide deprecated; |
| 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 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 | 485 |
| 486 } | 486 } |
| 487 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 487 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 488 // for details. All rights reserved. Use of this source code is governed by a | 488 // for details. All rights reserved. Use of this source code is governed by a |
| 489 // BSD-style license that can be found in the LICENSE file. | 489 // BSD-style license that can be found in the LICENSE file. |
| 490 | 490 |
| 491 // WARNING: Do not edit - generated code. | 491 // WARNING: Do not edit - generated code. |
| 492 | 492 |
| 493 | 493 |
| 494 @DocsEditable() | 494 @DocsEditable() |
| 495 /** |
| 496 * The properties of a WebGL rendering context. |
| 497 * |
| 498 * If [alpha] is `true`, then the context has an alpha channel. |
| 499 * |
| 500 * If [antialias] is `true`, then antialiasing is performed by the browser, but |
| 501 * only if the browser's implementation of WebGL supports antialiasing. |
| 502 * |
| 503 * If [depth] is `true`, then the context has a depth buffer of at least 16 |
| 504 * bits. |
| 505 * |
| 506 * If [premultipliedAlpha] is `true`, then the context's colors are assumed to |
| 507 * be premultiplied. This means that color values are assumed to have been |
| 508 * multiplied by their alpha values. If [alpha] is `false`, then this flag is |
| 509 * ignored. |
| 510 * |
| 511 * If [preserveDrawingBuffer] is `false`, then all contents of the context are |
| 512 * cleared. If `true`, then all values will remain until changed or cleared. |
| 513 * |
| 514 * If [stencil] is `true`, then the context has a stencil buffer of at least 8 |
| 515 * bits. |
| 516 */ |
| 495 @DomName('WebGLContextAttributes') | 517 @DomName('WebGLContextAttributes') |
| 496 @Unstable() | 518 @Unstable() |
| 497 class ContextAttributes extends NativeFieldWrapperClass2 { | 519 class ContextAttributes extends NativeFieldWrapperClass2 { |
| 498 // To suppress missing implicit constructor warnings. | 520 // To suppress missing implicit constructor warnings. |
| 499 factory ContextAttributes._() { throw new UnsupportedError("Not supported"); } | 521 factory ContextAttributes._() { throw new UnsupportedError("Not supported"); } |
| 500 | 522 |
| 501 @DomName('WebGLContextAttributes.alpha') | 523 @DomName('WebGLContextAttributes.alpha') |
| 502 @DocsEditable() | 524 @DocsEditable() |
| 503 bool get alpha native "WebGLContextAttributes_alpha_Getter"; | 525 bool get alpha native "WebGLContextAttributes_alpha_Getter"; |
| 504 | 526 |
| (...skipping 2555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3060 | 3082 |
| 3061 @DocsEditable() | 3083 @DocsEditable() |
| 3062 @DomName('WebGLVertexArrayObjectOES') | 3084 @DomName('WebGLVertexArrayObjectOES') |
| 3063 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ | 3085 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ |
| 3064 @Experimental() // experimental | 3086 @Experimental() // experimental |
| 3065 class VertexArrayObject extends NativeFieldWrapperClass2 { | 3087 class VertexArrayObject extends NativeFieldWrapperClass2 { |
| 3066 // To suppress missing implicit constructor warnings. | 3088 // To suppress missing implicit constructor warnings. |
| 3067 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } | 3089 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } |
| 3068 | 3090 |
| 3069 } | 3091 } |
| OLD | NEW |