| 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'; | 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 const int FRONT = RenderingContext.FRONT; | 111 const int FRONT = RenderingContext.FRONT; |
| 112 const int FRONT_AND_BACK = RenderingContext.FRONT_AND_BACK; | 112 const int FRONT_AND_BACK = RenderingContext.FRONT_AND_BACK; |
| 113 const int FRONT_FACE = RenderingContext.FRONT_FACE; | 113 const int FRONT_FACE = RenderingContext.FRONT_FACE; |
| 114 const int FUNC_ADD = RenderingContext.FUNC_ADD; | 114 const int FUNC_ADD = RenderingContext.FUNC_ADD; |
| 115 const int FUNC_REVERSE_SUBTRACT = RenderingContext.FUNC_REVERSE_SUBTRACT; | 115 const int FUNC_REVERSE_SUBTRACT = RenderingContext.FUNC_REVERSE_SUBTRACT; |
| 116 const int FUNC_SUBTRACT = RenderingContext.FUNC_SUBTRACT; | 116 const int FUNC_SUBTRACT = RenderingContext.FUNC_SUBTRACT; |
| 117 const int GENERATE_MIPMAP_HINT = RenderingContext.GENERATE_MIPMAP_HINT; | 117 const int GENERATE_MIPMAP_HINT = RenderingContext.GENERATE_MIPMAP_HINT; |
| 118 const int GEQUAL = RenderingContext.GEQUAL; | 118 const int GEQUAL = RenderingContext.GEQUAL; |
| 119 const int GREATER = RenderingContext.GREATER; | 119 const int GREATER = RenderingContext.GREATER; |
| 120 const int GREEN_BITS = RenderingContext.GREEN_BITS; | 120 const int GREEN_BITS = RenderingContext.GREEN_BITS; |
| 121 const int HALF_FLOAT_OES = RenderingContext.HALF_FLOAT_OES; | 121 const int HALF_FLOAT_OES = OesTextureHalfFloat.HALF_FLOAT_OES; |
| 122 const int HIGH_FLOAT = RenderingContext.HIGH_FLOAT; | 122 const int HIGH_FLOAT = RenderingContext.HIGH_FLOAT; |
| 123 const int HIGH_INT = RenderingContext.HIGH_INT; | 123 const int HIGH_INT = RenderingContext.HIGH_INT; |
| 124 const int INCR = RenderingContext.INCR; | 124 const int INCR = RenderingContext.INCR; |
| 125 const int INCR_WRAP = RenderingContext.INCR_WRAP; | 125 const int INCR_WRAP = RenderingContext.INCR_WRAP; |
| 126 const int INT = RenderingContext.INT; | 126 const int INT = RenderingContext.INT; |
| 127 const int INT_VEC2 = RenderingContext.INT_VEC2; | 127 const int INT_VEC2 = RenderingContext.INT_VEC2; |
| 128 const int INT_VEC3 = RenderingContext.INT_VEC3; | 128 const int INT_VEC3 = RenderingContext.INT_VEC3; |
| 129 const int INT_VEC4 = RenderingContext.INT_VEC4; | 129 const int INT_VEC4 = RenderingContext.INT_VEC4; |
| 130 const int INVALID_ENUM = RenderingContext.INVALID_ENUM; | 130 const int INVALID_ENUM = RenderingContext.INVALID_ENUM; |
| 131 const int INVALID_FRAMEBUFFER_OPERATION = RenderingContext.INVALID_FRAMEBUFFER_O
PERATION; | 131 const int INVALID_FRAMEBUFFER_OPERATION = RenderingContext.INVALID_FRAMEBUFFER_O
PERATION; |
| (...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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('OESTextureHalfFloat') | 827 @DomName('OESTextureHalfFloat') |
| 828 class OesTextureHalfFloat extends NativeFieldWrapperClass1 { | 828 class OesTextureHalfFloat extends NativeFieldWrapperClass1 { |
| 829 OesTextureHalfFloat.internal(); | 829 OesTextureHalfFloat.internal(); |
| 830 | 830 |
| 831 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES') |
| 832 @DocsEditable |
| 833 static const int HALF_FLOAT_OES = 0x8D61; |
| 834 |
| 831 } | 835 } |
| 832 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 836 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 833 // for details. All rights reserved. Use of this source code is governed by a | 837 // for details. All rights reserved. Use of this source code is governed by a |
| 834 // BSD-style license that can be found in the LICENSE file. | 838 // BSD-style license that can be found in the LICENSE file. |
| 835 | 839 |
| 836 // WARNING: Do not edit - generated code. | 840 // WARNING: Do not edit - generated code. |
| 837 | 841 |
| 838 | 842 |
| 839 @DocsEditable | 843 @DocsEditable |
| 840 @DomName('OESVertexArrayObject') | 844 @DomName('OESVertexArrayObject') |
| (...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1295 static const int GEQUAL = 0x0206; | 1299 static const int GEQUAL = 0x0206; |
| 1296 | 1300 |
| 1297 @DomName('WebGLRenderingContext.GREATER') | 1301 @DomName('WebGLRenderingContext.GREATER') |
| 1298 @DocsEditable | 1302 @DocsEditable |
| 1299 static const int GREATER = 0x0204; | 1303 static const int GREATER = 0x0204; |
| 1300 | 1304 |
| 1301 @DomName('WebGLRenderingContext.GREEN_BITS') | 1305 @DomName('WebGLRenderingContext.GREEN_BITS') |
| 1302 @DocsEditable | 1306 @DocsEditable |
| 1303 static const int GREEN_BITS = 0x0D53; | 1307 static const int GREEN_BITS = 0x0D53; |
| 1304 | 1308 |
| 1305 @DomName('WebGLRenderingContext.HALF_FLOAT_OES') | |
| 1306 @DocsEditable | |
| 1307 static const int HALF_FLOAT_OES = 0x8D61; | |
| 1308 | |
| 1309 @DomName('WebGLRenderingContext.HIGH_FLOAT') | 1309 @DomName('WebGLRenderingContext.HIGH_FLOAT') |
| 1310 @DocsEditable | 1310 @DocsEditable |
| 1311 static const int HIGH_FLOAT = 0x8DF2; | 1311 static const int HIGH_FLOAT = 0x8DF2; |
| 1312 | 1312 |
| 1313 @DomName('WebGLRenderingContext.HIGH_INT') | 1313 @DomName('WebGLRenderingContext.HIGH_INT') |
| 1314 @DocsEditable | 1314 @DocsEditable |
| 1315 static const int HIGH_INT = 0x8DF5; | 1315 static const int HIGH_INT = 0x8DF5; |
| 1316 | 1316 |
| 1317 @DomName('WebGLRenderingContext.INCR') | 1317 @DomName('WebGLRenderingContext.INCR') |
| 1318 @DocsEditable | 1318 @DocsEditable |
| (...skipping 1166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2485 void pixelStorei(int pname, int param) native "WebGLRenderingContext_pixelStor
ei_Callback"; | 2485 void pixelStorei(int pname, int param) native "WebGLRenderingContext_pixelStor
ei_Callback"; |
| 2486 | 2486 |
| 2487 @DomName('WebGLRenderingContext.polygonOffset') | 2487 @DomName('WebGLRenderingContext.polygonOffset') |
| 2488 @DocsEditable | 2488 @DocsEditable |
| 2489 void polygonOffset(num factor, num units) native "WebGLRenderingContext_polygo
nOffset_Callback"; | 2489 void polygonOffset(num factor, num units) native "WebGLRenderingContext_polygo
nOffset_Callback"; |
| 2490 | 2490 |
| 2491 @DomName('WebGLRenderingContext.readPixels') | 2491 @DomName('WebGLRenderingContext.readPixels') |
| 2492 @DocsEditable | 2492 @DocsEditable |
| 2493 void readPixels(int x, int y, int width, int height, int format, int type, Typ
edData pixels) native "WebGLRenderingContext_readPixels_Callback"; | 2493 void readPixels(int x, int y, int width, int height, int format, int type, Typ
edData pixels) native "WebGLRenderingContext_readPixels_Callback"; |
| 2494 | 2494 |
| 2495 @DomName('WebGLRenderingContext.releaseShaderCompiler') | |
| 2496 @DocsEditable | |
| 2497 void releaseShaderCompiler() native "WebGLRenderingContext_releaseShaderCompil
er_Callback"; | |
| 2498 | |
| 2499 @DomName('WebGLRenderingContext.renderbufferStorage') | 2495 @DomName('WebGLRenderingContext.renderbufferStorage') |
| 2500 @DocsEditable | 2496 @DocsEditable |
| 2501 void renderbufferStorage(int target, int internalformat, int width, int height
) native "WebGLRenderingContext_renderbufferStorage_Callback"; | 2497 void renderbufferStorage(int target, int internalformat, int width, int height
) native "WebGLRenderingContext_renderbufferStorage_Callback"; |
| 2502 | 2498 |
| 2503 @DomName('WebGLRenderingContext.sampleCoverage') | 2499 @DomName('WebGLRenderingContext.sampleCoverage') |
| 2504 @DocsEditable | 2500 @DocsEditable |
| 2505 void sampleCoverage(num value, bool invert) native "WebGLRenderingContext_samp
leCoverage_Callback"; | 2501 void sampleCoverage(num value, bool invert) native "WebGLRenderingContext_samp
leCoverage_Callback"; |
| 2506 | 2502 |
| 2507 @DomName('WebGLRenderingContext.scissor') | 2503 @DomName('WebGLRenderingContext.scissor') |
| 2508 @DocsEditable | 2504 @DocsEditable |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2807 | 2803 |
| 2808 // WARNING: Do not edit - generated code. | 2804 // WARNING: Do not edit - generated code. |
| 2809 | 2805 |
| 2810 | 2806 |
| 2811 @DocsEditable | 2807 @DocsEditable |
| 2812 @DomName('WebGLVertexArrayObjectOES') | 2808 @DomName('WebGLVertexArrayObjectOES') |
| 2813 class VertexArrayObject extends NativeFieldWrapperClass1 { | 2809 class VertexArrayObject extends NativeFieldWrapperClass1 { |
| 2814 VertexArrayObject.internal(); | 2810 VertexArrayObject.internal(); |
| 2815 | 2811 |
| 2816 } | 2812 } |
| OLD | NEW |