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

Unified Diff: sdk/lib/web_gl/dartium/web_gl_dartium.dart

Issue 284863002: Add type maps from blink name to html name (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use implementation name Created 6 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_sql/dartium/web_sql_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/web_gl/dartium/web_gl_dartium.dart
diff --git a/sdk/lib/web_gl/dartium/web_gl_dartium.dart b/sdk/lib/web_gl/dartium/web_gl_dartium.dart
index 4b55e83f9462929d8346530add6b637d1775ad48..2c2de6c7aa63c22c99861fc3f031231d76303c6e 100644
--- a/sdk/lib/web_gl/dartium/web_gl_dartium.dart
+++ b/sdk/lib/web_gl/dartium/web_gl_dartium.dart
@@ -15,6 +15,41 @@ import 'dart:_blink' as _blink;
+// FIXME: Can we make this private?
+const web_glBlinkMap = const {
+ 'ANGLEInstancedArrays': AngleInstancedArrays,
+ 'EXTFragDepth': ExtFragDepth,
+ 'EXTTextureFilterAnisotropic': ExtTextureFilterAnisotropic,
+ 'OESElementIndexUint': OesElementIndexUint,
+ 'OESStandardDerivatives': OesStandardDerivatives,
+ 'OESTextureFloat': OesTextureFloat,
+ 'OESTextureFloatLinear': OesTextureFloatLinear,
+ 'OESTextureHalfFloat': OesTextureHalfFloat,
+ 'OESTextureHalfFloatLinear': OesTextureHalfFloatLinear,
+ 'OESVertexArrayObject': OesVertexArrayObject,
+ 'WebGLActiveInfo': ActiveInfo,
+ 'WebGLBuffer': Buffer,
+ 'WebGLCompressedTextureATC': CompressedTextureAtc,
+ 'WebGLCompressedTexturePVRTC': CompressedTexturePvrtc,
+ 'WebGLCompressedTextureS3TC': CompressedTextureS3TC,
+ 'WebGLContextAttributes': ContextAttributes,
+ 'WebGLContextEvent': ContextEvent,
+ 'WebGLDebugRendererInfo': DebugRendererInfo,
+ 'WebGLDebugShaders': DebugShaders,
+ 'WebGLDepthTexture': DepthTexture,
+ 'WebGLDrawBuffers': DrawBuffers,
+ 'WebGLFramebuffer': Framebuffer,
+ 'WebGLLoseContext': LoseContext,
+ 'WebGLProgram': Program,
+ 'WebGLRenderbuffer': Renderbuffer,
+ 'WebGLRenderingContext': RenderingContext,
+ 'WebGLShader': Shader,
+ 'WebGLShaderPrecisionFormat': ShaderPrecisionFormat,
+ 'WebGLTexture': Texture,
+ 'WebGLUniformLocation': UniformLocation,
+ 'WebGLVertexArrayObjectOES': VertexArrayObject,
+
+};
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
« no previous file with comments | « sdk/lib/web_audio/dartium/web_audio_dartium.dart ('k') | sdk/lib/web_sql/dartium/web_sql_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698