Index: Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp b/Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..02deb37085bb84ea7f3d5141f9349f5e2b9e2bd4 |
--- /dev/null |
+++ b/Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp |
@@ -0,0 +1,45 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "config.h" |
+#include "V8WebGLRenderingContext.h" |
+ |
+#include "V8WebGLRenderingContextBase.h" |
+ |
+namespace WebCore { |
+ |
+#define WEBGL_CONTEXT_BASE_FUNCTION(name) \ |
+void V8WebGLRenderingContext::name(const v8::FunctionCallbackInfo<v8::Value>& info) { \ |
+ V8WebGLRenderingContextBase::name(info); \ |
+} |
+ |
+WEBGL_CONTEXT_BASE_FUNCTION(getAttachedShadersMethodCustom) |
+WEBGL_CONTEXT_BASE_FUNCTION(getBufferParameterMethodCustom) |
+WEBGL_CONTEXT_BASE_FUNCTION(getExtensionMethodCustom) |
+WEBGL_CONTEXT_BASE_FUNCTION(getFramebufferAttachmentParameterMethodCustom) |
+WEBGL_CONTEXT_BASE_FUNCTION(getParameterMethodCustom) |
+WEBGL_CONTEXT_BASE_FUNCTION(getProgramParameterMethodCustom) |
+WEBGL_CONTEXT_BASE_FUNCTION(getRenderbufferParameterMethodCustom) |
+WEBGL_CONTEXT_BASE_FUNCTION(getShaderParameterMethodCustom) |
+WEBGL_CONTEXT_BASE_FUNCTION(getSupportedExtensionsMethodCustom) |
+WEBGL_CONTEXT_BASE_FUNCTION(getTexParameterMethodCustom) |
+WEBGL_CONTEXT_BASE_FUNCTION(getUniformMethodCustom) |
+WEBGL_CONTEXT_BASE_FUNCTION(getVertexAttribMethodCustom) |
+WEBGL_CONTEXT_BASE_FUNCTION(uniform1fvMethodCustom) |
+WEBGL_CONTEXT_BASE_FUNCTION(uniform1ivMethodCustom) |
+WEBGL_CONTEXT_BASE_FUNCTION(uniform2fvMethodCustom) |
+WEBGL_CONTEXT_BASE_FUNCTION(uniform2ivMethodCustom) |
+WEBGL_CONTEXT_BASE_FUNCTION(uniform3fvMethodCustom) |
+WEBGL_CONTEXT_BASE_FUNCTION(uniform3ivMethodCustom) |
+WEBGL_CONTEXT_BASE_FUNCTION(uniform4fvMethodCustom) |
+WEBGL_CONTEXT_BASE_FUNCTION(uniform4ivMethodCustom) |
+WEBGL_CONTEXT_BASE_FUNCTION(uniformMatrix2fvMethodCustom) |
+WEBGL_CONTEXT_BASE_FUNCTION(uniformMatrix3fvMethodCustom) |
+WEBGL_CONTEXT_BASE_FUNCTION(uniformMatrix4fvMethodCustom) |
+WEBGL_CONTEXT_BASE_FUNCTION(vertexAttrib1fvMethodCustom) |
+WEBGL_CONTEXT_BASE_FUNCTION(vertexAttrib2fvMethodCustom) |
+WEBGL_CONTEXT_BASE_FUNCTION(vertexAttrib3fvMethodCustom) |
+WEBGL_CONTEXT_BASE_FUNCTION(vertexAttrib4fvMethodCustom) |
+ |
+} // namespace WebCore |