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

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

Issue 1235903003: Turn on JS interop usage for DOM Dart libraries (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Merged Created 5 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 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 fe21b72b229b97a73576a1db8c8b1e65a8027b15..dbc89b56ee0263dba2d0220864e6aecc9458afb4 100644
--- a/sdk/lib/web_gl/dartium/web_gl_dartium.dart
+++ b/sdk/lib/web_gl/dartium/web_gl_dartium.dart
@@ -58,6 +58,45 @@ final web_glBlinkMap = {
};
+// FIXME: Can we make this private?
+final web_glBlinkFunctionMap = {
+ 'ANGLEInstancedArrays': () => AngleInstancedArrays.internalCreateAngleInstancedArrays,
+ 'EXTBlendMinMax': () => ExtBlendMinMax.internalCreateExtBlendMinMax,
+ 'EXTFragDepth': () => ExtFragDepth.internalCreateExtFragDepth,
+ 'EXTShaderTextureLOD': () => ExtShaderTextureLod.internalCreateExtShaderTextureLod,
+ 'EXTTextureFilterAnisotropic': () => ExtTextureFilterAnisotropic.internalCreateExtTextureFilterAnisotropic,
+ 'OESElementIndexUint': () => OesElementIndexUint.internalCreateOesElementIndexUint,
+ 'OESStandardDerivatives': () => OesStandardDerivatives.internalCreateOesStandardDerivatives,
+ 'OESTextureFloat': () => OesTextureFloat.internalCreateOesTextureFloat,
+ 'OESTextureFloatLinear': () => OesTextureFloatLinear.internalCreateOesTextureFloatLinear,
+ 'OESTextureHalfFloat': () => OesTextureHalfFloat.internalCreateOesTextureHalfFloat,
+ 'OESTextureHalfFloatLinear': () => OesTextureHalfFloatLinear.internalCreateOesTextureHalfFloatLinear,
+ 'OESVertexArrayObject': () => OesVertexArrayObject.internalCreateOesVertexArrayObject,
+ 'WebGLActiveInfo': () => ActiveInfo.internalCreateActiveInfo,
+ 'WebGLBuffer': () => Buffer.internalCreateBuffer,
+ 'WebGLCompressedTextureATC': () => CompressedTextureAtc.internalCreateCompressedTextureAtc,
+ 'WebGLCompressedTextureETC1': () => CompressedTextureETC1.internalCreateCompressedTextureETC1,
+ 'WebGLCompressedTexturePVRTC': () => CompressedTexturePvrtc.internalCreateCompressedTexturePvrtc,
+ 'WebGLCompressedTextureS3TC': () => CompressedTextureS3TC.internalCreateCompressedTextureS3TC,
+ 'WebGLContextAttributes': () => ContextAttributes.internalCreateContextAttributes,
+ 'WebGLContextEvent': () => ContextEvent.internalCreateContextEvent,
+ 'WebGLDebugRendererInfo': () => DebugRendererInfo.internalCreateDebugRendererInfo,
+ 'WebGLDebugShaders': () => DebugShaders.internalCreateDebugShaders,
+ 'WebGLDepthTexture': () => DepthTexture.internalCreateDepthTexture,
+ 'WebGLDrawBuffers': () => DrawBuffers.internalCreateDrawBuffers,
+ 'WebGLFramebuffer': () => Framebuffer.internalCreateFramebuffer,
+ 'WebGLLoseContext': () => LoseContext.internalCreateLoseContext,
+ 'WebGLProgram': () => Program.internalCreateProgram,
+ 'WebGLRenderbuffer': () => Renderbuffer.internalCreateRenderbuffer,
+ 'WebGLRenderingContext': () => RenderingContext.internalCreateRenderingContext,
+ 'WebGLRenderingContextBase': () => _WebGLRenderingContextBase.internalCreate_WebGLRenderingContextBase,
+ 'WebGLShader': () => Shader.internalCreateShader,
+ 'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat.internalCreateShaderPrecisionFormat,
+ 'WebGLTexture': () => Texture.internalCreateTexture,
+ 'WebGLUniformLocation': () => UniformLocation.internalCreateUniformLocation,
+ 'WebGLVertexArrayObjectOES': () => VertexArrayObject.internalCreateVertexArrayObject,
+
+};
// 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