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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/web_gl/dart2js/web_gl_dart2js.dart
diff --git a/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart b/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart
index de46851ff2d9a7c072418b30fd28df2557defffb..1ab1cd79cbbe5678c5002945bea0bd36032a43ff 100644
--- a/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart
+++ b/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart
@@ -120,7 +120,7 @@ const int GENERATE_MIPMAP_HINT = RenderingContext.GENERATE_MIPMAP_HINT;
const int GEQUAL = RenderingContext.GEQUAL;
const int GREATER = RenderingContext.GREATER;
const int GREEN_BITS = RenderingContext.GREEN_BITS;
-const int HALF_FLOAT_OES = RenderingContext.HALF_FLOAT_OES;
+const int HALF_FLOAT_OES = OesTextureHalfFloat.HALF_FLOAT_OES;
const int HIGH_FLOAT = RenderingContext.HIGH_FLOAT;
const int HIGH_INT = RenderingContext.HIGH_INT;
const int INCR = RenderingContext.INCR;
@@ -734,6 +734,10 @@ class OesTextureFloat native "OESTextureFloat" {
@DocsEditable
@DomName('OESTextureHalfFloat')
class OesTextureHalfFloat native "OESTextureHalfFloat" {
+
+ @DomName('OESTextureHalfFloat.HALF_FLOAT_OES')
+ @DocsEditable
+ static const int HALF_FLOAT_OES = 0x8D61;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -1197,10 +1201,6 @@ class RenderingContext extends CanvasRenderingContext native "WebGLRenderingCont
@DocsEditable
static const int GREEN_BITS = 0x0D53;
- @DomName('WebGLRenderingContext.HALF_FLOAT_OES')
- @DocsEditable
- static const int HALF_FLOAT_OES = 0x8D61;
-
@DomName('WebGLRenderingContext.HIGH_FLOAT')
@DocsEditable
static const int HIGH_FLOAT = 0x8DF2;
@@ -2359,10 +2359,6 @@ class RenderingContext extends CanvasRenderingContext native "WebGLRenderingCont
@DocsEditable
void readPixels(int x, int y, int width, int height, int format, int type, TypedData pixels) native;
- @DomName('WebGLRenderingContext.releaseShaderCompiler')
- @DocsEditable
- void releaseShaderCompiler() native;
-
@DomName('WebGLRenderingContext.renderbufferStorage')
@DocsEditable
void renderbufferStorage(int target, int internalformat, int width, int height) native;
« 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