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

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

Issue 18089016: Fixing type error for WebGL's getShaderParameter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
« no previous file with comments | « no previous file | tools/dom/scripts/dartmetadata.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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, JSExtendableArray; 10 import 'dart:_interceptors' show Interceptor, JSExtendableArray;
(...skipping 2333 matching lines...) Expand 10 before | Expand all | Expand 10 after
2344 @Creates('int|Null') 2344 @Creates('int|Null')
2345 @Returns('int|Null') 2345 @Returns('int|Null')
2346 Object getRenderbufferParameter(int target, int pname) native; 2346 Object getRenderbufferParameter(int target, int pname) native;
2347 2347
2348 @DomName('WebGLRenderingContext.getShaderInfoLog') 2348 @DomName('WebGLRenderingContext.getShaderInfoLog')
2349 @DocsEditable 2349 @DocsEditable
2350 String getShaderInfoLog(Shader shader) native; 2350 String getShaderInfoLog(Shader shader) native;
2351 2351
2352 @DomName('WebGLRenderingContext.getShaderParameter') 2352 @DomName('WebGLRenderingContext.getShaderParameter')
2353 @DocsEditable 2353 @DocsEditable
2354 @Creates('int|Null') 2354 @Creates('int|bool|Null')
2355 @Returns('int|Null') 2355 @Returns('int|bool|Null')
2356 Object getShaderParameter(Shader shader, int pname) native; 2356 Object getShaderParameter(Shader shader, int pname) native;
2357 2357
2358 @DomName('WebGLRenderingContext.getShaderPrecisionFormat') 2358 @DomName('WebGLRenderingContext.getShaderPrecisionFormat')
2359 @DocsEditable 2359 @DocsEditable
2360 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty pe) native; 2360 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty pe) native;
2361 2361
2362 @DomName('WebGLRenderingContext.getShaderSource') 2362 @DomName('WebGLRenderingContext.getShaderSource')
2363 @DocsEditable 2363 @DocsEditable
2364 String getShaderSource(Shader shader) native; 2364 String getShaderSource(Shader shader) native;
2365 2365
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
2767 // for details. All rights reserved. Use of this source code is governed by a 2767 // for details. All rights reserved. Use of this source code is governed by a
2768 // BSD-style license that can be found in the LICENSE file. 2768 // BSD-style license that can be found in the LICENSE file.
2769 2769
2770 2770
2771 @DocsEditable 2771 @DocsEditable
2772 @DomName('WebGLVertexArrayObjectOES') 2772 @DomName('WebGLVertexArrayObjectOES')
2773 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ 2773 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
2774 @Experimental // experimental 2774 @Experimental // experimental
2775 class VertexArrayObject native "WebGLVertexArrayObjectOES" { 2775 class VertexArrayObject native "WebGLVertexArrayObjectOES" {
2776 } 2776 }
OLDNEW
« no previous file with comments | « no previous file | tools/dom/scripts/dartmetadata.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698