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

Side by Side Diff: sdk/lib/web_gl/dart2js/web_gl_dart2js.dart

Issue 15231009: Regen dart:html from IDL with fixes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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:collection'; 3 import 'dart:collection';
4 import 'dart:_collection-dev'; 4 import 'dart:_collection-dev';
5 import 'dart:html'; 5 import 'dart:html';
6 import 'dart:html_common'; 6 import 'dart:html_common';
7 import 'dart:typed_data'; 7 import 'dart:typed_data';
8 import 'dart:_js_helper' show Creates, JSName, Null, Returns, convertDartClosure ToJS; 8 import 'dart:_js_helper' show Creates, JSName, Null, Returns, convertDartClosure ToJS;
9 import 'dart:_foreign_helper' show JS; 9 import 'dart:_foreign_helper' show JS;
10 import 'dart:_interceptors' show Interceptor; 10 import 'dart:_interceptors' show Interceptor;
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 const int FRONT = RenderingContext.FRONT; 113 const int FRONT = RenderingContext.FRONT;
114 const int FRONT_AND_BACK = RenderingContext.FRONT_AND_BACK; 114 const int FRONT_AND_BACK = RenderingContext.FRONT_AND_BACK;
115 const int FRONT_FACE = RenderingContext.FRONT_FACE; 115 const int FRONT_FACE = RenderingContext.FRONT_FACE;
116 const int FUNC_ADD = RenderingContext.FUNC_ADD; 116 const int FUNC_ADD = RenderingContext.FUNC_ADD;
117 const int FUNC_REVERSE_SUBTRACT = RenderingContext.FUNC_REVERSE_SUBTRACT; 117 const int FUNC_REVERSE_SUBTRACT = RenderingContext.FUNC_REVERSE_SUBTRACT;
118 const int FUNC_SUBTRACT = RenderingContext.FUNC_SUBTRACT; 118 const int FUNC_SUBTRACT = RenderingContext.FUNC_SUBTRACT;
119 const int GENERATE_MIPMAP_HINT = RenderingContext.GENERATE_MIPMAP_HINT; 119 const int GENERATE_MIPMAP_HINT = RenderingContext.GENERATE_MIPMAP_HINT;
120 const int GEQUAL = RenderingContext.GEQUAL; 120 const int GEQUAL = RenderingContext.GEQUAL;
121 const int GREATER = RenderingContext.GREATER; 121 const int GREATER = RenderingContext.GREATER;
122 const int GREEN_BITS = RenderingContext.GREEN_BITS; 122 const int GREEN_BITS = RenderingContext.GREEN_BITS;
123 const int HALF_FLOAT_OES = RenderingContext.HALF_FLOAT_OES; 123 const int HALF_FLOAT_OES = OesTextureHalfFloat.HALF_FLOAT_OES;
124 const int HIGH_FLOAT = RenderingContext.HIGH_FLOAT; 124 const int HIGH_FLOAT = RenderingContext.HIGH_FLOAT;
125 const int HIGH_INT = RenderingContext.HIGH_INT; 125 const int HIGH_INT = RenderingContext.HIGH_INT;
126 const int INCR = RenderingContext.INCR; 126 const int INCR = RenderingContext.INCR;
127 const int INCR_WRAP = RenderingContext.INCR_WRAP; 127 const int INCR_WRAP = RenderingContext.INCR_WRAP;
128 const int INT = RenderingContext.INT; 128 const int INT = RenderingContext.INT;
129 const int INT_VEC2 = RenderingContext.INT_VEC2; 129 const int INT_VEC2 = RenderingContext.INT_VEC2;
130 const int INT_VEC3 = RenderingContext.INT_VEC3; 130 const int INT_VEC3 = RenderingContext.INT_VEC3;
131 const int INT_VEC4 = RenderingContext.INT_VEC4; 131 const int INT_VEC4 = RenderingContext.INT_VEC4;
132 const int INVALID_ENUM = RenderingContext.INVALID_ENUM; 132 const int INVALID_ENUM = RenderingContext.INVALID_ENUM;
133 const int INVALID_FRAMEBUFFER_OPERATION = RenderingContext.INVALID_FRAMEBUFFER_O PERATION; 133 const int INVALID_FRAMEBUFFER_OPERATION = RenderingContext.INVALID_FRAMEBUFFER_O PERATION;
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 class OesTextureFloat native "OESTextureFloat" { 727 class OesTextureFloat native "OESTextureFloat" {
728 } 728 }
729 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 729 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
730 // for details. All rights reserved. Use of this source code is governed by a 730 // for details. All rights reserved. Use of this source code is governed by a
731 // BSD-style license that can be found in the LICENSE file. 731 // BSD-style license that can be found in the LICENSE file.
732 732
733 733
734 @DocsEditable 734 @DocsEditable
735 @DomName('OESTextureHalfFloat') 735 @DomName('OESTextureHalfFloat')
736 class OesTextureHalfFloat native "OESTextureHalfFloat" { 736 class OesTextureHalfFloat native "OESTextureHalfFloat" {
737
738 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES')
739 @DocsEditable
740 static const int HALF_FLOAT_OES = 0x8D61;
737 } 741 }
738 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 742 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
739 // for details. All rights reserved. Use of this source code is governed by a 743 // for details. All rights reserved. Use of this source code is governed by a
740 // BSD-style license that can be found in the LICENSE file. 744 // BSD-style license that can be found in the LICENSE file.
741 745
742 746
743 @DocsEditable 747 @DocsEditable
744 @DomName('OESVertexArrayObject') 748 @DomName('OESVertexArrayObject')
745 class OesVertexArrayObject native "OESVertexArrayObject" { 749 class OesVertexArrayObject native "OESVertexArrayObject" {
746 750
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
1190 static const int GEQUAL = 0x0206; 1194 static const int GEQUAL = 0x0206;
1191 1195
1192 @DomName('WebGLRenderingContext.GREATER') 1196 @DomName('WebGLRenderingContext.GREATER')
1193 @DocsEditable 1197 @DocsEditable
1194 static const int GREATER = 0x0204; 1198 static const int GREATER = 0x0204;
1195 1199
1196 @DomName('WebGLRenderingContext.GREEN_BITS') 1200 @DomName('WebGLRenderingContext.GREEN_BITS')
1197 @DocsEditable 1201 @DocsEditable
1198 static const int GREEN_BITS = 0x0D53; 1202 static const int GREEN_BITS = 0x0D53;
1199 1203
1200 @DomName('WebGLRenderingContext.HALF_FLOAT_OES')
1201 @DocsEditable
1202 static const int HALF_FLOAT_OES = 0x8D61;
1203
1204 @DomName('WebGLRenderingContext.HIGH_FLOAT') 1204 @DomName('WebGLRenderingContext.HIGH_FLOAT')
1205 @DocsEditable 1205 @DocsEditable
1206 static const int HIGH_FLOAT = 0x8DF2; 1206 static const int HIGH_FLOAT = 0x8DF2;
1207 1207
1208 @DomName('WebGLRenderingContext.HIGH_INT') 1208 @DomName('WebGLRenderingContext.HIGH_INT')
1209 @DocsEditable 1209 @DocsEditable
1210 static const int HIGH_INT = 0x8DF5; 1210 static const int HIGH_INT = 0x8DF5;
1211 1211
1212 @DomName('WebGLRenderingContext.INCR') 1212 @DomName('WebGLRenderingContext.INCR')
1213 @DocsEditable 1213 @DocsEditable
(...skipping 1138 matching lines...) Expand 10 before | Expand all | Expand 10 after
2352 void pixelStorei(int pname, int param) native; 2352 void pixelStorei(int pname, int param) native;
2353 2353
2354 @DomName('WebGLRenderingContext.polygonOffset') 2354 @DomName('WebGLRenderingContext.polygonOffset')
2355 @DocsEditable 2355 @DocsEditable
2356 void polygonOffset(num factor, num units) native; 2356 void polygonOffset(num factor, num units) native;
2357 2357
2358 @DomName('WebGLRenderingContext.readPixels') 2358 @DomName('WebGLRenderingContext.readPixels')
2359 @DocsEditable 2359 @DocsEditable
2360 void readPixels(int x, int y, int width, int height, int format, int type, Typ edData pixels) native; 2360 void readPixels(int x, int y, int width, int height, int format, int type, Typ edData pixels) native;
2361 2361
2362 @DomName('WebGLRenderingContext.releaseShaderCompiler')
2363 @DocsEditable
2364 void releaseShaderCompiler() native;
2365
2366 @DomName('WebGLRenderingContext.renderbufferStorage') 2362 @DomName('WebGLRenderingContext.renderbufferStorage')
2367 @DocsEditable 2363 @DocsEditable
2368 void renderbufferStorage(int target, int internalformat, int width, int height ) native; 2364 void renderbufferStorage(int target, int internalformat, int width, int height ) native;
2369 2365
2370 @DomName('WebGLRenderingContext.sampleCoverage') 2366 @DomName('WebGLRenderingContext.sampleCoverage')
2371 @DocsEditable 2367 @DocsEditable
2372 void sampleCoverage(num value, bool invert) native; 2368 void sampleCoverage(num value, bool invert) native;
2373 2369
2374 @DomName('WebGLRenderingContext.scissor') 2370 @DomName('WebGLRenderingContext.scissor')
2375 @DocsEditable 2371 @DocsEditable
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
2679 } 2675 }
2680 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2676 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2681 // for details. All rights reserved. Use of this source code is governed by a 2677 // for details. All rights reserved. Use of this source code is governed by a
2682 // BSD-style license that can be found in the LICENSE file. 2678 // BSD-style license that can be found in the LICENSE file.
2683 2679
2684 2680
2685 @DocsEditable 2681 @DocsEditable
2686 @DomName('WebGLVertexArrayObjectOES') 2682 @DomName('WebGLVertexArrayObjectOES')
2687 class VertexArrayObject native "WebGLVertexArrayObjectOES" { 2683 class VertexArrayObject native "WebGLVertexArrayObjectOES" {
2688 } 2684 }
OLDNEW
« no previous file with comments | « sdk/lib/web_audio/dartium/web_audio_dartium.dart ('k') | sdk/lib/web_gl/dartium/web_gl_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698