OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 11 matching lines...) Expand all Loading... |
22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | 22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #include "config.h" | 31 #include "config.h" |
32 #include "V8WebGLRenderingContext.h" | 32 #include "bindings/core/v8/V8WebGLRenderingContext.h" |
33 | 33 |
34 #include "V8ANGLEInstancedArrays.h" | 34 #include "bindings/core/v8/V8ANGLEInstancedArrays.h" |
35 #include "V8EXTBlendMinMax.h" | 35 #include "bindings/core/v8/V8EXTBlendMinMax.h" |
36 #include "V8EXTFragDepth.h" | 36 #include "bindings/core/v8/V8EXTFragDepth.h" |
37 #include "V8EXTShaderTextureLOD.h" | 37 #include "bindings/core/v8/V8EXTShaderTextureLOD.h" |
38 #include "V8EXTTextureFilterAnisotropic.h" | 38 #include "bindings/core/v8/V8EXTTextureFilterAnisotropic.h" |
39 #include "V8HTMLCanvasElement.h" | 39 #include "bindings/core/v8/V8HTMLCanvasElement.h" |
40 #include "V8HTMLImageElement.h" | 40 #include "bindings/core/v8/V8HTMLImageElement.h" |
41 #include "V8HTMLVideoElement.h" | 41 #include "bindings/core/v8/V8HTMLVideoElement.h" |
42 #include "V8ImageData.h" | 42 #include "bindings/core/v8/V8ImageData.h" |
43 #include "V8OESElementIndexUint.h" | 43 #include "bindings/core/v8/V8OESElementIndexUint.h" |
44 #include "V8OESStandardDerivatives.h" | 44 #include "bindings/core/v8/V8OESStandardDerivatives.h" |
45 #include "V8OESTextureFloat.h" | 45 #include "bindings/core/v8/V8OESTextureFloat.h" |
46 #include "V8OESTextureFloatLinear.h" | 46 #include "bindings/core/v8/V8OESTextureFloatLinear.h" |
47 #include "V8OESTextureHalfFloat.h" | 47 #include "bindings/core/v8/V8OESTextureHalfFloat.h" |
48 #include "V8OESTextureHalfFloatLinear.h" | 48 #include "bindings/core/v8/V8OESTextureHalfFloatLinear.h" |
49 #include "V8OESVertexArrayObject.h" | 49 #include "bindings/core/v8/V8OESVertexArrayObject.h" |
50 #include "V8WebGLBuffer.h" | 50 #include "bindings/core/v8/V8WebGLBuffer.h" |
51 #include "V8WebGLCompressedTextureATC.h" | 51 #include "bindings/core/v8/V8WebGLCompressedTextureATC.h" |
52 #include "V8WebGLCompressedTextureETC1.h" | 52 #include "bindings/core/v8/V8WebGLCompressedTextureETC1.h" |
53 #include "V8WebGLCompressedTexturePVRTC.h" | 53 #include "bindings/core/v8/V8WebGLCompressedTexturePVRTC.h" |
54 #include "V8WebGLCompressedTextureS3TC.h" | 54 #include "bindings/core/v8/V8WebGLCompressedTextureS3TC.h" |
55 #include "V8WebGLDebugRendererInfo.h" | 55 #include "bindings/core/v8/V8WebGLDebugRendererInfo.h" |
56 #include "V8WebGLDebugShaders.h" | 56 #include "bindings/core/v8/V8WebGLDebugShaders.h" |
57 #include "V8WebGLDepthTexture.h" | 57 #include "bindings/core/v8/V8WebGLDepthTexture.h" |
58 #include "V8WebGLDrawBuffers.h" | 58 #include "bindings/core/v8/V8WebGLDrawBuffers.h" |
59 #include "V8WebGLFramebuffer.h" | 59 #include "bindings/core/v8/V8WebGLFramebuffer.h" |
60 #include "V8WebGLLoseContext.h" | 60 #include "bindings/core/v8/V8WebGLLoseContext.h" |
61 #include "V8WebGLProgram.h" | 61 #include "bindings/core/v8/V8WebGLProgram.h" |
62 #include "V8WebGLRenderbuffer.h" | 62 #include "bindings/core/v8/V8WebGLRenderbuffer.h" |
63 #include "V8WebGLShader.h" | 63 #include "bindings/core/v8/V8WebGLShader.h" |
64 #include "V8WebGLTexture.h" | 64 #include "bindings/core/v8/V8WebGLTexture.h" |
65 #include "V8WebGLUniformLocation.h" | 65 #include "bindings/core/v8/V8WebGLUniformLocation.h" |
66 #include "V8WebGLVertexArrayObjectOES.h" | 66 #include "bindings/core/v8/V8WebGLVertexArrayObjectOES.h" |
67 #include "bindings/v8/ExceptionMessages.h" | 67 #include "bindings/v8/ExceptionMessages.h" |
68 #include "bindings/v8/V8Binding.h" | 68 #include "bindings/v8/V8Binding.h" |
69 #include "bindings/v8/V8HiddenValue.h" | 69 #include "bindings/v8/V8HiddenValue.h" |
70 #include "bindings/v8/custom/V8ArrayBufferViewCustom.h" | 70 #include "bindings/v8/custom/V8ArrayBufferViewCustom.h" |
71 #include "bindings/v8/custom/V8Float32ArrayCustom.h" | 71 #include "bindings/v8/custom/V8Float32ArrayCustom.h" |
72 #include "bindings/v8/custom/V8Int16ArrayCustom.h" | 72 #include "bindings/v8/custom/V8Int16ArrayCustom.h" |
73 #include "bindings/v8/custom/V8Int32ArrayCustom.h" | 73 #include "bindings/v8/custom/V8Int32ArrayCustom.h" |
74 #include "bindings/v8/custom/V8Int8ArrayCustom.h" | 74 #include "bindings/v8/custom/V8Int8ArrayCustom.h" |
75 #include "bindings/v8/custom/V8Uint16ArrayCustom.h" | 75 #include "bindings/v8/custom/V8Uint16ArrayCustom.h" |
76 #include "bindings/v8/custom/V8Uint32ArrayCustom.h" | 76 #include "bindings/v8/custom/V8Uint32ArrayCustom.h" |
(...skipping 780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
857 vertexAttribAndUniformHelperf(info, kVertexAttrib3v, exceptionState); | 857 vertexAttribAndUniformHelperf(info, kVertexAttrib3v, exceptionState); |
858 } | 858 } |
859 | 859 |
860 void V8WebGLRenderingContext::vertexAttrib4fvMethodCustom(const v8::FunctionCall
backInfo<v8::Value>& info) | 860 void V8WebGLRenderingContext::vertexAttrib4fvMethodCustom(const v8::FunctionCall
backInfo<v8::Value>& info) |
861 { | 861 { |
862 ExceptionState exceptionState(ExceptionState::ExecutionContext, "vertexAttri
b4fv", "WebGLRenderingContext", info.Holder(), info.GetIsolate()); | 862 ExceptionState exceptionState(ExceptionState::ExecutionContext, "vertexAttri
b4fv", "WebGLRenderingContext", info.Holder(), info.GetIsolate()); |
863 vertexAttribAndUniformHelperf(info, kVertexAttrib4v, exceptionState); | 863 vertexAttribAndUniformHelperf(info, kVertexAttrib4v, exceptionState); |
864 } | 864 } |
865 | 865 |
866 } // namespace WebCore | 866 } // namespace WebCore |
OLD | NEW |