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

Side by Side Diff: sdk/lib/web_gl/dartium/web_gl_dartium.dart

Issue 143363011: First pass at cleaning up html lib warnings from the analyzer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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 | « sdk/lib/web_gl/dart2js/web_gl_dart2js.dart ('k') | tools/dom/src/EventStreamProvider.dart » ('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:async'; 3 import 'dart:async';
4 import 'dart:collection'; 4 import 'dart:collection';
5 import 'dart:_internal' hide deprecated; 5 import 'dart:_internal' 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 2972 matching lines...) Expand 10 before | Expand all | Expand 10 after
2983 /** 2983 /**
2984 * Updates a sub-rectangle of the currently bound texture to [data]. 2984 * Updates a sub-rectangle of the currently bound texture to [data].
2985 * 2985 *
2986 * [data] can be either an [ImageElement], a 2986 * [data] can be either an [ImageElement], a
2987 * [CanvasElement], a [VideoElement], or an [ImageData] object. 2987 * [CanvasElement], a [VideoElement], or an [ImageData] object.
2988 * 2988 *
2989 * To use [texSubImage2d] with a TypedData object, use [texSubImage2dTyped]. 2989 * To use [texSubImage2d] with a TypedData object, use [texSubImage2dTyped].
2990 * 2990 *
2991 */ 2991 */
2992 void texSubImage2DUntyped(int targetTexture, int levelOfDetail, 2992 void texSubImage2DUntyped(int targetTexture, int levelOfDetail,
2993 int internalFormat, int format, int type, data) { 2993 int xOffset, int yOffset, int format, int type, data) {
2994 texSubImage2D(targetTexture, levelOfDetail, internalFormat, 2994 texSubImage2D(targetTexture, levelOfDetail, xOffset, yOffset,
2995 format, type, data); 2995 format, type, data);
2996 } 2996 }
2997 2997
2998 /** 2998 /**
2999 * Updates a sub-rectangle of the currently bound texture to [data]. 2999 * Updates a sub-rectangle of the currently bound texture to [data].
3000 */ 3000 */
3001 void texSubImage2DTyped(int targetTexture, int levelOfDetail, 3001 void texSubImage2DTyped(int targetTexture, int levelOfDetail,
3002 int internalFormat, int width, int height, int border, int format, 3002 int xOffset, int yOffset, int width, int height, int format,
3003 int type, TypedData data) { 3003 int type, TypedData data) {
3004 texSubImage2D(targetTexture, levelOfDetail, internalFormat, 3004 texSubImage2D(targetTexture, levelOfDetail, xOffset, yOffset,
3005 width, height, border, format, type, data); 3005 width, height, format, type, data);
3006 } 3006 }
3007 } 3007 }
3008 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3008 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3009 // for details. All rights reserved. Use of this source code is governed by a 3009 // for details. All rights reserved. Use of this source code is governed by a
3010 // BSD-style license that can be found in the LICENSE file. 3010 // BSD-style license that can be found in the LICENSE file.
3011 3011
3012 // WARNING: Do not edit - generated code. 3012 // WARNING: Do not edit - generated code.
3013 3013
3014 3014
3015 @DocsEditable() 3015 @DocsEditable()
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
3082 3082
3083 @DocsEditable() 3083 @DocsEditable()
3084 @DomName('WebGLVertexArrayObjectOES') 3084 @DomName('WebGLVertexArrayObjectOES')
3085 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ 3085 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
3086 @Experimental() // experimental 3086 @Experimental() // experimental
3087 class VertexArrayObject extends NativeFieldWrapperClass2 { 3087 class VertexArrayObject extends NativeFieldWrapperClass2 {
3088 // To suppress missing implicit constructor warnings. 3088 // To suppress missing implicit constructor warnings.
3089 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } 3089 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); }
3090 3090
3091 } 3091 }
OLDNEW
« no previous file with comments | « sdk/lib/web_gl/dart2js/web_gl_dart2js.dart ('k') | tools/dom/src/EventStreamProvider.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698