| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 #include "bindings/core/v8/V8WebGLDepthTexture.h" | 57 #include "bindings/core/v8/V8WebGLDepthTexture.h" |
| 58 #include "bindings/core/v8/V8WebGLDrawBuffers.h" | 58 #include "bindings/core/v8/V8WebGLDrawBuffers.h" |
| 59 #include "bindings/core/v8/V8WebGLFramebuffer.h" | 59 #include "bindings/core/v8/V8WebGLFramebuffer.h" |
| 60 #include "bindings/core/v8/V8WebGLLoseContext.h" | 60 #include "bindings/core/v8/V8WebGLLoseContext.h" |
| 61 #include "bindings/core/v8/V8WebGLProgram.h" | 61 #include "bindings/core/v8/V8WebGLProgram.h" |
| 62 #include "bindings/core/v8/V8WebGLRenderbuffer.h" | 62 #include "bindings/core/v8/V8WebGLRenderbuffer.h" |
| 63 #include "bindings/core/v8/V8WebGLShader.h" | 63 #include "bindings/core/v8/V8WebGLShader.h" |
| 64 #include "bindings/core/v8/V8WebGLTexture.h" | 64 #include "bindings/core/v8/V8WebGLTexture.h" |
| 65 #include "bindings/core/v8/V8WebGLUniformLocation.h" | 65 #include "bindings/core/v8/V8WebGLUniformLocation.h" |
| 66 #include "bindings/core/v8/V8WebGLVertexArrayObjectOES.h" | 66 #include "bindings/core/v8/V8WebGLVertexArrayObjectOES.h" |
| 67 #include "bindings/core/v8/custom/V8ArrayBufferViewCustom.h" |
| 68 #include "bindings/core/v8/custom/V8Float32ArrayCustom.h" |
| 69 #include "bindings/core/v8/custom/V8Int16ArrayCustom.h" |
| 70 #include "bindings/core/v8/custom/V8Int32ArrayCustom.h" |
| 71 #include "bindings/core/v8/custom/V8Int8ArrayCustom.h" |
| 72 #include "bindings/core/v8/custom/V8Uint16ArrayCustom.h" |
| 73 #include "bindings/core/v8/custom/V8Uint32ArrayCustom.h" |
| 74 #include "bindings/core/v8/custom/V8Uint8ArrayCustom.h" |
| 67 #include "bindings/v8/ExceptionMessages.h" | 75 #include "bindings/v8/ExceptionMessages.h" |
| 68 #include "bindings/v8/V8Binding.h" | 76 #include "bindings/v8/V8Binding.h" |
| 69 #include "bindings/v8/V8HiddenValue.h" | 77 #include "bindings/v8/V8HiddenValue.h" |
| 70 #include "bindings/v8/custom/V8ArrayBufferViewCustom.h" | |
| 71 #include "bindings/v8/custom/V8Float32ArrayCustom.h" | |
| 72 #include "bindings/v8/custom/V8Int16ArrayCustom.h" | |
| 73 #include "bindings/v8/custom/V8Int32ArrayCustom.h" | |
| 74 #include "bindings/v8/custom/V8Int8ArrayCustom.h" | |
| 75 #include "bindings/v8/custom/V8Uint16ArrayCustom.h" | |
| 76 #include "bindings/v8/custom/V8Uint32ArrayCustom.h" | |
| 77 #include "bindings/v8/custom/V8Uint8ArrayCustom.h" | |
| 78 #include "core/dom/ExceptionCode.h" | 78 #include "core/dom/ExceptionCode.h" |
| 79 #include "core/html/canvas/WebGLRenderingContext.h" | 79 #include "core/html/canvas/WebGLRenderingContext.h" |
| 80 #include "platform/NotImplemented.h" | 80 #include "platform/NotImplemented.h" |
| 81 #include "wtf/FastMalloc.h" | 81 #include "wtf/FastMalloc.h" |
| 82 #include <limits> | 82 #include <limits> |
| 83 | 83 |
| 84 namespace WebCore { | 84 namespace WebCore { |
| 85 | 85 |
| 86 // Allocates new storage via fastMalloc. | 86 // Allocates new storage via fastMalloc. |
| 87 // Returns 0 if array failed to convert for any reason. | 87 // Returns 0 if array failed to convert for any reason. |
| (...skipping 769 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 |