2010-05-14 Kenneth Russell <kbr@google.com>
authorkbr@google.com <kbr@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 May 2010 22:37:05 +0000 (22:37 +0000)
committerkbr@google.com <kbr@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 May 2010 22:37:05 +0000 (22:37 +0000)
        Reviewed by Darin Adler.

        Rename WebGLArray types to TypedArray types
        https://bugs.webkit.org/show_bug.cgi?id=39091

        Extended functionality of do-webcore-rename script and used it to
        rename the WebGLArray types to the TypedArray naming convention.
        The only source files which were touched by hand, and which are
        being manually reviewed, are:
            WebCore/page/DOMWindow.idl
            WebCore/bindings/generic/RuntimeEnabledFeatures.h (script's changes undone)
            WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp
            WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
        These only needed to be touched to update the aliases between the
        WebGLArray and TypedArray names introduced in bug 39036. (It was
        not feasible to have do-webcore-rename handle this as it would
        introduce circular renamings.) These aliases will be removed in
        roughly a month once existing WebGL content has been updated.

        No new tests; covered under existing WebGL tests. Updated
        constructed-objects-prototypes and prototype-inheritance-2 tests.
        Ran all layout tests in Safari and all WebGL tests in Chromium.

        * src/GraphicsContext3D.cpp:
        (WebCore::GraphicsContext3DInternal::bufferData):
        (WebCore::GraphicsContext3DInternal::bufferSubData):
2010-05-14  Kenneth Russell  <kbr@google.com>

        Reviewed by Darin Adler.

        Rename WebGLArray types to TypedArray types
        https://bugs.webkit.org/show_bug.cgi?id=39091

        Extended functionality of do-webcore-rename script and used it to
        rename the WebGLArray types to the TypedArray naming convention.
        The only source files which were touched by hand, and which are
        being manually reviewed, are:
            WebCore/page/DOMWindow.idl
            WebCore/bindings/generic/RuntimeEnabledFeatures.h (script's changes undone)
            WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp
            WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
        These only needed to be touched to update the aliases between the
        WebGLArray and TypedArray names introduced in bug 39036. (It was
        not feasible to have do-webcore-rename handle this as it would
        introduce circular renamings.) These aliases will be removed in
        roughly a month once existing WebGL content has been updated.

        No new tests; covered under existing WebGL tests. Updated
        constructed-objects-prototypes and prototype-inheritance-2 tests.
        Ran all layout tests in Safari and all WebGL tests in Chromium.

        * DerivedSources.make:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pri:
        * WebCore.pro:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/JSArrayBufferConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLArrayBufferConstructor.cpp.
        (WebCore::):
        (WebCore::JSArrayBufferConstructor::JSArrayBufferConstructor):
        (WebCore::constructCanvasArrayBuffer):
        (WebCore::JSArrayBufferConstructor::getConstructData):
        * bindings/js/JSArrayBufferConstructor.h: Copied from WebCore/bindings/js/JSWebGLArrayBufferConstructor.h.
        (WebCore::construct):
        * bindings/js/JSArrayBufferViewCustom.cpp: Copied from WebCore/bindings/js/JSWebGLArrayCustom.cpp.
        (WebCore::toJS):
        (WebCore::JSArrayBufferView::slice):
        * bindings/js/JSArrayBufferViewHelper.h: Copied from WebCore/bindings/js/JSWebGLArrayHelper.h.
        * bindings/js/JSDOMWindowCustom.cpp:
        (WebCore::JSDOMWindow::arrayBuffer):
        (WebCore::JSDOMWindow::int8Array):
        (WebCore::JSDOMWindow::uint8Array):
        (WebCore::JSDOMWindow::int32Array):
        (WebCore::JSDOMWindow::uint32Array):
        (WebCore::JSDOMWindow::int16Array):
        (WebCore::JSDOMWindow::uint16Array):
        (WebCore::JSDOMWindow::floatArray):
        (WebCore::JSDOMWindow::webGLArrayBuffer):
        (WebCore::JSDOMWindow::webGLByteArray):
        (WebCore::JSDOMWindow::webGLUnsignedByteArray):
        (WebCore::JSDOMWindow::webGLIntArray):
        (WebCore::JSDOMWindow::webGLUnsignedIntArray):
        (WebCore::JSDOMWindow::webGLShortArray):
        (WebCore::JSDOMWindow::webGLUnsignedShortArray):
        (WebCore::JSDOMWindow::webGLFloatArray):
        * bindings/js/JSFloatArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLFloatArrayConstructor.cpp.
        (WebCore::):
        (WebCore::JSFloatArrayConstructor::JSFloatArrayConstructor):
        (WebCore::constructCanvasFloatArray):
        (WebCore::JSFloatArrayConstructor::getConstructData):
        * bindings/js/JSFloatArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLFloatArrayConstructor.h.
        * bindings/js/JSFloatArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLFloatArrayCustom.cpp.
        (WebCore::JSFloatArray::indexSetter):
        (WebCore::toJS):
        (WebCore::JSFloatArray::set):
        * bindings/js/JSInt16ArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLShortArrayConstructor.cpp.
        (WebCore::):
        (WebCore::JSInt16ArrayConstructor::JSInt16ArrayConstructor):
        (WebCore::constructCanvasShortArray):
        (WebCore::JSInt16ArrayConstructor::getConstructData):
        * bindings/js/JSInt16ArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLShortArrayConstructor.h.
        * bindings/js/JSInt16ArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLShortArrayCustom.cpp.
        (WebCore::JSInt16Array::indexSetter):
        (WebCore::toJS):
        (WebCore::JSInt16Array::set):
        * bindings/js/JSInt32ArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLIntArrayConstructor.cpp.
        (WebCore::):
        (WebCore::JSInt32ArrayConstructor::JSInt32ArrayConstructor):
        (WebCore::constructCanvasIntArray):
        (WebCore::JSInt32ArrayConstructor::getConstructData):
        * bindings/js/JSInt32ArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLIntArrayConstructor.h.
        * bindings/js/JSInt32ArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLIntArrayCustom.cpp.
        (WebCore::JSInt32Array::indexSetter):
        (WebCore::toJS):
        (WebCore::JSInt32Array::set):
        * bindings/js/JSInt8ArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLByteArrayConstructor.cpp.
        (WebCore::):
        (WebCore::JSInt8ArrayConstructor::JSInt8ArrayConstructor):
        (WebCore::constructCanvasByteArray):
        (WebCore::JSInt8ArrayConstructor::getConstructData):
        * bindings/js/JSInt8ArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLByteArrayConstructor.h.
        * bindings/js/JSInt8ArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLByteArrayCustom.cpp.
        (WebCore::JSInt8Array::indexSetter):
        (WebCore::toJS):
        (WebCore::JSInt8Array::set):
        * bindings/js/JSUint16ArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLUnsignedShortArrayConstructor.cpp.
        (WebCore::):
        (WebCore::JSUint16ArrayConstructor::JSUint16ArrayConstructor):
        (WebCore::constructCanvasUnsignedShortArray):
        (WebCore::JSUint16ArrayConstructor::getConstructData):
        * bindings/js/JSUint16ArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLUnsignedShortArrayConstructor.h.
        * bindings/js/JSUint16ArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLUnsignedShortArrayCustom.cpp.
        (WebCore::JSUint16Array::indexSetter):
        (WebCore::toJS):
        (WebCore::JSUint16Array::set):
        * bindings/js/JSUint32ArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLUnsignedIntArrayConstructor.cpp.
        (WebCore::):
        (WebCore::JSUint32ArrayConstructor::JSUint32ArrayConstructor):
        (WebCore::constructCanvasUnsignedIntArray):
        (WebCore::JSUint32ArrayConstructor::getConstructData):
        * bindings/js/JSUint32ArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLUnsignedIntArrayConstructor.h.
        * bindings/js/JSUint32ArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLUnsignedIntArrayCustom.cpp.
        (WebCore::JSUint32Array::indexSetter):
        (WebCore::toJS):
        (WebCore::JSUint32Array::set):
        * bindings/js/JSUint8ArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLUnsignedByteArrayConstructor.cpp.
        (WebCore::):
        (WebCore::JSUint8ArrayConstructor::JSUint8ArrayConstructor):
        (WebCore::constructCanvasUnsignedByteArray):
        (WebCore::JSUint8ArrayConstructor::getConstructData):
        * bindings/js/JSUint8ArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLUnsignedByteArrayConstructor.h.
        * bindings/js/JSUint8ArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLUnsignedByteArrayCustom.cpp.
        (WebCore::JSUint8Array::indexSetter):
        (WebCore::toJS):
        (WebCore::JSUint8Array::set):
        * bindings/js/JSWebGLArrayBufferConstructor.cpp: Removed.
        * bindings/js/JSWebGLArrayBufferConstructor.h: Removed.
        * bindings/js/JSWebGLArrayCustom.cpp: Removed.
        * bindings/js/JSWebGLArrayHelper.h: Removed.
        * bindings/js/JSWebGLByteArrayConstructor.cpp: Removed.
        * bindings/js/JSWebGLByteArrayConstructor.h: Removed.
        * bindings/js/JSWebGLByteArrayCustom.cpp: Removed.
        * bindings/js/JSWebGLFloatArrayConstructor.cpp: Removed.
        * bindings/js/JSWebGLFloatArrayConstructor.h: Removed.
        * bindings/js/JSWebGLFloatArrayCustom.cpp: Removed.
        * bindings/js/JSWebGLIntArrayConstructor.cpp: Removed.
        * bindings/js/JSWebGLIntArrayConstructor.h: Removed.
        * bindings/js/JSWebGLIntArrayCustom.cpp: Removed.
        * bindings/js/JSWebGLRenderingContextCustom.cpp:
        (WebCore::JSWebGLRenderingContext::bufferData):
        (WebCore::JSWebGLRenderingContext::bufferSubData):
        (WebCore::JSWebGLRenderingContext::texImage2D):
        (WebCore::JSWebGLRenderingContext::texSubImage2D):
        (WebCore::dataFunctionf):
        (WebCore::dataFunctioni):
        (WebCore::dataFunctionMatrix):
        * bindings/js/JSWebGLShortArrayConstructor.cpp: Removed.
        * bindings/js/JSWebGLShortArrayConstructor.h: Removed.
        * bindings/js/JSWebGLShortArrayCustom.cpp: Removed.
        * bindings/js/JSWebGLUnsignedByteArrayConstructor.cpp: Removed.
        * bindings/js/JSWebGLUnsignedByteArrayConstructor.h: Removed.
        * bindings/js/JSWebGLUnsignedByteArrayCustom.cpp: Removed.
        * bindings/js/JSWebGLUnsignedIntArrayConstructor.cpp: Removed.
        * bindings/js/JSWebGLUnsignedIntArrayConstructor.h: Removed.
        * bindings/js/JSWebGLUnsignedIntArrayCustom.cpp: Removed.
        * bindings/js/JSWebGLUnsignedShortArrayConstructor.cpp: Removed.
        * bindings/js/JSWebGLUnsignedShortArrayConstructor.h: Removed.
        * bindings/js/JSWebGLUnsignedShortArrayCustom.cpp: Removed.
        * bindings/v8/V8DOMWrapper.cpp:
        * bindings/v8/custom/V8ArrayBufferCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLArrayBufferCustom.cpp.
        (WebCore::V8ArrayBuffer::constructorCallback):
        * bindings/v8/custom/V8ArrayBufferViewCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLArrayCustom.cpp.
        (WebCore::toV8):
        (WebCore::V8ArrayBufferView::sliceCallback):
        * bindings/v8/custom/V8ArrayBufferViewCustom.h: Copied from WebCore/bindings/v8/custom/V8WebGLArrayCustom.h.
        (WebCore::constructWebGLArray):
        * bindings/v8/custom/V8DOMWindowCustom.cpp:
        (WebCore::V8DOMWindow::WebGLArrayBufferAccessorGetter):
        (WebCore::V8DOMWindow::WebGLByteArrayAccessorGetter):
        (WebCore::V8DOMWindow::WebGLUnsignedByteArrayAccessorGetter):
        (WebCore::V8DOMWindow::WebGLShortArrayAccessorGetter):
        (WebCore::V8DOMWindow::WebGLUnsignedShortArrayAccessorGetter):
        (WebCore::V8DOMWindow::WebGLIntArrayAccessorGetter):
        (WebCore::V8DOMWindow::WebGLUnsignedIntArrayAccessorGetter):
        (WebCore::V8DOMWindow::WebGLFloatArrayAccessorGetter):
        * bindings/v8/custom/V8FloatArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLFloatArrayCustom.cpp.
        (WebCore::V8FloatArray::constructorCallback):
        (WebCore::V8FloatArray::setCallback):
        (WebCore::toV8):
        * bindings/v8/custom/V8Int16ArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLShortArrayCustom.cpp.
        (WebCore::V8Int16Array::constructorCallback):
        (WebCore::V8Int16Array::setCallback):
        (WebCore::toV8):
        * bindings/v8/custom/V8Int32ArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLIntArrayCustom.cpp.
        (WebCore::V8Int32Array::constructorCallback):
        (WebCore::V8Int32Array::setCallback):
        (WebCore::toV8):
        * bindings/v8/custom/V8Int8ArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLByteArrayCustom.cpp.
        (WebCore::V8Int8Array::constructorCallback):
        (WebCore::V8Int8Array::setCallback):
        (WebCore::toV8):
        * bindings/v8/custom/V8Uint16ArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLUnsignedShortArrayCustom.cpp.
        (WebCore::V8Uint16Array::constructorCallback):
        (WebCore::V8Uint16Array::setCallback):
        (WebCore::toV8):
        * bindings/v8/custom/V8Uint32ArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLUnsignedIntArrayCustom.cpp.
        (WebCore::V8Uint32Array::constructorCallback):
        (WebCore::V8Uint32Array::setCallback):
        (WebCore::toV8):
        * bindings/v8/custom/V8Uint8ArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLUnsignedByteArrayCustom.cpp.
        (WebCore::V8Uint8Array::constructorCallback):
        (WebCore::V8Uint8Array::setCallback):
        (WebCore::toV8):
        * bindings/v8/custom/V8WebGLArrayBufferCustom.cpp: Removed.
        * bindings/v8/custom/V8WebGLArrayCustom.cpp: Removed.
        * bindings/v8/custom/V8WebGLArrayCustom.h: Removed.
        * bindings/v8/custom/V8WebGLByteArrayCustom.cpp: Removed.
        * bindings/v8/custom/V8WebGLFloatArrayCustom.cpp: Removed.
        * bindings/v8/custom/V8WebGLIntArrayCustom.cpp: Removed.
        * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
        (WebCore::vertexAttribAndUniformHelperf):
        (WebCore::uniformHelperi):
        (WebCore::uniformMatrixHelper):
        * bindings/v8/custom/V8WebGLShortArrayCustom.cpp: Removed.
        * bindings/v8/custom/V8WebGLUnsignedByteArrayCustom.cpp: Removed.
        * bindings/v8/custom/V8WebGLUnsignedIntArrayCustom.cpp: Removed.
        * bindings/v8/custom/V8WebGLUnsignedShortArrayCustom.cpp: Removed.
        * html/canvas/ArrayBuffer.cpp: Copied from WebCore/html/canvas/WebGLArrayBuffer.cpp.
        (WebCore::ArrayBuffer::create):
        (WebCore::ArrayBuffer::ArrayBuffer):
        (WebCore::ArrayBuffer::data):
        (WebCore::ArrayBuffer::byteLength):
        (WebCore::ArrayBuffer::~ArrayBuffer):
        (WebCore::ArrayBuffer::tryAllocate):
        * html/canvas/ArrayBuffer.h: Copied from WebCore/html/canvas/WebGLArrayBuffer.h.
        * html/canvas/ArrayBuffer.idl: Copied from WebCore/html/canvas/WebGLArrayBuffer.idl.
        * html/canvas/ArrayBufferView.cpp: Copied from WebCore/html/canvas/WebGLArray.cpp.
        (WebCore::ArrayBufferView::ArrayBufferView):
        (WebCore::ArrayBufferView::~ArrayBufferView):
        (WebCore::ArrayBufferView::setImpl):
        (WebCore::ArrayBufferView::calculateOffsetAndLength):
        * html/canvas/ArrayBufferView.h: Copied from WebCore/html/canvas/WebGLArray.h.
        (WebCore::ArrayBufferView::buffer):
        (WebCore::ArrayBufferView::verifySubRange):
        (WebCore::ArrayBufferView::clampOffsetAndNumElements):
        * html/canvas/ArrayBufferView.idl: Copied from WebCore/html/canvas/WebGLArray.idl.
        * html/canvas/FloatArray.cpp: Copied from WebCore/html/canvas/WebGLFloatArray.cpp.
        (WebCore::FloatArray::create):
        (WebCore::FloatArray::FloatArray):
        (WebCore::FloatArray::slice):
        * html/canvas/FloatArray.h: Copied from WebCore/html/canvas/WebGLFloatArray.h.
        (WebCore::FloatArray::set):
        (WebCore::FloatArray::item):
        * html/canvas/FloatArray.idl: Copied from WebCore/html/canvas/WebGLFloatArray.idl.
        * html/canvas/Int16Array.cpp: Copied from WebCore/html/canvas/WebGLShortArray.cpp.
        (WebCore::Int16Array::create):
        (WebCore::Int16Array::Int16Array):
        (WebCore::Int16Array::slice):
        * html/canvas/Int16Array.h: Copied from WebCore/html/canvas/WebGLShortArray.h.
        * html/canvas/Int16Array.idl: Copied from WebCore/html/canvas/WebGLShortArray.idl.
        * html/canvas/Int32Array.cpp: Copied from WebCore/html/canvas/WebGLIntArray.cpp.
        (WebCore::Int32Array::create):
        (WebCore::Int32Array::Int32Array):
        (WebCore::Int32Array::slice):
        * html/canvas/Int32Array.h: Copied from WebCore/html/canvas/WebGLIntArray.h.
        * html/canvas/Int32Array.idl: Copied from WebCore/html/canvas/WebGLIntArray.idl.
        * html/canvas/Int8Array.cpp: Copied from WebCore/html/canvas/WebGLByteArray.cpp.
        (WebCore::Int8Array::create):
        (WebCore::Int8Array::Int8Array):
        (WebCore::Int8Array::slice):
        * html/canvas/Int8Array.h: Copied from WebCore/html/canvas/WebGLByteArray.h.
        * html/canvas/Int8Array.idl: Copied from WebCore/html/canvas/WebGLByteArray.idl.
        * html/canvas/IntegralTypedArrayBase.h: Copied from WebCore/html/canvas/WebGLIntegralTypedArrayBase.h.
        (WebCore::IntegralTypedArrayBase::set):
        (WebCore::IntegralTypedArrayBase::item):
        (WebCore::IntegralTypedArrayBase::IntegralTypedArrayBase):
        * html/canvas/TypedArrayBase.h: Copied from WebCore/html/canvas/WebGLTypedArrayBase.h.
        (WebCore::TypedArrayBase::set):
        (WebCore::TypedArrayBase::TypedArrayBase):
        (WebCore::TypedArrayBase::create):
        * html/canvas/Uint16Array.cpp: Copied from WebCore/html/canvas/WebGLUnsignedShortArray.cpp.
        (WebCore::Uint16Array::create):
        (WebCore::Uint16Array::Uint16Array):
        (WebCore::Uint16Array::slice):
        * html/canvas/Uint16Array.h: Copied from WebCore/html/canvas/WebGLUnsignedShortArray.h.
        * html/canvas/Uint16Array.idl: Copied from WebCore/html/canvas/WebGLUnsignedShortArray.idl.
        * html/canvas/Uint32Array.cpp: Copied from WebCore/html/canvas/WebGLUnsignedIntArray.cpp.
        (WebCore::Uint32Array::create):
        (WebCore::Uint32Array::Uint32Array):
        (WebCore::Uint32Array::slice):
        * html/canvas/Uint32Array.h: Copied from WebCore/html/canvas/WebGLUnsignedIntArray.h.
        * html/canvas/Uint32Array.idl: Copied from WebCore/html/canvas/WebGLUnsignedIntArray.idl.
        * html/canvas/Uint8Array.cpp: Copied from WebCore/html/canvas/WebGLUnsignedByteArray.cpp.
        (WebCore::Uint8Array::create):
        (WebCore::Uint8Array::Uint8Array):
        (WebCore::Uint8Array::slice):
        * html/canvas/Uint8Array.h: Copied from WebCore/html/canvas/WebGLUnsignedByteArray.h.
        * html/canvas/Uint8Array.idl: Copied from WebCore/html/canvas/WebGLUnsignedByteArray.idl.
        * html/canvas/WebGLArray.cpp: Removed.
        * html/canvas/WebGLArray.h: Removed.
        * html/canvas/WebGLArray.idl: Removed.
        * html/canvas/WebGLArrayBuffer.cpp: Removed.
        * html/canvas/WebGLArrayBuffer.h: Removed.
        * html/canvas/WebGLArrayBuffer.idl: Removed.
        * html/canvas/WebGLBuffer.cpp:
        (WebCore::WebGLBuffer::associateBufferData):
        (WebCore::WebGLBuffer::associateBufferSubData):
        * html/canvas/WebGLBuffer.h:
        (WebCore::WebGLBuffer::elementArrayBuffer):
        * html/canvas/WebGLByteArray.cpp: Removed.
        * html/canvas/WebGLByteArray.h: Removed.
        * html/canvas/WebGLByteArray.idl: Removed.
        * html/canvas/WebGLFloatArray.cpp: Removed.
        * html/canvas/WebGLFloatArray.h: Removed.
        * html/canvas/WebGLFloatArray.idl: Removed.
        * html/canvas/WebGLGetInfo.cpp:
        (WebCore::WebGLGetInfo::WebGLGetInfo):
        (WebCore::WebGLGetInfo::getWebGLFloatArray):
        (WebCore::WebGLGetInfo::getWebGLIntArray):
        (WebCore::WebGLGetInfo::getWebGLUnsignedByteArray):
        * html/canvas/WebGLGetInfo.h:
        * html/canvas/WebGLIntArray.cpp: Removed.
        * html/canvas/WebGLIntArray.h: Removed.
        * html/canvas/WebGLIntArray.idl: Removed.
        * html/canvas/WebGLIntegralTypedArrayBase.h: Removed.
        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::bufferData):
        (WebCore::WebGLRenderingContext::bufferSubData):
        (WebCore::WebGLRenderingContext::getUniform):
        (WebCore::WebGLRenderingContext::getVertexAttrib):
        (WebCore::WebGLRenderingContext::readPixels):
        (WebCore::WebGLRenderingContext::texImage2D):
        (WebCore::WebGLRenderingContext::texSubImage2D):
        (WebCore::WebGLRenderingContext::uniform1fv):
        (WebCore::WebGLRenderingContext::uniform1iv):
        (WebCore::WebGLRenderingContext::uniform2fv):
        (WebCore::WebGLRenderingContext::uniform2iv):
        (WebCore::WebGLRenderingContext::uniform3fv):
        (WebCore::WebGLRenderingContext::uniform3iv):
        (WebCore::WebGLRenderingContext::uniform4fv):
        (WebCore::WebGLRenderingContext::uniform4iv):
        (WebCore::WebGLRenderingContext::uniformMatrix2fv):
        (WebCore::WebGLRenderingContext::uniformMatrix3fv):
        (WebCore::WebGLRenderingContext::uniformMatrix4fv):
        (WebCore::WebGLRenderingContext::vertexAttrib1fv):
        (WebCore::WebGLRenderingContext::vertexAttrib2fv):
        (WebCore::WebGLRenderingContext::vertexAttrib3fv):
        (WebCore::WebGLRenderingContext::vertexAttrib4fv):
        (WebCore::WebGLRenderingContext::getWebGLFloatArrayParameter):
        (WebCore::WebGLRenderingContext::getWebGLIntArrayParameter):
        (WebCore::WebGLRenderingContext::getWebGLUnsignedByteArrayParameter):
        * html/canvas/WebGLRenderingContext.h:
        * html/canvas/WebGLRenderingContext.idl:
        * html/canvas/WebGLShortArray.cpp: Removed.
        * html/canvas/WebGLShortArray.h: Removed.
        * html/canvas/WebGLShortArray.idl: Removed.
        * html/canvas/WebGLTypedArrayBase.h: Removed.
        * html/canvas/WebGLUnsignedByteArray.cpp: Removed.
        * html/canvas/WebGLUnsignedByteArray.h: Removed.
        * html/canvas/WebGLUnsignedByteArray.idl: Removed.
        * html/canvas/WebGLUnsignedIntArray.cpp: Removed.
        * html/canvas/WebGLUnsignedIntArray.h: Removed.
        * html/canvas/WebGLUnsignedIntArray.idl: Removed.
        * html/canvas/WebGLUnsignedShortArray.cpp: Removed.
        * html/canvas/WebGLUnsignedShortArray.h: Removed.
        * html/canvas/WebGLUnsignedShortArray.idl: Removed.
        * page/DOMWindow.idl:
        * platform/graphics/GraphicsContext3D.h:
        * platform/graphics/mac/GraphicsContext3DMac.cpp:
        (WebCore::GraphicsContext3D::bufferData):
        (WebCore::GraphicsContext3D::bufferSubData):
        * platform/graphics/qt/GraphicsContext3DQt.cpp:
        (WebCore::GraphicsContext3D::bufferData):
        (WebCore::GraphicsContext3D::bufferSubData):
2010-05-14  Kenneth Russell  <kbr@google.com>

        Reviewed by Darin Adler.

        Rename WebGLArray types to TypedArray types
        https://bugs.webkit.org/show_bug.cgi?id=39091

        Extended functionality of do-webcore-rename script and used it to
        rename the WebGLArray types to the TypedArray naming convention.
        The only source files which were touched by hand, and which are
        being manually reviewed, are:
            WebCore/page/DOMWindow.idl
            WebCore/bindings/generic/RuntimeEnabledFeatures.h (script's changes undone)
            WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp
            WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
        These only needed to be touched to update the aliases between the
        WebGLArray and TypedArray names introduced in bug 39036. (It was
        not feasible to have do-webcore-rename handle this as it would
        introduce circular renamings.) These aliases will be removed in
        roughly a month once existing WebGL content has been updated.

        No new tests; covered under existing WebGL tests. Updated
        constructed-objects-prototypes and prototype-inheritance-2 tests.
        Ran all layout tests in Safari and all WebGL tests in Chromium.

        * fast/dom/script-tests/constructed-objects-prototypes.js:
        (constructorPropertiesOnWindow):
        * fast/dom/script-tests/prototype-inheritance-2.js:
        (constructorNamesForWindow):
2010-05-14  Kenneth Russell  <kbr@google.com>

        Reviewed by Darin Adler.

        Rename WebGLArray types to TypedArray types
        https://bugs.webkit.org/show_bug.cgi?id=39091

        Extended functionality of do-webcore-rename script and used it to
        rename the WebGLArray types to the TypedArray naming convention.
        The only source files which were touched by hand, and which are
        being manually reviewed, are:
            WebCore/page/DOMWindow.idl
            WebCore/bindings/generic/RuntimeEnabledFeatures.h (script's changes undone)
            WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp
            WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
        These only needed to be touched to update the aliases between the
        WebGLArray and TypedArray names introduced in bug 39036. (It was
        not feasible to have do-webcore-rename handle this as it would
        introduce circular renamings.) These aliases will be removed in
        roughly a month once existing WebGL content has been updated.

        No new tests; covered under existing WebGL tests. Updated
        constructed-objects-prototypes and prototype-inheritance-2 tests.
        Ran all layout tests in Safari and all WebGL tests in Chromium.

        * Scripts/do-webcore-rename:
          Handle the case where some renames are substrings of others.
          Support renaming files containing custom JS bindings. If
          isDOMTypeRename is non-zero, expand the regexp which rewrites
          the file's contents in order to support custom JS bindings.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@59499 268f45cc-cd09-0410-ab3c-d52691b4dbfc

103 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/dom/script-tests/constructed-objects-prototypes.js
LayoutTests/fast/dom/script-tests/prototype-inheritance-2.js
WebCore/ChangeLog
WebCore/DerivedSources.make
WebCore/GNUmakefile.am
WebCore/WebCore.gypi
WebCore/WebCore.pri
WebCore/WebCore.pro
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/bindings/js/JSArrayBufferConstructor.cpp [moved from WebCore/bindings/js/JSWebGLArrayBufferConstructor.cpp with 73% similarity]
WebCore/bindings/js/JSArrayBufferConstructor.h [moved from WebCore/bindings/js/JSWebGLArrayBufferConstructor.h with 85% similarity]
WebCore/bindings/js/JSArrayBufferViewCustom.cpp [moved from WebCore/bindings/js/JSWebGLArrayCustom.cpp with 64% similarity]
WebCore/bindings/js/JSArrayBufferViewHelper.h [moved from WebCore/bindings/js/JSWebGLArrayHelper.h with 96% similarity]
WebCore/bindings/js/JSDOMWindowCustom.cpp
WebCore/bindings/js/JSFloatArrayConstructor.cpp [moved from WebCore/bindings/js/JSWebGLFloatArrayConstructor.cpp with 67% similarity]
WebCore/bindings/js/JSFloatArrayConstructor.h [moved from WebCore/bindings/js/JSWebGLIntArrayConstructor.h with 86% similarity]
WebCore/bindings/js/JSFloatArrayCustom.cpp [moved from WebCore/bindings/js/JSWebGLFloatArrayCustom.cpp with 78% similarity]
WebCore/bindings/js/JSInt16ArrayConstructor.cpp [moved from WebCore/bindings/js/JSWebGLShortArrayConstructor.cpp with 67% similarity]
WebCore/bindings/js/JSInt16ArrayConstructor.h [moved from WebCore/bindings/js/JSWebGLByteArrayConstructor.h with 86% similarity]
WebCore/bindings/js/JSInt16ArrayCustom.cpp [moved from WebCore/bindings/js/JSWebGLShortArrayCustom.cpp with 78% similarity]
WebCore/bindings/js/JSInt32ArrayConstructor.cpp [moved from WebCore/bindings/js/JSWebGLIntArrayConstructor.cpp with 68% similarity]
WebCore/bindings/js/JSInt32ArrayConstructor.h [moved from WebCore/bindings/js/JSWebGLFloatArrayConstructor.h with 86% similarity]
WebCore/bindings/js/JSInt32ArrayCustom.cpp [moved from WebCore/bindings/js/JSWebGLIntArrayCustom.cpp with 78% similarity]
WebCore/bindings/js/JSInt8ArrayConstructor.cpp [moved from WebCore/bindings/js/JSWebGLByteArrayConstructor.cpp with 67% similarity]
WebCore/bindings/js/JSInt8ArrayConstructor.h [moved from WebCore/bindings/js/JSWebGLShortArrayConstructor.h with 86% similarity]
WebCore/bindings/js/JSInt8ArrayCustom.cpp [moved from WebCore/bindings/js/JSWebGLByteArrayCustom.cpp with 78% similarity]
WebCore/bindings/js/JSUint16ArrayConstructor.cpp [moved from WebCore/bindings/js/JSWebGLUnsignedShortArrayConstructor.cpp with 65% similarity]
WebCore/bindings/js/JSUint16ArrayConstructor.h [new file with mode: 0644]
WebCore/bindings/js/JSUint16ArrayCustom.cpp [moved from WebCore/bindings/js/JSWebGLUnsignedShortArrayCustom.cpp with 76% similarity]
WebCore/bindings/js/JSUint32ArrayConstructor.cpp [moved from WebCore/bindings/js/JSWebGLUnsignedIntArrayConstructor.cpp with 65% similarity]
WebCore/bindings/js/JSUint32ArrayConstructor.h [new file with mode: 0644]
WebCore/bindings/js/JSUint32ArrayCustom.cpp [moved from WebCore/bindings/js/JSWebGLUnsignedIntArrayCustom.cpp with 76% similarity]
WebCore/bindings/js/JSUint8ArrayConstructor.cpp [moved from WebCore/bindings/js/JSWebGLUnsignedByteArrayConstructor.cpp with 65% similarity]
WebCore/bindings/js/JSUint8ArrayConstructor.h [new file with mode: 0644]
WebCore/bindings/js/JSUint8ArrayCustom.cpp [moved from WebCore/bindings/js/JSWebGLUnsignedByteArrayCustom.cpp with 76% similarity]
WebCore/bindings/js/JSWebGLRenderingContextCustom.cpp
WebCore/bindings/js/JSWebGLUnsignedByteArrayConstructor.h [deleted file]
WebCore/bindings/js/JSWebGLUnsignedIntArrayConstructor.h [deleted file]
WebCore/bindings/js/JSWebGLUnsignedShortArrayConstructor.h [deleted file]
WebCore/bindings/v8/V8DOMWrapper.cpp
WebCore/bindings/v8/custom/V8ArrayBufferCustom.cpp [moved from WebCore/bindings/v8/custom/V8WebGLArrayBufferCustom.cpp with 80% similarity]
WebCore/bindings/v8/custom/V8ArrayBufferViewCustom.cpp [moved from WebCore/bindings/v8/custom/V8WebGLArrayCustom.cpp with 72% similarity]
WebCore/bindings/v8/custom/V8ArrayBufferViewCustom.h [moved from WebCore/bindings/v8/custom/V8WebGLArrayCustom.h with 93% similarity]
WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
WebCore/bindings/v8/custom/V8FloatArrayCustom.cpp [moved from WebCore/bindings/v8/custom/V8WebGLFloatArrayCustom.cpp with 73% similarity]
WebCore/bindings/v8/custom/V8Int16ArrayCustom.cpp [moved from WebCore/bindings/v8/custom/V8WebGLShortArrayCustom.cpp with 73% similarity]
WebCore/bindings/v8/custom/V8Int32ArrayCustom.cpp [moved from WebCore/bindings/v8/custom/V8WebGLIntArrayCustom.cpp with 74% similarity]
WebCore/bindings/v8/custom/V8Int8ArrayCustom.cpp [moved from WebCore/bindings/v8/custom/V8WebGLByteArrayCustom.cpp with 73% similarity]
WebCore/bindings/v8/custom/V8Uint16ArrayCustom.cpp [new file with mode: 0644]
WebCore/bindings/v8/custom/V8Uint32ArrayCustom.cpp [moved from WebCore/bindings/v8/custom/V8WebGLUnsignedIntArrayCustom.cpp with 71% similarity]
WebCore/bindings/v8/custom/V8Uint8ArrayCustom.cpp [new file with mode: 0644]
WebCore/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp
WebCore/bindings/v8/custom/V8WebGLUnsignedByteArrayCustom.cpp [deleted file]
WebCore/bindings/v8/custom/V8WebGLUnsignedShortArrayCustom.cpp [deleted file]
WebCore/html/canvas/ArrayBuffer.cpp [moved from WebCore/html/canvas/WebGLArrayBuffer.cpp with 76% similarity]
WebCore/html/canvas/ArrayBuffer.h [moved from WebCore/html/canvas/WebGLArrayBuffer.h with 78% similarity]
WebCore/html/canvas/ArrayBuffer.idl [moved from WebCore/html/canvas/WebGLArrayBuffer.idl with 94% similarity]
WebCore/html/canvas/ArrayBufferView.cpp [moved from WebCore/html/canvas/WebGLArray.cpp with 87% similarity]
WebCore/html/canvas/ArrayBufferView.h [moved from WebCore/html/canvas/WebGLArray.h with 84% similarity]
WebCore/html/canvas/ArrayBufferView.idl [moved from WebCore/html/canvas/WebGLArray.idl with 92% similarity]
WebCore/html/canvas/FloatArray.cpp [new file with mode: 0644]
WebCore/html/canvas/FloatArray.h [moved from WebCore/html/canvas/WebGLFloatArray.h with 69% similarity]
WebCore/html/canvas/FloatArray.idl [moved from WebCore/html/canvas/WebGLFloatArray.idl with 93% similarity]
WebCore/html/canvas/Int16Array.cpp [new file with mode: 0644]
WebCore/html/canvas/Int16Array.h [moved from WebCore/html/canvas/WebGLShortArray.h with 67% similarity]
WebCore/html/canvas/Int16Array.idl [moved from WebCore/html/canvas/WebGLShortArray.idl with 93% similarity]
WebCore/html/canvas/Int32Array.cpp [new file with mode: 0644]
WebCore/html/canvas/Int32Array.h [moved from WebCore/html/canvas/WebGLIntArray.h with 69% similarity]
WebCore/html/canvas/Int32Array.idl [moved from WebCore/html/canvas/WebGLIntArray.idl with 93% similarity]
WebCore/html/canvas/Int8Array.cpp [moved from WebCore/html/canvas/WebGLIntArray.cpp with 65% similarity]
WebCore/html/canvas/Int8Array.h [moved from WebCore/html/canvas/WebGLByteArray.h with 67% similarity]
WebCore/html/canvas/Int8Array.idl [moved from WebCore/html/canvas/WebGLByteArray.idl with 93% similarity]
WebCore/html/canvas/IntegralTypedArrayBase.h [moved from WebCore/html/canvas/WebGLIntegralTypedArrayBase.h with 77% similarity]
WebCore/html/canvas/TypedArrayBase.h [moved from WebCore/html/canvas/WebGLTypedArrayBase.h with 81% similarity]
WebCore/html/canvas/Uint16Array.cpp [moved from WebCore/html/canvas/WebGLFloatArray.cpp with 66% similarity]
WebCore/html/canvas/Uint16Array.h [moved from WebCore/html/canvas/WebGLUnsignedShortArray.h with 65% similarity]
WebCore/html/canvas/Uint16Array.idl [moved from WebCore/html/canvas/WebGLUnsignedIntArray.idl with 92% similarity]
WebCore/html/canvas/Uint32Array.cpp [moved from WebCore/html/canvas/WebGLByteArray.cpp with 63% similarity]
WebCore/html/canvas/Uint32Array.h [moved from WebCore/html/canvas/WebGLUnsignedIntArray.h with 66% similarity]
WebCore/html/canvas/Uint32Array.idl [moved from WebCore/html/canvas/WebGLUnsignedByteArray.idl with 92% similarity]
WebCore/html/canvas/Uint8Array.cpp [moved from WebCore/html/canvas/WebGLShortArray.cpp with 63% similarity]
WebCore/html/canvas/Uint8Array.h [moved from WebCore/html/canvas/WebGLUnsignedByteArray.h with 65% similarity]
WebCore/html/canvas/Uint8Array.idl [new file with mode: 0644]
WebCore/html/canvas/WebGLBuffer.cpp
WebCore/html/canvas/WebGLBuffer.h
WebCore/html/canvas/WebGLGetInfo.cpp
WebCore/html/canvas/WebGLGetInfo.h
WebCore/html/canvas/WebGLRenderingContext.cpp
WebCore/html/canvas/WebGLRenderingContext.h
WebCore/html/canvas/WebGLRenderingContext.idl
WebCore/html/canvas/WebGLUnsignedByteArray.cpp [deleted file]
WebCore/html/canvas/WebGLUnsignedIntArray.cpp [deleted file]
WebCore/html/canvas/WebGLUnsignedShortArray.cpp [deleted file]
WebCore/html/canvas/WebGLUnsignedShortArray.idl [deleted file]
WebCore/page/DOMWindow.idl
WebCore/platform/graphics/GraphicsContext3D.h
WebCore/platform/graphics/mac/GraphicsContext3DMac.cpp
WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp
WebKit/chromium/ChangeLog
WebKit/chromium/src/GraphicsContext3D.cpp
WebKitTools/ChangeLog
WebKitTools/Scripts/do-webcore-rename

index da05a4b506e49a1112ec9539ca5167578a00012c..9a5eadb0b9b3e009daced74e3dd20dcacbbedc4e 100644 (file)
@@ -1,3 +1,33 @@
+2010-05-14  Kenneth Russell  <kbr@google.com>
+
+        Reviewed by Darin Adler.
+
+        Rename WebGLArray types to TypedArray types
+        https://bugs.webkit.org/show_bug.cgi?id=39091
+
+        Extended functionality of do-webcore-rename script and used it to
+        rename the WebGLArray types to the TypedArray naming convention.
+        The only source files which were touched by hand, and which are
+        being manually reviewed, are:
+            WebCore/page/DOMWindow.idl
+            WebCore/bindings/generic/RuntimeEnabledFeatures.h (script's changes undone)
+            WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp
+            WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
+        These only needed to be touched to update the aliases between the
+        WebGLArray and TypedArray names introduced in bug 39036. (It was
+        not feasible to have do-webcore-rename handle this as it would
+        introduce circular renamings.) These aliases will be removed in
+        roughly a month once existing WebGL content has been updated.
+
+        No new tests; covered under existing WebGL tests. Updated
+        constructed-objects-prototypes and prototype-inheritance-2 tests.
+        Ran all layout tests in Safari and all WebGL tests in Chromium.
+
+        * fast/dom/script-tests/constructed-objects-prototypes.js:
+        (constructorPropertiesOnWindow):
+        * fast/dom/script-tests/prototype-inheritance-2.js:
+        (constructorNamesForWindow):
+
 2010-05-14  Abhishek Arya  <inferno@chromium.org>
 
         Reviewed by David Hyatt.
 2010-05-14  Abhishek Arya  <inferno@chromium.org>
 
         Reviewed by David Hyatt.
index aeb03c821630cc9e5318f6374b28f67ae1cef276..8cd54ad5b1638314c0bc0fd10842b1d72db145bf 100644 (file)
@@ -28,14 +28,14 @@ function constructorPropertiesOnWindow(globalObject)
         var type = classNameForObject(value);
         // Ignore these properties because they do not exist in all implementations. They will be tested separately
         if (type == "WebGLRenderingContextConstructor" ||
         var type = classNameForObject(value);
         // Ignore these properties because they do not exist in all implementations. They will be tested separately
         if (type == "WebGLRenderingContextConstructor" ||
-            type == "WebGLArrayBufferConstructor" ||
-            type =="WebGLByteArrayConstructor" ||
-            type =="WebGLFloatArrayConstructor" ||
-            type =="WebGLIntArrayConstructor" ||
-            type =="WebGLShortArrayConstructor" ||
-            type =="WebGLUnsignedByteArrayConstructor" ||
-            type =="WebGLUnsignedIntArrayConstructor" ||
-            type =="WebGLUnsignedShortArrayConstructor" ||
+            type == "ArrayBufferConstructor" ||
+            type =="FloatArrayConstructor" ||
+            type =="Int8ArrayConstructor" ||
+            type =="Int16ArrayConstructor" ||
+            type =="Int32ArrayConstructor" ||
+            type =="Uint8ArrayConstructor" ||
+            type =="Uint16ArrayConstructor" ||
+            type =="Uint32ArrayConstructor" ||
             type == "FileErrorConstructor" ||
             type == "FileReaderConstructor")
             continue;
             type == "FileErrorConstructor" ||
             type == "FileReaderConstructor")
             continue;
index 68f490bf7737f2bb10a54d0d3674e62774152ffa..e9373ea9caa376b2d0775e78162581cb12233457 100644 (file)
@@ -60,14 +60,14 @@ function constructorNamesForWindow(globalObject)
         var type = classNameForObject(value);
         // Ignore these properties because they do not exist in all implementations. They will be tested separately
         if (type == "WebGLRenderingContextConstructor" || 
         var type = classNameForObject(value);
         // Ignore these properties because they do not exist in all implementations. They will be tested separately
         if (type == "WebGLRenderingContextConstructor" || 
-            type == "WebGLArrayBufferConstructor" ||
-            type == "WebGLByteArrayConstructor" ||
-            type =="WebGLFloatArrayConstructor" ||
-            type =="WebGLIntArrayConstructor" ||
-            type =="WebGLShortArrayConstructor" ||
-            type =="WebGLUnsignedByteArrayConstructor" ||
-            type =="WebGLUnsignedIntArrayConstructor" ||
-            type =="WebGLUnsignedShortArrayConstructor" ||
+            type == "ArrayBufferConstructor" ||
+            type =="FloatArrayConstructor" ||
+            type =="Int8ArrayConstructor" ||
+            type =="Int16ArrayConstructor" ||
+            type =="Int32ArrayConstructor" ||
+            type =="Uint8ArrayConstructor" ||
+            type =="Uint16ArrayConstructor" ||
+            type =="Uint32ArrayConstructor" ||
             type == "FileErrorConstructor" ||
             type == "FileReaderConstructor")
             continue; // We ignore WebGLRenderingContext and test it elsewhere, since it is not in all builds
             type == "FileErrorConstructor" ||
             type == "FileReaderConstructor")
             continue; // We ignore WebGLRenderingContext and test it elsewhere, since it is not in all builds
index c57eb7542d0424d072016ace2c9b7ffa55578065..405e3198639356a4c1cab250f2abee29e20ffdf6 100644 (file)
@@ -1,3 +1,372 @@
+2010-05-14  Kenneth Russell  <kbr@google.com>
+
+        Reviewed by Darin Adler.
+
+        Rename WebGLArray types to TypedArray types
+        https://bugs.webkit.org/show_bug.cgi?id=39091
+
+        Extended functionality of do-webcore-rename script and used it to
+        rename the WebGLArray types to the TypedArray naming convention.
+        The only source files which were touched by hand, and which are
+        being manually reviewed, are:
+            WebCore/page/DOMWindow.idl
+            WebCore/bindings/generic/RuntimeEnabledFeatures.h (script's changes undone)
+            WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp
+            WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
+        These only needed to be touched to update the aliases between the
+        WebGLArray and TypedArray names introduced in bug 39036. (It was
+        not feasible to have do-webcore-rename handle this as it would
+        introduce circular renamings.) These aliases will be removed in
+        roughly a month once existing WebGL content has been updated.
+
+        No new tests; covered under existing WebGL tests. Updated
+        constructed-objects-prototypes and prototype-inheritance-2 tests.
+        Ran all layout tests in Safari and all WebGL tests in Chromium.
+
+        * DerivedSources.make:
+        * GNUmakefile.am:
+        * WebCore.gypi:
+        * WebCore.pri:
+        * WebCore.pro:
+        * WebCore.xcodeproj/project.pbxproj:
+        * bindings/js/JSArrayBufferConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLArrayBufferConstructor.cpp.
+        (WebCore::):
+        (WebCore::JSArrayBufferConstructor::JSArrayBufferConstructor):
+        (WebCore::constructCanvasArrayBuffer):
+        (WebCore::JSArrayBufferConstructor::getConstructData):
+        * bindings/js/JSArrayBufferConstructor.h: Copied from WebCore/bindings/js/JSWebGLArrayBufferConstructor.h.
+        (WebCore::construct):
+        * bindings/js/JSArrayBufferViewCustom.cpp: Copied from WebCore/bindings/js/JSWebGLArrayCustom.cpp.
+        (WebCore::toJS):
+        (WebCore::JSArrayBufferView::slice):
+        * bindings/js/JSArrayBufferViewHelper.h: Copied from WebCore/bindings/js/JSWebGLArrayHelper.h.
+        * bindings/js/JSDOMWindowCustom.cpp:
+        (WebCore::JSDOMWindow::arrayBuffer):
+        (WebCore::JSDOMWindow::int8Array):
+        (WebCore::JSDOMWindow::uint8Array):
+        (WebCore::JSDOMWindow::int32Array):
+        (WebCore::JSDOMWindow::uint32Array):
+        (WebCore::JSDOMWindow::int16Array):
+        (WebCore::JSDOMWindow::uint16Array):
+        (WebCore::JSDOMWindow::floatArray):
+        (WebCore::JSDOMWindow::webGLArrayBuffer):
+        (WebCore::JSDOMWindow::webGLByteArray):
+        (WebCore::JSDOMWindow::webGLUnsignedByteArray):
+        (WebCore::JSDOMWindow::webGLIntArray):
+        (WebCore::JSDOMWindow::webGLUnsignedIntArray):
+        (WebCore::JSDOMWindow::webGLShortArray):
+        (WebCore::JSDOMWindow::webGLUnsignedShortArray):
+        (WebCore::JSDOMWindow::webGLFloatArray):
+        * bindings/js/JSFloatArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLFloatArrayConstructor.cpp.
+        (WebCore::):
+        (WebCore::JSFloatArrayConstructor::JSFloatArrayConstructor):
+        (WebCore::constructCanvasFloatArray):
+        (WebCore::JSFloatArrayConstructor::getConstructData):
+        * bindings/js/JSFloatArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLFloatArrayConstructor.h.
+        * bindings/js/JSFloatArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLFloatArrayCustom.cpp.
+        (WebCore::JSFloatArray::indexSetter):
+        (WebCore::toJS):
+        (WebCore::JSFloatArray::set):
+        * bindings/js/JSInt16ArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLShortArrayConstructor.cpp.
+        (WebCore::):
+        (WebCore::JSInt16ArrayConstructor::JSInt16ArrayConstructor):
+        (WebCore::constructCanvasShortArray):
+        (WebCore::JSInt16ArrayConstructor::getConstructData):
+        * bindings/js/JSInt16ArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLShortArrayConstructor.h.
+        * bindings/js/JSInt16ArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLShortArrayCustom.cpp.
+        (WebCore::JSInt16Array::indexSetter):
+        (WebCore::toJS):
+        (WebCore::JSInt16Array::set):
+        * bindings/js/JSInt32ArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLIntArrayConstructor.cpp.
+        (WebCore::):
+        (WebCore::JSInt32ArrayConstructor::JSInt32ArrayConstructor):
+        (WebCore::constructCanvasIntArray):
+        (WebCore::JSInt32ArrayConstructor::getConstructData):
+        * bindings/js/JSInt32ArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLIntArrayConstructor.h.
+        * bindings/js/JSInt32ArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLIntArrayCustom.cpp.
+        (WebCore::JSInt32Array::indexSetter):
+        (WebCore::toJS):
+        (WebCore::JSInt32Array::set):
+        * bindings/js/JSInt8ArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLByteArrayConstructor.cpp.
+        (WebCore::):
+        (WebCore::JSInt8ArrayConstructor::JSInt8ArrayConstructor):
+        (WebCore::constructCanvasByteArray):
+        (WebCore::JSInt8ArrayConstructor::getConstructData):
+        * bindings/js/JSInt8ArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLByteArrayConstructor.h.
+        * bindings/js/JSInt8ArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLByteArrayCustom.cpp.
+        (WebCore::JSInt8Array::indexSetter):
+        (WebCore::toJS):
+        (WebCore::JSInt8Array::set):
+        * bindings/js/JSUint16ArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLUnsignedShortArrayConstructor.cpp.
+        (WebCore::):
+        (WebCore::JSUint16ArrayConstructor::JSUint16ArrayConstructor):
+        (WebCore::constructCanvasUnsignedShortArray):
+        (WebCore::JSUint16ArrayConstructor::getConstructData):
+        * bindings/js/JSUint16ArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLUnsignedShortArrayConstructor.h.
+        * bindings/js/JSUint16ArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLUnsignedShortArrayCustom.cpp.
+        (WebCore::JSUint16Array::indexSetter):
+        (WebCore::toJS):
+        (WebCore::JSUint16Array::set):
+        * bindings/js/JSUint32ArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLUnsignedIntArrayConstructor.cpp.
+        (WebCore::):
+        (WebCore::JSUint32ArrayConstructor::JSUint32ArrayConstructor):
+        (WebCore::constructCanvasUnsignedIntArray):
+        (WebCore::JSUint32ArrayConstructor::getConstructData):
+        * bindings/js/JSUint32ArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLUnsignedIntArrayConstructor.h.
+        * bindings/js/JSUint32ArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLUnsignedIntArrayCustom.cpp.
+        (WebCore::JSUint32Array::indexSetter):
+        (WebCore::toJS):
+        (WebCore::JSUint32Array::set):
+        * bindings/js/JSUint8ArrayConstructor.cpp: Copied from WebCore/bindings/js/JSWebGLUnsignedByteArrayConstructor.cpp.
+        (WebCore::):
+        (WebCore::JSUint8ArrayConstructor::JSUint8ArrayConstructor):
+        (WebCore::constructCanvasUnsignedByteArray):
+        (WebCore::JSUint8ArrayConstructor::getConstructData):
+        * bindings/js/JSUint8ArrayConstructor.h: Copied from WebCore/bindings/js/JSWebGLUnsignedByteArrayConstructor.h.
+        * bindings/js/JSUint8ArrayCustom.cpp: Copied from WebCore/bindings/js/JSWebGLUnsignedByteArrayCustom.cpp.
+        (WebCore::JSUint8Array::indexSetter):
+        (WebCore::toJS):
+        (WebCore::JSUint8Array::set):
+        * bindings/js/JSWebGLArrayBufferConstructor.cpp: Removed.
+        * bindings/js/JSWebGLArrayBufferConstructor.h: Removed.
+        * bindings/js/JSWebGLArrayCustom.cpp: Removed.
+        * bindings/js/JSWebGLArrayHelper.h: Removed.
+        * bindings/js/JSWebGLByteArrayConstructor.cpp: Removed.
+        * bindings/js/JSWebGLByteArrayConstructor.h: Removed.
+        * bindings/js/JSWebGLByteArrayCustom.cpp: Removed.
+        * bindings/js/JSWebGLFloatArrayConstructor.cpp: Removed.
+        * bindings/js/JSWebGLFloatArrayConstructor.h: Removed.
+        * bindings/js/JSWebGLFloatArrayCustom.cpp: Removed.
+        * bindings/js/JSWebGLIntArrayConstructor.cpp: Removed.
+        * bindings/js/JSWebGLIntArrayConstructor.h: Removed.
+        * bindings/js/JSWebGLIntArrayCustom.cpp: Removed.
+        * bindings/js/JSWebGLRenderingContextCustom.cpp:
+        (WebCore::JSWebGLRenderingContext::bufferData):
+        (WebCore::JSWebGLRenderingContext::bufferSubData):
+        (WebCore::JSWebGLRenderingContext::texImage2D):
+        (WebCore::JSWebGLRenderingContext::texSubImage2D):
+        (WebCore::dataFunctionf):
+        (WebCore::dataFunctioni):
+        (WebCore::dataFunctionMatrix):
+        * bindings/js/JSWebGLShortArrayConstructor.cpp: Removed.
+        * bindings/js/JSWebGLShortArrayConstructor.h: Removed.
+        * bindings/js/JSWebGLShortArrayCustom.cpp: Removed.
+        * bindings/js/JSWebGLUnsignedByteArrayConstructor.cpp: Removed.
+        * bindings/js/JSWebGLUnsignedByteArrayConstructor.h: Removed.
+        * bindings/js/JSWebGLUnsignedByteArrayCustom.cpp: Removed.
+        * bindings/js/JSWebGLUnsignedIntArrayConstructor.cpp: Removed.
+        * bindings/js/JSWebGLUnsignedIntArrayConstructor.h: Removed.
+        * bindings/js/JSWebGLUnsignedIntArrayCustom.cpp: Removed.
+        * bindings/js/JSWebGLUnsignedShortArrayConstructor.cpp: Removed.
+        * bindings/js/JSWebGLUnsignedShortArrayConstructor.h: Removed.
+        * bindings/js/JSWebGLUnsignedShortArrayCustom.cpp: Removed.
+        * bindings/v8/V8DOMWrapper.cpp:
+        * bindings/v8/custom/V8ArrayBufferCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLArrayBufferCustom.cpp.
+        (WebCore::V8ArrayBuffer::constructorCallback):
+        * bindings/v8/custom/V8ArrayBufferViewCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLArrayCustom.cpp.
+        (WebCore::toV8):
+        (WebCore::V8ArrayBufferView::sliceCallback):
+        * bindings/v8/custom/V8ArrayBufferViewCustom.h: Copied from WebCore/bindings/v8/custom/V8WebGLArrayCustom.h.
+        (WebCore::constructWebGLArray):
+        * bindings/v8/custom/V8DOMWindowCustom.cpp:
+        (WebCore::V8DOMWindow::WebGLArrayBufferAccessorGetter):
+        (WebCore::V8DOMWindow::WebGLByteArrayAccessorGetter):
+        (WebCore::V8DOMWindow::WebGLUnsignedByteArrayAccessorGetter):
+        (WebCore::V8DOMWindow::WebGLShortArrayAccessorGetter):
+        (WebCore::V8DOMWindow::WebGLUnsignedShortArrayAccessorGetter):
+        (WebCore::V8DOMWindow::WebGLIntArrayAccessorGetter):
+        (WebCore::V8DOMWindow::WebGLUnsignedIntArrayAccessorGetter):
+        (WebCore::V8DOMWindow::WebGLFloatArrayAccessorGetter):
+        * bindings/v8/custom/V8FloatArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLFloatArrayCustom.cpp.
+        (WebCore::V8FloatArray::constructorCallback):
+        (WebCore::V8FloatArray::setCallback):
+        (WebCore::toV8):
+        * bindings/v8/custom/V8Int16ArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLShortArrayCustom.cpp.
+        (WebCore::V8Int16Array::constructorCallback):
+        (WebCore::V8Int16Array::setCallback):
+        (WebCore::toV8):
+        * bindings/v8/custom/V8Int32ArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLIntArrayCustom.cpp.
+        (WebCore::V8Int32Array::constructorCallback):
+        (WebCore::V8Int32Array::setCallback):
+        (WebCore::toV8):
+        * bindings/v8/custom/V8Int8ArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLByteArrayCustom.cpp.
+        (WebCore::V8Int8Array::constructorCallback):
+        (WebCore::V8Int8Array::setCallback):
+        (WebCore::toV8):
+        * bindings/v8/custom/V8Uint16ArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLUnsignedShortArrayCustom.cpp.
+        (WebCore::V8Uint16Array::constructorCallback):
+        (WebCore::V8Uint16Array::setCallback):
+        (WebCore::toV8):
+        * bindings/v8/custom/V8Uint32ArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLUnsignedIntArrayCustom.cpp.
+        (WebCore::V8Uint32Array::constructorCallback):
+        (WebCore::V8Uint32Array::setCallback):
+        (WebCore::toV8):
+        * bindings/v8/custom/V8Uint8ArrayCustom.cpp: Copied from WebCore/bindings/v8/custom/V8WebGLUnsignedByteArrayCustom.cpp.
+        (WebCore::V8Uint8Array::constructorCallback):
+        (WebCore::V8Uint8Array::setCallback):
+        (WebCore::toV8):
+        * bindings/v8/custom/V8WebGLArrayBufferCustom.cpp: Removed.
+        * bindings/v8/custom/V8WebGLArrayCustom.cpp: Removed.
+        * bindings/v8/custom/V8WebGLArrayCustom.h: Removed.
+        * bindings/v8/custom/V8WebGLByteArrayCustom.cpp: Removed.
+        * bindings/v8/custom/V8WebGLFloatArrayCustom.cpp: Removed.
+        * bindings/v8/custom/V8WebGLIntArrayCustom.cpp: Removed.
+        * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
+        (WebCore::vertexAttribAndUniformHelperf):
+        (WebCore::uniformHelperi):
+        (WebCore::uniformMatrixHelper):
+        * bindings/v8/custom/V8WebGLShortArrayCustom.cpp: Removed.
+        * bindings/v8/custom/V8WebGLUnsignedByteArrayCustom.cpp: Removed.
+        * bindings/v8/custom/V8WebGLUnsignedIntArrayCustom.cpp: Removed.
+        * bindings/v8/custom/V8WebGLUnsignedShortArrayCustom.cpp: Removed.
+        * html/canvas/ArrayBuffer.cpp: Copied from WebCore/html/canvas/WebGLArrayBuffer.cpp.
+        (WebCore::ArrayBuffer::create):
+        (WebCore::ArrayBuffer::ArrayBuffer):
+        (WebCore::ArrayBuffer::data):
+        (WebCore::ArrayBuffer::byteLength):
+        (WebCore::ArrayBuffer::~ArrayBuffer):
+        (WebCore::ArrayBuffer::tryAllocate):
+        * html/canvas/ArrayBuffer.h: Copied from WebCore/html/canvas/WebGLArrayBuffer.h.
+        * html/canvas/ArrayBuffer.idl: Copied from WebCore/html/canvas/WebGLArrayBuffer.idl.
+        * html/canvas/ArrayBufferView.cpp: Copied from WebCore/html/canvas/WebGLArray.cpp.
+        (WebCore::ArrayBufferView::ArrayBufferView):
+        (WebCore::ArrayBufferView::~ArrayBufferView):
+        (WebCore::ArrayBufferView::setImpl):
+        (WebCore::ArrayBufferView::calculateOffsetAndLength):
+        * html/canvas/ArrayBufferView.h: Copied from WebCore/html/canvas/WebGLArray.h.
+        (WebCore::ArrayBufferView::buffer):
+        (WebCore::ArrayBufferView::verifySubRange):
+        (WebCore::ArrayBufferView::clampOffsetAndNumElements):
+        * html/canvas/ArrayBufferView.idl: Copied from WebCore/html/canvas/WebGLArray.idl.
+        * html/canvas/FloatArray.cpp: Copied from WebCore/html/canvas/WebGLFloatArray.cpp.
+        (WebCore::FloatArray::create):
+        (WebCore::FloatArray::FloatArray):
+        (WebCore::FloatArray::slice):
+        * html/canvas/FloatArray.h: Copied from WebCore/html/canvas/WebGLFloatArray.h.
+        (WebCore::FloatArray::set):
+        (WebCore::FloatArray::item):
+        * html/canvas/FloatArray.idl: Copied from WebCore/html/canvas/WebGLFloatArray.idl.
+        * html/canvas/Int16Array.cpp: Copied from WebCore/html/canvas/WebGLShortArray.cpp.
+        (WebCore::Int16Array::create):
+        (WebCore::Int16Array::Int16Array):
+        (WebCore::Int16Array::slice):
+        * html/canvas/Int16Array.h: Copied from WebCore/html/canvas/WebGLShortArray.h.
+        * html/canvas/Int16Array.idl: Copied from WebCore/html/canvas/WebGLShortArray.idl.
+        * html/canvas/Int32Array.cpp: Copied from WebCore/html/canvas/WebGLIntArray.cpp.
+        (WebCore::Int32Array::create):
+        (WebCore::Int32Array::Int32Array):
+        (WebCore::Int32Array::slice):
+        * html/canvas/Int32Array.h: Copied from WebCore/html/canvas/WebGLIntArray.h.
+        * html/canvas/Int32Array.idl: Copied from WebCore/html/canvas/WebGLIntArray.idl.
+        * html/canvas/Int8Array.cpp: Copied from WebCore/html/canvas/WebGLByteArray.cpp.
+        (WebCore::Int8Array::create):
+        (WebCore::Int8Array::Int8Array):
+        (WebCore::Int8Array::slice):
+        * html/canvas/Int8Array.h: Copied from WebCore/html/canvas/WebGLByteArray.h.
+        * html/canvas/Int8Array.idl: Copied from WebCore/html/canvas/WebGLByteArray.idl.
+        * html/canvas/IntegralTypedArrayBase.h: Copied from WebCore/html/canvas/WebGLIntegralTypedArrayBase.h.
+        (WebCore::IntegralTypedArrayBase::set):
+        (WebCore::IntegralTypedArrayBase::item):
+        (WebCore::IntegralTypedArrayBase::IntegralTypedArrayBase):
+        * html/canvas/TypedArrayBase.h: Copied from WebCore/html/canvas/WebGLTypedArrayBase.h.
+        (WebCore::TypedArrayBase::set):
+        (WebCore::TypedArrayBase::TypedArrayBase):
+        (WebCore::TypedArrayBase::create):
+        * html/canvas/Uint16Array.cpp: Copied from WebCore/html/canvas/WebGLUnsignedShortArray.cpp.
+        (WebCore::Uint16Array::create):
+        (WebCore::Uint16Array::Uint16Array):
+        (WebCore::Uint16Array::slice):
+        * html/canvas/Uint16Array.h: Copied from WebCore/html/canvas/WebGLUnsignedShortArray.h.
+        * html/canvas/Uint16Array.idl: Copied from WebCore/html/canvas/WebGLUnsignedShortArray.idl.
+        * html/canvas/Uint32Array.cpp: Copied from WebCore/html/canvas/WebGLUnsignedIntArray.cpp.
+        (WebCore::Uint32Array::create):
+        (WebCore::Uint32Array::Uint32Array):
+        (WebCore::Uint32Array::slice):
+        * html/canvas/Uint32Array.h: Copied from WebCore/html/canvas/WebGLUnsignedIntArray.h.
+        * html/canvas/Uint32Array.idl: Copied from WebCore/html/canvas/WebGLUnsignedIntArray.idl.
+        * html/canvas/Uint8Array.cpp: Copied from WebCore/html/canvas/WebGLUnsignedByteArray.cpp.
+        (WebCore::Uint8Array::create):
+        (WebCore::Uint8Array::Uint8Array):
+        (WebCore::Uint8Array::slice):
+        * html/canvas/Uint8Array.h: Copied from WebCore/html/canvas/WebGLUnsignedByteArray.h.
+        * html/canvas/Uint8Array.idl: Copied from WebCore/html/canvas/WebGLUnsignedByteArray.idl.
+        * html/canvas/WebGLArray.cpp: Removed.
+        * html/canvas/WebGLArray.h: Removed.
+        * html/canvas/WebGLArray.idl: Removed.
+        * html/canvas/WebGLArrayBuffer.cpp: Removed.
+        * html/canvas/WebGLArrayBuffer.h: Removed.
+        * html/canvas/WebGLArrayBuffer.idl: Removed.
+        * html/canvas/WebGLBuffer.cpp:
+        (WebCore::WebGLBuffer::associateBufferData):
+        (WebCore::WebGLBuffer::associateBufferSubData):
+        * html/canvas/WebGLBuffer.h:
+        (WebCore::WebGLBuffer::elementArrayBuffer):
+        * html/canvas/WebGLByteArray.cpp: Removed.
+        * html/canvas/WebGLByteArray.h: Removed.
+        * html/canvas/WebGLByteArray.idl: Removed.
+        * html/canvas/WebGLFloatArray.cpp: Removed.
+        * html/canvas/WebGLFloatArray.h: Removed.
+        * html/canvas/WebGLFloatArray.idl: Removed.
+        * html/canvas/WebGLGetInfo.cpp:
+        (WebCore::WebGLGetInfo::WebGLGetInfo):
+        (WebCore::WebGLGetInfo::getWebGLFloatArray):
+        (WebCore::WebGLGetInfo::getWebGLIntArray):
+        (WebCore::WebGLGetInfo::getWebGLUnsignedByteArray):
+        * html/canvas/WebGLGetInfo.h:
+        * html/canvas/WebGLIntArray.cpp: Removed.
+        * html/canvas/WebGLIntArray.h: Removed.
+        * html/canvas/WebGLIntArray.idl: Removed.
+        * html/canvas/WebGLIntegralTypedArrayBase.h: Removed.
+        * html/canvas/WebGLRenderingContext.cpp:
+        (WebCore::WebGLRenderingContext::bufferData):
+        (WebCore::WebGLRenderingContext::bufferSubData):
+        (WebCore::WebGLRenderingContext::getUniform):
+        (WebCore::WebGLRenderingContext::getVertexAttrib):
+        (WebCore::WebGLRenderingContext::readPixels):
+        (WebCore::WebGLRenderingContext::texImage2D):
+        (WebCore::WebGLRenderingContext::texSubImage2D):
+        (WebCore::WebGLRenderingContext::uniform1fv):
+        (WebCore::WebGLRenderingContext::uniform1iv):
+        (WebCore::WebGLRenderingContext::uniform2fv):
+        (WebCore::WebGLRenderingContext::uniform2iv):
+        (WebCore::WebGLRenderingContext::uniform3fv):
+        (WebCore::WebGLRenderingContext::uniform3iv):
+        (WebCore::WebGLRenderingContext::uniform4fv):
+        (WebCore::WebGLRenderingContext::uniform4iv):
+        (WebCore::WebGLRenderingContext::uniformMatrix2fv):
+        (WebCore::WebGLRenderingContext::uniformMatrix3fv):
+        (WebCore::WebGLRenderingContext::uniformMatrix4fv):
+        (WebCore::WebGLRenderingContext::vertexAttrib1fv):
+        (WebCore::WebGLRenderingContext::vertexAttrib2fv):
+        (WebCore::WebGLRenderingContext::vertexAttrib3fv):
+        (WebCore::WebGLRenderingContext::vertexAttrib4fv):
+        (WebCore::WebGLRenderingContext::getWebGLFloatArrayParameter):
+        (WebCore::WebGLRenderingContext::getWebGLIntArrayParameter):
+        (WebCore::WebGLRenderingContext::getWebGLUnsignedByteArrayParameter):
+        * html/canvas/WebGLRenderingContext.h:
+        * html/canvas/WebGLRenderingContext.idl:
+        * html/canvas/WebGLShortArray.cpp: Removed.
+        * html/canvas/WebGLShortArray.h: Removed.
+        * html/canvas/WebGLShortArray.idl: Removed.
+        * html/canvas/WebGLTypedArrayBase.h: Removed.
+        * html/canvas/WebGLUnsignedByteArray.cpp: Removed.
+        * html/canvas/WebGLUnsignedByteArray.h: Removed.
+        * html/canvas/WebGLUnsignedByteArray.idl: Removed.
+        * html/canvas/WebGLUnsignedIntArray.cpp: Removed.
+        * html/canvas/WebGLUnsignedIntArray.h: Removed.
+        * html/canvas/WebGLUnsignedIntArray.idl: Removed.
+        * html/canvas/WebGLUnsignedShortArray.cpp: Removed.
+        * html/canvas/WebGLUnsignedShortArray.h: Removed.
+        * html/canvas/WebGLUnsignedShortArray.idl: Removed.
+        * page/DOMWindow.idl:
+        * platform/graphics/GraphicsContext3D.h:
+        * platform/graphics/mac/GraphicsContext3DMac.cpp:
+        (WebCore::GraphicsContext3D::bufferData):
+        (WebCore::GraphicsContext3D::bufferSubData):
+        * platform/graphics/qt/GraphicsContext3DQt.cpp:
+        (WebCore::GraphicsContext3D::bufferData):
+        (WebCore::GraphicsContext3D::bufferSubData):
+
 2010-05-14  Steve Falkenburg  <sfalken@apple.com>
 
         Reviewed by Sam Weinig.
 2010-05-14  Steve Falkenburg  <sfalken@apple.com>
 
         Reviewed by Sam Weinig.
index d3f05789200854c9b27778f4cf970bc56d324ecc..cf8e02054e391137d82948dc6533ec71dacc19bd 100644 (file)
@@ -72,15 +72,15 @@ DOM_CLASSES = \
     CSSVariablesRule \
     CSSVariablesDeclaration \
     WebGLActiveInfo \
     CSSVariablesRule \
     CSSVariablesDeclaration \
     WebGLActiveInfo \
-    WebGLArray \
-    WebGLArrayBuffer \
+    ArrayBufferView \
+    ArrayBuffer \
     WebGLBuffer \
     WebGLBuffer \
-    WebGLByteArray \
+    Int8Array \
     WebGLContextAttributes \
     WebGLContextAttributes \
-    WebGLFloatArray \
+    FloatArray \
     WebGLFramebuffer \
     CanvasGradient \
     WebGLFramebuffer \
     CanvasGradient \
-    WebGLIntArray \
+    Int32Array \
     CanvasPattern \
     WebGLProgram \
     WebGLRenderbuffer \
     CanvasPattern \
     WebGLProgram \
     WebGLRenderbuffer \
@@ -88,12 +88,12 @@ DOM_CLASSES = \
     CanvasRenderingContext2D \
     WebGLRenderingContext \
     WebGLShader \
     CanvasRenderingContext2D \
     WebGLRenderingContext \
     WebGLShader \
-    WebGLShortArray \
+    Int16Array \
     WebGLTexture \
     WebGLUniformLocation \
     WebGLTexture \
     WebGLUniformLocation \
-    WebGLUnsignedByteArray \
-    WebGLUnsignedIntArray \
-    WebGLUnsignedShortArray \
+    Uint8Array \
+    Uint32Array \
+    Uint16Array \
     CharacterData \
     ClientRect \
     ClientRectList \
     CharacterData \
     ClientRect \
     ClientRectList \
index a6b6c091928b123de97efc217575ce05c4006992..83567a56a6fe9e0fd4b35aa71bd0aff765993a1c 100644 (file)
@@ -176,20 +176,20 @@ IDL_BINDINGS += \
        WebCore/dom/WebKitTransitionEvent.idl \
        WebCore/dom/WheelEvent.idl \
        WebCore/html/Blob.idl \
        WebCore/dom/WebKitTransitionEvent.idl \
        WebCore/dom/WheelEvent.idl \
        WebCore/html/Blob.idl \
-       WebCore/html/canvas/WebGLArray.idl \
-       WebCore/html/canvas/WebGLArrayBuffer.idl \
-       WebCore/html/canvas/WebGLByteArray.idl \
-       WebCore/html/canvas/WebGLFloatArray.idl \
+       WebCore/html/canvas/ArrayBufferView.idl \
+       WebCore/html/canvas/ArrayBuffer.idl \
+       WebCore/html/canvas/Int8Array.idl \
+       WebCore/html/canvas/FloatArray.idl \
        WebCore/html/canvas/CanvasGradient.idl \
        WebCore/html/canvas/CanvasGradient.idl \
-       WebCore/html/canvas/WebGLIntArray.idl \
+       WebCore/html/canvas/Int32Array.idl \
        WebCore/html/canvas/CanvasPattern.idl \
        WebCore/html/canvas/CanvasRenderingContext.idl \
        WebCore/html/canvas/CanvasRenderingContext2D.idl \
        WebCore/html/canvas/WebGLRenderingContext.idl \
        WebCore/html/canvas/CanvasPattern.idl \
        WebCore/html/canvas/CanvasRenderingContext.idl \
        WebCore/html/canvas/CanvasRenderingContext2D.idl \
        WebCore/html/canvas/WebGLRenderingContext.idl \
-       WebCore/html/canvas/WebGLShortArray.idl \
-       WebCore/html/canvas/WebGLUnsignedByteArray.idl \
-       WebCore/html/canvas/WebGLUnsignedIntArray.idl \
-       WebCore/html/canvas/WebGLUnsignedShortArray.idl \
+       WebCore/html/canvas/Int16Array.idl \
+       WebCore/html/canvas/Uint8Array.idl \
+       WebCore/html/canvas/Uint32Array.idl \
+       WebCore/html/canvas/Uint16Array.idl \
        WebCore/html/DataGridColumn.idl \
        WebCore/html/DataGridColumnList.idl \
        WebCore/html/DOMFormData.idl \
        WebCore/html/DataGridColumn.idl \
        WebCore/html/DataGridColumnList.idl \
        WebCore/html/DOMFormData.idl \
index 9608ab29a44da373d3e26588bc6e4bcdd9c069ef..c058ee361d35f5108ff81cfced18f330f63291d5 100644 (file)
             'dom/WheelEvent.idl',
             'html/Blob.idl',
             'html/canvas/WebGLActiveInfo.idl',
             'dom/WheelEvent.idl',
             'html/Blob.idl',
             'html/canvas/WebGLActiveInfo.idl',
-            'html/canvas/WebGLArray.idl',
-            'html/canvas/WebGLArrayBuffer.idl',
+            'html/canvas/ArrayBufferView.idl',
+            'html/canvas/ArrayBuffer.idl',
             'html/canvas/WebGLBuffer.idl',
             'html/canvas/WebGLBuffer.idl',
-            'html/canvas/WebGLByteArray.idl',
+            'html/canvas/Int8Array.idl',
             'html/canvas/WebGLContextAttributes.idl',
             'html/canvas/WebGLContextAttributes.idl',
-            'html/canvas/WebGLFloatArray.idl',
+            'html/canvas/FloatArray.idl',
             'html/canvas/WebGLFramebuffer.idl',
             'html/canvas/CanvasGradient.idl',
             'html/canvas/WebGLFramebuffer.idl',
             'html/canvas/CanvasGradient.idl',
-            'html/canvas/WebGLIntArray.idl',
+            'html/canvas/Int32Array.idl',
             'html/canvas/CanvasPattern.idl',
             'html/canvas/CanvasPixelArray.idl',
             'html/canvas/WebGLProgram.idl',
             'html/canvas/CanvasPattern.idl',
             'html/canvas/CanvasPixelArray.idl',
             'html/canvas/WebGLProgram.idl',
             'html/canvas/CanvasRenderingContext2D.idl',
             'html/canvas/WebGLRenderingContext.idl',
             'html/canvas/WebGLShader.idl',
             'html/canvas/CanvasRenderingContext2D.idl',
             'html/canvas/WebGLRenderingContext.idl',
             'html/canvas/WebGLShader.idl',
-            'html/canvas/WebGLShortArray.idl',
+            'html/canvas/Int16Array.idl',
             'html/canvas/WebGLUniformLocation.idl',
             'html/canvas/WebGLUniformLocation.idl',
-            'html/canvas/WebGLUnsignedByteArray.idl',
-            'html/canvas/WebGLUnsignedIntArray.idl',
-            'html/canvas/WebGLUnsignedShortArray.idl',
+            'html/canvas/Uint8Array.idl',
+            'html/canvas/Uint32Array.idl',
+            'html/canvas/Uint16Array.idl',
             'html/canvas/WebGLTexture.idl',
             'html/DataGridColumn.idl',
             'html/DataGridColumnList.idl',
             'html/canvas/WebGLTexture.idl',
             'html/DataGridColumn.idl',
             'html/DataGridColumnList.idl',
             'bindings/v8/ChildThreadDOMData.h',
             'bindings/v8/custom/V8AttrCustom.cpp',
             'bindings/v8/custom/V8CanvasPixelArrayCustom.cpp',
             'bindings/v8/ChildThreadDOMData.h',
             'bindings/v8/custom/V8AttrCustom.cpp',
             'bindings/v8/custom/V8CanvasPixelArrayCustom.cpp',
-            'bindings/v8/custom/V8WebGLArrayCustom.h',
-            'bindings/v8/custom/V8WebGLArrayCustom.cpp',
-            'bindings/v8/custom/V8WebGLArrayBufferCustom.cpp',
-            'bindings/v8/custom/V8WebGLByteArrayCustom.cpp',
-            'bindings/v8/custom/V8WebGLIntArrayCustom.cpp',
-            'bindings/v8/custom/V8WebGLFloatArrayCustom.cpp',
-            'bindings/v8/custom/V8WebGLShortArrayCustom.cpp',
-            'bindings/v8/custom/V8WebGLUnsignedByteArrayCustom.cpp',
-            'bindings/v8/custom/V8WebGLUnsignedIntArrayCustom.cpp',
-            'bindings/v8/custom/V8WebGLUnsignedShortArrayCustom.cpp',
+            'bindings/v8/custom/V8ArrayBufferViewCustom.h',
+            'bindings/v8/custom/V8ArrayBufferViewCustom.cpp',
+            'bindings/v8/custom/V8ArrayBufferCustom.cpp',
+            'bindings/v8/custom/V8Int8ArrayCustom.cpp',
+            'bindings/v8/custom/V8Int32ArrayCustom.cpp',
+            'bindings/v8/custom/V8FloatArrayCustom.cpp',
+            'bindings/v8/custom/V8Int16ArrayCustom.cpp',
+            'bindings/v8/custom/V8Uint8ArrayCustom.cpp',
+            'bindings/v8/custom/V8Uint32ArrayCustom.cpp',
+            'bindings/v8/custom/V8Uint16ArrayCustom.cpp',
             'bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp',
             'bindings/v8/custom/V8WebGLRenderingContextCustom.cpp',
             'bindings/v8/custom/V8BindingMacros.h',
             'bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp',
             'bindings/v8/custom/V8WebGLRenderingContextCustom.cpp',
             'bindings/v8/custom/V8BindingMacros.h',
             'history/PageCache.h',
             'html/Blob.cpp',
             'html/Blob.h',
             'history/PageCache.h',
             'html/Blob.cpp',
             'html/Blob.h',
-            'html/canvas/WebGLArray.cpp',
-            'html/canvas/WebGLArray.h',
-            'html/canvas/WebGLArrayBuffer.cpp',
-            'html/canvas/WebGLArrayBuffer.h',
+            'html/canvas/ArrayBufferView.cpp',
+            'html/canvas/ArrayBufferView.h',
+            'html/canvas/ArrayBuffer.cpp',
+            'html/canvas/ArrayBuffer.h',
             'html/canvas/WebGLBuffer.cpp',
             'html/canvas/WebGLBuffer.h',
             'html/canvas/WebGLBuffer.cpp',
             'html/canvas/WebGLBuffer.h',
-            'html/canvas/WebGLByteArray.cpp',
-            'html/canvas/WebGLByteArray.h',
+            'html/canvas/Int8Array.cpp',
+            'html/canvas/Int8Array.h',
             'html/canvas/WebGLContextAttributes.cpp',
             'html/canvas/WebGLContextAttributes.h',
             'html/canvas/WebGLContextAttributes.cpp',
             'html/canvas/WebGLContextAttributes.h',
-            'html/canvas/WebGLFloatArray.cpp',
-            'html/canvas/WebGLFloatArray.h',
+            'html/canvas/FloatArray.cpp',
+            'html/canvas/FloatArray.h',
             'html/canvas/WebGLFramebuffer.cpp',
             'html/canvas/WebGLFramebuffer.h',
             'html/canvas/WebGLGetInfo.cpp',
             'html/canvas/WebGLFramebuffer.cpp',
             'html/canvas/WebGLFramebuffer.h',
             'html/canvas/WebGLGetInfo.cpp',
             'html/canvas/CanvasContextAttributes.h',
             'html/canvas/CanvasGradient.cpp',
             'html/canvas/CanvasGradient.h',
             'html/canvas/CanvasContextAttributes.h',
             'html/canvas/CanvasGradient.cpp',
             'html/canvas/CanvasGradient.h',
-            'html/canvas/WebGLIntArray.cpp',
-            'html/canvas/WebGLIntArray.h',
-            'html/canvas/WebGLIntegralTypedArrayBase.h',
+            'html/canvas/Int32Array.cpp',
+            'html/canvas/Int32Array.h',
+            'html/canvas/IntegralTypedArrayBase.h',
             'html/canvas/CanvasObject.cpp',
             'html/canvas/CanvasObject.h',
             'html/canvas/CanvasPattern.cpp',
             'html/canvas/CanvasObject.cpp',
             'html/canvas/CanvasObject.h',
             'html/canvas/CanvasPattern.cpp',
             'html/canvas/WebGLRenderingContext.h',
             'html/canvas/WebGLShader.cpp',
             'html/canvas/WebGLShader.h',
             'html/canvas/WebGLRenderingContext.h',
             'html/canvas/WebGLShader.cpp',
             'html/canvas/WebGLShader.h',
-            'html/canvas/WebGLShortArray.cpp',
-            'html/canvas/WebGLShortArray.h',
+            'html/canvas/Int16Array.cpp',
+            'html/canvas/Int16Array.h',
             'html/canvas/CanvasStyle.cpp',
             'html/canvas/CanvasStyle.h',
             'html/canvas/WebGLTexture.cpp',
             'html/canvas/WebGLTexture.h',
             'html/canvas/CanvasStyle.cpp',
             'html/canvas/CanvasStyle.h',
             'html/canvas/WebGLTexture.cpp',
             'html/canvas/WebGLTexture.h',
-            'html/canvas/WebGLTypedArrayBase.h',
+            'html/canvas/TypedArrayBase.h',
             'html/canvas/WebGLUniformLocation.cpp',
             'html/canvas/WebGLUniformLocation.h',
             'html/canvas/WebGLUniformLocation.cpp',
             'html/canvas/WebGLUniformLocation.h',
-            'html/canvas/WebGLUnsignedByteArray.cpp',
-            'html/canvas/WebGLUnsignedByteArray.h',
-            'html/canvas/WebGLUnsignedIntArray.cpp',
-            'html/canvas/WebGLUnsignedIntArray.h',
-            'html/canvas/WebGLUnsignedShortArray.cpp',
-            'html/canvas/WebGLUnsignedShortArray.h',
+            'html/canvas/Uint8Array.cpp',
+            'html/canvas/Uint8Array.h',
+            'html/canvas/Uint32Array.cpp',
+            'html/canvas/Uint32Array.h',
+            'html/canvas/Uint16Array.cpp',
+            'html/canvas/Uint16Array.h',
             'html/CollectionCache.cpp',
             'html/CollectionCache.h',
             'html/CollectionType.h',
             'html/CollectionCache.cpp',
             'html/CollectionCache.h',
             'html/CollectionType.h',
index 76423797fcf5eb1d0960779782f9382eb0ea7c4f..d1e9a73d7bb3f8aae9b79e82c47922f4fae5bb4a 100644 (file)
@@ -301,12 +301,12 @@ IDL_BINDINGS += \
     dom/WebKitTransitionEvent.idl \
     dom/WheelEvent.idl \
     html/Blob.idl \
     dom/WebKitTransitionEvent.idl \
     dom/WheelEvent.idl \
     html/Blob.idl \
-    html/canvas/WebGLArray.idl \
-    html/canvas/WebGLArrayBuffer.idl \
-    html/canvas/WebGLByteArray.idl \
-    html/canvas/WebGLFloatArray.idl \
+    html/canvas/ArrayBufferView.idl \
+    html/canvas/ArrayBuffer.idl \
+    html/canvas/Int8Array.idl \
+    html/canvas/FloatArray.idl \
     html/canvas/CanvasGradient.idl \
     html/canvas/CanvasGradient.idl \
-    html/canvas/WebGLIntArray.idl \
+    html/canvas/Int32Array.idl \
     html/canvas/CanvasPattern.idl \
     html/canvas/CanvasRenderingContext.idl \
     html/canvas/CanvasRenderingContext2D.idl \
     html/canvas/CanvasPattern.idl \
     html/canvas/CanvasRenderingContext.idl \
     html/canvas/CanvasRenderingContext2D.idl \
@@ -318,12 +318,12 @@ IDL_BINDINGS += \
     html/canvas/WebGLRenderbuffer.idl \
     html/canvas/WebGLRenderingContext.idl \
     html/canvas/WebGLShader.idl \
     html/canvas/WebGLRenderbuffer.idl \
     html/canvas/WebGLRenderingContext.idl \
     html/canvas/WebGLShader.idl \
-    html/canvas/WebGLShortArray.idl \
+    html/canvas/Int16Array.idl \
     html/canvas/WebGLTexture.idl \
     html/canvas/WebGLUniformLocation.idl \
     html/canvas/WebGLTexture.idl \
     html/canvas/WebGLUniformLocation.idl \
-    html/canvas/WebGLUnsignedByteArray.idl \
-    html/canvas/WebGLUnsignedIntArray.idl \
-    html/canvas/WebGLUnsignedShortArray.idl \
+    html/canvas/Uint8Array.idl \
+    html/canvas/Uint32Array.idl \
+    html/canvas/Uint16Array.idl \
     html/DataGridColumn.idl \
     html/DataGridColumnList.idl \
     html/DOMFormData.idl \
     html/DataGridColumn.idl \
     html/DataGridColumnList.idl \
     html/DOMFormData.idl \
index 4d2b6968cbab8c3756da988df6491047308614fd..d64fb116d9fec7dfc3e925f33505249a98bc7103 100644 (file)
@@ -2841,78 +2841,78 @@ contains(DEFINES, ENABLE_WEB_SOCKETS=1) {
 contains(DEFINES, ENABLE_3D_CANVAS=1) {
 tobe|!tobe: QT += opengl
 HEADERS += \
 contains(DEFINES, ENABLE_3D_CANVAS=1) {
 tobe|!tobe: QT += opengl
 HEADERS += \
-       bindings/js/JSWebGLArrayBufferConstructor.h \
-       bindings/js/JSWebGLArrayHelper.h \
-       bindings/js/JSWebGLByteArrayConstructor.h \
-       bindings/js/JSWebGLFloatArrayConstructor.h \
-       bindings/js/JSWebGLIntArrayConstructor.h \
-       bindings/js/JSWebGLShortArrayConstructor.h \
-       bindings/js/JSWebGLUnsignedByteArrayConstructor.h \
-       bindings/js/JSWebGLUnsignedIntArrayConstructor.h \
-       bindings/js/JSWebGLUnsignedShortArrayConstructor.h \
+       bindings/js/JSArrayBufferConstructor.h \
+       bindings/js/JSArrayBufferViewHelper.h \
+       bindings/js/JSInt8ArrayConstructor.h \
+       bindings/js/JSFloatArrayConstructor.h \
+       bindings/js/JSInt32ArrayConstructor.h \
+       bindings/js/JSInt16ArrayConstructor.h \
+       bindings/js/JSUint8ArrayConstructor.h \
+       bindings/js/JSUint32ArrayConstructor.h \
+       bindings/js/JSUint16ArrayConstructor.h \
        html/canvas/CanvasContextAttributes.h \
        html/canvas/CanvasObject.h \
        html/canvas/WebGLActiveInfo.h \
        html/canvas/CanvasContextAttributes.h \
        html/canvas/CanvasObject.h \
        html/canvas/WebGLActiveInfo.h \
-       html/canvas/WebGLArrayBuffer.h \
-       html/canvas/WebGLArray.h \
+       html/canvas/ArrayBuffer.h \
+       html/canvas/ArrayBufferView.h \
        html/canvas/WebGLBuffer.h \
        html/canvas/WebGLBuffer.h \
-       html/canvas/WebGLByteArray.h \
+       html/canvas/Int8Array.h \
        html/canvas/WebGLContextAttributes.h \
        html/canvas/WebGLContextAttributes.h \
-       html/canvas/WebGLFloatArray.h \
+       html/canvas/FloatArray.h \
        html/canvas/WebGLFramebuffer.h \
        html/canvas/WebGLGetInfo.h \
        html/canvas/WebGLFramebuffer.h \
        html/canvas/WebGLGetInfo.h \
-       html/canvas/WebGLIntArray.h \
+       html/canvas/Int32Array.h \
        html/canvas/WebGLProgram.h \
        html/canvas/WebGLRenderbuffer.h \
        html/canvas/WebGLRenderingContext.h \
        html/canvas/WebGLShader.h \
        html/canvas/WebGLProgram.h \
        html/canvas/WebGLRenderbuffer.h \
        html/canvas/WebGLRenderingContext.h \
        html/canvas/WebGLShader.h \
-       html/canvas/WebGLShortArray.h \
+       html/canvas/Int16Array.h \
        html/canvas/WebGLTexture.h \
        html/canvas/WebGLUniformLocation.h \
        html/canvas/WebGLTexture.h \
        html/canvas/WebGLUniformLocation.h \
-       html/canvas/WebGLUnsignedByteArray.h \
-       html/canvas/WebGLUnsignedIntArray.h \
-       html/canvas/WebGLUnsignedShortArray.h \
+       html/canvas/Uint8Array.h \
+       html/canvas/Uint32Array.h \
+       html/canvas/Uint16Array.h \
     platform/graphics/GraphicsContext3D.h 
 
 SOURCES += \
     platform/graphics/GraphicsContext3D.h 
 
 SOURCES += \
-       bindings/js/JSWebGLArrayBufferConstructor.cpp \
-       bindings/js/JSWebGLArrayCustom.cpp \
-       bindings/js/JSWebGLByteArrayConstructor.cpp \
-       bindings/js/JSWebGLByteArrayCustom.cpp \
-       bindings/js/JSWebGLFloatArrayConstructor.cpp \
-       bindings/js/JSWebGLFloatArrayCustom.cpp \
-       bindings/js/JSWebGLIntArrayConstructor.cpp \
-       bindings/js/JSWebGLIntArrayCustom.cpp \
+       bindings/js/JSArrayBufferConstructor.cpp \
+       bindings/js/JSArrayBufferViewCustom.cpp \
+       bindings/js/JSInt8ArrayConstructor.cpp \
+       bindings/js/JSInt8ArrayCustom.cpp \
+       bindings/js/JSFloatArrayConstructor.cpp \
+       bindings/js/JSFloatArrayCustom.cpp \
+       bindings/js/JSInt32ArrayConstructor.cpp \
+       bindings/js/JSInt32ArrayCustom.cpp \
        bindings/js/JSWebGLRenderingContextCustom.cpp \
        bindings/js/JSWebGLRenderingContextCustom.cpp \
-       bindings/js/JSWebGLShortArrayConstructor.cpp \
-       bindings/js/JSWebGLShortArrayCustom.cpp \
-       bindings/js/JSWebGLUnsignedByteArrayConstructor.cpp \
-       bindings/js/JSWebGLUnsignedByteArrayCustom.cpp \
-       bindings/js/JSWebGLUnsignedIntArrayConstructor.cpp \
-       bindings/js/JSWebGLUnsignedIntArrayCustom.cpp \
-       bindings/js/JSWebGLUnsignedShortArrayConstructor.cpp \
-       bindings/js/JSWebGLUnsignedShortArrayCustom.cpp \
+       bindings/js/JSInt16ArrayConstructor.cpp \
+       bindings/js/JSInt16ArrayCustom.cpp \
+       bindings/js/JSUint8ArrayConstructor.cpp \
+       bindings/js/JSUint8ArrayCustom.cpp \
+       bindings/js/JSUint32ArrayConstructor.cpp \
+       bindings/js/JSUint32ArrayCustom.cpp \
+       bindings/js/JSUint16ArrayConstructor.cpp \
+       bindings/js/JSUint16ArrayCustom.cpp \
        html/canvas/CanvasContextAttributes.cpp \
     html/canvas/CanvasObject.cpp \
        html/canvas/CanvasContextAttributes.cpp \
     html/canvas/CanvasObject.cpp \
-       html/canvas/WebGLArrayBuffer.cpp \
-       html/canvas/WebGLArray.cpp \
+       html/canvas/ArrayBuffer.cpp \
+       html/canvas/ArrayBufferView.cpp \
        html/canvas/WebGLBuffer.cpp \
        html/canvas/WebGLBuffer.cpp \
-       html/canvas/WebGLByteArray.cpp \
+       html/canvas/Int8Array.cpp \
        html/canvas/WebGLContextAttributes.cpp \
        html/canvas/WebGLContextAttributes.cpp \
-       html/canvas/WebGLFloatArray.cpp \
+       html/canvas/FloatArray.cpp \
        html/canvas/WebGLFramebuffer.cpp \
        html/canvas/WebGLGetInfo.cpp \
        html/canvas/WebGLFramebuffer.cpp \
        html/canvas/WebGLGetInfo.cpp \
-       html/canvas/WebGLIntArray.cpp \
+       html/canvas/Int32Array.cpp \
        html/canvas/WebGLProgram.cpp \
        html/canvas/WebGLRenderbuffer.cpp \
        html/canvas/WebGLRenderingContext.cpp \
        html/canvas/WebGLShader.cpp \
        html/canvas/WebGLProgram.cpp \
        html/canvas/WebGLRenderbuffer.cpp \
        html/canvas/WebGLRenderingContext.cpp \
        html/canvas/WebGLShader.cpp \
-       html/canvas/WebGLShortArray.cpp \
+       html/canvas/Int16Array.cpp \
        html/canvas/WebGLTexture.cpp \
        html/canvas/WebGLUniformLocation.cpp \
        html/canvas/WebGLTexture.cpp \
        html/canvas/WebGLUniformLocation.cpp \
-       html/canvas/WebGLUnsignedByteArray.cpp \
-       html/canvas/WebGLUnsignedIntArray.cpp \
-       html/canvas/WebGLUnsignedShortArray.cpp \
+       html/canvas/Uint8Array.cpp \
+       html/canvas/Uint32Array.cpp \
+       html/canvas/Uint16Array.cpp \
     platform/graphics/GraphicsContext3D.cpp \
     platform/graphics/qt/GraphicsContext3DQt.cpp \
 
     platform/graphics/GraphicsContext3D.cpp \
     platform/graphics/qt/GraphicsContext3DQt.cpp \
 
index 2efc87c4ee34a8381116b9fa5e6861684ca51ea8..4d52a3a53eb6cbc0c9bb070c67787449d12a8d66 100644 (file)
                46F9D5DD0B0D60170028EE36 /* aliasCursor.png in Resources */ = {isa = PBXBuildFile; fileRef = 46F9D5DA0B0D60170028EE36 /* aliasCursor.png */; };
                46F9D5DE0B0D60170028EE36 /* noDropCursor.png in Resources */ = {isa = PBXBuildFile; fileRef = 46F9D5DB0B0D60170028EE36 /* noDropCursor.png */; };
                46F9D5DF0B0D60170028EE36 /* progressCursor.png in Resources */ = {isa = PBXBuildFile; fileRef = 46F9D5DC0B0D60170028EE36 /* progressCursor.png */; };
                46F9D5DD0B0D60170028EE36 /* aliasCursor.png in Resources */ = {isa = PBXBuildFile; fileRef = 46F9D5DA0B0D60170028EE36 /* aliasCursor.png */; };
                46F9D5DE0B0D60170028EE36 /* noDropCursor.png in Resources */ = {isa = PBXBuildFile; fileRef = 46F9D5DB0B0D60170028EE36 /* noDropCursor.png */; };
                46F9D5DF0B0D60170028EE36 /* progressCursor.png in Resources */ = {isa = PBXBuildFile; fileRef = 46F9D5DC0B0D60170028EE36 /* progressCursor.png */; };
-               492273A31083B3B100EE5C84 /* JSWebGLArrayCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 492273A21083B3B100EE5C84 /* JSWebGLArrayCustom.cpp */; };
+               492273A31083B3B100EE5C84 /* JSArrayBufferViewCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 492273A21083B3B100EE5C84 /* JSArrayBufferViewCustom.cpp */; };
                49484FC1102CF23C00187DD3 /* CanvasGradient.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49484FB3102CF23C00187DD3 /* CanvasGradient.cpp */; };
                49484FC2102CF23C00187DD3 /* CanvasGradient.h in Headers */ = {isa = PBXBuildFile; fileRef = 49484FB4102CF23C00187DD3 /* CanvasGradient.h */; };
                49484FC4102CF23C00187DD3 /* CanvasPattern.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49484FB6102CF23C00187DD3 /* CanvasPattern.cpp */; };
                49484FC1102CF23C00187DD3 /* CanvasGradient.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49484FB3102CF23C00187DD3 /* CanvasGradient.cpp */; };
                49484FC2102CF23C00187DD3 /* CanvasGradient.h in Headers */ = {isa = PBXBuildFile; fileRef = 49484FB4102CF23C00187DD3 /* CanvasGradient.h */; };
                49484FC4102CF23C00187DD3 /* CanvasPattern.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49484FB6102CF23C00187DD3 /* CanvasPattern.cpp */; };
                498391640F1E8EE100C23782 /* JSWebKitCSSMatrixConstructor.h in Headers */ = {isa = PBXBuildFile; fileRef = 498391620F1E8EE100C23782 /* JSWebKitCSSMatrixConstructor.h */; };
                49C7B9931042D2D30009D447 /* JSWebGLBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49C7B9801042D2D30009D447 /* JSWebGLBuffer.cpp */; };
                49C7B9941042D2D30009D447 /* JSWebGLBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 49C7B9811042D2D30009D447 /* JSWebGLBuffer.h */; };
                498391640F1E8EE100C23782 /* JSWebKitCSSMatrixConstructor.h in Headers */ = {isa = PBXBuildFile; fileRef = 498391620F1E8EE100C23782 /* JSWebKitCSSMatrixConstructor.h */; };
                49C7B9931042D2D30009D447 /* JSWebGLBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49C7B9801042D2D30009D447 /* JSWebGLBuffer.cpp */; };
                49C7B9941042D2D30009D447 /* JSWebGLBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 49C7B9811042D2D30009D447 /* JSWebGLBuffer.h */; };
-               49C7B9951042D2D30009D447 /* JSWebGLByteArray.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49C7B9821042D2D30009D447 /* JSWebGLByteArray.cpp */; };
-               49C7B9961042D2D30009D447 /* JSWebGLByteArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 49C7B9831042D2D30009D447 /* JSWebGLByteArray.h */; };
+               49C7B9951042D2D30009D447 /* JSInt8Array.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49C7B9821042D2D30009D447 /* JSInt8Array.cpp */; };
+               49C7B9961042D2D30009D447 /* JSInt8Array.h in Headers */ = {isa = PBXBuildFile; fileRef = 49C7B9831042D2D30009D447 /* JSInt8Array.h */; };
                49C7B9971042D2D30009D447 /* JSWebGLFramebuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49C7B9841042D2D30009D447 /* JSWebGLFramebuffer.cpp */; };
                49C7B9981042D2D30009D447 /* JSWebGLFramebuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 49C7B9851042D2D30009D447 /* JSWebGLFramebuffer.h */; };
                49C7B99B1042D2D30009D447 /* JSWebGLProgram.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49C7B9881042D2D30009D447 /* JSWebGLProgram.cpp */; };
                49C7B9971042D2D30009D447 /* JSWebGLFramebuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49C7B9841042D2D30009D447 /* JSWebGLFramebuffer.cpp */; };
                49C7B9981042D2D30009D447 /* JSWebGLFramebuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 49C7B9851042D2D30009D447 /* JSWebGLFramebuffer.h */; };
                49C7B99B1042D2D30009D447 /* JSWebGLProgram.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49C7B9881042D2D30009D447 /* JSWebGLProgram.cpp */; };
                49C7B9A51042D2D30009D447 /* JSWebGLTexture.h in Headers */ = {isa = PBXBuildFile; fileRef = 49C7B9921042D2D30009D447 /* JSWebGLTexture.h */; };
                49C7B9C81042D32F0009D447 /* WebGLBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49C7B9A81042D32E0009D447 /* WebGLBuffer.cpp */; };
                49C7B9C91042D32F0009D447 /* WebGLBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 49C7B9A91042D32E0009D447 /* WebGLBuffer.h */; };
                49C7B9A51042D2D30009D447 /* JSWebGLTexture.h in Headers */ = {isa = PBXBuildFile; fileRef = 49C7B9921042D2D30009D447 /* JSWebGLTexture.h */; };
                49C7B9C81042D32F0009D447 /* WebGLBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49C7B9A81042D32E0009D447 /* WebGLBuffer.cpp */; };
                49C7B9C91042D32F0009D447 /* WebGLBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 49C7B9A91042D32E0009D447 /* WebGLBuffer.h */; };
-               49C7B9CB1042D32F0009D447 /* WebGLByteArray.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49C7B9AB1042D32E0009D447 /* WebGLByteArray.cpp */; };
-               49C7B9CC1042D32F0009D447 /* WebGLByteArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 49C7B9AC1042D32E0009D447 /* WebGLByteArray.h */; };
+               49C7B9CB1042D32F0009D447 /* Int8Array.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49C7B9AB1042D32E0009D447 /* Int8Array.cpp */; };
+               49C7B9CC1042D32F0009D447 /* Int8Array.h in Headers */ = {isa = PBXBuildFile; fileRef = 49C7B9AC1042D32E0009D447 /* Int8Array.h */; };
                49C7B9CE1042D32F0009D447 /* WebGLFramebuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49C7B9AE1042D32E0009D447 /* WebGLFramebuffer.cpp */; };
                49C7B9CF1042D32F0009D447 /* WebGLFramebuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 49C7B9AF1042D32E0009D447 /* WebGLFramebuffer.h */; };
                49C7B9D41042D32F0009D447 /* CanvasObject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49C7B9B41042D32F0009D447 /* CanvasObject.cpp */; };
                49C7B9CE1042D32F0009D447 /* WebGLFramebuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49C7B9AE1042D32E0009D447 /* WebGLFramebuffer.cpp */; };
                49C7B9CF1042D32F0009D447 /* WebGLFramebuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 49C7B9AF1042D32E0009D447 /* WebGLFramebuffer.h */; };
                49C7B9D41042D32F0009D447 /* CanvasObject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49C7B9B41042D32F0009D447 /* CanvasObject.cpp */; };
                49E912AC0EFAC906009D0CAF /* AnimationList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49E912A70EFAC906009D0CAF /* AnimationList.cpp */; };
                49E912AD0EFAC906009D0CAF /* AnimationList.h in Headers */ = {isa = PBXBuildFile; fileRef = 49E912A80EFAC906009D0CAF /* AnimationList.h */; settings = {ATTRIBUTES = (Private, ); }; };
                49E912AE0EFAC906009D0CAF /* TimingFunction.h in Headers */ = {isa = PBXBuildFile; fileRef = 49E912A90EFAC906009D0CAF /* TimingFunction.h */; settings = {ATTRIBUTES = (Private, ); }; };
                49E912AC0EFAC906009D0CAF /* AnimationList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49E912A70EFAC906009D0CAF /* AnimationList.cpp */; };
                49E912AD0EFAC906009D0CAF /* AnimationList.h in Headers */ = {isa = PBXBuildFile; fileRef = 49E912A80EFAC906009D0CAF /* AnimationList.h */; settings = {ATTRIBUTES = (Private, ); }; };
                49E912AE0EFAC906009D0CAF /* TimingFunction.h in Headers */ = {isa = PBXBuildFile; fileRef = 49E912A90EFAC906009D0CAF /* TimingFunction.h */; settings = {ATTRIBUTES = (Private, ); }; };
-               49EECDDF10503C2400099FAB /* WebGLArray.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECDC710503C2300099FAB /* WebGLArray.cpp */; };
-               49EECDE010503C2400099FAB /* WebGLArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECDC810503C2300099FAB /* WebGLArray.h */; };
-               49EECDE210503C2400099FAB /* WebGLArrayBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECDCA10503C2300099FAB /* WebGLArrayBuffer.cpp */; };
-               49EECDE310503C2400099FAB /* WebGLArrayBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECDCB10503C2300099FAB /* WebGLArrayBuffer.h */; };
-               49EECDE510503C2400099FAB /* WebGLFloatArray.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECDCD10503C2300099FAB /* WebGLFloatArray.cpp */; };
-               49EECDE610503C2400099FAB /* WebGLFloatArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECDCE10503C2300099FAB /* WebGLFloatArray.h */; };
-               49EECDE810503C2400099FAB /* WebGLIntArray.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECDD010503C2300099FAB /* WebGLIntArray.cpp */; };
-               49EECDE910503C2400099FAB /* WebGLIntArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECDD110503C2300099FAB /* WebGLIntArray.h */; };
-               49EECDEB10503C2400099FAB /* WebGLShortArray.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECDD310503C2300099FAB /* WebGLShortArray.cpp */; };
-               49EECDEC10503C2400099FAB /* WebGLShortArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECDD410503C2300099FAB /* WebGLShortArray.h */; };
-               49EECDEE10503C2400099FAB /* WebGLUnsignedByteArray.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECDD610503C2300099FAB /* WebGLUnsignedByteArray.cpp */; };
-               49EECDEF10503C2400099FAB /* WebGLUnsignedByteArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECDD710503C2300099FAB /* WebGLUnsignedByteArray.h */; };
-               49EECDF110503C2400099FAB /* WebGLUnsignedIntArray.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECDD910503C2300099FAB /* WebGLUnsignedIntArray.cpp */; };
-               49EECDF210503C2400099FAB /* WebGLUnsignedIntArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECDDA10503C2300099FAB /* WebGLUnsignedIntArray.h */; };
-               49EECDF410503C2400099FAB /* WebGLUnsignedShortArray.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECDDC10503C2300099FAB /* WebGLUnsignedShortArray.cpp */; };
-               49EECDF510503C2400099FAB /* WebGLUnsignedShortArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECDDD10503C2400099FAB /* WebGLUnsignedShortArray.h */; };
-               49EECF00105070C400099FAB /* JSWebGLArrayBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECEF2105070C400099FAB /* JSWebGLArrayBuffer.cpp */; };
-               49EECF01105070C400099FAB /* JSWebGLArrayBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECEF3105070C400099FAB /* JSWebGLArrayBuffer.h */; };
-               49EECF02105070C400099FAB /* JSWebGLFloatArray.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECEF4105070C400099FAB /* JSWebGLFloatArray.cpp */; };
-               49EECF03105070C400099FAB /* JSWebGLFloatArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECEF5105070C400099FAB /* JSWebGLFloatArray.h */; };
-               49EECF04105070C400099FAB /* JSWebGLIntArray.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECEF6105070C400099FAB /* JSWebGLIntArray.cpp */; };
-               49EECF05105070C400099FAB /* JSWebGLIntArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECEF7105070C400099FAB /* JSWebGLIntArray.h */; };
-               49EECF06105070C400099FAB /* JSWebGLShortArray.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECEF8105070C400099FAB /* JSWebGLShortArray.cpp */; };
-               49EECF07105070C400099FAB /* JSWebGLShortArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECEF9105070C400099FAB /* JSWebGLShortArray.h */; };
-               49EECF08105070C400099FAB /* JSWebGLUnsignedByteArray.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECEFA105070C400099FAB /* JSWebGLUnsignedByteArray.cpp */; };
-               49EECF09105070C400099FAB /* JSWebGLUnsignedByteArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECEFB105070C400099FAB /* JSWebGLUnsignedByteArray.h */; };
-               49EECF0A105070C400099FAB /* JSWebGLUnsignedIntArray.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECEFC105070C400099FAB /* JSWebGLUnsignedIntArray.cpp */; };
-               49EECF0B105070C400099FAB /* JSWebGLUnsignedIntArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECEFD105070C400099FAB /* JSWebGLUnsignedIntArray.h */; };
-               49EECF0C105070C400099FAB /* JSWebGLUnsignedShortArray.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECEFE105070C400099FAB /* JSWebGLUnsignedShortArray.cpp */; };
-               49EECF0D105070C400099FAB /* JSWebGLUnsignedShortArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECEFF105070C400099FAB /* JSWebGLUnsignedShortArray.h */; };
-               49EECF1B105072F300099FAB /* JSWebGLArray.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECF19105072F300099FAB /* JSWebGLArray.cpp */; };
-               49EECF1C105072F300099FAB /* JSWebGLArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECF1A105072F300099FAB /* JSWebGLArray.h */; };
-               49EECF7810508D9C00099FAB /* JSWebGLByteArrayCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECF7110508D9C00099FAB /* JSWebGLByteArrayCustom.cpp */; };
-               49EECF7910508D9C00099FAB /* JSWebGLFloatArrayCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECF7210508D9C00099FAB /* JSWebGLFloatArrayCustom.cpp */; };
-               49EECF7A10508D9C00099FAB /* JSWebGLIntArrayCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECF7310508D9C00099FAB /* JSWebGLIntArrayCustom.cpp */; };
-               49EECF7B10508D9C00099FAB /* JSWebGLShortArrayCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECF7410508D9C00099FAB /* JSWebGLShortArrayCustom.cpp */; };
-               49EECF7C10508D9C00099FAB /* JSWebGLUnsignedByteArrayCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECF7510508D9C00099FAB /* JSWebGLUnsignedByteArrayCustom.cpp */; };
-               49EECF7D10508D9C00099FAB /* JSWebGLUnsignedIntArrayCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECF7610508D9C00099FAB /* JSWebGLUnsignedIntArrayCustom.cpp */; };
-               49EECF7E10508D9C00099FAB /* JSWebGLUnsignedShortArrayCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECF7710508D9C00099FAB /* JSWebGLUnsignedShortArrayCustom.cpp */; };
-               49EECFAB1050938200099FAB /* JSWebGLArrayBufferConstructor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECF991050938200099FAB /* JSWebGLArrayBufferConstructor.cpp */; };
-               49EECFAC1050938200099FAB /* JSWebGLArrayBufferConstructor.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECF9A1050938200099FAB /* JSWebGLArrayBufferConstructor.h */; };
-               49EECFAD1050938200099FAB /* JSWebGLByteArrayConstructor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECF9B1050938200099FAB /* JSWebGLByteArrayConstructor.cpp */; };
-               49EECFAE1050938200099FAB /* JSWebGLByteArrayConstructor.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECF9C1050938200099FAB /* JSWebGLByteArrayConstructor.h */; };
-               49EECFAF1050938200099FAB /* JSWebGLFloatArrayConstructor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECF9D1050938200099FAB /* JSWebGLFloatArrayConstructor.cpp */; };
-               49EECFB01050938200099FAB /* JSWebGLFloatArrayConstructor.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECF9E1050938200099FAB /* JSWebGLFloatArrayConstructor.h */; };
-               49EECFB11050938200099FAB /* JSWebGLIntArrayConstructor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECF9F1050938200099FAB /* JSWebGLIntArrayConstructor.cpp */; };
-               49EECFB21050938200099FAB /* JSWebGLIntArrayConstructor.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECFA01050938200099FAB /* JSWebGLIntArrayConstructor.h */; };
-               49EECFB51050938200099FAB /* JSWebGLShortArrayConstructor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECFA31050938200099FAB /* JSWebGLShortArrayConstructor.cpp */; };
-               49EECFB61050938200099FAB /* JSWebGLShortArrayConstructor.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECFA41050938200099FAB /* JSWebGLShortArrayConstructor.h */; };
-               49EECFB71050938200099FAB /* JSWebGLUnsignedByteArrayConstructor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECFA51050938200099FAB /* JSWebGLUnsignedByteArrayConstructor.cpp */; };
-               49EECFB81050938200099FAB /* JSWebGLUnsignedByteArrayConstructor.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECFA61050938200099FAB /* JSWebGLUnsignedByteArrayConstructor.h */; };
-               49EECFB91050938200099FAB /* JSWebGLUnsignedIntArrayConstructor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECFA71050938200099FAB /* JSWebGLUnsignedIntArrayConstructor.cpp */; };
-               49EECFBA1050938200099FAB /* JSWebGLUnsignedIntArrayConstructor.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECFA81050938200099FAB /* JSWebGLUnsignedIntArrayConstructor.h */; };
-               49EECFBB1050938200099FAB /* JSWebGLUnsignedShortArrayConstructor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECFA91050938200099FAB /* JSWebGLUnsignedShortArrayConstructor.cpp */; };
-               49EECFBC1050938200099FAB /* JSWebGLUnsignedShortArrayConstructor.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECFAA1050938200099FAB /* JSWebGLUnsignedShortArrayConstructor.h */; };
+               49EECDDF10503C2400099FAB /* ArrayBufferView.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECDC710503C2300099FAB /* ArrayBufferView.cpp */; };
+               49EECDE010503C2400099FAB /* ArrayBufferView.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECDC810503C2300099FAB /* ArrayBufferView.h */; };
+               49EECDE210503C2400099FAB /* ArrayBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECDCA10503C2300099FAB /* ArrayBuffer.cpp */; };
+               49EECDE310503C2400099FAB /* ArrayBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECDCB10503C2300099FAB /* ArrayBuffer.h */; };
+               49EECDE510503C2400099FAB /* FloatArray.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECDCD10503C2300099FAB /* FloatArray.cpp */; };
+               49EECDE610503C2400099FAB /* FloatArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECDCE10503C2300099FAB /* FloatArray.h */; };
+               49EECDE810503C2400099FAB /* Int32Array.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECDD010503C2300099FAB /* Int32Array.cpp */; };
+               49EECDE910503C2400099FAB /* Int32Array.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECDD110503C2300099FAB /* Int32Array.h */; };
+               49EECDEB10503C2400099FAB /* Int16Array.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECDD310503C2300099FAB /* Int16Array.cpp */; };
+               49EECDEC10503C2400099FAB /* Int16Array.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECDD410503C2300099FAB /* Int16Array.h */; };
+               49EECDEE10503C2400099FAB /* Uint8Array.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECDD610503C2300099FAB /* Uint8Array.cpp */; };
+               49EECDEF10503C2400099FAB /* Uint8Array.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECDD710503C2300099FAB /* Uint8Array.h */; };
+               49EECDF110503C2400099FAB /* Uint32Array.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECDD910503C2300099FAB /* Uint32Array.cpp */; };
+               49EECDF210503C2400099FAB /* Uint32Array.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECDDA10503C2300099FAB /* Uint32Array.h */; };
+               49EECDF410503C2400099FAB /* Uint16Array.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECDDC10503C2300099FAB /* Uint16Array.cpp */; };
+               49EECDF510503C2400099FAB /* Uint16Array.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECDDD10503C2400099FAB /* Uint16Array.h */; };
+               49EECF00105070C400099FAB /* JSArrayBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECEF2105070C400099FAB /* JSArrayBuffer.cpp */; };
+               49EECF01105070C400099FAB /* JSArrayBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECEF3105070C400099FAB /* JSArrayBuffer.h */; };
+               49EECF02105070C400099FAB /* JSFloatArray.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECEF4105070C400099FAB /* JSFloatArray.cpp */; };
+               49EECF03105070C400099FAB /* JSFloatArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECEF5105070C400099FAB /* JSFloatArray.h */; };
+               49EECF04105070C400099FAB /* JSInt32Array.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECEF6105070C400099FAB /* JSInt32Array.cpp */; };
+               49EECF05105070C400099FAB /* JSInt32Array.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECEF7105070C400099FAB /* JSInt32Array.h */; };
+               49EECF06105070C400099FAB /* JSInt16Array.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECEF8105070C400099FAB /* JSInt16Array.cpp */; };
+               49EECF07105070C400099FAB /* JSInt16Array.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECEF9105070C400099FAB /* JSInt16Array.h */; };
+               49EECF08105070C400099FAB /* JSUint8Array.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECEFA105070C400099FAB /* JSUint8Array.cpp */; };
+               49EECF09105070C400099FAB /* JSUint8Array.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECEFB105070C400099FAB /* JSUint8Array.h */; };
+               49EECF0A105070C400099FAB /* JSUint32Array.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECEFC105070C400099FAB /* JSUint32Array.cpp */; };
+               49EECF0B105070C400099FAB /* JSUint32Array.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECEFD105070C400099FAB /* JSUint32Array.h */; };
+               49EECF0C105070C400099FAB /* JSUint16Array.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECEFE105070C400099FAB /* JSUint16Array.cpp */; };
+               49EECF0D105070C400099FAB /* JSUint16Array.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECEFF105070C400099FAB /* JSUint16Array.h */; };
+               49EECF1B105072F300099FAB /* JSArrayBufferView.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECF19105072F300099FAB /* JSArrayBufferView.cpp */; };
+               49EECF1C105072F300099FAB /* JSArrayBufferView.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECF1A105072F300099FAB /* JSArrayBufferView.h */; };
+               49EECF7810508D9C00099FAB /* JSInt8ArrayCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECF7110508D9C00099FAB /* JSInt8ArrayCustom.cpp */; };
+               49EECF7910508D9C00099FAB /* JSFloatArrayCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECF7210508D9C00099FAB /* JSFloatArrayCustom.cpp */; };
+               49EECF7A10508D9C00099FAB /* JSInt32ArrayCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECF7310508D9C00099FAB /* JSInt32ArrayCustom.cpp */; };
+               49EECF7B10508D9C00099FAB /* JSInt16ArrayCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECF7410508D9C00099FAB /* JSInt16ArrayCustom.cpp */; };
+               49EECF7C10508D9C00099FAB /* JSUint8ArrayCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECF7510508D9C00099FAB /* JSUint8ArrayCustom.cpp */; };
+               49EECF7D10508D9C00099FAB /* JSUint32ArrayCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECF7610508D9C00099FAB /* JSUint32ArrayCustom.cpp */; };
+               49EECF7E10508D9C00099FAB /* JSUint16ArrayCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECF7710508D9C00099FAB /* JSUint16ArrayCustom.cpp */; };
+               49EECFAB1050938200099FAB /* JSArrayBufferConstructor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECF991050938200099FAB /* JSArrayBufferConstructor.cpp */; };
+               49EECFAC1050938200099FAB /* JSArrayBufferConstructor.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECF9A1050938200099FAB /* JSArrayBufferConstructor.h */; };
+               49EECFAD1050938200099FAB /* JSInt8ArrayConstructor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECF9B1050938200099FAB /* JSInt8ArrayConstructor.cpp */; };
+               49EECFAE1050938200099FAB /* JSInt8ArrayConstructor.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECF9C1050938200099FAB /* JSInt8ArrayConstructor.h */; };
+               49EECFAF1050938200099FAB /* JSFloatArrayConstructor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECF9D1050938200099FAB /* JSFloatArrayConstructor.cpp */; };
+               49EECFB01050938200099FAB /* JSFloatArrayConstructor.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECF9E1050938200099FAB /* JSFloatArrayConstructor.h */; };
+               49EECFB11050938200099FAB /* JSInt32ArrayConstructor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECF9F1050938200099FAB /* JSInt32ArrayConstructor.cpp */; };
+               49EECFB21050938200099FAB /* JSInt32ArrayConstructor.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECFA01050938200099FAB /* JSInt32ArrayConstructor.h */; };
+               49EECFB51050938200099FAB /* JSInt16ArrayConstructor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECFA31050938200099FAB /* JSInt16ArrayConstructor.cpp */; };
+               49EECFB61050938200099FAB /* JSInt16ArrayConstructor.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECFA41050938200099FAB /* JSInt16ArrayConstructor.h */; };
+               49EECFB71050938200099FAB /* JSUint8ArrayConstructor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECFA51050938200099FAB /* JSUint8ArrayConstructor.cpp */; };
+               49EECFB81050938200099FAB /* JSUint8ArrayConstructor.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECFA61050938200099FAB /* JSUint8ArrayConstructor.h */; };
+               49EECFB91050938200099FAB /* JSUint32ArrayConstructor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECFA71050938200099FAB /* JSUint32ArrayConstructor.cpp */; };
+               49EECFBA1050938200099FAB /* JSUint32ArrayConstructor.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECFA81050938200099FAB /* JSUint32ArrayConstructor.h */; };
+               49EECFBB1050938200099FAB /* JSUint16ArrayConstructor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EECFA91050938200099FAB /* JSUint16ArrayConstructor.cpp */; };
+               49EECFBC1050938200099FAB /* JSUint16ArrayConstructor.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EECFAA1050938200099FAB /* JSUint16ArrayConstructor.h */; };
                49EED1421051969400099FAB /* JSCanvasRenderingContext.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EED13C1051969400099FAB /* JSCanvasRenderingContext.cpp */; };
                49EED1431051969400099FAB /* JSCanvasRenderingContext.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EED13D1051969400099FAB /* JSCanvasRenderingContext.h */; };
                49EED1441051969400099FAB /* JSCanvasRenderingContext2D.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EED13E1051969400099FAB /* JSCanvasRenderingContext2D.cpp */; };
                49EED1421051969400099FAB /* JSCanvasRenderingContext.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EED13C1051969400099FAB /* JSCanvasRenderingContext.cpp */; };
                49EED1431051969400099FAB /* JSCanvasRenderingContext.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EED13D1051969400099FAB /* JSCanvasRenderingContext.h */; };
                49EED1441051969400099FAB /* JSCanvasRenderingContext2D.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49EED13E1051969400099FAB /* JSCanvasRenderingContext2D.cpp */; };
                6E4E91AD10F7FB3100A2779C /* CanvasContextAttributes.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E4E91A810F7FB3100A2779C /* CanvasContextAttributes.h */; };
                6E4E91AE10F7FB3100A2779C /* WebGLContextAttributes.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E4E91A910F7FB3100A2779C /* WebGLContextAttributes.cpp */; };
                6E4E91AF10F7FB3100A2779C /* WebGLContextAttributes.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E4E91AA10F7FB3100A2779C /* WebGLContextAttributes.h */; };
                6E4E91AD10F7FB3100A2779C /* CanvasContextAttributes.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E4E91A810F7FB3100A2779C /* CanvasContextAttributes.h */; };
                6E4E91AE10F7FB3100A2779C /* WebGLContextAttributes.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6E4E91A910F7FB3100A2779C /* WebGLContextAttributes.cpp */; };
                6E4E91AF10F7FB3100A2779C /* WebGLContextAttributes.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E4E91AA10F7FB3100A2779C /* WebGLContextAttributes.h */; };
-               6E96BB1C11986EE2007D94CD /* WebGLIntegralTypedArrayBase.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E96BB1A11986EE1007D94CD /* WebGLIntegralTypedArrayBase.h */; };
-               6E96BB1D11986EE2007D94CD /* WebGLTypedArrayBase.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E96BB1B11986EE1007D94CD /* WebGLTypedArrayBase.h */; };
+               6E96BB1C11986EE2007D94CD /* IntegralTypedArrayBase.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E96BB1A11986EE1007D94CD /* IntegralTypedArrayBase.h */; };
+               6E96BB1D11986EE2007D94CD /* TypedArrayBase.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E96BB1B11986EE1007D94CD /* TypedArrayBase.h */; };
                6EE8A77210F803F3005A4A24 /* JSWebGLContextAttributes.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6EE8A77010F803F3005A4A24 /* JSWebGLContextAttributes.cpp */; };
                6EE8A77310F803F3005A4A24 /* JSWebGLContextAttributes.h in Headers */ = {isa = PBXBuildFile; fileRef = 6EE8A77110F803F3005A4A24 /* JSWebGLContextAttributes.h */; };
                72626E020EF022FE00A07E20 /* FontFastPath.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 72626E010EF022FE00A07E20 /* FontFastPath.cpp */; };
                6EE8A77210F803F3005A4A24 /* JSWebGLContextAttributes.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6EE8A77010F803F3005A4A24 /* JSWebGLContextAttributes.cpp */; };
                6EE8A77310F803F3005A4A24 /* JSWebGLContextAttributes.h in Headers */ = {isa = PBXBuildFile; fileRef = 6EE8A77110F803F3005A4A24 /* JSWebGLContextAttributes.h */; };
                72626E020EF022FE00A07E20 /* FontFastPath.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 72626E010EF022FE00A07E20 /* FontFastPath.cpp */; };
                46F9D5DA0B0D60170028EE36 /* aliasCursor.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = aliasCursor.png; sourceTree = "<group>"; };
                46F9D5DB0B0D60170028EE36 /* noDropCursor.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = noDropCursor.png; sourceTree = "<group>"; };
                46F9D5DC0B0D60170028EE36 /* progressCursor.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = progressCursor.png; sourceTree = "<group>"; };
                46F9D5DA0B0D60170028EE36 /* aliasCursor.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = aliasCursor.png; sourceTree = "<group>"; };
                46F9D5DB0B0D60170028EE36 /* noDropCursor.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = noDropCursor.png; sourceTree = "<group>"; };
                46F9D5DC0B0D60170028EE36 /* progressCursor.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = progressCursor.png; sourceTree = "<group>"; };
-               492273A21083B3B100EE5C84 /* JSWebGLArrayCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLArrayCustom.cpp; sourceTree = "<group>"; };
+               492273A21083B3B100EE5C84 /* JSArrayBufferViewCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSArrayBufferViewCustom.cpp; sourceTree = "<group>"; };
                49484FB3102CF23C00187DD3 /* CanvasGradient.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CanvasGradient.cpp; path = canvas/CanvasGradient.cpp; sourceTree = "<group>"; };
                49484FB4102CF23C00187DD3 /* CanvasGradient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CanvasGradient.h; path = canvas/CanvasGradient.h; sourceTree = "<group>"; };
                49484FB5102CF23C00187DD3 /* CanvasGradient.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = CanvasGradient.idl; path = canvas/CanvasGradient.idl; sourceTree = "<group>"; };
                49484FB3102CF23C00187DD3 /* CanvasGradient.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CanvasGradient.cpp; path = canvas/CanvasGradient.cpp; sourceTree = "<group>"; };
                49484FB4102CF23C00187DD3 /* CanvasGradient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CanvasGradient.h; path = canvas/CanvasGradient.h; sourceTree = "<group>"; };
                49484FB5102CF23C00187DD3 /* CanvasGradient.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = CanvasGradient.idl; path = canvas/CanvasGradient.idl; sourceTree = "<group>"; };
                498391620F1E8EE100C23782 /* JSWebKitCSSMatrixConstructor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebKitCSSMatrixConstructor.h; sourceTree = "<group>"; };
                49C7B9801042D2D30009D447 /* JSWebGLBuffer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLBuffer.cpp; sourceTree = "<group>"; };
                49C7B9811042D2D30009D447 /* JSWebGLBuffer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebGLBuffer.h; sourceTree = "<group>"; };
                498391620F1E8EE100C23782 /* JSWebKitCSSMatrixConstructor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebKitCSSMatrixConstructor.h; sourceTree = "<group>"; };
                49C7B9801042D2D30009D447 /* JSWebGLBuffer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLBuffer.cpp; sourceTree = "<group>"; };
                49C7B9811042D2D30009D447 /* JSWebGLBuffer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebGLBuffer.h; sourceTree = "<group>"; };
-               49C7B9821042D2D30009D447 /* JSWebGLByteArray.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLByteArray.cpp; sourceTree = "<group>"; };
-               49C7B9831042D2D30009D447 /* JSWebGLByteArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebGLByteArray.h; sourceTree = "<group>"; };
+               49C7B9821042D2D30009D447 /* JSInt8Array.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSInt8Array.cpp; sourceTree = "<group>"; };
+               49C7B9831042D2D30009D447 /* JSInt8Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSInt8Array.h; sourceTree = "<group>"; };
                49C7B9841042D2D30009D447 /* JSWebGLFramebuffer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLFramebuffer.cpp; sourceTree = "<group>"; };
                49C7B9851042D2D30009D447 /* JSWebGLFramebuffer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebGLFramebuffer.h; sourceTree = "<group>"; };
                49C7B9881042D2D30009D447 /* JSWebGLProgram.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLProgram.cpp; sourceTree = "<group>"; };
                49C7B9841042D2D30009D447 /* JSWebGLFramebuffer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLFramebuffer.cpp; sourceTree = "<group>"; };
                49C7B9851042D2D30009D447 /* JSWebGLFramebuffer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebGLFramebuffer.h; sourceTree = "<group>"; };
                49C7B9881042D2D30009D447 /* JSWebGLProgram.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLProgram.cpp; sourceTree = "<group>"; };
                49C7B9A81042D32E0009D447 /* WebGLBuffer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = WebGLBuffer.cpp; path = canvas/WebGLBuffer.cpp; sourceTree = "<group>"; };
                49C7B9A91042D32E0009D447 /* WebGLBuffer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WebGLBuffer.h; path = canvas/WebGLBuffer.h; sourceTree = "<group>"; };
                49C7B9AA1042D32E0009D447 /* WebGLBuffer.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = WebGLBuffer.idl; path = canvas/WebGLBuffer.idl; sourceTree = "<group>"; };
                49C7B9A81042D32E0009D447 /* WebGLBuffer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = WebGLBuffer.cpp; path = canvas/WebGLBuffer.cpp; sourceTree = "<group>"; };
                49C7B9A91042D32E0009D447 /* WebGLBuffer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WebGLBuffer.h; path = canvas/WebGLBuffer.h; sourceTree = "<group>"; };
                49C7B9AA1042D32E0009D447 /* WebGLBuffer.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = WebGLBuffer.idl; path = canvas/WebGLBuffer.idl; sourceTree = "<group>"; };
-               49C7B9AB1042D32E0009D447 /* WebGLByteArray.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = WebGLByteArray.cpp; path = canvas/WebGLByteArray.cpp; sourceTree = "<group>"; };
-               49C7B9AC1042D32E0009D447 /* WebGLByteArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WebGLByteArray.h; path = canvas/WebGLByteArray.h; sourceTree = "<group>"; };
-               49C7B9AD1042D32E0009D447 /* WebGLByteArray.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = WebGLByteArray.idl; path = canvas/WebGLByteArray.idl; sourceTree = "<group>"; };
+               49C7B9AB1042D32E0009D447 /* Int8Array.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Int8Array.cpp; path = canvas/Int8Array.cpp; sourceTree = "<group>"; };
+               49C7B9AC1042D32E0009D447 /* Int8Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Int8Array.h; path = canvas/Int8Array.h; sourceTree = "<group>"; };
+               49C7B9AD1042D32E0009D447 /* Int8Array.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Int8Array.idl; path = canvas/Int8Array.idl; sourceTree = "<group>"; };
                49C7B9AE1042D32E0009D447 /* WebGLFramebuffer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = WebGLFramebuffer.cpp; path = canvas/WebGLFramebuffer.cpp; sourceTree = "<group>"; };
                49C7B9AF1042D32E0009D447 /* WebGLFramebuffer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WebGLFramebuffer.h; path = canvas/WebGLFramebuffer.h; sourceTree = "<group>"; };
                49C7B9B01042D32E0009D447 /* WebGLFramebuffer.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = WebGLFramebuffer.idl; path = canvas/WebGLFramebuffer.idl; sourceTree = "<group>"; };
                49C7B9AE1042D32E0009D447 /* WebGLFramebuffer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = WebGLFramebuffer.cpp; path = canvas/WebGLFramebuffer.cpp; sourceTree = "<group>"; };
                49C7B9AF1042D32E0009D447 /* WebGLFramebuffer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WebGLFramebuffer.h; path = canvas/WebGLFramebuffer.h; sourceTree = "<group>"; };
                49C7B9B01042D32E0009D447 /* WebGLFramebuffer.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = WebGLFramebuffer.idl; path = canvas/WebGLFramebuffer.idl; sourceTree = "<group>"; };
                49E912A70EFAC906009D0CAF /* AnimationList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AnimationList.cpp; path = animation/AnimationList.cpp; sourceTree = "<group>"; };
                49E912A80EFAC906009D0CAF /* AnimationList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AnimationList.h; path = animation/AnimationList.h; sourceTree = "<group>"; };
                49E912A90EFAC906009D0CAF /* TimingFunction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TimingFunction.h; path = animation/TimingFunction.h; sourceTree = "<group>"; };
                49E912A70EFAC906009D0CAF /* AnimationList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AnimationList.cpp; path = animation/AnimationList.cpp; sourceTree = "<group>"; };
                49E912A80EFAC906009D0CAF /* AnimationList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AnimationList.h; path = animation/AnimationList.h; sourceTree = "<group>"; };
                49E912A90EFAC906009D0CAF /* TimingFunction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TimingFunction.h; path = animation/TimingFunction.h; sourceTree = "<group>"; };
-               49EECDC710503C2300099FAB /* WebGLArray.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = WebGLArray.cpp; path = canvas/WebGLArray.cpp; sourceTree = "<group>"; };
-               49EECDC810503C2300099FAB /* WebGLArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WebGLArray.h; path = canvas/WebGLArray.h; sourceTree = "<group>"; };
-               49EECDC910503C2300099FAB /* WebGLArray.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = WebGLArray.idl; path = canvas/WebGLArray.idl; sourceTree = "<group>"; };
-               49EECDCA10503C2300099FAB /* WebGLArrayBuffer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = WebGLArrayBuffer.cpp; path = canvas/WebGLArrayBuffer.cpp; sourceTree = "<group>"; };
-               49EECDCB10503C2300099FAB /* WebGLArrayBuffer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WebGLArrayBuffer.h; path = canvas/WebGLArrayBuffer.h; sourceTree = "<group>"; };
-               49EECDCC10503C2300099FAB /* WebGLArrayBuffer.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = WebGLArrayBuffer.idl; path = canvas/WebGLArrayBuffer.idl; sourceTree = "<group>"; };
-               49EECDCD10503C2300099FAB /* WebGLFloatArray.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = WebGLFloatArray.cpp; path = canvas/WebGLFloatArray.cpp; sourceTree = "<group>"; };
-               49EECDCE10503C2300099FAB /* WebGLFloatArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WebGLFloatArray.h; path = canvas/WebGLFloatArray.h; sourceTree = "<group>"; };
-               49EECDCF10503C2300099FAB /* WebGLFloatArray.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = WebGLFloatArray.idl; path = canvas/WebGLFloatArray.idl; sourceTree = "<group>"; };
-               49EECDD010503C2300099FAB /* WebGLIntArray.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = WebGLIntArray.cpp; path = canvas/WebGLIntArray.cpp; sourceTree = "<group>"; };
-               49EECDD110503C2300099FAB /* WebGLIntArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WebGLIntArray.h; path = canvas/WebGLIntArray.h; sourceTree = "<group>"; };
-               49EECDD210503C2300099FAB /* WebGLIntArray.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = WebGLIntArray.idl; path = canvas/WebGLIntArray.idl; sourceTree = "<group>"; };
-               49EECDD310503C2300099FAB /* WebGLShortArray.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = WebGLShortArray.cpp; path = canvas/WebGLShortArray.cpp; sourceTree = "<group>"; };
-               49EECDD410503C2300099FAB /* WebGLShortArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WebGLShortArray.h; path = canvas/WebGLShortArray.h; sourceTree = "<group>"; };
-               49EECDD510503C2300099FAB /* WebGLShortArray.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = WebGLShortArray.idl; path = canvas/WebGLShortArray.idl; sourceTree = "<group>"; };
-               49EECDD610503C2300099FAB /* WebGLUnsignedByteArray.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = WebGLUnsignedByteArray.cpp; path = canvas/WebGLUnsignedByteArray.cpp; sourceTree = "<group>"; };
-               49EECDD710503C2300099FAB /* WebGLUnsignedByteArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WebGLUnsignedByteArray.h; path = canvas/WebGLUnsignedByteArray.h; sourceTree = "<group>"; };
-               49EECDD810503C2300099FAB /* WebGLUnsignedByteArray.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = WebGLUnsignedByteArray.idl; path = canvas/WebGLUnsignedByteArray.idl; sourceTree = "<group>"; };
-               49EECDD910503C2300099FAB /* WebGLUnsignedIntArray.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = WebGLUnsignedIntArray.cpp; path = canvas/WebGLUnsignedIntArray.cpp; sourceTree = "<group>"; };
-               49EECDDA10503C2300099FAB /* WebGLUnsignedIntArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WebGLUnsignedIntArray.h; path = canvas/WebGLUnsignedIntArray.h; sourceTree = "<group>"; };
-               49EECDDB10503C2300099FAB /* WebGLUnsignedIntArray.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = WebGLUnsignedIntArray.idl; path = canvas/WebGLUnsignedIntArray.idl; sourceTree = "<group>"; };
-               49EECDDC10503C2300099FAB /* WebGLUnsignedShortArray.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = WebGLUnsignedShortArray.cpp; path = canvas/WebGLUnsignedShortArray.cpp; sourceTree = "<group>"; };
-               49EECDDD10503C2400099FAB /* WebGLUnsignedShortArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WebGLUnsignedShortArray.h; path = canvas/WebGLUnsignedShortArray.h; sourceTree = "<group>"; };
-               49EECDDE10503C2400099FAB /* WebGLUnsignedShortArray.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = WebGLUnsignedShortArray.idl; path = canvas/WebGLUnsignedShortArray.idl; sourceTree = "<group>"; };
-               49EECEF2105070C400099FAB /* JSWebGLArrayBuffer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLArrayBuffer.cpp; sourceTree = "<group>"; };
-               49EECEF3105070C400099FAB /* JSWebGLArrayBuffer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebGLArrayBuffer.h; sourceTree = "<group>"; };
-               49EECEF4105070C400099FAB /* JSWebGLFloatArray.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLFloatArray.cpp; sourceTree = "<group>"; };
-               49EECEF5105070C400099FAB /* JSWebGLFloatArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebGLFloatArray.h; sourceTree = "<group>"; };
-               49EECEF6105070C400099FAB /* JSWebGLIntArray.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLIntArray.cpp; sourceTree = "<group>"; };
-               49EECEF7105070C400099FAB /* JSWebGLIntArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebGLIntArray.h; sourceTree = "<group>"; };
-               49EECEF8105070C400099FAB /* JSWebGLShortArray.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLShortArray.cpp; sourceTree = "<group>"; };
-               49EECEF9105070C400099FAB /* JSWebGLShortArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebGLShortArray.h; sourceTree = "<group>"; };
-               49EECEFA105070C400099FAB /* JSWebGLUnsignedByteArray.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLUnsignedByteArray.cpp; sourceTree = "<group>"; };
-               49EECEFB105070C400099FAB /* JSWebGLUnsignedByteArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebGLUnsignedByteArray.h; sourceTree = "<group>"; };
-               49EECEFC105070C400099FAB /* JSWebGLUnsignedIntArray.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLUnsignedIntArray.cpp; sourceTree = "<group>"; };
-               49EECEFD105070C400099FAB /* JSWebGLUnsignedIntArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebGLUnsignedIntArray.h; sourceTree = "<group>"; };
-               49EECEFE105070C400099FAB /* JSWebGLUnsignedShortArray.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLUnsignedShortArray.cpp; sourceTree = "<group>"; };
-               49EECEFF105070C400099FAB /* JSWebGLUnsignedShortArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebGLUnsignedShortArray.h; sourceTree = "<group>"; };
-               49EECF19105072F300099FAB /* JSWebGLArray.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLArray.cpp; sourceTree = "<group>"; };
-               49EECF1A105072F300099FAB /* JSWebGLArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebGLArray.h; sourceTree = "<group>"; };
-               49EECF7110508D9C00099FAB /* JSWebGLByteArrayCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLByteArrayCustom.cpp; sourceTree = "<group>"; };
-               49EECF7210508D9C00099FAB /* JSWebGLFloatArrayCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLFloatArrayCustom.cpp; sourceTree = "<group>"; };
-               49EECF7310508D9C00099FAB /* JSWebGLIntArrayCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLIntArrayCustom.cpp; sourceTree = "<group>"; };
-               49EECF7410508D9C00099FAB /* JSWebGLShortArrayCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLShortArrayCustom.cpp; sourceTree = "<group>"; };
-               49EECF7510508D9C00099FAB /* JSWebGLUnsignedByteArrayCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLUnsignedByteArrayCustom.cpp; sourceTree = "<group>"; };
-               49EECF7610508D9C00099FAB /* JSWebGLUnsignedIntArrayCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLUnsignedIntArrayCustom.cpp; sourceTree = "<group>"; };
-               49EECF7710508D9C00099FAB /* JSWebGLUnsignedShortArrayCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLUnsignedShortArrayCustom.cpp; sourceTree = "<group>"; };
-               49EECF991050938200099FAB /* JSWebGLArrayBufferConstructor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLArrayBufferConstructor.cpp; sourceTree = "<group>"; };
-               49EECF9A1050938200099FAB /* JSWebGLArrayBufferConstructor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebGLArrayBufferConstructor.h; sourceTree = "<group>"; };
-               49EECF9B1050938200099FAB /* JSWebGLByteArrayConstructor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLByteArrayConstructor.cpp; sourceTree = "<group>"; };
-               49EECF9C1050938200099FAB /* JSWebGLByteArrayConstructor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebGLByteArrayConstructor.h; sourceTree = "<group>"; };
-               49EECF9D1050938200099FAB /* JSWebGLFloatArrayConstructor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLFloatArrayConstructor.cpp; sourceTree = "<group>"; };
-               49EECF9E1050938200099FAB /* JSWebGLFloatArrayConstructor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebGLFloatArrayConstructor.h; sourceTree = "<group>"; };
-               49EECF9F1050938200099FAB /* JSWebGLIntArrayConstructor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLIntArrayConstructor.cpp; sourceTree = "<group>"; };
-               49EECFA01050938200099FAB /* JSWebGLIntArrayConstructor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebGLIntArrayConstructor.h; sourceTree = "<group>"; };
-               49EECFA31050938200099FAB /* JSWebGLShortArrayConstructor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLShortArrayConstructor.cpp; sourceTree = "<group>"; };
-               49EECFA41050938200099FAB /* JSWebGLShortArrayConstructor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebGLShortArrayConstructor.h; sourceTree = "<group>"; };
-               49EECFA51050938200099FAB /* JSWebGLUnsignedByteArrayConstructor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLUnsignedByteArrayConstructor.cpp; sourceTree = "<group>"; };
-               49EECFA61050938200099FAB /* JSWebGLUnsignedByteArrayConstructor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebGLUnsignedByteArrayConstructor.h; sourceTree = "<group>"; };
-               49EECFA71050938200099FAB /* JSWebGLUnsignedIntArrayConstructor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLUnsignedIntArrayConstructor.cpp; sourceTree = "<group>"; };
-               49EECFA81050938200099FAB /* JSWebGLUnsignedIntArrayConstructor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebGLUnsignedIntArrayConstructor.h; sourceTree = "<group>"; };
-               49EECFA91050938200099FAB /* JSWebGLUnsignedShortArrayConstructor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLUnsignedShortArrayConstructor.cpp; sourceTree = "<group>"; };
-               49EECFAA1050938200099FAB /* JSWebGLUnsignedShortArrayConstructor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebGLUnsignedShortArrayConstructor.h; sourceTree = "<group>"; };
+               49EECDC710503C2300099FAB /* ArrayBufferView.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ArrayBufferView.cpp; path = canvas/ArrayBufferView.cpp; sourceTree = "<group>"; };
+               49EECDC810503C2300099FAB /* ArrayBufferView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ArrayBufferView.h; path = canvas/ArrayBufferView.h; sourceTree = "<group>"; };
+               49EECDC910503C2300099FAB /* ArrayBufferView.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = ArrayBufferView.idl; path = canvas/ArrayBufferView.idl; sourceTree = "<group>"; };
+               49EECDCA10503C2300099FAB /* ArrayBuffer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ArrayBuffer.cpp; path = canvas/ArrayBuffer.cpp; sourceTree = "<group>"; };
+               49EECDCB10503C2300099FAB /* ArrayBuffer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ArrayBuffer.h; path = canvas/ArrayBuffer.h; sourceTree = "<group>"; };
+               49EECDCC10503C2300099FAB /* ArrayBuffer.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = ArrayBuffer.idl; path = canvas/ArrayBuffer.idl; sourceTree = "<group>"; };
+               49EECDCD10503C2300099FAB /* FloatArray.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = FloatArray.cpp; path = canvas/FloatArray.cpp; sourceTree = "<group>"; };
+               49EECDCE10503C2300099FAB /* FloatArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = FloatArray.h; path = canvas/FloatArray.h; sourceTree = "<group>"; };
+               49EECDCF10503C2300099FAB /* FloatArray.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = FloatArray.idl; path = canvas/FloatArray.idl; sourceTree = "<group>"; };
+               49EECDD010503C2300099FAB /* Int32Array.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Int32Array.cpp; path = canvas/Int32Array.cpp; sourceTree = "<group>"; };
+               49EECDD110503C2300099FAB /* Int32Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Int32Array.h; path = canvas/Int32Array.h; sourceTree = "<group>"; };
+               49EECDD210503C2300099FAB /* Int32Array.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Int32Array.idl; path = canvas/Int32Array.idl; sourceTree = "<group>"; };
+               49EECDD310503C2300099FAB /* Int16Array.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Int16Array.cpp; path = canvas/Int16Array.cpp; sourceTree = "<group>"; };
+               49EECDD410503C2300099FAB /* Int16Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Int16Array.h; path = canvas/Int16Array.h; sourceTree = "<group>"; };
+               49EECDD510503C2300099FAB /* Int16Array.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Int16Array.idl; path = canvas/Int16Array.idl; sourceTree = "<group>"; };
+               49EECDD610503C2300099FAB /* Uint8Array.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Uint8Array.cpp; path = canvas/Uint8Array.cpp; sourceTree = "<group>"; };
+               49EECDD710503C2300099FAB /* Uint8Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Uint8Array.h; path = canvas/Uint8Array.h; sourceTree = "<group>"; };
+               49EECDD810503C2300099FAB /* Uint8Array.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Uint8Array.idl; path = canvas/Uint8Array.idl; sourceTree = "<group>"; };
+               49EECDD910503C2300099FAB /* Uint32Array.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Uint32Array.cpp; path = canvas/Uint32Array.cpp; sourceTree = "<group>"; };
+               49EECDDA10503C2300099FAB /* Uint32Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Uint32Array.h; path = canvas/Uint32Array.h; sourceTree = "<group>"; };
+               49EECDDB10503C2300099FAB /* Uint32Array.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Uint32Array.idl; path = canvas/Uint32Array.idl; sourceTree = "<group>"; };
+               49EECDDC10503C2300099FAB /* Uint16Array.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Uint16Array.cpp; path = canvas/Uint16Array.cpp; sourceTree = "<group>"; };
+               49EECDDD10503C2400099FAB /* Uint16Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Uint16Array.h; path = canvas/Uint16Array.h; sourceTree = "<group>"; };
+               49EECDDE10503C2400099FAB /* Uint16Array.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Uint16Array.idl; path = canvas/Uint16Array.idl; sourceTree = "<group>"; };
+               49EECEF2105070C400099FAB /* JSArrayBuffer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSArrayBuffer.cpp; sourceTree = "<group>"; };
+               49EECEF3105070C400099FAB /* JSArrayBuffer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSArrayBuffer.h; sourceTree = "<group>"; };
+               49EECEF4105070C400099FAB /* JSFloatArray.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSFloatArray.cpp; sourceTree = "<group>"; };
+               49EECEF5105070C400099FAB /* JSFloatArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSFloatArray.h; sourceTree = "<group>"; };
+               49EECEF6105070C400099FAB /* JSInt32Array.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSInt32Array.cpp; sourceTree = "<group>"; };
+               49EECEF7105070C400099FAB /* JSInt32Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSInt32Array.h; sourceTree = "<group>"; };
+               49EECEF8105070C400099FAB /* JSInt16Array.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSInt16Array.cpp; sourceTree = "<group>"; };
+               49EECEF9105070C400099FAB /* JSInt16Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSInt16Array.h; sourceTree = "<group>"; };
+               49EECEFA105070C400099FAB /* JSUint8Array.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSUint8Array.cpp; sourceTree = "<group>"; };
+               49EECEFB105070C400099FAB /* JSUint8Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSUint8Array.h; sourceTree = "<group>"; };
+               49EECEFC105070C400099FAB /* JSUint32Array.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSUint32Array.cpp; sourceTree = "<group>"; };
+               49EECEFD105070C400099FAB /* JSUint32Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSUint32Array.h; sourceTree = "<group>"; };
+               49EECEFE105070C400099FAB /* JSUint16Array.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSUint16Array.cpp; sourceTree = "<group>"; };
+               49EECEFF105070C400099FAB /* JSUint16Array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSUint16Array.h; sourceTree = "<group>"; };
+               49EECF19105072F300099FAB /* JSArrayBufferView.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSArrayBufferView.cpp; sourceTree = "<group>"; };
+               49EECF1A105072F300099FAB /* JSArrayBufferView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSArrayBufferView.h; sourceTree = "<group>"; };
+               49EECF7110508D9C00099FAB /* JSInt8ArrayCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSInt8ArrayCustom.cpp; sourceTree = "<group>"; };
+               49EECF7210508D9C00099FAB /* JSFloatArrayCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSFloatArrayCustom.cpp; sourceTree = "<group>"; };
+               49EECF7310508D9C00099FAB /* JSInt32ArrayCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSInt32ArrayCustom.cpp; sourceTree = "<group>"; };
+               49EECF7410508D9C00099FAB /* JSInt16ArrayCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSInt16ArrayCustom.cpp; sourceTree = "<group>"; };
+               49EECF7510508D9C00099FAB /* JSUint8ArrayCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSUint8ArrayCustom.cpp; sourceTree = "<group>"; };
+               49EECF7610508D9C00099FAB /* JSUint32ArrayCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSUint32ArrayCustom.cpp; sourceTree = "<group>"; };
+               49EECF7710508D9C00099FAB /* JSUint16ArrayCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSUint16ArrayCustom.cpp; sourceTree = "<group>"; };
+               49EECF991050938200099FAB /* JSArrayBufferConstructor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSArrayBufferConstructor.cpp; sourceTree = "<group>"; };
+               49EECF9A1050938200099FAB /* JSArrayBufferConstructor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSArrayBufferConstructor.h; sourceTree = "<group>"; };
+               49EECF9B1050938200099FAB /* JSInt8ArrayConstructor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSInt8ArrayConstructor.cpp; sourceTree = "<group>"; };
+               49EECF9C1050938200099FAB /* JSInt8ArrayConstructor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSInt8ArrayConstructor.h; sourceTree = "<group>"; };
+               49EECF9D1050938200099FAB /* JSFloatArrayConstructor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSFloatArrayConstructor.cpp; sourceTree = "<group>"; };
+               49EECF9E1050938200099FAB /* JSFloatArrayConstructor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSFloatArrayConstructor.h; sourceTree = "<group>"; };
+               49EECF9F1050938200099FAB /* JSInt32ArrayConstructor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSInt32ArrayConstructor.cpp; sourceTree = "<group>"; };
+               49EECFA01050938200099FAB /* JSInt32ArrayConstructor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSInt32ArrayConstructor.h; sourceTree = "<group>"; };
+               49EECFA31050938200099FAB /* JSInt16ArrayConstructor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSInt16ArrayConstructor.cpp; sourceTree = "<group>"; };
+               49EECFA41050938200099FAB /* JSInt16ArrayConstructor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSInt16ArrayConstructor.h; sourceTree = "<group>"; };
+               49EECFA51050938200099FAB /* JSUint8ArrayConstructor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSUint8ArrayConstructor.cpp; sourceTree = "<group>"; };
+               49EECFA61050938200099FAB /* JSUint8ArrayConstructor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSUint8ArrayConstructor.h; sourceTree = "<group>"; };
+               49EECFA71050938200099FAB /* JSUint32ArrayConstructor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSUint32ArrayConstructor.cpp; sourceTree = "<group>"; };
+               49EECFA81050938200099FAB /* JSUint32ArrayConstructor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSUint32ArrayConstructor.h; sourceTree = "<group>"; };
+               49EECFA91050938200099FAB /* JSUint16ArrayConstructor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSUint16ArrayConstructor.cpp; sourceTree = "<group>"; };
+               49EECFAA1050938200099FAB /* JSUint16ArrayConstructor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSUint16ArrayConstructor.h; sourceTree = "<group>"; };
                49EED13C1051969400099FAB /* JSCanvasRenderingContext.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSCanvasRenderingContext.cpp; sourceTree = "<group>"; };
                49EED13D1051969400099FAB /* JSCanvasRenderingContext.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSCanvasRenderingContext.h; sourceTree = "<group>"; };
                49EED13E1051969400099FAB /* JSCanvasRenderingContext2D.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSCanvasRenderingContext2D.cpp; sourceTree = "<group>"; };
                49EED13C1051969400099FAB /* JSCanvasRenderingContext.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSCanvasRenderingContext.cpp; sourceTree = "<group>"; };
                49EED13D1051969400099FAB /* JSCanvasRenderingContext.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSCanvasRenderingContext.h; sourceTree = "<group>"; };
                49EED13E1051969400099FAB /* JSCanvasRenderingContext2D.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSCanvasRenderingContext2D.cpp; sourceTree = "<group>"; };
                6E4E91A910F7FB3100A2779C /* WebGLContextAttributes.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = WebGLContextAttributes.cpp; path = canvas/WebGLContextAttributes.cpp; sourceTree = "<group>"; };
                6E4E91AA10F7FB3100A2779C /* WebGLContextAttributes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WebGLContextAttributes.h; path = canvas/WebGLContextAttributes.h; sourceTree = "<group>"; };
                6E4E91AB10F7FB3100A2779C /* WebGLContextAttributes.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = WebGLContextAttributes.idl; path = canvas/WebGLContextAttributes.idl; sourceTree = "<group>"; };
                6E4E91A910F7FB3100A2779C /* WebGLContextAttributes.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = WebGLContextAttributes.cpp; path = canvas/WebGLContextAttributes.cpp; sourceTree = "<group>"; };
                6E4E91AA10F7FB3100A2779C /* WebGLContextAttributes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WebGLContextAttributes.h; path = canvas/WebGLContextAttributes.h; sourceTree = "<group>"; };
                6E4E91AB10F7FB3100A2779C /* WebGLContextAttributes.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = WebGLContextAttributes.idl; path = canvas/WebGLContextAttributes.idl; sourceTree = "<group>"; };
-               6E96BB1A11986EE1007D94CD /* WebGLIntegralTypedArrayBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WebGLIntegralTypedArrayBase.h; path = canvas/WebGLIntegralTypedArrayBase.h; sourceTree = "<group>"; };
-               6E96BB1B11986EE1007D94CD /* WebGLTypedArrayBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WebGLTypedArrayBase.h; path = canvas/WebGLTypedArrayBase.h; sourceTree = "<group>"; };
+               6E96BB1A11986EE1007D94CD /* IntegralTypedArrayBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = IntegralTypedArrayBase.h; path = canvas/IntegralTypedArrayBase.h; sourceTree = "<group>"; };
+               6E96BB1B11986EE1007D94CD /* TypedArrayBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TypedArrayBase.h; path = canvas/TypedArrayBase.h; sourceTree = "<group>"; };
                6EE8A77010F803F3005A4A24 /* JSWebGLContextAttributes.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLContextAttributes.cpp; sourceTree = "<group>"; };
                6EE8A77110F803F3005A4A24 /* JSWebGLContextAttributes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebGLContextAttributes.h; sourceTree = "<group>"; };
                72626E010EF022FE00A07E20 /* FontFastPath.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FontFastPath.cpp; sourceTree = "<group>"; };
                6EE8A77010F803F3005A4A24 /* JSWebGLContextAttributes.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLContextAttributes.cpp; sourceTree = "<group>"; };
                6EE8A77110F803F3005A4A24 /* JSWebGLContextAttributes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebGLContextAttributes.h; sourceTree = "<group>"; };
                72626E010EF022FE00A07E20 /* FontFastPath.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FontFastPath.cpp; sourceTree = "<group>"; };
                                49484FC0102CF23C00187DD3 /* CanvasStyle.h */,
                                A7D20F6B107F438B00A80392 /* WebGLActiveInfo.h */,
                                A7D20F3B107F373800A80392 /* WebGLActiveInfo.idl */,
                                49484FC0102CF23C00187DD3 /* CanvasStyle.h */,
                                A7D20F6B107F438B00A80392 /* WebGLActiveInfo.h */,
                                A7D20F3B107F373800A80392 /* WebGLActiveInfo.idl */,
-                               49EECDC710503C2300099FAB /* WebGLArray.cpp */,
-                               49EECDC810503C2300099FAB /* WebGLArray.h */,
-                               49EECDC910503C2300099FAB /* WebGLArray.idl */,
-                               49EECDCA10503C2300099FAB /* WebGLArrayBuffer.cpp */,
-                               49EECDCB10503C2300099FAB /* WebGLArrayBuffer.h */,
-                               49EECDCC10503C2300099FAB /* WebGLArrayBuffer.idl */,
+                               49EECDC710503C2300099FAB /* ArrayBufferView.cpp */,
+                               49EECDC810503C2300099FAB /* ArrayBufferView.h */,
+                               49EECDC910503C2300099FAB /* ArrayBufferView.idl */,
+                               49EECDCA10503C2300099FAB /* ArrayBuffer.cpp */,
+                               49EECDCB10503C2300099FAB /* ArrayBuffer.h */,
+                               49EECDCC10503C2300099FAB /* ArrayBuffer.idl */,
                                49C7B9A81042D32E0009D447 /* WebGLBuffer.cpp */,
                                49C7B9A91042D32E0009D447 /* WebGLBuffer.h */,
                                49C7B9AA1042D32E0009D447 /* WebGLBuffer.idl */,
                                49C7B9A81042D32E0009D447 /* WebGLBuffer.cpp */,
                                49C7B9A91042D32E0009D447 /* WebGLBuffer.h */,
                                49C7B9AA1042D32E0009D447 /* WebGLBuffer.idl */,
-                               49C7B9AB1042D32E0009D447 /* WebGLByteArray.cpp */,
-                               49C7B9AC1042D32E0009D447 /* WebGLByteArray.h */,
-                               49C7B9AD1042D32E0009D447 /* WebGLByteArray.idl */,
+                               49C7B9AB1042D32E0009D447 /* Int8Array.cpp */,
+                               49C7B9AC1042D32E0009D447 /* Int8Array.h */,
+                               49C7B9AD1042D32E0009D447 /* Int8Array.idl */,
                                6E4E91A910F7FB3100A2779C /* WebGLContextAttributes.cpp */,
                                6E4E91AA10F7FB3100A2779C /* WebGLContextAttributes.h */,
                                6E4E91AB10F7FB3100A2779C /* WebGLContextAttributes.idl */,
                                6E4E91A910F7FB3100A2779C /* WebGLContextAttributes.cpp */,
                                6E4E91AA10F7FB3100A2779C /* WebGLContextAttributes.h */,
                                6E4E91AB10F7FB3100A2779C /* WebGLContextAttributes.idl */,
-                               49EECDCD10503C2300099FAB /* WebGLFloatArray.cpp */,
-                               49EECDCE10503C2300099FAB /* WebGLFloatArray.h */,
-                               49EECDCF10503C2300099FAB /* WebGLFloatArray.idl */,
+                               49EECDCD10503C2300099FAB /* FloatArray.cpp */,
+                               49EECDCE10503C2300099FAB /* FloatArray.h */,
+                               49EECDCF10503C2300099FAB /* FloatArray.idl */,
                                49C7B9AE1042D32E0009D447 /* WebGLFramebuffer.cpp */,
                                49C7B9AF1042D32E0009D447 /* WebGLFramebuffer.h */,
                                49C7B9B01042D32E0009D447 /* WebGLFramebuffer.idl */,
                                6E47E65E10B7944B00B186C8 /* WebGLGetInfo.cpp */,
                                6E47E65F10B7944B00B186C8 /* WebGLGetInfo.h */,
                                49C7B9AE1042D32E0009D447 /* WebGLFramebuffer.cpp */,
                                49C7B9AF1042D32E0009D447 /* WebGLFramebuffer.h */,
                                49C7B9B01042D32E0009D447 /* WebGLFramebuffer.idl */,
                                6E47E65E10B7944B00B186C8 /* WebGLGetInfo.cpp */,
                                6E47E65F10B7944B00B186C8 /* WebGLGetInfo.h */,
-                               49EECDD010503C2300099FAB /* WebGLIntArray.cpp */,
-                               49EECDD110503C2300099FAB /* WebGLIntArray.h */,
-                               49EECDD210503C2300099FAB /* WebGLIntArray.idl */,
-                               6E96BB1A11986EE1007D94CD /* WebGLIntegralTypedArrayBase.h */,
+                               49EECDD010503C2300099FAB /* Int32Array.cpp */,
+                               49EECDD110503C2300099FAB /* Int32Array.h */,
+                               49EECDD210503C2300099FAB /* Int32Array.idl */,
+                               6E96BB1A11986EE1007D94CD /* IntegralTypedArrayBase.h */,
                                49C7B9B61042D32F0009D447 /* WebGLProgram.cpp */,
                                49C7B9B71042D32F0009D447 /* WebGLProgram.h */,
                                49C7B9B81042D32F0009D447 /* WebGLProgram.idl */,
                                49C7B9B61042D32F0009D447 /* WebGLProgram.cpp */,
                                49C7B9B71042D32F0009D447 /* WebGLProgram.h */,
                                49C7B9B81042D32F0009D447 /* WebGLProgram.idl */,
                                49C7B9C21042D32F0009D447 /* WebGLShader.cpp */,
                                49C7B9C31042D32F0009D447 /* WebGLShader.h */,
                                49C7B9C41042D32F0009D447 /* WebGLShader.idl */,
                                49C7B9C21042D32F0009D447 /* WebGLShader.cpp */,
                                49C7B9C31042D32F0009D447 /* WebGLShader.h */,
                                49C7B9C41042D32F0009D447 /* WebGLShader.idl */,
-                               49EECDD310503C2300099FAB /* WebGLShortArray.cpp */,
-                               49EECDD410503C2300099FAB /* WebGLShortArray.h */,
-                               49EECDD510503C2300099FAB /* WebGLShortArray.idl */,
+                               49EECDD310503C2300099FAB /* Int16Array.cpp */,
+                               49EECDD410503C2300099FAB /* Int16Array.h */,
+                               49EECDD510503C2300099FAB /* Int16Array.idl */,
                                49C7B9C51042D32F0009D447 /* WebGLTexture.cpp */,
                                49C7B9C61042D32F0009D447 /* WebGLTexture.h */,
                                49C7B9C71042D32F0009D447 /* WebGLTexture.idl */,
                                49C7B9C51042D32F0009D447 /* WebGLTexture.cpp */,
                                49C7B9C61042D32F0009D447 /* WebGLTexture.h */,
                                49C7B9C71042D32F0009D447 /* WebGLTexture.idl */,
-                               6E96BB1B11986EE1007D94CD /* WebGLTypedArrayBase.h */,
+                               6E96BB1B11986EE1007D94CD /* TypedArrayBase.h */,
                                0C3F1F5710C8871200D72CE1 /* WebGLUniformLocation.cpp */,
                                0C3F1F5810C8871200D72CE1 /* WebGLUniformLocation.h */,
                                0C3F1F5910C8871200D72CE1 /* WebGLUniformLocation.idl */,
                                0C3F1F5710C8871200D72CE1 /* WebGLUniformLocation.cpp */,
                                0C3F1F5810C8871200D72CE1 /* WebGLUniformLocation.h */,
                                0C3F1F5910C8871200D72CE1 /* WebGLUniformLocation.idl */,
-                               49EECDD610503C2300099FAB /* WebGLUnsignedByteArray.cpp */,
-                               49EECDD710503C2300099FAB /* WebGLUnsignedByteArray.h */,
-                               49EECDD810503C2300099FAB /* WebGLUnsignedByteArray.idl */,
-                               49EECDD910503C2300099FAB /* WebGLUnsignedIntArray.cpp */,
-                               49EECDDA10503C2300099FAB /* WebGLUnsignedIntArray.h */,
-                               49EECDDB10503C2300099FAB /* WebGLUnsignedIntArray.idl */,
-                               49EECDDC10503C2300099FAB /* WebGLUnsignedShortArray.cpp */,
-                               49EECDDD10503C2400099FAB /* WebGLUnsignedShortArray.h */,
-                               49EECDDE10503C2400099FAB /* WebGLUnsignedShortArray.idl */,
+                               49EECDD610503C2300099FAB /* Uint8Array.cpp */,
+                               49EECDD710503C2300099FAB /* Uint8Array.h */,
+                               49EECDD810503C2300099FAB /* Uint8Array.idl */,
+                               49EECDD910503C2300099FAB /* Uint32Array.cpp */,
+                               49EECDDA10503C2300099FAB /* Uint32Array.h */,
+                               49EECDDB10503C2300099FAB /* Uint32Array.idl */,
+                               49EECDDC10503C2300099FAB /* Uint16Array.cpp */,
+                               49EECDDD10503C2400099FAB /* Uint16Array.h */,
+                               49EECDDE10503C2400099FAB /* Uint16Array.idl */,
                        );
                        name = canvas;
                        sourceTree = "<group>";
                        );
                        name = canvas;
                        sourceTree = "<group>";
                                15C77091100D3CA8005BA267 /* JSValidityState.h */,
                                A7D20F60107F406900A80392 /* JSWebGLActiveInfo.cpp */,
                                A7D20F61107F406900A80392 /* JSWebGLActiveInfo.h */,
                                15C77091100D3CA8005BA267 /* JSValidityState.h */,
                                A7D20F60107F406900A80392 /* JSWebGLActiveInfo.cpp */,
                                A7D20F61107F406900A80392 /* JSWebGLActiveInfo.h */,
-                               49EECF19105072F300099FAB /* JSWebGLArray.cpp */,
-                               49EECF1A105072F300099FAB /* JSWebGLArray.h */,
-                               49EECEF2105070C400099FAB /* JSWebGLArrayBuffer.cpp */,
-                               49EECEF3105070C400099FAB /* JSWebGLArrayBuffer.h */,
+                               49EECF19105072F300099FAB /* JSArrayBufferView.cpp */,
+                               49EECF1A105072F300099FAB /* JSArrayBufferView.h */,
+                               49EECEF2105070C400099FAB /* JSArrayBuffer.cpp */,
+                               49EECEF3105070C400099FAB /* JSArrayBuffer.h */,
                                49C7B9801042D2D30009D447 /* JSWebGLBuffer.cpp */,
                                49C7B9811042D2D30009D447 /* JSWebGLBuffer.h */,
                                49C7B9801042D2D30009D447 /* JSWebGLBuffer.cpp */,
                                49C7B9811042D2D30009D447 /* JSWebGLBuffer.h */,
-                               49C7B9821042D2D30009D447 /* JSWebGLByteArray.cpp */,
-                               49C7B9831042D2D30009D447 /* JSWebGLByteArray.h */,
+                               49C7B9821042D2D30009D447 /* JSInt8Array.cpp */,
+                               49C7B9831042D2D30009D447 /* JSInt8Array.h */,
                                6EE8A77010F803F3005A4A24 /* JSWebGLContextAttributes.cpp */,
                                6EE8A77110F803F3005A4A24 /* JSWebGLContextAttributes.h */,
                                6EE8A77010F803F3005A4A24 /* JSWebGLContextAttributes.cpp */,
                                6EE8A77110F803F3005A4A24 /* JSWebGLContextAttributes.h */,
-                               49EECEF4105070C400099FAB /* JSWebGLFloatArray.cpp */,
-                               49EECEF5105070C400099FAB /* JSWebGLFloatArray.h */,
+                               49EECEF4105070C400099FAB /* JSFloatArray.cpp */,
+                               49EECEF5105070C400099FAB /* JSFloatArray.h */,
                                49C7B9841042D2D30009D447 /* JSWebGLFramebuffer.cpp */,
                                49C7B9851042D2D30009D447 /* JSWebGLFramebuffer.h */,
                                49C7B9841042D2D30009D447 /* JSWebGLFramebuffer.cpp */,
                                49C7B9851042D2D30009D447 /* JSWebGLFramebuffer.h */,
-                               49EECEF6105070C400099FAB /* JSWebGLIntArray.cpp */,
-                               49EECEF7105070C400099FAB /* JSWebGLIntArray.h */,
+                               49EECEF6105070C400099FAB /* JSInt32Array.cpp */,
+                               49EECEF7105070C400099FAB /* JSInt32Array.h */,
                                49C7B9881042D2D30009D447 /* JSWebGLProgram.cpp */,
                                49C7B9891042D2D30009D447 /* JSWebGLProgram.h */,
                                49C7B98A1042D2D30009D447 /* JSWebGLRenderbuffer.cpp */,
                                49C7B9881042D2D30009D447 /* JSWebGLProgram.cpp */,
                                49C7B9891042D2D30009D447 /* JSWebGLProgram.h */,
                                49C7B98A1042D2D30009D447 /* JSWebGLRenderbuffer.cpp */,
                                49EED1411051969400099FAB /* JSWebGLRenderingContext.h */,
                                49C7B98F1042D2D30009D447 /* JSWebGLShader.cpp */,
                                49C7B9901042D2D30009D447 /* JSWebGLShader.h */,
                                49EED1411051969400099FAB /* JSWebGLRenderingContext.h */,
                                49C7B98F1042D2D30009D447 /* JSWebGLShader.cpp */,
                                49C7B9901042D2D30009D447 /* JSWebGLShader.h */,
-                               49EECEF8105070C400099FAB /* JSWebGLShortArray.cpp */,
-                               49EECEF9105070C400099FAB /* JSWebGLShortArray.h */,
+                               49EECEF8105070C400099FAB /* JSInt16Array.cpp */,
+                               49EECEF9105070C400099FAB /* JSInt16Array.h */,
                                49C7B9911042D2D30009D447 /* JSWebGLTexture.cpp */,
                                49C7B9921042D2D30009D447 /* JSWebGLTexture.h */,
                                0C45342510CDBBFA00869157 /* JSWebGLUniformLocation.cpp */,
                                0C45342610CDBBFA00869157 /* JSWebGLUniformLocation.h */,
                                49C7B9911042D2D30009D447 /* JSWebGLTexture.cpp */,
                                49C7B9921042D2D30009D447 /* JSWebGLTexture.h */,
                                0C45342510CDBBFA00869157 /* JSWebGLUniformLocation.cpp */,
                                0C45342610CDBBFA00869157 /* JSWebGLUniformLocation.h */,
-                               49EECEFA105070C400099FAB /* JSWebGLUnsignedByteArray.cpp */,
-                               49EECEFB105070C400099FAB /* JSWebGLUnsignedByteArray.h */,
-                               49EECEFC105070C400099FAB /* JSWebGLUnsignedIntArray.cpp */,
-                               49EECEFD105070C400099FAB /* JSWebGLUnsignedIntArray.h */,
-                               49EECEFE105070C400099FAB /* JSWebGLUnsignedShortArray.cpp */,
-                               49EECEFF105070C400099FAB /* JSWebGLUnsignedShortArray.h */,
+                               49EECEFA105070C400099FAB /* JSUint8Array.cpp */,
+                               49EECEFB105070C400099FAB /* JSUint8Array.h */,
+                               49EECEFC105070C400099FAB /* JSUint32Array.cpp */,
+                               49EECEFD105070C400099FAB /* JSUint32Array.h */,
+                               49EECEFE105070C400099FAB /* JSUint16Array.cpp */,
+                               49EECEFF105070C400099FAB /* JSUint16Array.h */,
                        );
                        name = HTML;
                        sourceTree = "<group>";
                        );
                        name = HTML;
                        sourceTree = "<group>";
                                087D97BE10FB8D7700C00874 /* JSSVGPODListCustom.h */,
                                1A2C40AA0DEB55AA005AF19E /* JSTextCustom.cpp */,
                                516BB7920CE91E6800512F79 /* JSTreeWalkerCustom.cpp */,
                                087D97BE10FB8D7700C00874 /* JSSVGPODListCustom.h */,
                                1A2C40AA0DEB55AA005AF19E /* JSTextCustom.cpp */,
                                516BB7920CE91E6800512F79 /* JSTreeWalkerCustom.cpp */,
-                               492273A21083B3B100EE5C84 /* JSWebGLArrayCustom.cpp */,
-                               49EECF7110508D9C00099FAB /* JSWebGLByteArrayCustom.cpp */,
-                               49EECF7210508D9C00099FAB /* JSWebGLFloatArrayCustom.cpp */,
-                               49EECF7310508D9C00099FAB /* JSWebGLIntArrayCustom.cpp */,
+                               492273A21083B3B100EE5C84 /* JSArrayBufferViewCustom.cpp */,
+                               49EECF7110508D9C00099FAB /* JSInt8ArrayCustom.cpp */,
+                               49EECF7210508D9C00099FAB /* JSFloatArrayCustom.cpp */,
+                               49EECF7310508D9C00099FAB /* JSInt32ArrayCustom.cpp */,
                                49EED14C1051971A00099FAB /* JSWebGLRenderingContextCustom.cpp */,
                                49EED14C1051971A00099FAB /* JSWebGLRenderingContextCustom.cpp */,
-                               49EECF7410508D9C00099FAB /* JSWebGLShortArrayCustom.cpp */,
-                               49EECF7510508D9C00099FAB /* JSWebGLUnsignedByteArrayCustom.cpp */,
-                               49EECF7610508D9C00099FAB /* JSWebGLUnsignedIntArrayCustom.cpp */,
-                               49EECF7710508D9C00099FAB /* JSWebGLUnsignedShortArrayCustom.cpp */,
+                               49EECF7410508D9C00099FAB /* JSInt16ArrayCustom.cpp */,
+                               49EECF7510508D9C00099FAB /* JSUint8ArrayCustom.cpp */,
+                               49EECF7610508D9C00099FAB /* JSUint32ArrayCustom.cpp */,
+                               49EECF7710508D9C00099FAB /* JSUint16ArrayCustom.cpp */,
                                518A34C61026C8C9001B6896 /* JSWebSocketCustom.cpp */,
                                E18258AB0EF3CD7000933242 /* JSWorkerContextCustom.cpp */,
                                E1CA5CBB0E8CDCAF00E8EF90 /* JSWorkerCustom.cpp */,
                                518A34C61026C8C9001B6896 /* JSWebSocketCustom.cpp */,
                                E18258AB0EF3CD7000933242 /* JSWorkerContextCustom.cpp */,
                                E1CA5CBB0E8CDCAF00E8EF90 /* JSWorkerCustom.cpp */,
                                A826E8AC0A1A8F2300CD1BB6 /* JSOptionConstructor.h */,
                                415B7C550FF598E6006770F7 /* JSSharedWorkerConstructor.cpp */,
                                415B7C620FF5A767006770F7 /* JSSharedWorkerConstructor.h */,
                                A826E8AC0A1A8F2300CD1BB6 /* JSOptionConstructor.h */,
                                415B7C550FF598E6006770F7 /* JSSharedWorkerConstructor.cpp */,
                                415B7C620FF5A767006770F7 /* JSSharedWorkerConstructor.h */,
-                               49EECF991050938200099FAB /* JSWebGLArrayBufferConstructor.cpp */,
-                               49EECF9A1050938200099FAB /* JSWebGLArrayBufferConstructor.h */,
-                               49EECF9B1050938200099FAB /* JSWebGLByteArrayConstructor.cpp */,
-                               49EECF9C1050938200099FAB /* JSWebGLByteArrayConstructor.h */,
-                               49EECF9D1050938200099FAB /* JSWebGLFloatArrayConstructor.cpp */,
-                               49EECF9E1050938200099FAB /* JSWebGLFloatArrayConstructor.h */,
-                               49EECF9F1050938200099FAB /* JSWebGLIntArrayConstructor.cpp */,
-                               49EECFA01050938200099FAB /* JSWebGLIntArrayConstructor.h */,
-                               49EECFA31050938200099FAB /* JSWebGLShortArrayConstructor.cpp */,
-                               49EECFA41050938200099FAB /* JSWebGLShortArrayConstructor.h */,
-                               49EECFA51050938200099FAB /* JSWebGLUnsignedByteArrayConstructor.cpp */,
-                               49EECFA61050938200099FAB /* JSWebGLUnsignedByteArrayConstructor.h */,
-                               49EECFA71050938200099FAB /* JSWebGLUnsignedIntArrayConstructor.cpp */,
-                               49EECFA81050938200099FAB /* JSWebGLUnsignedIntArrayConstructor.h */,
-                               49EECFA91050938200099FAB /* JSWebGLUnsignedShortArrayConstructor.cpp */,
-                               49EECFAA1050938200099FAB /* JSWebGLUnsignedShortArrayConstructor.h */,
+                               49EECF991050938200099FAB /* JSArrayBufferConstructor.cpp */,
+                               49EECF9A1050938200099FAB /* JSArrayBufferConstructor.h */,
+                               49EECF9B1050938200099FAB /* JSInt8ArrayConstructor.cpp */,
+                               49EECF9C1050938200099FAB /* JSInt8ArrayConstructor.h */,
+                               49EECF9D1050938200099FAB /* JSFloatArrayConstructor.cpp */,
+                               49EECF9E1050938200099FAB /* JSFloatArrayConstructor.h */,
+                               49EECF9F1050938200099FAB /* JSInt32ArrayConstructor.cpp */,
+                               49EECFA01050938200099FAB /* JSInt32ArrayConstructor.h */,
+                               49EECFA31050938200099FAB /* JSInt16ArrayConstructor.cpp */,
+                               49EECFA41050938200099FAB /* JSInt16ArrayConstructor.h */,
+                               49EECFA51050938200099FAB /* JSUint8ArrayConstructor.cpp */,
+                               49EECFA61050938200099FAB /* JSUint8ArrayConstructor.h */,
+                               49EECFA71050938200099FAB /* JSUint32ArrayConstructor.cpp */,
+                               49EECFA81050938200099FAB /* JSUint32ArrayConstructor.h */,
+                               49EECFA91050938200099FAB /* JSUint16ArrayConstructor.cpp */,
+                               49EECFAA1050938200099FAB /* JSUint16ArrayConstructor.h */,
                                498391610F1E8EE100C23782 /* JSWebKitCSSMatrixConstructor.cpp */,
                                498391620F1E8EE100C23782 /* JSWebKitCSSMatrixConstructor.h */,
                                494BD7970F55C90E00747828 /* JSWebKitPointConstructor.cpp */,
                                498391610F1E8EE100C23782 /* JSWebKitCSSMatrixConstructor.cpp */,
                                498391620F1E8EE100C23782 /* JSWebKitCSSMatrixConstructor.h */,
                                494BD7970F55C90E00747828 /* JSWebKitPointConstructor.cpp */,
                                A86629CF09DA2B47009633A5 /* JSUIEvent.h in Headers */,
                                15C77093100D3CA8005BA267 /* JSValidityState.h in Headers */,
                                A7D20F63107F406900A80392 /* JSWebGLActiveInfo.h in Headers */,
                                A86629CF09DA2B47009633A5 /* JSUIEvent.h in Headers */,
                                15C77093100D3CA8005BA267 /* JSValidityState.h in Headers */,
                                A7D20F63107F406900A80392 /* JSWebGLActiveInfo.h in Headers */,
-                               49EECF1C105072F300099FAB /* JSWebGLArray.h in Headers */,
-                               49EECF01105070C400099FAB /* JSWebGLArrayBuffer.h in Headers */,
-                               49EECFAC1050938200099FAB /* JSWebGLArrayBufferConstructor.h in Headers */,
+                               49EECF1C105072F300099FAB /* JSArrayBufferView.h in Headers */,
+                               49EECF01105070C400099FAB /* JSArrayBuffer.h in Headers */,
+                               49EECFAC1050938200099FAB /* JSArrayBufferConstructor.h in Headers */,
                                49C7B9941042D2D30009D447 /* JSWebGLBuffer.h in Headers */,
                                49C7B9941042D2D30009D447 /* JSWebGLBuffer.h in Headers */,
-                               49C7B9961042D2D30009D447 /* JSWebGLByteArray.h in Headers */,
-                               49EECFAE1050938200099FAB /* JSWebGLByteArrayConstructor.h in Headers */,
+                               49C7B9961042D2D30009D447 /* JSInt8Array.h in Headers */,
+                               49EECFAE1050938200099FAB /* JSInt8ArrayConstructor.h in Headers */,
                                6EE8A77310F803F3005A4A24 /* JSWebGLContextAttributes.h in Headers */,
                                6EE8A77310F803F3005A4A24 /* JSWebGLContextAttributes.h in Headers */,
-                               49EECF03105070C400099FAB /* JSWebGLFloatArray.h in Headers */,
-                               49EECFB01050938200099FAB /* JSWebGLFloatArrayConstructor.h in Headers */,
+                               49EECF03105070C400099FAB /* JSFloatArray.h in Headers */,
+                               49EECFB01050938200099FAB /* JSFloatArrayConstructor.h in Headers */,
                                49C7B9981042D2D30009D447 /* JSWebGLFramebuffer.h in Headers */,
                                49C7B9981042D2D30009D447 /* JSWebGLFramebuffer.h in Headers */,
-                               49EECF05105070C400099FAB /* JSWebGLIntArray.h in Headers */,
-                               49EECFB21050938200099FAB /* JSWebGLIntArrayConstructor.h in Headers */,
+                               49EECF05105070C400099FAB /* JSInt32Array.h in Headers */,
+                               49EECFB21050938200099FAB /* JSInt32ArrayConstructor.h in Headers */,
                                49C7B99C1042D2D30009D447 /* JSWebGLProgram.h in Headers */,
                                49C7B99E1042D2D30009D447 /* JSWebGLRenderbuffer.h in Headers */,
                                49EED1471051969400099FAB /* JSWebGLRenderingContext.h in Headers */,
                                49C7B9A31042D2D30009D447 /* JSWebGLShader.h in Headers */,
                                49C7B99C1042D2D30009D447 /* JSWebGLProgram.h in Headers */,
                                49C7B99E1042D2D30009D447 /* JSWebGLRenderbuffer.h in Headers */,
                                49EED1471051969400099FAB /* JSWebGLRenderingContext.h in Headers */,
                                49C7B9A31042D2D30009D447 /* JSWebGLShader.h in Headers */,
-                               49EECF07105070C400099FAB /* JSWebGLShortArray.h in Headers */,
-                               49EECFB61050938200099FAB /* JSWebGLShortArrayConstructor.h in Headers */,
+                               49EECF07105070C400099FAB /* JSInt16Array.h in Headers */,
+                               49EECFB61050938200099FAB /* JSInt16ArrayConstructor.h in Headers */,
                                49C7B9A51042D2D30009D447 /* JSWebGLTexture.h in Headers */,
                                0C45342810CDBBFA00869157 /* JSWebGLUniformLocation.h in Headers */,
                                49C7B9A51042D2D30009D447 /* JSWebGLTexture.h in Headers */,
                                0C45342810CDBBFA00869157 /* JSWebGLUniformLocation.h in Headers */,
-                               49EECF09105070C400099FAB /* JSWebGLUnsignedByteArray.h in Headers */,
-                               49EECFB81050938200099FAB /* JSWebGLUnsignedByteArrayConstructor.h in Headers */,
-                               49EECF0B105070C400099FAB /* JSWebGLUnsignedIntArray.h in Headers */,
-                               49EECFBA1050938200099FAB /* JSWebGLUnsignedIntArrayConstructor.h in Headers */,
-                               49EECF0D105070C400099FAB /* JSWebGLUnsignedShortArray.h in Headers */,
-                               49EECFBC1050938200099FAB /* JSWebGLUnsignedShortArrayConstructor.h in Headers */,
+                               49EECF09105070C400099FAB /* JSUint8Array.h in Headers */,
+                               49EECFB81050938200099FAB /* JSUint8ArrayConstructor.h in Headers */,
+                               49EECF0B105070C400099FAB /* JSUint32Array.h in Headers */,
+                               49EECFBA1050938200099FAB /* JSUint32ArrayConstructor.h in Headers */,
+                               49EECF0D105070C400099FAB /* JSUint16Array.h in Headers */,
+                               49EECFBC1050938200099FAB /* JSUint16ArrayConstructor.h in Headers */,
                                31C0FF3E0E4CEFAC007D6FE5 /* JSWebKitAnimationEvent.h in Headers */,
                                316FE0720E6CCBEE00BF6088 /* JSWebKitCSSKeyframeRule.h in Headers */,
                                316FE0740E6CCBEE00BF6088 /* JSWebKitCSSKeyframesRule.h in Headers */,
                                31C0FF3E0E4CEFAC007D6FE5 /* JSWebKitAnimationEvent.h in Headers */,
                                316FE0720E6CCBEE00BF6088 /* JSWebKitCSSKeyframeRule.h in Headers */,
                                316FE0740E6CCBEE00BF6088 /* JSWebKitCSSKeyframesRule.h in Headers */,
                                93F199F108245E59001E9ABC /* WebDashboardRegion.h in Headers */,
                                BC6DADEF0A195FDF00E5CD14 /* WebFontCache.h in Headers */,
                                A7D20F6D107F438B00A80392 /* WebGLActiveInfo.h in Headers */,
                                93F199F108245E59001E9ABC /* WebDashboardRegion.h in Headers */,
                                BC6DADEF0A195FDF00E5CD14 /* WebFontCache.h in Headers */,
                                A7D20F6D107F438B00A80392 /* WebGLActiveInfo.h in Headers */,
-                               49EECDE010503C2400099FAB /* WebGLArray.h in Headers */,
-                               49EECDE310503C2400099FAB /* WebGLArrayBuffer.h in Headers */,
+                               49EECDE010503C2400099FAB /* ArrayBufferView.h in Headers */,
+                               49EECDE310503C2400099FAB /* ArrayBuffer.h in Headers */,
                                49C7B9C91042D32F0009D447 /* WebGLBuffer.h in Headers */,
                                49C7B9C91042D32F0009D447 /* WebGLBuffer.h in Headers */,
-                               49C7B9CC1042D32F0009D447 /* WebGLByteArray.h in Headers */,
+                               49C7B9CC1042D32F0009D447 /* Int8Array.h in Headers */,
                                6E4E91AF10F7FB3100A2779C /* WebGLContextAttributes.h in Headers */,
                                6E4E91AF10F7FB3100A2779C /* WebGLContextAttributes.h in Headers */,
-                               49EECDE610503C2400099FAB /* WebGLFloatArray.h in Headers */,
+                               49EECDE610503C2400099FAB /* FloatArray.h in Headers */,
                                49C7B9CF1042D32F0009D447 /* WebGLFramebuffer.h in Headers */,
                                6E47E66110B7944B00B186C8 /* WebGLGetInfo.h in Headers */,
                                49C7B9CF1042D32F0009D447 /* WebGLFramebuffer.h in Headers */,
                                6E47E66110B7944B00B186C8 /* WebGLGetInfo.h in Headers */,
-                               49EECDE910503C2400099FAB /* WebGLIntArray.h in Headers */,
+                               49EECDE910503C2400099FAB /* Int32Array.h in Headers */,
                                49C7B9D71042D32F0009D447 /* WebGLProgram.h in Headers */,
                                49C7B9DA1042D32F0009D447 /* WebGLRenderbuffer.h in Headers */,
                                49C7B9E01042D32F0009D447 /* WebGLRenderingContext.h in Headers */,
                                49C7B9E31042D32F0009D447 /* WebGLShader.h in Headers */,
                                49C7B9D71042D32F0009D447 /* WebGLProgram.h in Headers */,
                                49C7B9DA1042D32F0009D447 /* WebGLRenderbuffer.h in Headers */,
                                49C7B9E01042D32F0009D447 /* WebGLRenderingContext.h in Headers */,
                                49C7B9E31042D32F0009D447 /* WebGLShader.h in Headers */,
-                               49EECDEC10503C2400099FAB /* WebGLShortArray.h in Headers */,
+                               49EECDEC10503C2400099FAB /* Int16Array.h in Headers */,
                                49C7B9E61042D32F0009D447 /* WebGLTexture.h in Headers */,
                                0C3F1F5B10C8871200D72CE1 /* WebGLUniformLocation.h in Headers */,
                                49C7B9E61042D32F0009D447 /* WebGLTexture.h in Headers */,
                                0C3F1F5B10C8871200D72CE1 /* WebGLUniformLocation.h in Headers */,
-                               49EECDEF10503C2400099FAB /* WebGLUnsignedByteArray.h in Headers */,
-                               49EECDF210503C2400099FAB /* WebGLUnsignedIntArray.h in Headers */,
-                               49EECDF510503C2400099FAB /* WebGLUnsignedShortArray.h in Headers */,
+                               49EECDEF10503C2400099FAB /* Uint8Array.h in Headers */,
+                               49EECDF210503C2400099FAB /* Uint32Array.h in Headers */,
+                               49EECDF510503C2400099FAB /* Uint16Array.h in Headers */,
                                31C0FF220E4CEB6E007D6FE5 /* WebKitAnimationEvent.h in Headers */,
                                31288E730E3005D6003619AE /* WebKitCSSKeyframeRule.h in Headers */,
                                31288E750E3005D6003619AE /* WebKitCSSKeyframesRule.h in Headers */,
                                31C0FF220E4CEB6E007D6FE5 /* WebKitAnimationEvent.h in Headers */,
                                31288E730E3005D6003619AE /* WebKitCSSKeyframeRule.h in Headers */,
                                31288E750E3005D6003619AE /* WebKitCSSKeyframesRule.h in Headers */,
                                C5F4F40B119306AC00FDFADD /* JSIDBDatabaseRequest.h in Headers */,
                                C5F4F40D119306AC00FDFADD /* JSIDBRequest.h in Headers */,
                                C5F4F411119306C000FDFADD /* JSIndexedDatabaseRequest.h in Headers */,
                                C5F4F40B119306AC00FDFADD /* JSIDBDatabaseRequest.h in Headers */,
                                C5F4F40D119306AC00FDFADD /* JSIDBRequest.h in Headers */,
                                C5F4F411119306C000FDFADD /* JSIndexedDatabaseRequest.h in Headers */,
-                               6E96BB1C11986EE2007D94CD /* WebGLIntegralTypedArrayBase.h in Headers */,
-                               6E96BB1D11986EE2007D94CD /* WebGLTypedArrayBase.h in Headers */,
+                               6E96BB1C11986EE2007D94CD /* IntegralTypedArrayBase.h in Headers */,
+                               6E96BB1D11986EE2007D94CD /* TypedArrayBase.h in Headers */,
                                2E94F43C119207DA00B7F75D /* JSFileReader.h in Headers */,
                                2E94F4511192096A00B7F75D /* FileReader.h in Headers */,
                                E440A2D71191A523000820B0 /* SVGFELighting.h in Headers */,
                                2E94F43C119207DA00B7F75D /* JSFileReader.h in Headers */,
                                2E94F4511192096A00B7F75D /* FileReader.h in Headers */,
                                E440A2D71191A523000820B0 /* SVGFELighting.h in Headers */,
                                A86629D009DA2B48009633A5 /* JSUIEvent.cpp in Sources */,
                                15C77094100D3CA8005BA267 /* JSValidityState.cpp in Sources */,
                                A7D20F62107F406900A80392 /* JSWebGLActiveInfo.cpp in Sources */,
                                A86629D009DA2B48009633A5 /* JSUIEvent.cpp in Sources */,
                                15C77094100D3CA8005BA267 /* JSValidityState.cpp in Sources */,
                                A7D20F62107F406900A80392 /* JSWebGLActiveInfo.cpp in Sources */,
-                               49EECF1B105072F300099FAB /* JSWebGLArray.cpp in Sources */,
-                               49EECF00105070C400099FAB /* JSWebGLArrayBuffer.cpp in Sources */,
-                               49EECFAB1050938200099FAB /* JSWebGLArrayBufferConstructor.cpp in Sources */,
-                               492273A31083B3B100EE5C84 /* JSWebGLArrayCustom.cpp in Sources */,
+                               49EECF1B105072F300099FAB /* JSArrayBufferView.cpp in Sources */,
+                               49EECF00105070C400099FAB /* JSArrayBuffer.cpp in Sources */,
+                               49EECFAB1050938200099FAB /* JSArrayBufferConstructor.cpp in Sources */,
+                               492273A31083B3B100EE5C84 /* JSArrayBufferViewCustom.cpp in Sources */,
                                49C7B9931042D2D30009D447 /* JSWebGLBuffer.cpp in Sources */,
                                49C7B9931042D2D30009D447 /* JSWebGLBuffer.cpp in Sources */,
-                               49C7B9951042D2D30009D447 /* JSWebGLByteArray.cpp in Sources */,
-                               49EECFAD1050938200099FAB /* JSWebGLByteArrayConstructor.cpp in Sources */,
-                               49EECF7810508D9C00099FAB /* JSWebGLByteArrayCustom.cpp in Sources */,
+                               49C7B9951042D2D30009D447 /* JSInt8Array.cpp in Sources */,
+                               49EECFAD1050938200099FAB /* JSInt8ArrayConstructor.cpp in Sources */,
+                               49EECF7810508D9C00099FAB /* JSInt8ArrayCustom.cpp in Sources */,
                                6EE8A77210F803F3005A4A24 /* JSWebGLContextAttributes.cpp in Sources */,
                                6EE8A77210F803F3005A4A24 /* JSWebGLContextAttributes.cpp in Sources */,
-                               49EECF02105070C400099FAB /* JSWebGLFloatArray.cpp in Sources */,
-                               49EECFAF1050938200099FAB /* JSWebGLFloatArrayConstructor.cpp in Sources */,
-                               49EECF7910508D9C00099FAB /* JSWebGLFloatArrayCustom.cpp in Sources */,
+                               49EECF02105070C400099FAB /* JSFloatArray.cpp in Sources */,
+                               49EECFAF1050938200099FAB /* JSFloatArrayConstructor.cpp in Sources */,
+                               49EECF7910508D9C00099FAB /* JSFloatArrayCustom.cpp in Sources */,
                                49C7B9971042D2D30009D447 /* JSWebGLFramebuffer.cpp in Sources */,
                                49C7B9971042D2D30009D447 /* JSWebGLFramebuffer.cpp in Sources */,
-                               49EECF04105070C400099FAB /* JSWebGLIntArray.cpp in Sources */,
-                               49EECFB11050938200099FAB /* JSWebGLIntArrayConstructor.cpp in Sources */,
-                               49EECF7A10508D9C00099FAB /* JSWebGLIntArrayCustom.cpp in Sources */,
+                               49EECF04105070C400099FAB /* JSInt32Array.cpp in Sources */,
+                               49EECFB11050938200099FAB /* JSInt32ArrayConstructor.cpp in Sources */,
+                               49EECF7A10508D9C00099FAB /* JSInt32ArrayCustom.cpp in Sources */,
                                49C7B99B1042D2D30009D447 /* JSWebGLProgram.cpp in Sources */,
                                49C7B99D1042D2D30009D447 /* JSWebGLRenderbuffer.cpp in Sources */,
                                49EED1461051969400099FAB /* JSWebGLRenderingContext.cpp in Sources */,
                                49EED14F1051971A00099FAB /* JSWebGLRenderingContextCustom.cpp in Sources */,
                                49C7B9A21042D2D30009D447 /* JSWebGLShader.cpp in Sources */,
                                49C7B99B1042D2D30009D447 /* JSWebGLProgram.cpp in Sources */,
                                49C7B99D1042D2D30009D447 /* JSWebGLRenderbuffer.cpp in Sources */,
                                49EED1461051969400099FAB /* JSWebGLRenderingContext.cpp in Sources */,
                                49EED14F1051971A00099FAB /* JSWebGLRenderingContextCustom.cpp in Sources */,
                                49C7B9A21042D2D30009D447 /* JSWebGLShader.cpp in Sources */,
-                               49EECF06105070C400099FAB /* JSWebGLShortArray.cpp in Sources */,
-                               49EECFB51050938200099FAB /* JSWebGLShortArrayConstructor.cpp in Sources */,
-                               49EECF7B10508D9C00099FAB /* JSWebGLShortArrayCustom.cpp in Sources */,
+                               49EECF06105070C400099FAB /* JSInt16Array.cpp in Sources */,
+                               49EECFB51050938200099FAB /* JSInt16ArrayConstructor.cpp in Sources */,
+                               49EECF7B10508D9C00099FAB /* JSInt16ArrayCustom.cpp in Sources */,
                                49C7B9A41042D2D30009D447 /* JSWebGLTexture.cpp in Sources */,
                                0C45342710CDBBFA00869157 /* JSWebGLUniformLocation.cpp in Sources */,
                                49C7B9A41042D2D30009D447 /* JSWebGLTexture.cpp in Sources */,
                                0C45342710CDBBFA00869157 /* JSWebGLUniformLocation.cpp in Sources */,
-                               49EECF08105070C400099FAB /* JSWebGLUnsignedByteArray.cpp in Sources */,
-                               49EECFB71050938200099FAB /* JSWebGLUnsignedByteArrayConstructor.cpp in Sources */,
-                               49EECF7C10508D9C00099FAB /* JSWebGLUnsignedByteArrayCustom.cpp in Sources */,
-                               49EECF0A105070C400099FAB /* JSWebGLUnsignedIntArray.cpp in Sources */,
-                               49EECFB91050938200099FAB /* JSWebGLUnsignedIntArrayConstructor.cpp in Sources */,
-                               49EECF7D10508D9C00099FAB /* JSWebGLUnsignedIntArrayCustom.cpp in Sources */,
-                               49EECF0C105070C400099FAB /* JSWebGLUnsignedShortArray.cpp in Sources */,
-                               49EECFBB1050938200099FAB /* JSWebGLUnsignedShortArrayConstructor.cpp in Sources */,
-                               49EECF7E10508D9C00099FAB /* JSWebGLUnsignedShortArrayCustom.cpp in Sources */,
+                               49EECF08105070C400099FAB /* JSUint8Array.cpp in Sources */,
+                               49EECFB71050938200099FAB /* JSUint8ArrayConstructor.cpp in Sources */,
+                               49EECF7C10508D9C00099FAB /* JSUint8ArrayCustom.cpp in Sources */,
+                               49EECF0A105070C400099FAB /* JSUint32Array.cpp in Sources */,
+                               49EECFB91050938200099FAB /* JSUint32ArrayConstructor.cpp in Sources */,
+                               49EECF7D10508D9C00099FAB /* JSUint32ArrayCustom.cpp in Sources */,
+                               49EECF0C105070C400099FAB /* JSUint16Array.cpp in Sources */,
+                               49EECFBB1050938200099FAB /* JSUint16ArrayConstructor.cpp in Sources */,
+                               49EECF7E10508D9C00099FAB /* JSUint16ArrayCustom.cpp in Sources */,
                                31C0FF3D0E4CEFAC007D6FE5 /* JSWebKitAnimationEvent.cpp in Sources */,
                                316FE0710E6CCBEE00BF6088 /* JSWebKitCSSKeyframeRule.cpp in Sources */,
                                316FE0730E6CCBEE00BF6088 /* JSWebKitCSSKeyframesRule.cpp in Sources */,
                                31C0FF3D0E4CEFAC007D6FE5 /* JSWebKitAnimationEvent.cpp in Sources */,
                                316FE0710E6CCBEE00BF6088 /* JSWebKitCSSKeyframeRule.cpp in Sources */,
                                316FE0730E6CCBEE00BF6088 /* JSWebKitCSSKeyframesRule.cpp in Sources */,
                                93F19A5F08245E59001E9ABC /* WebCoreViewFactory.m in Sources */,
                                93F19B0808245E59001E9ABC /* WebDashboardRegion.m in Sources */,
                                BC6DADFA0A19602B00E5CD14 /* WebFontCache.mm in Sources */,
                                93F19A5F08245E59001E9ABC /* WebCoreViewFactory.m in Sources */,
                                93F19B0808245E59001E9ABC /* WebDashboardRegion.m in Sources */,
                                BC6DADFA0A19602B00E5CD14 /* WebFontCache.mm in Sources */,
-                               49EECDDF10503C2400099FAB /* WebGLArray.cpp in Sources */,
-                               49EECDE210503C2400099FAB /* WebGLArrayBuffer.cpp in Sources */,
+                               49EECDDF10503C2400099FAB /* ArrayBufferView.cpp in Sources */,
+                               49EECDE210503C2400099FAB /* ArrayBuffer.cpp in Sources */,
                                49C7B9C81042D32F0009D447 /* WebGLBuffer.cpp in Sources */,
                                49C7B9C81042D32F0009D447 /* WebGLBuffer.cpp in Sources */,
-                               49C7B9CB1042D32F0009D447 /* WebGLByteArray.cpp in Sources */,
+                               49C7B9CB1042D32F0009D447 /* Int8Array.cpp in Sources */,
                                6E4E91AE10F7FB3100A2779C /* WebGLContextAttributes.cpp in Sources */,
                                6E4E91AE10F7FB3100A2779C /* WebGLContextAttributes.cpp in Sources */,
-                               49EECDE510503C2400099FAB /* WebGLFloatArray.cpp in Sources */,
+                               49EECDE510503C2400099FAB /* FloatArray.cpp in Sources */,
                                49C7B9CE1042D32F0009D447 /* WebGLFramebuffer.cpp in Sources */,
                                6E47E66010B7944B00B186C8 /* WebGLGetInfo.cpp in Sources */,
                                49C7B9CE1042D32F0009D447 /* WebGLFramebuffer.cpp in Sources */,
                                6E47E66010B7944B00B186C8 /* WebGLGetInfo.cpp in Sources */,
-                               49EECDE810503C2400099FAB /* WebGLIntArray.cpp in Sources */,
+                               49EECDE810503C2400099FAB /* Int32Array.cpp in Sources */,
                                49C7B9D61042D32F0009D447 /* WebGLProgram.cpp in Sources */,
                                49C7B9D91042D32F0009D447 /* WebGLRenderbuffer.cpp in Sources */,
                                49C7B9DF1042D32F0009D447 /* WebGLRenderingContext.cpp in Sources */,
                                49C7B9E21042D32F0009D447 /* WebGLShader.cpp in Sources */,
                                49C7B9D61042D32F0009D447 /* WebGLProgram.cpp in Sources */,
                                49C7B9D91042D32F0009D447 /* WebGLRenderbuffer.cpp in Sources */,
                                49C7B9DF1042D32F0009D447 /* WebGLRenderingContext.cpp in Sources */,
                                49C7B9E21042D32F0009D447 /* WebGLShader.cpp in Sources */,
-                               49EECDEB10503C2400099FAB /* WebGLShortArray.cpp in Sources */,
+                               49EECDEB10503C2400099FAB /* Int16Array.cpp in Sources */,
                                49C7B9E51042D32F0009D447 /* WebGLTexture.cpp in Sources */,
                                0C3F1F5A10C8871200D72CE1 /* WebGLUniformLocation.cpp in Sources */,
                                49C7B9E51042D32F0009D447 /* WebGLTexture.cpp in Sources */,
                                0C3F1F5A10C8871200D72CE1 /* WebGLUniformLocation.cpp in Sources */,
-                               49EECDEE10503C2400099FAB /* WebGLUnsignedByteArray.cpp in Sources */,
-                               49EECDF110503C2400099FAB /* WebGLUnsignedIntArray.cpp in Sources */,
-                               49EECDF410503C2400099FAB /* WebGLUnsignedShortArray.cpp in Sources */,
+                               49EECDEE10503C2400099FAB /* Uint8Array.cpp in Sources */,
+                               49EECDF110503C2400099FAB /* Uint32Array.cpp in Sources */,
+                               49EECDF410503C2400099FAB /* Uint16Array.cpp in Sources */,
                                31C0FF210E4CEB6E007D6FE5 /* WebKitAnimationEvent.cpp in Sources */,
                                31288E720E3005D6003619AE /* WebKitCSSKeyframeRule.cpp in Sources */,
                                31288E740E3005D6003619AE /* WebKitCSSKeyframesRule.cpp in Sources */,
                                31C0FF210E4CEB6E007D6FE5 /* WebKitAnimationEvent.cpp in Sources */,
                                31288E720E3005D6003619AE /* WebKitCSSKeyframeRule.cpp in Sources */,
                                31288E740E3005D6003619AE /* WebKitCSSKeyframesRule.cpp in Sources */,
similarity index 73%
rename from WebCore/bindings/js/JSWebGLArrayBufferConstructor.cpp
rename to WebCore/bindings/js/JSArrayBufferConstructor.cpp
index 5f1f6430e5a2a7e045cf11debe5e2fb5a088eaca..2930be85bdc11e00393c1886c17c0904043e0190 100644 (file)
 
 #if ENABLE(3D_CANVAS)
 
 
 #if ENABLE(3D_CANVAS)
 
-#include "JSWebGLArrayBufferConstructor.h"
+#include "JSArrayBufferConstructor.h"
 
 #include "Document.h"
 #include "ExceptionCode.h"
 
 #include "Document.h"
 #include "ExceptionCode.h"
-#include "JSWebGLArrayBuffer.h"
+#include "JSArrayBuffer.h"
 
 namespace WebCore {
 
 using namespace JSC;
 
 
 namespace WebCore {
 
 using namespace JSC;
 
-const ClassInfo JSWebGLArrayBufferConstructor::s_info = { "WebGLArrayBufferConstructor", 0, 0, 0 };
+const ClassInfo JSArrayBufferConstructor::s_info = { "ArrayBufferConstructor", 0, 0, 0 };
 
 
-JSWebGLArrayBufferConstructor::JSWebGLArrayBufferConstructor(ExecState* exec, JSDOMGlobalObject* globalObject)
-    : DOMConstructorObject(JSWebGLArrayBufferConstructor::createStructure(globalObject->objectPrototype()), globalObject)
+JSArrayBufferConstructor::JSArrayBufferConstructor(ExecState* exec, JSDOMGlobalObject* globalObject)
+    : DOMConstructorObject(JSArrayBufferConstructor::createStructure(globalObject->objectPrototype()), globalObject)
 {
 {
-    putDirect(exec->propertyNames().prototype, JSWebGLArrayBufferPrototype::self(exec, globalObject), None);
+    putDirect(exec->propertyNames().prototype, JSArrayBufferPrototype::self(exec, globalObject), None);
     putDirect(exec->propertyNames().length, jsNumber(exec, 2), ReadOnly|DontDelete|DontEnum);
 }
 
 static JSObject* constructCanvasArrayBuffer(ExecState* exec, JSObject* constructor, const ArgList& args)
 {
     putDirect(exec->propertyNames().length, jsNumber(exec, 2), ReadOnly|DontDelete|DontEnum);
 }
 
 static JSObject* constructCanvasArrayBuffer(ExecState* exec, JSObject* constructor, const ArgList& args)
 {
-    JSWebGLArrayBufferConstructor* jsConstructor = static_cast<JSWebGLArrayBufferConstructor*>(constructor);
+    JSArrayBufferConstructor* jsConstructor = static_cast<JSArrayBufferConstructor*>(constructor);
 
     unsigned int size = 0;
     if (args.size() == 1) {
 
     unsigned int size = 0;
     if (args.size() == 1) {
@@ -56,7 +56,7 @@ static JSObject* constructCanvasArrayBuffer(ExecState* exec, JSObject* construct
         if (isnan(size))
             size = 0;
     }
         if (isnan(size))
             size = 0;
     }
-    RefPtr<WebGLArrayBuffer> buffer = WebGLArrayBuffer::create(size, 1);
+    RefPtr<ArrayBuffer> buffer = ArrayBuffer::create(size, 1);
     if (!buffer.get()){
         setDOMException(exec, INDEX_SIZE_ERR);
         return 0;
     if (!buffer.get()){
         setDOMException(exec, INDEX_SIZE_ERR);
         return 0;
@@ -64,7 +64,7 @@ static JSObject* constructCanvasArrayBuffer(ExecState* exec, JSObject* construct
     return asObject(toJS(exec, jsConstructor->globalObject(), buffer.get()));
 }
 
     return asObject(toJS(exec, jsConstructor->globalObject(), buffer.get()));
 }
 
-JSC::ConstructType JSWebGLArrayBufferConstructor::getConstructData(JSC::ConstructData& constructData)
+JSC::ConstructType JSArrayBufferConstructor::getConstructData(JSC::ConstructData& constructData)
 {
     constructData.native.function = constructCanvasArrayBuffer;
     return ConstructTypeHost;
 {
     constructData.native.function = constructCanvasArrayBuffer;
     return ConstructTypeHost;
similarity index 85%
rename from WebCore/bindings/js/JSWebGLArrayBufferConstructor.h
rename to WebCore/bindings/js/JSArrayBufferConstructor.h
index c7a927ee75b29480586cb5b39a299529a9d3c103..fd0381590b022ae7e6fb7a1829a47d963bbfe17d 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#ifndef JSWebGLArrayBufferConstructor_h
-#define JSWebGLArrayBufferConstructor_h
+#ifndef JSArrayBufferConstructor_h
+#define JSArrayBufferConstructor_h
 
 #include "JSDOMBinding.h"
 #include "JSDocument.h"
 
 #include "JSDOMBinding.h"
 #include "JSDocument.h"
-#include "JSWebGLArrayBuffer.h"
+#include "JSArrayBuffer.h"
 #include <runtime/Error.h>
 #include <runtime/Error.h>
-#include "WebGLArrayBuffer.h"
+#include "ArrayBuffer.h"
 
 namespace WebCore {
 
 
 namespace WebCore {
 
-    class WebGLArray;
+    class ArrayBufferView;
 
     // Template function used by CanvasXXXArrayConstructors
     template<class C, typename T>
 
     // Template function used by CanvasXXXArrayConstructors
     template<class C, typename T>
-    PassRefPtr<WebGLArray> construct(JSC::ExecState* exec, const JSC::ArgList& args)
+    PassRefPtr<ArrayBufferView> construct(JSC::ExecState* exec, const JSC::ArgList& args)
     {
         // There are 3 constructors:
         //
         //  1) (in int size)
     {
         // There are 3 constructors:
         //
         //  1) (in int size)
-        //  2) (in WebGLArrayBuffer buffer, [Optional] in int offset, [Optional] in unsigned int length)
+        //  2) (in ArrayBuffer buffer, [Optional] in int offset, [Optional] in unsigned int length)
         //  3) (in sequence<T>) - This ends up being a JS "array-like" object
         //
         RefPtr<C> arrayObject;
         //  3) (in sequence<T>) - This ends up being a JS "array-like" object
         //
         RefPtr<C> arrayObject;
@@ -57,7 +57,7 @@ namespace WebCore {
             return 0;
 
         if (args.at(0).isObject()) {
             return 0;
 
         if (args.at(0).isObject()) {
-            RefPtr<WebGLArrayBuffer> buffer = toWebGLArrayBuffer(args.at(0));
+            RefPtr<ArrayBuffer> buffer = toArrayBuffer(args.at(0));
             if (buffer) {
                 unsigned offset = (args.size() > 1) ? args.at(1).toUInt32(exec) : 0;
                 unsigned int length = (buffer->byteLength() - offset) / sizeof(T);
             if (buffer) {
                 unsigned offset = (args.size() > 1) ? args.at(1).toUInt32(exec) : 0;
                 unsigned int length = (buffer->byteLength() - offset) / sizeof(T);
@@ -89,9 +89,9 @@ namespace WebCore {
         return C::create(size);
     }
 
         return C::create(size);
     }
 
-    class JSWebGLArrayBufferConstructor : public DOMConstructorObject {
+    class JSArrayBufferConstructor : public DOMConstructorObject {
     public:
     public:
-        JSWebGLArrayBufferConstructor(JSC::ExecState*, JSDOMGlobalObject*);
+        JSArrayBufferConstructor(JSC::ExecState*, JSDOMGlobalObject*);
         static const JSC::ClassInfo s_info;
 
     private:
         static const JSC::ClassInfo s_info;
 
     private:
@@ -101,4 +101,4 @@ namespace WebCore {
 
 }
 
 
 }
 
-#endif // JSWebGLArrayBufferConstructor_h
+#endif // JSArrayBufferConstructor_h
similarity index 64%
rename from WebCore/bindings/js/JSWebGLArrayCustom.cpp
rename to WebCore/bindings/js/JSArrayBufferViewCustom.cpp
index d111d4e2b5bc96ce8c22a84875d11556cdcad86c..271d096bb48afe8613d7aeb8acbb50db153d2b3e 100644 (file)
 #if ENABLE(3D_CANVAS)
 
 #include "config.h"
 #if ENABLE(3D_CANVAS)
 
 #include "config.h"
-#include "JSWebGLArray.h"
-#include "JSWebGLByteArray.h"
-#include "JSWebGLUnsignedByteArray.h"
-#include "JSWebGLShortArray.h"
-#include "JSWebGLUnsignedShortArray.h"
-#include "JSWebGLIntArray.h"
-#include "JSWebGLUnsignedIntArray.h"
-#include "JSWebGLFloatArray.h"
+#include "JSArrayBufferView.h"
+#include "JSInt8Array.h"
+#include "JSUint8Array.h"
+#include "JSInt16Array.h"
+#include "JSUint16Array.h"
+#include "JSInt32Array.h"
+#include "JSUint32Array.h"
+#include "JSFloatArray.h"
 
 
-#include "WebGLArray.h"
+#include "ArrayBufferView.h"
 
 using namespace JSC;
 
 namespace WebCore {
 
 
 using namespace JSC;
 
 namespace WebCore {
 
-JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, WebGLArray* object)
+JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, ArrayBufferView* object)
 {
     if (!object)
         return jsUndefined();
         
     if (object) {
         if (object->isFloatArray())
 {
     if (!object)
         return jsUndefined();
         
     if (object) {
         if (object->isFloatArray())
-            return getDOMObjectWrapper<JSWebGLFloatArray>(exec, globalObject, static_cast<WebGLFloatArray*>(object));
+            return getDOMObjectWrapper<JSFloatArray>(exec, globalObject, static_cast<FloatArray*>(object));
         if (object->isUnsignedByteArray())
         if (object->isUnsignedByteArray())
-            return getDOMObjectWrapper<JSWebGLUnsignedByteArray>(exec, globalObject, static_cast<WebGLUnsignedByteArray*>(object));
+            return getDOMObjectWrapper<JSUint8Array>(exec, globalObject, static_cast<Uint8Array*>(object));
         if (object->isByteArray())
         if (object->isByteArray())
-            return getDOMObjectWrapper<JSWebGLByteArray>(exec, globalObject, static_cast<WebGLByteArray*>(object));
+            return getDOMObjectWrapper<JSInt8Array>(exec, globalObject, static_cast<Int8Array*>(object));
         if (object->isIntArray())
         if (object->isIntArray())
-            return getDOMObjectWrapper<JSWebGLIntArray>(exec, globalObject, static_cast<WebGLIntArray*>(object));
+            return getDOMObjectWrapper<JSInt32Array>(exec, globalObject, static_cast<Int32Array*>(object));
         if (object->isUnsignedIntArray())
         if (object->isUnsignedIntArray())
-            return getDOMObjectWrapper<JSWebGLUnsignedIntArray>(exec, globalObject, static_cast<WebGLUnsignedIntArray*>(object));
+            return getDOMObjectWrapper<JSUint32Array>(exec, globalObject, static_cast<Uint32Array*>(object));
         if (object->isShortArray())
         if (object->isShortArray())
-            return getDOMObjectWrapper<JSWebGLShortArray>(exec, globalObject, static_cast<WebGLShortArray*>(object));
+            return getDOMObjectWrapper<JSInt16Array>(exec, globalObject, static_cast<Int16Array*>(object));
         if (object->isUnsignedShortArray())
         if (object->isUnsignedShortArray())
-            return getDOMObjectWrapper<JSWebGLUnsignedShortArray>(exec, globalObject, static_cast<WebGLUnsignedShortArray*>(object));
+            return getDOMObjectWrapper<JSUint16Array>(exec, globalObject, static_cast<Uint16Array*>(object));
     }
     return jsUndefined();
 }
 
     }
     return jsUndefined();
 }
 
-JSValue JSWebGLArray::slice(ExecState* exec, const ArgList& args)
+JSValue JSArrayBufferView::slice(ExecState* exec, const ArgList& args)
 {
 {
-    WebGLArray* array = reinterpret_cast<WebGLArray*>(impl());
+    ArrayBufferView* array = reinterpret_cast<ArrayBufferView*>(impl());
 
     int start, end;
     switch (args.size()) {
 
     int start, end;
     switch (args.size()) {
similarity index 96%
rename from WebCore/bindings/js/JSWebGLArrayHelper.h
rename to WebCore/bindings/js/JSArrayBufferViewHelper.h
index c9b48f41eb5113d1fc89df3e2092f44447f395cf..7243db689e51f4e7782c5ad8214ba7b8a427f50c 100644 (file)
@@ -24,8 +24,8 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#ifndef JSWebGLArrayHelper_h
-#define JSWebGLArrayHelper_h
+#ifndef JSArrayBufferViewHelper_h
+#define JSArrayBufferViewHelper_h
 
 #include "ExceptionCode.h"
 #include "JSDOMBinding.h"
 
 #include "ExceptionCode.h"
 #include "JSDOMBinding.h"
@@ -83,4 +83,4 @@ JSC::JSValue setWebGLArrayHelper(JSC::ExecState* exec, T* impl, JSC::ArgList con
 
 }
 
 
 }
 
-#endif // JSWebGLArrayHelper_h
+#endif // JSArrayBufferViewHelper_h
index 146948372c68b682dae84fa7657070faa20edb74..656d5802dd1104b6501eaa4ab69250223d980a6e 100644 (file)
 #endif
 
 #if ENABLE(3D_CANVAS)
 #endif
 
 #if ENABLE(3D_CANVAS)
-#include "JSWebGLArrayBufferConstructor.h"
-#include "JSWebGLByteArrayConstructor.h"
-#include "JSWebGLUnsignedByteArrayConstructor.h"
-#include "JSWebGLIntArrayConstructor.h"
-#include "JSWebGLUnsignedIntArrayConstructor.h"
-#include "JSWebGLShortArrayConstructor.h"
-#include "JSWebGLUnsignedShortArrayConstructor.h"
-#include "JSWebGLFloatArrayConstructor.h"
+#include "JSArrayBufferConstructor.h"
+#include "JSInt8ArrayConstructor.h"
+#include "JSUint8ArrayConstructor.h"
+#include "JSInt32ArrayConstructor.h"
+#include "JSUint32ArrayConstructor.h"
+#include "JSInt16ArrayConstructor.h"
+#include "JSUint16ArrayConstructor.h"
+#include "JSFloatArrayConstructor.h"
 #endif
 #include "JSWebKitCSSMatrixConstructor.h"
 #include "JSWebKitPointConstructor.h"
 #endif
 #include "JSWebKitCSSMatrixConstructor.h"
 #include "JSWebKitPointConstructor.h"
@@ -571,86 +571,86 @@ JSValue JSDOMWindow::webKitCSSMatrix(ExecState* exec) const
 }
  
 #if ENABLE(3D_CANVAS)
 }
  
 #if ENABLE(3D_CANVAS)
-JSValue JSDOMWindow::webGLArrayBuffer(ExecState* exec) const
+JSValue JSDOMWindow::arrayBuffer(ExecState* exec) const
 {
 {
-    return getDOMConstructor<JSWebGLArrayBufferConstructor>(exec, this);
+    return getDOMConstructor<JSArrayBufferConstructor>(exec, this);
 }
  
 }
  
-JSValue JSDOMWindow::webGLByteArray(ExecState* exec) const
+JSValue JSDOMWindow::int8Array(ExecState* exec) const
 {
 {
-    return getDOMConstructor<JSWebGLByteArrayConstructor>(exec, this);
+    return getDOMConstructor<JSInt8ArrayConstructor>(exec, this);
 }
  
 }
  
-JSValue JSDOMWindow::webGLUnsignedByteArray(ExecState* exec) const
+JSValue JSDOMWindow::uint8Array(ExecState* exec) const
 {
 {
-    return getDOMConstructor<JSWebGLUnsignedByteArrayConstructor>(exec, this);
+    return getDOMConstructor<JSUint8ArrayConstructor>(exec, this);
 }
  
 }
  
-JSValue JSDOMWindow::webGLIntArray(ExecState* exec) const
+JSValue JSDOMWindow::int32Array(ExecState* exec) const
 {
 {
-    return getDOMConstructor<JSWebGLIntArrayConstructor>(exec, this);
+    return getDOMConstructor<JSInt32ArrayConstructor>(exec, this);
 }
  
 }
  
-JSValue JSDOMWindow::webGLUnsignedIntArray(ExecState* exec) const
+JSValue JSDOMWindow::uint32Array(ExecState* exec) const
 {
 {
-    return getDOMConstructor<JSWebGLUnsignedIntArrayConstructor>(exec, this);
+    return getDOMConstructor<JSUint32ArrayConstructor>(exec, this);
 }
  
 }
  
-JSValue JSDOMWindow::webGLShortArray(ExecState* exec) const
+JSValue JSDOMWindow::int16Array(ExecState* exec) const
 {
 {
-    return getDOMConstructor<JSWebGLShortArrayConstructor>(exec, this);
+    return getDOMConstructor<JSInt16ArrayConstructor>(exec, this);
 }
  
 }
  
-JSValue JSDOMWindow::webGLUnsignedShortArray(ExecState* exec) const
+JSValue JSDOMWindow::uint16Array(ExecState* exec) const
 {
 {
-    return getDOMConstructor<JSWebGLUnsignedShortArrayConstructor>(exec, this);
+    return getDOMConstructor<JSUint16ArrayConstructor>(exec, this);
 }
  
 }
  
-JSValue JSDOMWindow::webGLFloatArray(ExecState* exec) const
+JSValue JSDOMWindow::floatArray(ExecState* exec) const
 {
 {
-    return getDOMConstructor<JSWebGLFloatArrayConstructor>(exec, this);
+    return getDOMConstructor<JSFloatArrayConstructor>(exec, this);
 }
 
 // Temporary aliases to keep current WebGL content working during transition period to TypedArray spec.
 // To be removed before WebGL spec is finalized. (FIXME)
 }
 
 // Temporary aliases to keep current WebGL content working during transition period to TypedArray spec.
 // To be removed before WebGL spec is finalized. (FIXME)
-JSValue JSDOMWindow::arrayBuffer(ExecState* exec) const
+JSValue JSDOMWindow::webGLArrayBuffer(ExecState* exec) const
 {
 {
-    return getDOMConstructor<JSWebGLArrayBufferConstructor>(exec, this);
+    return getDOMConstructor<JSArrayBufferConstructor>(exec, this);
 }
 
 }
 
-JSValue JSDOMWindow::int8Array(ExecState* exec) const
+JSValue JSDOMWindow::webGLByteArray(ExecState* exec) const
 {
 {
-    return getDOMConstructor<JSWebGLByteArrayConstructor>(exec, this);
+    return getDOMConstructor<JSInt8ArrayConstructor>(exec, this);
 }
 
 }
 
-JSValue JSDOMWindow::uint8Array(ExecState* exec) const
+JSValue JSDOMWindow::webGLUnsignedByteArray(ExecState* exec) const
 {
 {
-    return getDOMConstructor<JSWebGLUnsignedByteArrayConstructor>(exec, this);
+    return getDOMConstructor<JSUint8ArrayConstructor>(exec, this);
 }
 
 }
 
-JSValue JSDOMWindow::int32Array(ExecState* exec) const
+JSValue JSDOMWindow::webGLIntArray(ExecState* exec) const
 {
 {
-    return getDOMConstructor<JSWebGLIntArrayConstructor>(exec, this);
+    return getDOMConstructor<JSInt32ArrayConstructor>(exec, this);
 }
 
 }
 
-JSValue JSDOMWindow::uint32Array(ExecState* exec) const
+JSValue JSDOMWindow::webGLUnsignedIntArray(ExecState* exec) const
 {
 {
-    return getDOMConstructor<JSWebGLUnsignedIntArrayConstructor>(exec, this);
+    return getDOMConstructor<JSUint32ArrayConstructor>(exec, this);
 }
 
 }
 
-JSValue JSDOMWindow::int16Array(ExecState* exec) const
+JSValue JSDOMWindow::webGLShortArray(ExecState* exec) const
 {
 {
-    return getDOMConstructor<JSWebGLShortArrayConstructor>(exec, this);
+    return getDOMConstructor<JSInt16ArrayConstructor>(exec, this);
 }
 
 }
 
-JSValue JSDOMWindow::uint16Array(ExecState* exec) const
+JSValue JSDOMWindow::webGLUnsignedShortArray(ExecState* exec) const
 {
 {
-    return getDOMConstructor<JSWebGLUnsignedShortArrayConstructor>(exec, this);
+    return getDOMConstructor<JSUint16ArrayConstructor>(exec, this);
 }
 
 }
 
-JSValue JSDOMWindow::floatArray(ExecState* exec) const
+JSValue JSDOMWindow::webGLFloatArray(ExecState* exec) const
 {
 {
-    return getDOMConstructor<JSWebGLFloatArrayConstructor>(exec, this);
+    return getDOMConstructor<JSFloatArrayConstructor>(exec, this);
 }
 #endif
  
 }
 #endif
  
similarity index 67%
rename from WebCore/bindings/js/JSWebGLFloatArrayConstructor.cpp
rename to WebCore/bindings/js/JSFloatArrayConstructor.cpp
index e6375acdfee0212621fe533f3f299d810e187e8e..57374afb7b755b34413b2f5c4576abda61f7f0f5 100644 (file)
 
 #if ENABLE(3D_CANVAS)
 
 
 #if ENABLE(3D_CANVAS)
 
-#include "JSWebGLFloatArrayConstructor.h"
+#include "JSFloatArrayConstructor.h"
 
 #include "Document.h"
 
 #include "Document.h"
-#include "WebGLFloatArray.h"
-#include "JSWebGLArrayBuffer.h"
-#include "JSWebGLArrayBufferConstructor.h"
-#include "JSWebGLFloatArray.h"
+#include "FloatArray.h"
+#include "JSArrayBuffer.h"
+#include "JSArrayBufferConstructor.h"
+#include "JSFloatArray.h"
 #include <runtime/Error.h>
 
 namespace WebCore {
 
 using namespace JSC;
 
 #include <runtime/Error.h>
 
 namespace WebCore {
 
 using namespace JSC;
 
-const ClassInfo JSWebGLFloatArrayConstructor::s_info = { "WebGLFloatArrayConstructor", &JSWebGLArray::s_info, 0, 0 };
+const ClassInfo JSFloatArrayConstructor::s_info = { "FloatArrayConstructor", &JSArrayBufferView::s_info, 0, 0 };
 
 
-JSWebGLFloatArrayConstructor::JSWebGLFloatArrayConstructor(ExecState* exec, JSDOMGlobalObject* globalObject)
-    : DOMConstructorObject(JSWebGLFloatArrayConstructor::createStructure(globalObject->objectPrototype()), globalObject)
+JSFloatArrayConstructor::JSFloatArrayConstructor(ExecState* exec, JSDOMGlobalObject* globalObject)
+    : DOMConstructorObject(JSFloatArrayConstructor::createStructure(globalObject->objectPrototype()), globalObject)
 {
 {
-    putDirect(exec->propertyNames().prototype, JSWebGLFloatArrayPrototype::self(exec, globalObject), None);
+    putDirect(exec->propertyNames().prototype, JSFloatArrayPrototype::self(exec, globalObject), None);
     putDirect(exec->propertyNames().length, jsNumber(exec, 2), ReadOnly|DontDelete|DontEnum);
 }
 
 static JSObject* constructCanvasFloatArray(ExecState* exec, JSObject* constructor, const ArgList& args)
 {
     putDirect(exec->propertyNames().length, jsNumber(exec, 2), ReadOnly|DontDelete|DontEnum);
 }
 
 static JSObject* constructCanvasFloatArray(ExecState* exec, JSObject* constructor, const ArgList& args)
 {
-    JSWebGLFloatArrayConstructor* jsConstructor = static_cast<JSWebGLFloatArrayConstructor*>(constructor);
-    RefPtr<WebGLFloatArray> array = static_cast<WebGLFloatArray*>(construct<WebGLFloatArray, float>(exec, args).get());
+    JSFloatArrayConstructor* jsConstructor = static_cast<JSFloatArrayConstructor*>(constructor);
+    RefPtr<FloatArray> array = static_cast<FloatArray*>(construct<FloatArray, float>(exec, args).get());
     if (!array.get()) {
         setDOMException(exec, INDEX_SIZE_ERR);
         return 0;
     if (!array.get()) {
         setDOMException(exec, INDEX_SIZE_ERR);
         return 0;
@@ -60,7 +60,7 @@ static JSObject* constructCanvasFloatArray(ExecState* exec, JSObject* constructo
     return asObject(toJS(exec, jsConstructor->globalObject(), array.get()));
 }
 
     return asObject(toJS(exec, jsConstructor->globalObject(), array.get()));
 }
 
-JSC::ConstructType JSWebGLFloatArrayConstructor::getConstructData(JSC::ConstructData& constructData)
+JSC::ConstructType JSFloatArrayConstructor::getConstructData(JSC::ConstructData& constructData)
 {
     constructData.native.function = constructCanvasFloatArray;
     return ConstructTypeHost;
 {
     constructData.native.function = constructCanvasFloatArray;
     return ConstructTypeHost;
similarity index 86%
rename from WebCore/bindings/js/JSWebGLIntArrayConstructor.h
rename to WebCore/bindings/js/JSFloatArrayConstructor.h
index d42c0468b080fc8021e6eedb973a06cce425691d..6d2dae7b8a8e96611a382729b056237876afb168 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#ifndef JSWebGLIntArrayConstructor_h
-#define JSWebGLIntArrayConstructor_h
+#ifndef JSFloatArrayConstructor_h
+#define JSFloatArrayConstructor_h
 
 #include "JSDOMBinding.h"
 #include "JSDocument.h"
 
 namespace WebCore {
 
 
 #include "JSDOMBinding.h"
 #include "JSDocument.h"
 
 namespace WebCore {
 
-    class JSWebGLIntArrayConstructor : public DOMConstructorObject {
+    class JSFloatArrayConstructor : public DOMConstructorObject {
     public:
     public:
-        JSWebGLIntArrayConstructor(JSC::ExecState*, JSDOMGlobalObject*);
+        JSFloatArrayConstructor(JSC::ExecState*, JSDOMGlobalObject*);
         static const JSC::ClassInfo s_info;
 
     private:
         static const JSC::ClassInfo s_info;
 
     private:
@@ -43,4 +43,4 @@ namespace WebCore {
 
 }
 
 
 }
 
-#endif // JSWebGLIntArrayConstructor_h
+#endif // JSFloatArrayConstructor_h
similarity index 78%
rename from WebCore/bindings/js/JSWebGLFloatArrayCustom.cpp
rename to WebCore/bindings/js/JSFloatArrayCustom.cpp
index 25615a2ad4741253081e869578b40386dc55d4a0..9e52762584cfdbf011de9e0997b841cbce15dfef 100644 (file)
 
 #if ENABLE(3D_CANVAS)
 
 
 #if ENABLE(3D_CANVAS)
 
-#include "JSWebGLArrayHelper.h"
-#include "JSWebGLFloatArray.h"
+#include "JSArrayBufferViewHelper.h"
+#include "JSFloatArray.h"
 
 
-#include "WebGLFloatArray.h"
+#include "FloatArray.h"
 
 using namespace JSC;
 
 namespace WebCore {
 
 
 using namespace JSC;
 
 namespace WebCore {
 
-void JSWebGLFloatArray::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value)
+void JSFloatArray::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value)
 {
     impl()->set(index, static_cast<float>(value.toNumber(exec)));
 }
 
 {
     impl()->set(index, static_cast<float>(value.toNumber(exec)));
 }
 
-JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, WebGLFloatArray* object)
+JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, FloatArray* object)
 {
 {
-    return getDOMObjectWrapper<JSWebGLFloatArray>(exec, globalObject, object);
+    return getDOMObjectWrapper<JSFloatArray>(exec, globalObject, object);
 }
 
 }
 
-JSC::JSValue JSWebGLFloatArray::set(JSC::ExecState* exec, JSC::ArgList const& args)
+JSC::JSValue JSFloatArray::set(JSC::ExecState* exec, JSC::ArgList const& args)
 {
 {
-    return setWebGLArrayHelper(exec, impl(), args, toWebGLFloatArray);
+    return setWebGLArrayHelper(exec, impl(), args, toFloatArray);
 }
 
 } // namespace WebCore
 }
 
 } // namespace WebCore
similarity index 67%
rename from WebCore/bindings/js/JSWebGLShortArrayConstructor.cpp
rename to WebCore/bindings/js/JSInt16ArrayConstructor.cpp
index a33779b4e55c1c6e3b4fefee512e01cfdb082a62..c8f725f9d9df143c27154f9108e00cdf89278eba 100644 (file)
 
 #if ENABLE(3D_CANVAS)
 
 
 #if ENABLE(3D_CANVAS)
 
-#include "JSWebGLShortArrayConstructor.h"
+#include "JSInt16ArrayConstructor.h"
 
 #include "Document.h"
 
 #include "Document.h"
-#include "WebGLShortArray.h"
-#include "JSWebGLArray.h"
-#include "JSWebGLArrayBuffer.h"
-#include "JSWebGLArrayBufferConstructor.h"
-#include "JSWebGLShortArray.h"
+#include "Int16Array.h"
+#include "JSArrayBufferView.h"
+#include "JSArrayBuffer.h"
+#include "JSArrayBufferConstructor.h"
+#include "JSInt16Array.h"
 #include <runtime/Error.h>
 
 namespace WebCore {
 
 using namespace JSC;
 
 #include <runtime/Error.h>
 
 namespace WebCore {
 
 using namespace JSC;
 
-const ClassInfo JSWebGLShortArrayConstructor::s_info = { "WebGLShortArrayConstructor", &JSWebGLArray::s_info, 0, 0 };
+const ClassInfo JSInt16ArrayConstructor::s_info = { "Int16ArrayConstructor", &JSArrayBufferView::s_info, 0, 0 };
 
 
-JSWebGLShortArrayConstructor::JSWebGLShortArrayConstructor(ExecState* exec, JSDOMGlobalObject* globalObject)
-    : DOMConstructorObject(JSWebGLShortArrayConstructor::createStructure(globalObject->objectPrototype()), globalObject)
+JSInt16ArrayConstructor::JSInt16ArrayConstructor(ExecState* exec, JSDOMGlobalObject* globalObject)
+    : DOMConstructorObject(JSInt16ArrayConstructor::createStructure(globalObject->objectPrototype()), globalObject)
 {
 {
-    putDirect(exec->propertyNames().prototype, JSWebGLShortArrayPrototype::self(exec, globalObject), None);
+    putDirect(exec->propertyNames().prototype, JSInt16ArrayPrototype::self(exec, globalObject), None);
     putDirect(exec->propertyNames().length, jsNumber(exec, 2), ReadOnly|DontDelete|DontEnum);
 }
 
 static JSObject* constructCanvasShortArray(ExecState* exec, JSObject* constructor, const ArgList& args)
 {
     putDirect(exec->propertyNames().length, jsNumber(exec, 2), ReadOnly|DontDelete|DontEnum);
 }
 
 static JSObject* constructCanvasShortArray(ExecState* exec, JSObject* constructor, const ArgList& args)
 {
-    JSWebGLShortArrayConstructor* jsConstructor = static_cast<JSWebGLShortArrayConstructor*>(constructor);
-    RefPtr<WebGLShortArray> array = static_cast<WebGLShortArray*>(construct<WebGLShortArray, short>(exec, args).get());
+    JSInt16ArrayConstructor* jsConstructor = static_cast<JSInt16ArrayConstructor*>(constructor);
+    RefPtr<Int16Array> array = static_cast<Int16Array*>(construct<Int16Array, short>(exec, args).get());
     if (!array.get()) {
         setDOMException(exec, INDEX_SIZE_ERR);
         return 0;
     if (!array.get()) {
         setDOMException(exec, INDEX_SIZE_ERR);
         return 0;
@@ -61,7 +61,7 @@ static JSObject* constructCanvasShortArray(ExecState* exec, JSObject* constructo
     return asObject(toJS(exec, jsConstructor->globalObject(), array.get()));
 }
 
     return asObject(toJS(exec, jsConstructor->globalObject(), array.get()));
 }
 
-JSC::ConstructType JSWebGLShortArrayConstructor::getConstructData(JSC::ConstructData& constructData)
+JSC::ConstructType JSInt16ArrayConstructor::getConstructData(JSC::ConstructData& constructData)
 {
     constructData.native.function = constructCanvasShortArray;
     return ConstructTypeHost;
 {
     constructData.native.function = constructCanvasShortArray;
     return ConstructTypeHost;
similarity index 86%
rename from WebCore/bindings/js/JSWebGLByteArrayConstructor.h
rename to WebCore/bindings/js/JSInt16ArrayConstructor.h
index a201567955dab58f7efa67cd62dbbf141c39c1b6..fb132e33c8fcfa9e50839d960f4550deab9ca0be 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#ifndef JSWebGLByteArrayConstructor_h
-#define JSWebGLByteArrayConstructor_h
+#ifndef JSInt16ArrayConstructor_h
+#define JSInt16ArrayConstructor_h
 
 #include "JSDOMBinding.h"
 #include "JSDocument.h"
 
 namespace WebCore {
 
 
 #include "JSDOMBinding.h"
 #include "JSDocument.h"
 
 namespace WebCore {
 
-    class JSWebGLByteArrayConstructor : public DOMConstructorObject {
+    class JSInt16ArrayConstructor : public DOMConstructorObject {
     public:
     public:
-        JSWebGLByteArrayConstructor(JSC::ExecState*, JSDOMGlobalObject*);
+        JSInt16ArrayConstructor(JSC::ExecState*, JSDOMGlobalObject*);
         static const JSC::ClassInfo s_info;
 
     private:
         static const JSC::ClassInfo s_info;
 
     private:
@@ -43,4 +43,4 @@ namespace WebCore {
 
 }
 
 
 }
 
-#endif // JSWebGLByteArrayConstructor_h
+#endif // JSInt16ArrayConstructor_h
similarity index 78%
rename from WebCore/bindings/js/JSWebGLShortArrayCustom.cpp
rename to WebCore/bindings/js/JSInt16ArrayCustom.cpp
index 84978e4507a5511a6c0b0f50da7a330786e668f5..d557c3dc614c9b1656f2ca69635b577602d6116a 100644 (file)
 
 #if ENABLE(3D_CANVAS)
 
 
 #if ENABLE(3D_CANVAS)
 
-#include "JSWebGLArrayHelper.h"
-#include "JSWebGLShortArray.h"
+#include "JSArrayBufferViewHelper.h"
+#include "JSInt16Array.h"
 
 
-#include "WebGLShortArray.h"
+#include "Int16Array.h"
 
 using namespace JSC;
 
 namespace WebCore {
 
 
 using namespace JSC;
 
 namespace WebCore {
 
-void JSWebGLShortArray::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value)
+void JSInt16Array::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value)
 {
     impl()->set(index, static_cast<signed short>(value.toInt32(exec)));
 }
 
 {
     impl()->set(index, static_cast<signed short>(value.toInt32(exec)));
 }
 
-JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, WebGLShortArray* object)
+JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Int16Array* object)
 {
 {
-    return getDOMObjectWrapper<JSWebGLShortArray>(exec, globalObject, object);
+    return getDOMObjectWrapper<JSInt16Array>(exec, globalObject, object);
 }
 
 }
 
-JSC::JSValue JSWebGLShortArray::set(JSC::ExecState* exec, JSC::ArgList const& args)
+JSC::JSValue JSInt16Array::set(JSC::ExecState* exec, JSC::ArgList const& args)
 {
 {
-    return setWebGLArrayHelper(exec, impl(), args, toWebGLShortArray);
+    return setWebGLArrayHelper(exec, impl(), args, toInt16Array);
 }
 
 } // namespace WebCore
 }
 
 } // namespace WebCore
similarity index 68%
rename from WebCore/bindings/js/JSWebGLIntArrayConstructor.cpp
rename to WebCore/bindings/js/JSInt32ArrayConstructor.cpp
index 5b14803499ca47890ab722dc3f687350c74e0717..5f79f1fb81ba2c6fe4847e30be83cd4beceba74b 100644 (file)
 
 #if ENABLE(3D_CANVAS)
 
 
 #if ENABLE(3D_CANVAS)
 
-#include "JSWebGLIntArrayConstructor.h"
+#include "JSInt32ArrayConstructor.h"
 
 #include "Document.h"
 
 #include "Document.h"
-#include "WebGLIntArray.h"
-#include "JSWebGLArrayBuffer.h"
-#include "JSWebGLArrayBufferConstructor.h"
-#include "JSWebGLIntArray.h"
+#include "Int32Array.h"
+#include "JSArrayBuffer.h"
+#include "JSArrayBufferConstructor.h"
+#include "JSInt32Array.h"
 #include <runtime/Error.h>
 
 namespace WebCore {
 
 using namespace JSC;
 
 #include <runtime/Error.h>
 
 namespace WebCore {
 
 using namespace JSC;
 
-const ClassInfo JSWebGLIntArrayConstructor::s_info = { "WebGLIntArrayConstructor", &JSWebGLArray::s_info, 0, 0 };
+const ClassInfo JSInt32ArrayConstructor::s_info = { "Int32ArrayConstructor", &JSArrayBufferView::s_info, 0, 0 };
 
 
-JSWebGLIntArrayConstructor::JSWebGLIntArrayConstructor(ExecState* exec, JSDOMGlobalObject* globalObject)
-    : DOMConstructorObject(JSWebGLIntArrayConstructor::createStructure(globalObject->objectPrototype()), globalObject)
+JSInt32ArrayConstructor::JSInt32ArrayConstructor(ExecState* exec, JSDOMGlobalObject* globalObject)
+    : DOMConstructorObject(JSInt32ArrayConstructor::createStructure(globalObject->objectPrototype()), globalObject)
 {
 {
-    putDirect(exec->propertyNames().prototype, JSWebGLIntArrayPrototype::self(exec, globalObject), None);
+    putDirect(exec->propertyNames().prototype, JSInt32ArrayPrototype::self(exec, globalObject), None);
     putDirect(exec->propertyNames().length, jsNumber(exec, 2), ReadOnly|DontDelete|DontEnum);
 }
 
 static JSObject* constructCanvasIntArray(ExecState* exec, JSObject* constructor, const ArgList& args)
 {
     putDirect(exec->propertyNames().length, jsNumber(exec, 2), ReadOnly|DontDelete|DontEnum);
 }
 
 static JSObject* constructCanvasIntArray(ExecState* exec, JSObject* constructor, const ArgList& args)
 {
-    JSWebGLIntArrayConstructor* jsConstructor = static_cast<JSWebGLIntArrayConstructor*>(constructor);
-    RefPtr<WebGLIntArray> array = static_cast<WebGLIntArray*>(construct<WebGLIntArray, int>(exec, args).get());
+    JSInt32ArrayConstructor* jsConstructor = static_cast<JSInt32ArrayConstructor*>(constructor);
+    RefPtr<Int32Array> array = static_cast<Int32Array*>(construct<Int32Array, int>(exec, args).get());
     if (!array.get()) {
         setDOMException(exec, INDEX_SIZE_ERR);
         return 0;
     if (!array.get()) {
         setDOMException(exec, INDEX_SIZE_ERR);
         return 0;
@@ -60,7 +60,7 @@ static JSObject* constructCanvasIntArray(ExecState* exec, JSObject* constructor,
     return asObject(toJS(exec, jsConstructor->globalObject(), array.get()));
 }
 
     return asObject(toJS(exec, jsConstructor->globalObject(), array.get()));
 }
 
-JSC::ConstructType JSWebGLIntArrayConstructor::getConstructData(JSC::ConstructData& constructData)
+JSC::ConstructType JSInt32ArrayConstructor::getConstructData(JSC::ConstructData& constructData)
 {
     constructData.native.function = constructCanvasIntArray;
     return ConstructTypeHost;
 {
     constructData.native.function = constructCanvasIntArray;
     return ConstructTypeHost;
similarity index 86%
rename from WebCore/bindings/js/JSWebGLFloatArrayConstructor.h
rename to WebCore/bindings/js/JSInt32ArrayConstructor.h
index faf90ff65294ef6f0922e979f9a7fb823fee202e..f15358c4a01c289c8cd468c8929f1dba9f8b68a0 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#ifndef JSWebGLFloatArrayConstructor_h
-#define JSWebGLFloatArrayConstructor_h
+#ifndef JSInt32ArrayConstructor_h
+#define JSInt32ArrayConstructor_h
 
 #include "JSDOMBinding.h"
 #include "JSDocument.h"
 
 namespace WebCore {
 
 
 #include "JSDOMBinding.h"
 #include "JSDocument.h"
 
 namespace WebCore {
 
-    class JSWebGLFloatArrayConstructor : public DOMConstructorObject {
+    class JSInt32ArrayConstructor : public DOMConstructorObject {
     public:
     public:
-        JSWebGLFloatArrayConstructor(JSC::ExecState*, JSDOMGlobalObject*);
+        JSInt32ArrayConstructor(JSC::ExecState*, JSDOMGlobalObject*);
         static const JSC::ClassInfo s_info;
 
     private:
         static const JSC::ClassInfo s_info;
 
     private:
@@ -43,4 +43,4 @@ namespace WebCore {
 
 }
 
 
 }
 
-#endif // JSWebGLFloatArrayConstructor_h
+#endif // JSInt32ArrayConstructor_h
similarity index 78%
rename from WebCore/bindings/js/JSWebGLIntArrayCustom.cpp
rename to WebCore/bindings/js/JSInt32ArrayCustom.cpp
index 704c4ab00a75563a921afcfc0468c9de705df4e9..3d0ca79697153c43a909f3be282816edcfeb6f75 100644 (file)
 
 #if ENABLE(3D_CANVAS)
 
 
 #if ENABLE(3D_CANVAS)
 
-#include "JSWebGLArrayHelper.h"
-#include "JSWebGLIntArray.h"
+#include "JSArrayBufferViewHelper.h"
+#include "JSInt32Array.h"
 
 
-#include "WebGLIntArray.h"
+#include "Int32Array.h"
 
 using namespace JSC;
 
 namespace WebCore {
 
 
 using namespace JSC;
 
 namespace WebCore {
 
-void JSWebGLIntArray::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value)
+void JSInt32Array::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value)
 {
     impl()->set(index, static_cast<signed int>(value.toInt32(exec)));
 }
 
 {
     impl()->set(index, static_cast<signed int>(value.toInt32(exec)));
 }
 
-JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, WebGLIntArray* object)
+JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Int32Array* object)
 {
 {
-    return getDOMObjectWrapper<JSWebGLIntArray>(exec, globalObject, object);
+    return getDOMObjectWrapper<JSInt32Array>(exec, globalObject, object);
 }
 
 }
 
-JSC::JSValue JSWebGLIntArray::set(JSC::ExecState* exec, JSC::ArgList const& args)
+JSC::JSValue JSInt32Array::set(JSC::ExecState* exec, JSC::ArgList const& args)
 {
 {
-    return setWebGLArrayHelper(exec, impl(), args, toWebGLIntArray);
+    return setWebGLArrayHelper(exec, impl(), args, toInt32Array);
 }
 
 } // namespace WebCore
 }
 
 } // namespace WebCore
similarity index 67%
rename from WebCore/bindings/js/JSWebGLByteArrayConstructor.cpp
rename to WebCore/bindings/js/JSInt8ArrayConstructor.cpp
index f76fb1dfe1a11f122e523c2c8cb30f416b4201e3..ad922fe60d84635749cfaa0e27e202e3c9de7621 100644 (file)
 
 #if ENABLE(3D_CANVAS)
 
 
 #if ENABLE(3D_CANVAS)
 
-#include "JSWebGLByteArrayConstructor.h"
+#include "JSInt8ArrayConstructor.h"
 
 #include "Document.h"
 
 #include "Document.h"
-#include "WebGLByteArray.h"
-#include "JSWebGLArrayBuffer.h"
-#include "JSWebGLArrayBufferConstructor.h"
-#include "JSWebGLByteArray.h"
+#include "Int8Array.h"
+#include "JSArrayBuffer.h"
+#include "JSArrayBufferConstructor.h"
+#include "JSInt8Array.h"
 #include <runtime/Error.h>
 
 namespace WebCore {
 
 using namespace JSC;
 
 #include <runtime/Error.h>
 
 namespace WebCore {
 
 using namespace JSC;
 
-const ClassInfo JSWebGLByteArrayConstructor::s_info = { "WebGLByteArrayConstructor", &JSWebGLArray::s_info, 0, 0 };
+const ClassInfo JSInt8ArrayConstructor::s_info = { "Int8ArrayConstructor", &JSArrayBufferView::s_info, 0, 0 };
 
 
-JSWebGLByteArrayConstructor::JSWebGLByteArrayConstructor(ExecState* exec, JSDOMGlobalObject* globalObject)
-    : DOMConstructorObject(JSWebGLByteArrayConstructor::createStructure(globalObject->objectPrototype()), globalObject)
+JSInt8ArrayConstructor::JSInt8ArrayConstructor(ExecState* exec, JSDOMGlobalObject* globalObject)
+    : DOMConstructorObject(JSInt8ArrayConstructor::createStructure(globalObject->objectPrototype()), globalObject)
 {
 {
-    putDirect(exec->propertyNames().prototype, JSWebGLByteArrayPrototype::self(exec, globalObject), None);
+    putDirect(exec->propertyNames().prototype, JSInt8ArrayPrototype::self(exec, globalObject), None);
     putDirect(exec->propertyNames().length, jsNumber(exec, 2), ReadOnly|DontDelete|DontEnum);
 }
 
 static JSObject* constructCanvasByteArray(ExecState* exec, JSObject* constructor, const ArgList& args)
 {
     putDirect(exec->propertyNames().length, jsNumber(exec, 2), ReadOnly|DontDelete|DontEnum);
 }
 
 static JSObject* constructCanvasByteArray(ExecState* exec, JSObject* constructor, const ArgList& args)
 {
-    JSWebGLByteArrayConstructor* jsConstructor = static_cast<JSWebGLByteArrayConstructor*>(constructor);
-    RefPtr<WebGLByteArray> array = static_cast<WebGLByteArray*>(construct<WebGLByteArray, signed char>(exec, args).get());
+    JSInt8ArrayConstructor* jsConstructor = static_cast<JSInt8ArrayConstructor*>(constructor);
+    RefPtr<Int8Array> array = static_cast<Int8Array*>(construct<Int8Array, signed char>(exec, args).get());
     if (!array.get()) {
         setDOMException(exec, INDEX_SIZE_ERR);
         return 0;
     if (!array.get()) {
         setDOMException(exec, INDEX_SIZE_ERR);
         return 0;
@@ -60,7 +60,7 @@ static JSObject* constructCanvasByteArray(ExecState* exec, JSObject* constructor
     return asObject(toJS(exec, jsConstructor->globalObject(), array.get()));
 }
 
     return asObject(toJS(exec, jsConstructor->globalObject(), array.get()));
 }
 
-JSC::ConstructType JSWebGLByteArrayConstructor::getConstructData(JSC::ConstructData& constructData)
+JSC::ConstructType JSInt8ArrayConstructor::getConstructData(JSC::ConstructData& constructData)
 {
     constructData.native.function = constructCanvasByteArray;
     return ConstructTypeHost;
 {
     constructData.native.function = constructCanvasByteArray;
     return ConstructTypeHost;
similarity index 86%
rename from WebCore/bindings/js/JSWebGLShortArrayConstructor.h
rename to WebCore/bindings/js/JSInt8ArrayConstructor.h
index 7807a137167317bbb5d3b7f516d796fb901e312c..4a9bd3adaa7f3137955cfd61bb69d1f18e915535 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#ifndef JSWebGLShortArrayConstructor_h
-#define JSWebGLShortArrayConstructor_h
+#ifndef JSInt8ArrayConstructor_h
+#define JSInt8ArrayConstructor_h
 
 #include "JSDOMBinding.h"
 #include "JSDocument.h"
 
 namespace WebCore {
 
 
 #include "JSDOMBinding.h"
 #include "JSDocument.h"
 
 namespace WebCore {
 
-    class JSWebGLShortArrayConstructor : public DOMConstructorObject {
+    class JSInt8ArrayConstructor : public DOMConstructorObject {
     public:
     public:
-        JSWebGLShortArrayConstructor(JSC::ExecState*, JSDOMGlobalObject*);
+        JSInt8ArrayConstructor(JSC::ExecState*, JSDOMGlobalObject*);
         static const JSC::ClassInfo s_info;
 
     private:
         static const JSC::ClassInfo s_info;
 
     private:
@@ -43,4 +43,4 @@ namespace WebCore {
 
 }
 
 
 }
 
-#endif // JSWebGLShortArrayConstructor_h
+#endif // JSInt8ArrayConstructor_h
similarity index 78%
rename from WebCore/bindings/js/JSWebGLByteArrayCustom.cpp
rename to WebCore/bindings/js/JSInt8ArrayCustom.cpp
index 9ef632c5179315f9582bdfb5bf929facc7ba5ed4..3c9400278e2dafea7587362f292ffec94e02adcb 100644 (file)
 
 #if ENABLE(3D_CANVAS)
 
 
 #if ENABLE(3D_CANVAS)
 
-#include "JSWebGLArrayHelper.h"
-#include "JSWebGLByteArray.h"
+#include "JSArrayBufferViewHelper.h"
+#include "JSInt8Array.h"
 
 
-#include "WebGLByteArray.h"
+#include "Int8Array.h"
 
 #include <runtime/Error.h>
 
 
 #include <runtime/Error.h>
 
@@ -38,19 +38,19 @@ using namespace JSC;
 
 namespace WebCore {
 
 
 namespace WebCore {
 
-void JSWebGLByteArray::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value)
+void JSInt8Array::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value)
 {
     impl()->set(index, static_cast<signed char>(value.toInt32(exec)));
 }
 
 {
     impl()->set(index, static_cast<signed char>(value.toInt32(exec)));
 }
 
-JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, WebGLByteArray* object)
+JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Int8Array* object)
 {
 {
-    return getDOMObjectWrapper<JSWebGLByteArray>(exec, globalObject, object);
+    return getDOMObjectWrapper<JSInt8Array>(exec, globalObject, object);
 }
 
 }
 
-JSC::JSValue JSWebGLByteArray::set(JSC::ExecState* exec, JSC::ArgList const& args)
+JSC::JSValue JSInt8Array::set(JSC::ExecState* exec, JSC::ArgList const& args)
 {
 {
-    return setWebGLArrayHelper(exec, impl(), args, toWebGLByteArray);
+    return setWebGLArrayHelper(exec, impl(), args, toInt8Array);
 }
 
 } // namespace WebCore
 }
 
 } // namespace WebCore
similarity index 65%
rename from WebCore/bindings/js/JSWebGLUnsignedShortArrayConstructor.cpp
rename to WebCore/bindings/js/JSUint16ArrayConstructor.cpp
index d8c2cfb865c2948eca024cf829bb25896328ff7b..243c3a1ac858c9ff0e2ba388659f90d3826f7670 100644 (file)
 
 #if ENABLE(3D_CANVAS)
 
 
 #if ENABLE(3D_CANVAS)
 
-#include "JSWebGLUnsignedShortArrayConstructor.h"
+#include "JSUint16ArrayConstructor.h"
 
 #include "Document.h"
 
 #include "Document.h"
-#include "WebGLUnsignedShortArray.h"
-#include "JSWebGLArrayBuffer.h"
-#include "JSWebGLArrayBufferConstructor.h"
-#include "JSWebGLUnsignedShortArray.h"
+#include "Uint16Array.h"
+#include "JSArrayBuffer.h"
+#include "JSArrayBufferConstructor.h"
+#include "JSUint16Array.h"
 #include <runtime/Error.h>
 
 namespace WebCore {
 
 using namespace JSC;
 
 #include <runtime/Error.h>
 
 namespace WebCore {
 
 using namespace JSC;
 
-const ClassInfo JSWebGLUnsignedShortArrayConstructor::s_info = { "WebGLUnsignedShortArrayConstructor", &JSWebGLArray::s_info, 0, 0 };
+const ClassInfo JSUint16ArrayConstructor::s_info = { "Uint16ArrayConstructor", &JSArrayBufferView::s_info, 0, 0 };
 
 
-JSWebGLUnsignedShortArrayConstructor::JSWebGLUnsignedShortArrayConstructor(ExecState* exec, JSDOMGlobalObject* globalObject)
-    : DOMConstructorObject(JSWebGLUnsignedShortArrayConstructor::createStructure(globalObject->objectPrototype()), globalObject)
+JSUint16ArrayConstructor::JSUint16ArrayConstructor(ExecState* exec, JSDOMGlobalObject* globalObject)
+    : DOMConstructorObject(JSUint16ArrayConstructor::createStructure(globalObject->objectPrototype()), globalObject)
 {
 {
-    putDirect(exec->propertyNames().prototype, JSWebGLUnsignedShortArrayPrototype::self(exec, globalObject), None);
+    putDirect(exec->propertyNames().prototype, JSUint16ArrayPrototype::self(exec, globalObject), None);
     putDirect(exec->propertyNames().length, jsNumber(exec, 2), ReadOnly|DontDelete|DontEnum);
 }
 
 static JSObject* constructCanvasUnsignedShortArray(ExecState* exec, JSObject* constructor, const ArgList& args)
 {
     putDirect(exec->propertyNames().length, jsNumber(exec, 2), ReadOnly|DontDelete|DontEnum);
 }
 
 static JSObject* constructCanvasUnsignedShortArray(ExecState* exec, JSObject* constructor, const ArgList& args)
 {
-    JSWebGLUnsignedShortArrayConstructor* jsConstructor = static_cast<JSWebGLUnsignedShortArrayConstructor*>(constructor);
-    RefPtr<WebGLUnsignedShortArray> array = static_cast<WebGLUnsignedShortArray*>(construct<WebGLUnsignedShortArray, unsigned short>(exec, args).get());
+    JSUint16ArrayConstructor* jsConstructor = static_cast<JSUint16ArrayConstructor*>(constructor);
+    RefPtr<Uint16Array> array = static_cast<Uint16Array*>(construct<Uint16Array, unsigned short>(exec, args).get());
     if (!array.get()) {
         setDOMException(exec, INDEX_SIZE_ERR);
         return 0;
     if (!array.get()) {
         setDOMException(exec, INDEX_SIZE_ERR);
         return 0;
@@ -60,7 +60,7 @@ static JSObject* constructCanvasUnsignedShortArray(ExecState* exec, JSObject* co
     return asObject(toJS(exec, jsConstructor->globalObject(), array.get()));
 }
 
     return asObject(toJS(exec, jsConstructor->globalObject(), array.get()));
 }
 
-JSC::ConstructType JSWebGLUnsignedShortArrayConstructor::getConstructData(JSC::ConstructData& constructData)
+JSC::ConstructType JSUint16ArrayConstructor::getConstructData(JSC::ConstructData& constructData)
 {
     constructData.native.function = constructCanvasUnsignedShortArray;
     return ConstructTypeHost;
 {
     constructData.native.function = constructCanvasUnsignedShortArray;
     return ConstructTypeHost;
diff --git a/WebCore/bindings/js/JSUint16ArrayConstructor.h b/WebCore/bindings/js/JSUint16ArrayConstructor.h
new file mode 100644 (file)
index 0000000..a146d00
--- /dev/null
@@ -0,0 +1,46 @@
+/*
+ * Copyright (C) 2009 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+ */
+
+#ifndef JSUint16ArrayConstructor_h
+#define JSUint16ArrayConstructor_h
+
+#include "JSDOMBinding.h"
+#include "JSDocument.h"
+
+namespace WebCore {
+
+    class JSUint16ArrayConstructor : public DOMConstructorObject {
+    public:
+        JSUint16ArrayConstructor(JSC::ExecState*, JSDOMGlobalObject*);
+        static const JSC::ClassInfo s_info;
+
+    private:
+        virtual JSC::ConstructType getConstructData(JSC::ConstructData&);
+        virtual const JSC::ClassInfo* classInfo() const { return &s_info; }
+    };
+
+}
+
+#endif // JSUint16ArrayConstructor_h
similarity index 76%
rename from WebCore/bindings/js/JSWebGLUnsignedShortArrayCustom.cpp
rename to WebCore/bindings/js/JSUint16ArrayCustom.cpp
index 14a360a851cfb9cb1b28d0054ca8616174ac022e..bac5220bb2ea75946c93d409dffea59168d7cd9e 100644 (file)
 
 #if ENABLE(3D_CANVAS)
 
 
 #if ENABLE(3D_CANVAS)
 
-#include "JSWebGLArrayHelper.h"
-#include "JSWebGLUnsignedShortArray.h"
+#include "JSArrayBufferViewHelper.h"
+#include "JSUint16Array.h"
 
 
-#include "WebGLUnsignedShortArray.h"
+#include "Uint16Array.h"
 
 using namespace JSC;
 
 namespace WebCore {
 
 
 using namespace JSC;
 
 namespace WebCore {
 
-void JSWebGLUnsignedShortArray::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value)
+void JSUint16Array::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value)
 {
     impl()->set(index, static_cast<unsigned short>(value.toInt32(exec)));
 }
 
 {
     impl()->set(index, static_cast<unsigned short>(value.toInt32(exec)));
 }
 
-JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, WebGLUnsignedShortArray* object)
+JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Uint16Array* object)
 {
 {
-    return getDOMObjectWrapper<JSWebGLUnsignedShortArray>(exec, globalObject, object);
+    return getDOMObjectWrapper<JSUint16Array>(exec, globalObject, object);
 }
 
 }
 
-JSC::JSValue JSWebGLUnsignedShortArray::set(JSC::ExecState* exec, JSC::ArgList const& args)
+JSC::JSValue JSUint16Array::set(JSC::ExecState* exec, JSC::ArgList const& args)
 {
 {
-    return setWebGLArrayHelper(exec, impl(), args, toWebGLUnsignedShortArray);
+    return setWebGLArrayHelper(exec, impl(), args, toUint16Array);
 }
 
 } // namespace WebCore
 }
 
 } // namespace WebCore
similarity index 65%
rename from WebCore/bindings/js/JSWebGLUnsignedIntArrayConstructor.cpp
rename to WebCore/bindings/js/JSUint32ArrayConstructor.cpp
index 23fcccee50d4b876ef71f5436bf129b7675fa31e..b03f093dfb19d322b4ba38e5278113c847e8dade 100644 (file)
 
 #if ENABLE(3D_CANVAS)
 
 
 #if ENABLE(3D_CANVAS)
 
-#include "JSWebGLUnsignedIntArrayConstructor.h"
+#include "JSUint32ArrayConstructor.h"
 
 #include "Document.h"
 
 #include "Document.h"
-#include "WebGLUnsignedIntArray.h"
-#include "JSWebGLArrayBuffer.h"
-#include "JSWebGLArrayBufferConstructor.h"
-#include "JSWebGLUnsignedIntArray.h"
+#include "Uint32Array.h"
+#include "JSArrayBuffer.h"
+#include "JSArrayBufferConstructor.h"
+#include "JSUint32Array.h"
 #include <runtime/Error.h>
 
 namespace WebCore {
 
 using namespace JSC;
 
 #include <runtime/Error.h>
 
 namespace WebCore {
 
 using namespace JSC;
 
-const ClassInfo JSWebGLUnsignedIntArrayConstructor::s_info = { "WebGLUnsignedIntArrayConstructor", &JSWebGLArray::s_info, 0, 0 };
+const ClassInfo JSUint32ArrayConstructor::s_info = { "Uint32ArrayConstructor", &JSArrayBufferView::s_info, 0, 0 };
 
 
-JSWebGLUnsignedIntArrayConstructor::JSWebGLUnsignedIntArrayConstructor(ExecState* exec, JSDOMGlobalObject* globalObject)
-    : DOMConstructorObject(JSWebGLUnsignedIntArrayConstructor::createStructure(globalObject->objectPrototype()), globalObject)
+JSUint32ArrayConstructor::JSUint32ArrayConstructor(ExecState* exec, JSDOMGlobalObject* globalObject)
+    : DOMConstructorObject(JSUint32ArrayConstructor::createStructure(globalObject->objectPrototype()), globalObject)
 {
 {
-    putDirect(exec->propertyNames().prototype, JSWebGLUnsignedIntArrayPrototype::self(exec, globalObject), None);
+    putDirect(exec->propertyNames().prototype, JSUint32ArrayPrototype::self(exec, globalObject), None);
     putDirect(exec->propertyNames().length, jsNumber(exec, 2), ReadOnly|DontDelete|DontEnum);
 }
 
 static JSObject* constructCanvasUnsignedIntArray(ExecState* exec, JSObject* constructor, const ArgList& args)
 {
     putDirect(exec->propertyNames().length, jsNumber(exec, 2), ReadOnly|DontDelete|DontEnum);
 }
 
 static JSObject* constructCanvasUnsignedIntArray(ExecState* exec, JSObject* constructor, const ArgList& args)
 {
-    JSWebGLUnsignedIntArrayConstructor* jsConstructor = static_cast<JSWebGLUnsignedIntArrayConstructor*>(constructor);
-    RefPtr<WebGLUnsignedIntArray> array = static_cast<WebGLUnsignedIntArray*>(construct<WebGLUnsignedIntArray, unsigned int>(exec, args).get());
+    JSUint32ArrayConstructor* jsConstructor = static_cast<JSUint32ArrayConstructor*>(constructor);
+    RefPtr<Uint32Array> array = static_cast<Uint32Array*>(construct<Uint32Array, unsigned int>(exec, args).get());
     if (!array.get()) {
         setDOMException(exec, INDEX_SIZE_ERR);
         return 0;
     if (!array.get()) {
         setDOMException(exec, INDEX_SIZE_ERR);
         return 0;
@@ -60,7 +60,7 @@ static JSObject* constructCanvasUnsignedIntArray(ExecState* exec, JSObject* cons
     return asObject(toJS(exec, jsConstructor->globalObject(), array.get()));
 }
 
     return asObject(toJS(exec, jsConstructor->globalObject(), array.get()));
 }
 
-JSC::ConstructType JSWebGLUnsignedIntArrayConstructor::getConstructData(JSC::ConstructData& constructData)
+JSC::ConstructType JSUint32ArrayConstructor::getConstructData(JSC::ConstructData& constructData)
 {
     constructData.native.function = constructCanvasUnsignedIntArray;
     return ConstructTypeHost;
 {
     constructData.native.function = constructCanvasUnsignedIntArray;
     return ConstructTypeHost;
diff --git a/WebCore/bindings/js/JSUint32ArrayConstructor.h b/WebCore/bindings/js/JSUint32ArrayConstructor.h
new file mode 100644 (file)
index 0000000..a00c071
--- /dev/null
@@ -0,0 +1,46 @@
+/*
+ * Copyright (C) 2009 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+ */
+
+#ifndef JSUint32ArrayConstructor_h
+#define JSUint32ArrayConstructor_h
+
+#include "JSDOMBinding.h"
+#include "JSDocument.h"
+
+namespace WebCore {
+
+    class JSUint32ArrayConstructor : public DOMConstructorObject {
+    public:
+        JSUint32ArrayConstructor(JSC::ExecState*, JSDOMGlobalObject*);
+        static const JSC::ClassInfo s_info;
+
+    private:
+        virtual JSC::ConstructType getConstructData(JSC::ConstructData&);
+        virtual const JSC::ClassInfo* classInfo() const { return &s_info; }
+    };
+
+}
+
+#endif // JSUint32ArrayConstructor_h
similarity index 76%
rename from WebCore/bindings/js/JSWebGLUnsignedIntArrayCustom.cpp
rename to WebCore/bindings/js/JSUint32ArrayCustom.cpp
index c531d04189efc0d6bd96b4e8c08c6eb4f84d6d54..926079d3e3a528a6704e370ddb67ae9c5bffc7fc 100644 (file)
 
 #if ENABLE(3D_CANVAS)
 
 
 #if ENABLE(3D_CANVAS)
 
-#include "JSWebGLArrayHelper.h"
-#include "JSWebGLUnsignedIntArray.h"
+#include "JSArrayBufferViewHelper.h"
+#include "JSUint32Array.h"
 
 
-#include "WebGLUnsignedIntArray.h"
+#include "Uint32Array.h"
 
 using namespace JSC;
 
 namespace WebCore {
 
 
 using namespace JSC;
 
 namespace WebCore {
 
-void JSWebGLUnsignedIntArray::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value)
+void JSUint32Array::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value)
 {
     impl()->set(index, static_cast<unsigned int>(value.toUInt32(exec)));
 }
 
 {
     impl()->set(index, static_cast<unsigned int>(value.toUInt32(exec)));
 }
 
-JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, WebGLUnsignedIntArray* object)
+JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Uint32Array* object)
 {
 {
-    return getDOMObjectWrapper<JSWebGLUnsignedIntArray>(exec, globalObject, object);
+    return getDOMObjectWrapper<JSUint32Array>(exec, globalObject, object);
 }
 
 }
 
-JSC::JSValue JSWebGLUnsignedIntArray::set(JSC::ExecState* exec, JSC::ArgList const& args)
+JSC::JSValue JSUint32Array::set(JSC::ExecState* exec, JSC::ArgList const& args)
 {
 {
-    return setWebGLArrayHelper(exec, impl(), args, toWebGLUnsignedIntArray);
+    return setWebGLArrayHelper(exec, impl(), args, toUint32Array);
 }
 
 } // namespace WebCore
 }
 
 } // namespace WebCore
similarity index 65%
rename from WebCore/bindings/js/JSWebGLUnsignedByteArrayConstructor.cpp
rename to WebCore/bindings/js/JSUint8ArrayConstructor.cpp
index dcb940ee92c195ae50d8780e4d174fb8554a9627..531b860b66854c21e673efaeeb0af12ece828274 100644 (file)
 
 #if ENABLE(3D_CANVAS)
 
 
 #if ENABLE(3D_CANVAS)
 
-#include "JSWebGLUnsignedByteArrayConstructor.h"
+#include "JSUint8ArrayConstructor.h"
 
 #include "Document.h"
 #include "ExceptionCode.h"
 
 #include "Document.h"
 #include "ExceptionCode.h"
-#include "WebGLUnsignedByteArray.h"
-#include "JSWebGLArrayBuffer.h"
-#include "JSWebGLArrayBufferConstructor.h"
-#include "JSWebGLUnsignedByteArray.h"
+#include "Uint8Array.h"
+#include "JSArrayBuffer.h"
+#include "JSArrayBufferConstructor.h"
+#include "JSUint8Array.h"
 #include <runtime/Error.h>
 
 namespace WebCore {
 
 using namespace JSC;
 
 #include <runtime/Error.h>
 
 namespace WebCore {
 
 using namespace JSC;
 
-const ClassInfo JSWebGLUnsignedByteArrayConstructor::s_info = { "WebGLUnsignedByteArrayConstructor", &JSWebGLArray::s_info, 0, 0 };
+const ClassInfo JSUint8ArrayConstructor::s_info = { "Uint8ArrayConstructor", &JSArrayBufferView::s_info, 0, 0 };
 
 
-JSWebGLUnsignedByteArrayConstructor::JSWebGLUnsignedByteArrayConstructor(ExecState* exec, JSDOMGlobalObject* globalObject)
-    : DOMConstructorObject(JSWebGLUnsignedByteArrayConstructor::createStructure(globalObject->objectPrototype()), globalObject)
+JSUint8ArrayConstructor::JSUint8ArrayConstructor(ExecState* exec, JSDOMGlobalObject* globalObject)
+    : DOMConstructorObject(JSUint8ArrayConstructor::createStructure(globalObject->objectPrototype()), globalObject)
 {
 {
-    putDirect(exec->propertyNames().prototype, JSWebGLUnsignedByteArrayPrototype::self(exec, globalObject), None);
+    putDirect(exec->propertyNames().prototype, JSUint8ArrayPrototype::self(exec, globalObject), None);
     putDirect(exec->propertyNames().length, jsNumber(exec, 2), ReadOnly|DontDelete|DontEnum);
 }
 
 static JSObject* constructCanvasUnsignedByteArray(ExecState* exec, JSObject* constructor, const ArgList& args)
 {
     putDirect(exec->propertyNames().length, jsNumber(exec, 2), ReadOnly|DontDelete|DontEnum);
 }
 
 static JSObject* constructCanvasUnsignedByteArray(ExecState* exec, JSObject* constructor, const ArgList& args)
 {
-    JSWebGLUnsignedByteArrayConstructor* jsConstructor = static_cast<JSWebGLUnsignedByteArrayConstructor*>(constructor);
-    RefPtr<WebGLUnsignedByteArray> array = static_cast<WebGLUnsignedByteArray*>(construct<WebGLUnsignedByteArray, unsigned char>(exec, args).get());
+    JSUint8ArrayConstructor* jsConstructor = static_cast<JSUint8ArrayConstructor*>(constructor);
+    RefPtr<Uint8Array> array = static_cast<Uint8Array*>(construct<Uint8Array, unsigned char>(exec, args).get());
     if (!array.get()) {
         setDOMException(exec, INDEX_SIZE_ERR);
         return 0;
     if (!array.get()) {
         setDOMException(exec, INDEX_SIZE_ERR);
         return 0;
@@ -61,7 +61,7 @@ static JSObject* constructCanvasUnsignedByteArray(ExecState* exec, JSObject* con
     return asObject(toJS(exec, jsConstructor->globalObject(), array.get()));
 }
 
     return asObject(toJS(exec, jsConstructor->globalObject(), array.get()));
 }
 
-JSC::ConstructType JSWebGLUnsignedByteArrayConstructor::getConstructData(JSC::ConstructData& constructData)
+JSC::ConstructType JSUint8ArrayConstructor::getConstructData(JSC::ConstructData& constructData)
 {
     constructData.native.function = constructCanvasUnsignedByteArray;
     return ConstructTypeHost;
 {
     constructData.native.function = constructCanvasUnsignedByteArray;
     return ConstructTypeHost;
diff --git a/WebCore/bindings/js/JSUint8ArrayConstructor.h b/WebCore/bindings/js/JSUint8ArrayConstructor.h
new file mode 100644 (file)
index 0000000..05db4ee
--- /dev/null
@@ -0,0 +1,46 @@
+/*
+ * Copyright (C) 2009 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+ */
+
+#ifndef JSUint8ArrayConstructor_h
+#define JSUint8ArrayConstructor_h
+
+#include "JSDOMBinding.h"
+#include "JSDocument.h"
+
+namespace WebCore {
+
+    class JSUint8ArrayConstructor : public DOMConstructorObject {
+    public:
+        JSUint8ArrayConstructor(JSC::ExecState*, JSDOMGlobalObject*);
+        static const JSC::ClassInfo s_info;
+
+    private:
+        virtual JSC::ConstructType getConstructData(JSC::ConstructData&);
+        virtual const JSC::ClassInfo* classInfo() const { return &s_info; }
+    };
+
+}
+
+#endif // JSUint8ArrayConstructor_h
similarity index 76%
rename from WebCore/bindings/js/JSWebGLUnsignedByteArrayCustom.cpp
rename to WebCore/bindings/js/JSUint8ArrayCustom.cpp
index 26f7cd29bc58b6a7ff0b7ca196d47bc3acb067a7..40bfda388e5ee8708af58e8d3a566ca57e0e0dc0 100644 (file)
 
 #if ENABLE(3D_CANVAS)
 
 
 #if ENABLE(3D_CANVAS)
 
-#include "JSWebGLArrayHelper.h"
-#include "JSWebGLUnsignedByteArray.h"
+#include "JSArrayBufferViewHelper.h"
+#include "JSUint8Array.h"
 
 
-#include "WebGLUnsignedByteArray.h"
+#include "Uint8Array.h"
 
 using namespace JSC;
 
 namespace WebCore {
 
 
 using namespace JSC;
 
 namespace WebCore {
 
-void JSWebGLUnsignedByteArray::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value)
+void JSUint8Array::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value)
 {
     impl()->set(index, static_cast<unsigned char>(value.toInt32(exec)));
 }
 
 {
     impl()->set(index, static_cast<unsigned char>(value.toInt32(exec)));
 }
 
-JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, WebGLUnsignedByteArray* object)
+JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Uint8Array* object)
 {
 {
-    return getDOMObjectWrapper<JSWebGLUnsignedByteArray>(exec, globalObject, object);
+    return getDOMObjectWrapper<JSUint8Array>(exec, globalObject, object);
 }
 
 }
 
-JSC::JSValue JSWebGLUnsignedByteArray::set(JSC::ExecState* exec, JSC::ArgList const& args)
+JSC::JSValue JSUint8Array::set(JSC::ExecState* exec, JSC::ArgList const& args)
 {
 {
-    return setWebGLArrayHelper(exec, impl(), args, toWebGLUnsignedByteArray);
+    return setWebGLArrayHelper(exec, impl(), args, toUint8Array);
 }
 
 } // namespace WebCore
 }
 
 } // namespace WebCore
index 41000fdee2e444bb9233cde0591fa7a1b9a04313..c938aecfb34391c05546e4b2da71c502f9990e37 100644 (file)
 #include "JSHTMLImageElement.h"
 #include "JSImageData.h"
 #include "JSWebGLBuffer.h"
 #include "JSHTMLImageElement.h"
 #include "JSImageData.h"
 #include "JSWebGLBuffer.h"
-#include "JSWebGLFloatArray.h"
+#include "JSFloatArray.h"
 #include "JSWebGLFramebuffer.h"
 #include "JSWebGLFramebuffer.h"
-#include "JSWebGLIntArray.h"
+#include "JSInt32Array.h"
 #include "JSWebGLProgram.h"
 #include "JSWebGLRenderbuffer.h"
 #include "JSWebGLShader.h"
 #include "JSWebGLTexture.h"
 #include "JSWebGLUniformLocation.h"
 #include "JSWebGLProgram.h"
 #include "JSWebGLRenderbuffer.h"
 #include "JSWebGLShader.h"
 #include "JSWebGLTexture.h"
 #include "JSWebGLUniformLocation.h"
-#include "JSWebGLUnsignedByteArray.h"
+#include "JSUint8Array.h"
 #include "JSWebKitCSSMatrix.h"
 #include "NotImplemented.h"
 #include "WebGLBuffer.h"
 #include "JSWebKitCSSMatrix.h"
 #include "NotImplemented.h"
 #include "WebGLBuffer.h"
-#include "WebGLFloatArray.h"
+#include "FloatArray.h"
 #include "WebGLFramebuffer.h"
 #include "WebGLGetInfo.h"
 #include "WebGLFramebuffer.h"
 #include "WebGLGetInfo.h"
-#include "WebGLIntArray.h"
+#include "Int32Array.h"
 #include "WebGLProgram.h"
 #include "WebGLRenderingContext.h"
 #include <runtime/Error.h>
 #include "WebGLProgram.h"
 #include "WebGLRenderingContext.h"
 #include <runtime/Error.h>
@@ -81,7 +81,7 @@ JSValue JSWebGLRenderingContext::bufferData(JSC::ExecState* exec, JSC::ArgList c
         unsigned int count = args.at(1).toInt32(exec);
         static_cast<WebGLRenderingContext*>(impl())->bufferData(target, count, usage, ec);
     } else {
         unsigned int count = args.at(1).toInt32(exec);
         static_cast<WebGLRenderingContext*>(impl())->bufferData(target, count, usage, ec);
     } else {
-        WebGLArray* array = toWebGLArray(args.at(1));
+        ArrayBufferView* array = toArrayBufferView(args.at(1));
         static_cast<WebGLRenderingContext*>(impl())->bufferData(target, array, usage, ec);
     }
 
         static_cast<WebGLRenderingContext*>(impl())->bufferData(target, array, usage, ec);
     }
 
@@ -98,7 +98,7 @@ JSValue JSWebGLRenderingContext::bufferSubData(JSC::ExecState* exec, JSC::ArgLis
     unsigned offset = args.at(1).toInt32(exec);
     ExceptionCode ec = 0;
     
     unsigned offset = args.at(1).toInt32(exec);
     ExceptionCode ec = 0;
     
-    WebGLArray* array = toWebGLArray(args.at(2));
+    ArrayBufferView* array = toArrayBufferView(args.at(2));
     
     static_cast<WebGLRenderingContext*>(impl())->bufferSubData(target, offset, array, ec);
 
     
     static_cast<WebGLRenderingContext*>(impl())->bufferSubData(target, offset, array, ec);
 
@@ -311,7 +311,7 @@ JSValue JSWebGLRenderingContext::getVertexAttrib(ExecState* exec, const ArgList&
     return getObjectParameter(this, exec, args, kVertexAttrib);
 }
 
     return getObjectParameter(this, exec, args, kVertexAttrib);
 }
 
-//   void texImage2D(in GLenum target, in GLint level, in GLenum internalformat, in GLsizei width, in GLsizei height, in GLint border, in GLenum format, in GLenum type, in WebGLArray pixels);
+//   void texImage2D(in GLenum target, in GLint level, in GLenum internalformat, in GLsizei width, in GLsizei height, in GLint border, in GLenum format, in GLenum type, in ArrayBufferView pixels);
 //   void texImage2D(in GLenum target, in GLint level, in ImageData pixels, [Optional] GLboolean flipY, [Optional] in premultiplyAlpha);
 //   void texImage2D(in GLenum target, in GLint level, in HTMLImageElement image, [Optional] in GLboolean flipY, [Optional] in premultiplyAlpha);
 //   void texImage2D(in GLenum target, in GLint level, in HTMLCanvasElement canvas, [Optional] in GLboolean flipY, [Optional] in premultiplyAlpha);
 //   void texImage2D(in GLenum target, in GLint level, in ImageData pixels, [Optional] GLboolean flipY, [Optional] in premultiplyAlpha);
 //   void texImage2D(in GLenum target, in GLint level, in HTMLImageElement image, [Optional] in GLboolean flipY, [Optional] in premultiplyAlpha);
 //   void texImage2D(in GLenum target, in GLint level, in HTMLCanvasElement canvas, [Optional] in GLboolean flipY, [Optional] in premultiplyAlpha);
@@ -366,7 +366,7 @@ JSValue JSWebGLRenderingContext::texImage2D(ExecState* exec, const ArgList& args
         if (args.size() != 9)
             return throwError(exec, SyntaxError);
 
         if (args.size() != 9)
             return throwError(exec, SyntaxError);
 
-        // This must be the WebGLArray case
+        // This must be the ArrayBufferView case
         unsigned internalformat = args.at(2).toInt32(exec);
         if (exec->hadException())    
             return jsUndefined();
         unsigned internalformat = args.at(2).toInt32(exec);
         if (exec->hadException())    
             return jsUndefined();
@@ -399,10 +399,10 @@ JSValue JSWebGLRenderingContext::texImage2D(ExecState* exec, const ArgList& args
         else if (value.isObject()) {
             o = asObject(value);
             
         else if (value.isObject()) {
             o = asObject(value);
             
-            if (o->inherits(&JSWebGLArray::s_info)) {
-                // FIXME: Need to check to make sure WebGLArray is a WebGLByteArray or WebGLShortArray,
+            if (o->inherits(&JSArrayBufferView::s_info)) {
+                // FIXME: Need to check to make sure ArrayBufferView is a Int8Array or Int16Array,
                 // depending on the passed type parameter.
                 // depending on the passed type parameter.
-                WebGLArray* obj = static_cast<WebGLArray*>(static_cast<JSWebGLArray*>(o)->impl());
+                ArrayBufferView* obj = static_cast<ArrayBufferView*>(static_cast<JSArrayBufferView*>(o)->impl());
                 context->texImage2D(target, level, internalformat, width, height, border, format, type, obj, ec);
             } else
                 return throwError(exec, TypeError);
                 context->texImage2D(target, level, internalformat, width, height, border, format, type, obj, ec);
             } else
                 return throwError(exec, TypeError);
@@ -414,7 +414,7 @@ JSValue JSWebGLRenderingContext::texImage2D(ExecState* exec, const ArgList& args
     return jsUndefined();    
 }
 
     return jsUndefined();    
 }
 
-//   void texSubImage2D(in GLenum target, in GLint level, in GLint xoffset, in GLint yoffset, in GLsizei width, in GLsizei height, in GLenum format, in GLenum type, in WebGLArray pixels);
+//   void texSubImage2D(in GLenum target, in GLint level, in GLint xoffset, in GLint yoffset, in GLsizei width, in GLsizei height, in GLenum format, in GLenum type, in ArrayBufferView pixels);
 //   void texSubImage2D(in GLenum target, in GLint level, in GLint xoffset, in GLint yoffset, in ImageData pixels, [Optional] GLboolean flipY, [Optional] in premultiplyAlpha);
 //   void texSubImage2D(in GLenum target, in GLint level, in GLint xoffset, in GLint yoffset, in HTMLImageElement image, [Optional] GLboolean flipY, [Optional] in premultiplyAlpha);
 //   void texSubImage2D(in GLenum target, in GLint level, in GLint xoffset, in GLint yoffset, in HTMLCanvasElement canvas, [Optional] GLboolean flipY, [Optional] in premultiplyAlpha);
 //   void texSubImage2D(in GLenum target, in GLint level, in GLint xoffset, in GLint yoffset, in ImageData pixels, [Optional] GLboolean flipY, [Optional] in premultiplyAlpha);
 //   void texSubImage2D(in GLenum target, in GLint level, in GLint xoffset, in GLint yoffset, in HTMLImageElement image, [Optional] GLboolean flipY, [Optional] in premultiplyAlpha);
 //   void texSubImage2D(in GLenum target, in GLint level, in GLint xoffset, in GLint yoffset, in HTMLCanvasElement canvas, [Optional] GLboolean flipY, [Optional] in premultiplyAlpha);
@@ -474,7 +474,7 @@ JSValue JSWebGLRenderingContext::texSubImage2D(ExecState* exec, const ArgList& a
         } else
             ec = TYPE_MISMATCH_ERR;
     } else {
         } else
             ec = TYPE_MISMATCH_ERR;
     } else {
-        // This must be the WebGLArray form
+        // This must be the ArrayBufferView form
         if (args.size() != 9)
             return throwError(exec, SyntaxError);
 
         if (args.size() != 9)
             return throwError(exec, SyntaxError);
 
@@ -500,8 +500,8 @@ JSValue JSWebGLRenderingContext::texSubImage2D(ExecState* exec, const ArgList& a
         else {
             o = asObject(value);
         
         else {
             o = asObject(value);
         
-            if (o->inherits(&JSWebGLArray::s_info)) {
-                WebGLArray* obj = static_cast<WebGLArray*>(static_cast<JSWebGLArray*>(o)->impl());
+            if (o->inherits(&JSArrayBufferView::s_info)) {
+                ArrayBufferView* obj = static_cast<ArrayBufferView*>(static_cast<JSArrayBufferView*>(o)->impl());
                 context->texSubImage2D(target, level, xoff, yoff, width, height, format, type, obj, ec);
             } else
                 return throwError(exec, TypeError);
                 context->texSubImage2D(target, level, xoff, yoff, width, height, format, type, obj, ec);
             } else
                 return throwError(exec, TypeError);
@@ -571,7 +571,7 @@ static JSC::JSValue dataFunctionf(DataFunctionToCall f, JSC::ExecState* exec, co
     if (exec->hadException())
         return jsUndefined();
         
     if (exec->hadException())
         return jsUndefined();
         
-    RefPtr<WebGLFloatArray> webGLArray = toWebGLFloatArray(args.at(1));
+    RefPtr<FloatArray> webGLArray = toFloatArray(args.at(1));
     if (exec->hadException())    
         return jsUndefined();
         
     if (exec->hadException())    
         return jsUndefined();
         
@@ -653,7 +653,7 @@ static JSC::JSValue dataFunctioni(DataFunctionToCall f, JSC::ExecState* exec, co
     if (exec->hadException())
         return jsUndefined();
         
     if (exec->hadException())
         return jsUndefined();
         
-    RefPtr<WebGLIntArray> webGLArray = toWebGLIntArray(args.at(1));
+    RefPtr<Int32Array> webGLArray = toInt32Array(args.at(1));
     if (exec->hadException())    
         return jsUndefined();
         
     if (exec->hadException())    
         return jsUndefined();
         
@@ -720,7 +720,7 @@ static JSC::JSValue dataFunctionMatrix(DataFunctionMatrixToCall f, JSC::ExecStat
     if (exec->hadException())    
         return jsUndefined();
         
     if (exec->hadException())    
         return jsUndefined();
         
-    RefPtr<WebGLFloatArray> webGLArray = toWebGLFloatArray(args.at(2));
+    RefPtr<FloatArray> webGLArray = toFloatArray(args.at(2));
     if (exec->hadException())    
         return jsUndefined();
         
     if (exec->hadException())    
         return jsUndefined();
         
diff --git a/WebCore/bindings/js/JSWebGLUnsignedByteArrayConstructor.h b/WebCore/bindings/js/JSWebGLUnsignedByteArrayConstructor.h
deleted file mode 100644 (file)
index d90ce96..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2009 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#ifndef JSWebGLUnsignedByteArrayConstructor_h
-#define JSWebGLUnsignedByteArrayConstructor_h
-
-#include "JSDOMBinding.h"
-#include "JSDocument.h"
-
-namespace WebCore {
-
-    class JSWebGLUnsignedByteArrayConstructor : public DOMConstructorObject {
-    public:
-        JSWebGLUnsignedByteArrayConstructor(JSC::ExecState*, JSDOMGlobalObject*);
-        static const JSC::ClassInfo s_info;
-
-    private:
-        virtual JSC::ConstructType getConstructData(JSC::ConstructData&);
-        virtual const JSC::ClassInfo* classInfo() const { return &s_info; }
-    };
-
-}
-
-#endif // JSWebGLUnsignedByteArrayConstructor_h
diff --git a/WebCore/bindings/js/JSWebGLUnsignedIntArrayConstructor.h b/WebCore/bindings/js/JSWebGLUnsignedIntArrayConstructor.h
deleted file mode 100644 (file)
index 7eabbc1..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2009 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#ifndef JSWebGLUnsignedIntArrayConstructor_h
-#define JSWebGLUnsignedIntArrayConstructor_h
-
-#include "JSDOMBinding.h"
-#include "JSDocument.h"
-
-namespace WebCore {
-
-    class JSWebGLUnsignedIntArrayConstructor : public DOMConstructorObject {
-    public:
-        JSWebGLUnsignedIntArrayConstructor(JSC::ExecState*, JSDOMGlobalObject*);
-        static const JSC::ClassInfo s_info;
-
-    private:
-        virtual JSC::ConstructType getConstructData(JSC::ConstructData&);
-        virtual const JSC::ClassInfo* classInfo() const { return &s_info; }
-    };
-
-}
-
-#endif // JSWebGLUnsignedIntArrayConstructor_h
diff --git a/WebCore/bindings/js/JSWebGLUnsignedShortArrayConstructor.h b/WebCore/bindings/js/JSWebGLUnsignedShortArrayConstructor.h
deleted file mode 100644 (file)
index 5eba20d..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2009 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#ifndef JSWebGLUnsignedShortArrayConstructor_h
-#define JSWebGLUnsignedShortArrayConstructor_h
-
-#include "JSDOMBinding.h"
-#include "JSDocument.h"
-
-namespace WebCore {
-
-    class JSWebGLUnsignedShortArrayConstructor : public DOMConstructorObject {
-    public:
-        JSWebGLUnsignedShortArrayConstructor(JSC::ExecState*, JSDOMGlobalObject*);
-        static const JSC::ClassInfo s_info;
-
-    private:
-        virtual JSC::ConstructType getConstructData(JSC::ConstructData&);
-        virtual const JSC::ClassInfo* classInfo() const { return &s_info; }
-    };
-
-}
-
-#endif // JSWebGLUnsignedShortArrayConstructor_h
index 04ddc457ef08a0a8bfcdc68ff9d186383388bc51..f8426dc714d4b355bb1e1c0024bd08dc1c6c96a4 100644 (file)
@@ -68,7 +68,7 @@
 #include "V8WorkerContext.h"
 #include "V8WorkerContextEventListener.h"
 #include "V8XMLHttpRequest.h"
 #include "V8WorkerContext.h"
 #include "V8WorkerContextEventListener.h"
 #include "V8XMLHttpRequest.h"
-#include "WebGLArray.h"
+#include "ArrayBufferView.h"
 #include "WebGLContextAttributes.h"
 #include "WebGLUniformLocation.h"
 #include "WorkerContextExecutionProxy.h"
 #include "WebGLContextAttributes.h"
 #include "WebGLUniformLocation.h"
 #include "WorkerContextExecutionProxy.h"
similarity index 80%
rename from WebCore/bindings/v8/custom/V8WebGLArrayBufferCustom.cpp
rename to WebCore/bindings/v8/custom/V8ArrayBufferCustom.cpp
index d3e6cb5f2082dbf0d570dc05ba6dc8c2ed133d23..3e48f4bf2be1c218a02e2476f5c011951c55d5af 100644 (file)
 
 #if ENABLE(3D_CANVAS)
 
 
 #if ENABLE(3D_CANVAS)
 
-#include "WebGLArrayBuffer.h"
+#include "ArrayBuffer.h"
 
 #include "V8Binding.h"
 
 #include "V8Binding.h"
-#include "V8WebGLArrayBuffer.h"
+#include "V8ArrayBuffer.h"
 #include "V8Proxy.h"
 
 namespace WebCore {
 
 #include "V8Proxy.h"
 
 namespace WebCore {
 
-v8::Handle<v8::Value> V8WebGLArrayBuffer::constructorCallback(const v8::Arguments& args)
+v8::Handle<v8::Value> V8ArrayBuffer::constructorCallback(const v8::Arguments& args)
 {
 {
-    INC_STATS("DOM.WebGLArrayBuffer.Constructor");
+    INC_STATS("DOM.ArrayBuffer.Constructor");
 
     if (!args.IsConstructCall())
         return throwError("DOM object constructor cannot be called as a function.");
 
 
     if (!args.IsConstructCall())
         return throwError("DOM object constructor cannot be called as a function.");
 
-    // If we return a previously constructed WebGLArrayBuffer,
-    // e.g. from the call to WebGLArray.buffer, this code is called
+    // If we return a previously constructed ArrayBuffer,
+    // e.g. from the call to ArrayBufferView.buffer, this code is called
     // with a zero-length argument list. The V8DOMWrapper will then
     // set the internal pointer in the newly-created object.
     // Unfortunately it doesn't look like it's possible to distinguish
     // between this case and that where the user calls "new
     // with a zero-length argument list. The V8DOMWrapper will then
     // set the internal pointer in the newly-created object.
     // Unfortunately it doesn't look like it's possible to distinguish
     // between this case and that where the user calls "new
-    // WebGLArrayBuffer()" from JavaScript. To guard against problems,
-    // we always create at least a zero-length WebGLArrayBuffer, even
+    // ArrayBuffer()" from JavaScript. To guard against problems,
+    // we always create at least a zero-length ArrayBuffer, even
     // if it is immediately overwritten by the V8DOMWrapper.
 
     // Supported constructors:
     // if it is immediately overwritten by the V8DOMWrapper.
 
     // Supported constructors:
-    // WebGLArrayBuffer(n) where n is an integer:
+    // ArrayBuffer(n) where n is an integer:
     //   -- create an empty buffer of n bytes
 
     int argLen = args.Length();
     //   -- create an empty buffer of n bytes
 
     int argLen = args.Length();
@@ -68,11 +68,11 @@ v8::Handle<v8::Value> V8WebGLArrayBuffer::constructorCallback(const v8::Argument
     int len = 0;
     if (argLen > 0) {
         if (!args[0]->IsInt32())
     int len = 0;
     if (argLen > 0) {
         if (!args[0]->IsInt32())
-            return throwError("Argument to WebGLArrayBuffer constructor was not an integer");
+            return throwError("Argument to ArrayBuffer constructor was not an integer");
         len = toInt32(args[0]);
     }
 
         len = toInt32(args[0]);
     }
 
-    RefPtr<WebGLArrayBuffer> buffer = WebGLArrayBuffer::create(len, 1);
+    RefPtr<ArrayBuffer> buffer = ArrayBuffer::create(len, 1);
     if (!buffer.get()) {
         V8Proxy::setDOMException(INDEX_SIZE_ERR);
         return v8::Undefined();
     if (!buffer.get()) {
         V8Proxy::setDOMException(INDEX_SIZE_ERR);
         return v8::Undefined();
similarity index 72%
rename from WebCore/bindings/v8/custom/V8WebGLArrayCustom.cpp
rename to WebCore/bindings/v8/custom/V8ArrayBufferViewCustom.cpp
index e15fa1189492bdd736a6d70251caa5bc0c427f14..6ae3a3e2e7d6fcb72cd77d0fd57a2f735dbe66ef 100644 (file)
 #include "config.h"
 
 #if ENABLE(3D_CANVAS)
 #include "config.h"
 
 #if ENABLE(3D_CANVAS)
-#include "V8WebGLArray.h"
+#include "V8ArrayBufferView.h"
 
 #include "V8Binding.h"
 #include "V8Proxy.h"
 
 #include "V8Binding.h"
 #include "V8Proxy.h"
-#include "V8WebGLByteArray.h"
-#include "V8WebGLFloatArray.h"
-#include "V8WebGLIntArray.h"
-#include "V8WebGLShortArray.h"
-#include "V8WebGLUnsignedByteArray.h"
-#include "V8WebGLUnsignedIntArray.h"
-#include "V8WebGLUnsignedShortArray.h"
+#include "V8Int8Array.h"
+#include "V8FloatArray.h"
+#include "V8Int32Array.h"
+#include "V8Int16Array.h"
+#include "V8Uint8Array.h"
+#include "V8Uint32Array.h"
+#include "V8Uint16Array.h"
 
 namespace WebCore {
 
 
 namespace WebCore {
 
-v8::Handle<v8::Value> toV8(WebGLArray* impl)
+v8::Handle<v8::Value> toV8(ArrayBufferView* impl)
 {
     if (!impl)
         return v8::Null();
     if (impl->isByteArray())
 {
     if (!impl)
         return v8::Null();
     if (impl->isByteArray())
-        return toV8(static_cast<WebGLByteArray*>(impl));
+        return toV8(static_cast<Int8Array*>(impl));
     if (impl->isFloatArray())
     if (impl->isFloatArray())
-        return toV8(static_cast<WebGLFloatArray*>(impl));
+        return toV8(static_cast<FloatArray*>(impl));
     if (impl->isIntArray())
     if (impl->isIntArray())
-        return toV8(static_cast<WebGLIntArray*>(impl));
+        return toV8(static_cast<Int32Array*>(impl));
     if (impl->isShortArray())
     if (impl->isShortArray())
-        return toV8(static_cast<WebGLShortArray*>(impl));
+        return toV8(static_cast<Int16Array*>(impl));
     if (impl->isUnsignedByteArray())
     if (impl->isUnsignedByteArray())
-        return toV8(static_cast<WebGLUnsignedByteArray*>(impl));
+        return toV8(static_cast<Uint8Array*>(impl));
     if (impl->isUnsignedIntArray())
     if (impl->isUnsignedIntArray())
-        return toV8(static_cast<WebGLUnsignedIntArray*>(impl));
+        return toV8(static_cast<Uint32Array*>(impl));
     if (impl->isUnsignedShortArray())
     if (impl->isUnsignedShortArray())
-        return toV8(static_cast<WebGLUnsignedShortArray*>(impl));
+        return toV8(static_cast<Uint16Array*>(impl));
     return v8::Handle<v8::Value>();
 }
 
     return v8::Handle<v8::Value>();
 }
 
-v8::Handle<v8::Value> V8WebGLArray::sliceCallback(const v8::Arguments& args)
+v8::Handle<v8::Value> V8ArrayBufferView::sliceCallback(const v8::Arguments& args)
 {
 {
-    INC_STATS("DOM.WebGLArray.slice");
+    INC_STATS("DOM.ArrayBufferView.slice");
     // Forms:
     // * slice(long start, long end);
 
     // Forms:
     // * slice(long start, long end);
 
-    WebGLArray* imp = V8WebGLArray::toNative(args.Holder());
+    ArrayBufferView* imp = V8ArrayBufferView::toNative(args.Holder());
     int start, end;
     switch (args.Length()) {
     case 0:
     int start, end;
     switch (args.Length()) {
     case 0:
similarity index 93%
rename from WebCore/bindings/v8/custom/V8WebGLArrayCustom.h
rename to WebCore/bindings/v8/custom/V8ArrayBufferViewCustom.h
index 6015dd91afa3117a0e3f93ce7c3b2f1a103c0162..cc34778a78a8b272ea4f5bba4d2011a36a1c0906 100644 (file)
 
 #if ENABLE(3D_CANVAS)
 
 
 #if ENABLE(3D_CANVAS)
 
-#include "WebGLArrayBuffer.h"
+#include "ArrayBuffer.h"
 
 #include "V8Binding.h"
 
 #include "V8Binding.h"
-#include "V8WebGLArrayBuffer.h"
+#include "V8ArrayBuffer.h"
 #include "V8Proxy.h"
 
 namespace WebCore {
 
 #include "V8Proxy.h"
 
 namespace WebCore {
 
-// Template function used by the WebGLArray*Constructor callbacks.
+// Template function used by the ArrayBufferView*Constructor callbacks.
 template<class ArrayClass, class ElementType>
 v8::Handle<v8::Value> constructWebGLArray(const v8::Arguments& args, WrapperTypeInfo* type, v8::ExternalArrayType arrayType)
 {
 template<class ArrayClass, class ElementType>
 v8::Handle<v8::Value> constructWebGLArray(const v8::Arguments& args, WrapperTypeInfo* type, v8::ExternalArrayType arrayType)
 {
@@ -50,7 +50,7 @@ v8::Handle<v8::Value> constructWebGLArray(const v8::Arguments& args, WrapperType
     int argLen = args.Length();
     if (argLen == 0) {
         // This happens when we return a previously constructed
     int argLen = args.Length();
     if (argLen == 0) {
         // This happens when we return a previously constructed
-        // WebGLArray, e.g. from the call to WebGL<T>Array.slice().
+        // ArrayBufferView, e.g. from the call to WebGL<T>Array.slice().
         // The V8DOMWrapper will set the internal pointer in the
         // created object. Unfortunately it doesn't look like it's
         // possible to distinguish between this case and that where
         // The V8DOMWrapper will set the internal pointer in the
         // created object. Unfortunately it doesn't look like it's
         // possible to distinguish between this case and that where
@@ -64,15 +64,15 @@ v8::Handle<v8::Value> constructWebGLArray(const v8::Arguments& args, WrapperType
     // WebGL<T>Array(arr) where arr is an array:
     //   -- create a WebGL<T>Array containing the contents of "arr"
     // WebGL<T>Array(buf, offset, length)
     // WebGL<T>Array(arr) where arr is an array:
     //   -- create a WebGL<T>Array containing the contents of "arr"
     // WebGL<T>Array(buf, offset, length)
-    //   -- create a WebGL<T>Array pointing to the WebGLArrayBuffer
+    //   -- create a WebGL<T>Array pointing to the ArrayBuffer
     //      "buf", starting at the specified offset, for the given
     //      length
 
     //      "buf", starting at the specified offset, for the given
     //      length
 
-    // See whether the first argument is a WebGLArrayBuffer.
-    if (V8WebGLArrayBuffer::HasInstance(args[0])) {
-        WebGLArrayBuffer* buf = V8WebGLArrayBuffer::toNative(args[0]->ToObject());
+    // See whether the first argument is a ArrayBuffer.
+    if (V8ArrayBuffer::HasInstance(args[0])) {
+        ArrayBuffer* buf = V8ArrayBuffer::toNative(args[0]->ToObject());
         if (!buf)
         if (!buf)
-            return throwError("Could not convert argument 0 to a WebGLArrayBuffer");
+            return throwError("Could not convert argument 0 to a ArrayBuffer");
         bool ok;
         uint32_t offset = 0;
         if (argLen > 1) {
         bool ok;
         uint32_t offset = 0;
         if (argLen > 1) {
@@ -115,7 +115,7 @@ v8::Handle<v8::Value> constructWebGLArray(const v8::Arguments& args, WrapperType
         return v8::Undefined();
     }
     if (!srcArray.IsEmpty()) {
         return v8::Undefined();
     }
     if (!srcArray.IsEmpty()) {
-        // Need to copy the incoming array into the newly created WebGLArray.
+        // Need to copy the incoming array into the newly created ArrayBufferView.
         for (unsigned i = 0; i < len; i++) {
             v8::Local<v8::Value> val = srcArray->Get(v8::Integer::NewFromUnsigned(i));
             array->set(i, val->NumberValue());
         for (unsigned i = 0; i < len; i++) {
             v8::Local<v8::Value> val = srcArray->Get(v8::Integer::NewFromUnsigned(i));
             array->set(i, val->NumberValue());
index 6ffb096be634526e4b646d69efac253dc350d21d..7792ca4ce059fb0816b881c7c61767f81b2a783f 100644 (file)
 #include "WebSocket.h"
 #endif
 #if ENABLE(3D_CANVAS)
 #include "WebSocket.h"
 #endif
 #if ENABLE(3D_CANVAS)
-#include "V8WebGLArrayBuffer.h"
-#include "V8WebGLByteArray.h"
-#include "V8WebGLFloatArray.h"
-#include "V8WebGLIntArray.h"
-#include "V8WebGLShortArray.h"
-#include "V8WebGLUnsignedByteArray.h"
-#include "V8WebGLUnsignedIntArray.h"
-#include "V8WebGLUnsignedShortArray.h"
+#include "V8ArrayBuffer.h"
+#include "V8Int8Array.h"
+#include "V8FloatArray.h"
+#include "V8Int32Array.h"
+#include "V8Int16Array.h"
+#include "V8Uint8Array.h"
+#include "V8Uint32Array.h"
+#include "V8Uint16Array.h"
 #endif
 #include "WindowFeatures.h"
 
 #endif
 #include "WindowFeatures.h"
 
@@ -263,52 +263,52 @@ v8::Handle<v8::Value> V8DOMWindow::OptionAccessorGetter(v8::Local<v8::String> na
 
 // Temporary aliases to keep current WebGL content working during transition period to TypedArray spec.
 // To be removed before WebGL spec is finalized. (FIXME)
 
 // Temporary aliases to keep current WebGL content working during transition period to TypedArray spec.
 // To be removed before WebGL spec is finalized. (FIXME)
-v8::Handle<v8::Value> V8DOMWindow::ArrayBufferAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
+v8::Handle<v8::Value> V8DOMWindow::WebGLArrayBufferAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
 {
     DOMWindow* window = V8DOMWindow::toNative(info.Holder());
 {
     DOMWindow* window = V8DOMWindow::toNative(info.Holder());
-    return V8DOMWrapper::getConstructor(&V8WebGLArrayBuffer::info, window);
+    return V8DOMWrapper::getConstructor(&V8ArrayBuffer::info, window);
 }
 
 }
 
-v8::Handle<v8::Value> V8DOMWindow::Int8ArrayAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
+v8::Handle<v8::Value> V8DOMWindow::WebGLByteArrayAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
 {
     DOMWindow* window = V8DOMWindow::toNative(info.Holder());
 {
     DOMWindow* window = V8DOMWindow::toNative(info.Holder());
-    return V8DOMWrapper::getConstructor(&V8WebGLByteArray::info, window);
+    return V8DOMWrapper::getConstructor(&V8Int8Array::info, window);
 }
 
 }
 
-v8::Handle<v8::Value> V8DOMWindow::Uint8ArrayAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
+v8::Handle<v8::Value> V8DOMWindow::WebGLUnsignedByteArrayAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
 {
     DOMWindow* window = V8DOMWindow::toNative(info.Holder());
 {
     DOMWindow* window = V8DOMWindow::toNative(info.Holder());
-    return V8DOMWrapper::getConstructor(&V8WebGLUnsignedByteArray::info, window);
+    return V8DOMWrapper::getConstructor(&V8Uint8Array::info, window);
 }
 
 }
 
-v8::Handle<v8::Value> V8DOMWindow::Int16ArrayAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
+v8::Handle<v8::Value> V8DOMWindow::WebGLShortArrayAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
 {
     DOMWindow* window = V8DOMWindow::toNative(info.Holder());
 {
     DOMWindow* window = V8DOMWindow::toNative(info.Holder());
-    return V8DOMWrapper::getConstructor(&V8WebGLShortArray::info, window);
+    return V8DOMWrapper::getConstructor(&V8Int16Array::info, window);
 }
 
 }
 
-v8::Handle<v8::Value> V8DOMWindow::Uint16ArrayAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
+v8::Handle<v8::Value> V8DOMWindow::WebGLUnsignedShortArrayAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
 {
     DOMWindow* window = V8DOMWindow::toNative(info.Holder());
 {
     DOMWindow* window = V8DOMWindow::toNative(info.Holder());
-    return V8DOMWrapper::getConstructor(&V8WebGLUnsignedShortArray::info, window);
+    return V8DOMWrapper::getConstructor(&V8Uint16Array::info, window);
 }
 
 }
 
-v8::Handle<v8::Value> V8DOMWindow::Int32ArrayAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
+v8::Handle<v8::Value> V8DOMWindow::WebGLIntArrayAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
 {
     DOMWindow* window = V8DOMWindow::toNative(info.Holder());
 {
     DOMWindow* window = V8DOMWindow::toNative(info.Holder());
-    return V8DOMWrapper::getConstructor(&V8WebGLIntArray::info, window);
+    return V8DOMWrapper::getConstructor(&V8Int32Array::info, window);
 }
 
 }
 
-v8::Handle<v8::Value> V8DOMWindow::Uint32ArrayAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
+v8::Handle<v8::Value> V8DOMWindow::WebGLUnsignedIntArrayAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
 {
     DOMWindow* window = V8DOMWindow::toNative(info.Holder());
 {
     DOMWindow* window = V8DOMWindow::toNative(info.Holder());
-    return V8DOMWrapper::getConstructor(&V8WebGLUnsignedIntArray::info, window);
+    return V8DOMWrapper::getConstructor(&V8Uint32Array::info, window);
 }
 
 }
 
-v8::Handle<v8::Value> V8DOMWindow::FloatArrayAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
+v8::Handle<v8::Value> V8DOMWindow::WebGLFloatArrayAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
 {
     DOMWindow* window = V8DOMWindow::toNative(info.Holder());
 {
     DOMWindow* window = V8DOMWindow::toNative(info.Holder());
-    return V8DOMWrapper::getConstructor(&V8WebGLFloatArray::info, window);
+    return V8DOMWrapper::getConstructor(&V8FloatArray::info, window);
 }
 
 #endif
 }
 
 #endif
similarity index 73%
rename from WebCore/bindings/v8/custom/V8WebGLFloatArrayCustom.cpp
rename to WebCore/bindings/v8/custom/V8FloatArrayCustom.cpp
index 71b3e76e35858d1e22462dc82d9a6c81aa0d115e..ebc65dbd429cbf37bffcea9e9d5bc4a02497aa4a 100644 (file)
 
 #if ENABLE(3D_CANVAS)
 
 
 #if ENABLE(3D_CANVAS)
 
-#include "WebGLArrayBuffer.h"
-#include "WebGLFloatArray.h"
+#include "ArrayBuffer.h"
+#include "FloatArray.h"
 
 #include "V8Binding.h"
 
 #include "V8Binding.h"
-#include "V8WebGLArrayBuffer.h"
-#include "V8WebGLArrayCustom.h"
-#include "V8WebGLFloatArray.h"
+#include "V8ArrayBuffer.h"
+#include "V8ArrayBufferViewCustom.h"
+#include "V8FloatArray.h"
 #include "V8Proxy.h"
 
 namespace WebCore {
 
 #include "V8Proxy.h"
 
 namespace WebCore {
 
-v8::Handle<v8::Value> V8WebGLFloatArray::constructorCallback(const v8::Arguments& args)
+v8::Handle<v8::Value> V8FloatArray::constructorCallback(const v8::Arguments& args)
 {
 {
-    INC_STATS("DOM.WebGLFloatArray.Contructor");
+    INC_STATS("DOM.FloatArray.Contructor");
 
 
-    return constructWebGLArray<WebGLFloatArray, float>(args, &info, v8::kExternalFloatArray);
+    return constructWebGLArray<FloatArray, float>(args, &info, v8::kExternalFloatArray);
 }
 
 }
 
-v8::Handle<v8::Value> V8WebGLFloatArray::setCallback(const v8::Arguments& args)
+v8::Handle<v8::Value> V8FloatArray::setCallback(const v8::Arguments& args)
 {
 {
-    INC_STATS("DOM.WebGLFloatArray.set()");
-    return setWebGLArrayHelper<WebGLFloatArray, V8WebGLFloatArray>(args);
+    INC_STATS("DOM.FloatArray.set()");
+    return setWebGLArrayHelper<FloatArray, V8FloatArray>(args);
 }
 
 }
 
-v8::Handle<v8::Value> toV8(WebGLFloatArray* impl)
+v8::Handle<v8::Value> toV8(FloatArray* impl)
 {
     if (!impl)
         return v8::Null();
 {
     if (!impl)
         return v8::Null();
-    v8::Handle<v8::Object> wrapper = V8WebGLFloatArray::wrap(impl);
+    v8::Handle<v8::Object> wrapper = V8FloatArray::wrap(impl);
     if (!wrapper.IsEmpty())
         wrapper->SetIndexedPropertiesToExternalArrayData(impl->baseAddress(), v8::kExternalFloatArray, impl->length());
     return wrapper;
     if (!wrapper.IsEmpty())
         wrapper->SetIndexedPropertiesToExternalArrayData(impl->baseAddress(), v8::kExternalFloatArray, impl->length());
     return wrapper;
similarity index 73%
rename from WebCore/bindings/v8/custom/V8WebGLShortArrayCustom.cpp
rename to WebCore/bindings/v8/custom/V8Int16ArrayCustom.cpp
index 663d70bb1fd52d1419b04b627e2f3aa416f8e894..515af24ee3d9b179f46261987c048da62c5320f7 100644 (file)
 
 #if ENABLE(3D_CANVAS)
 
 
 #if ENABLE(3D_CANVAS)
 
-#include "WebGLArrayBuffer.h"
-#include "WebGLShortArray.h"
+#include "ArrayBuffer.h"
+#include "Int16Array.h"
 
 #include "V8Binding.h"
 
 #include "V8Binding.h"
-#include "V8WebGLArrayBuffer.h"
-#include "V8WebGLArrayCustom.h"
-#include "V8WebGLShortArray.h"
+#include "V8ArrayBuffer.h"
+#include "V8ArrayBufferViewCustom.h"
+#include "V8Int16Array.h"
 #include "V8Proxy.h"
 
 namespace WebCore {
 
 #include "V8Proxy.h"
 
 namespace WebCore {
 
-v8::Handle<v8::Value> V8WebGLShortArray::constructorCallback(const v8::Arguments& args)
+v8::Handle<v8::Value> V8Int16Array::constructorCallback(const v8::Arguments& args)
 {
 {
-    INC_STATS("DOM.WebGLShortArray.Contructor");
+    INC_STATS("DOM.Int16Array.Contructor");
 
 
-    return constructWebGLArray<WebGLShortArray, short>(args, &info, v8::kExternalShortArray);
+    return constructWebGLArray<Int16Array, short>(args, &info, v8::kExternalShortArray);
 }
 
 }
 
-v8::Handle<v8::Value> V8WebGLShortArray::setCallback(const v8::Arguments& args)
+v8::Handle<v8::Value> V8Int16Array::setCallback(const v8::Arguments& args)
 {
 {
-    INC_STATS("DOM.WebGLShortArray.set()");
-    return setWebGLArrayHelper<WebGLShortArray, V8WebGLShortArray>(args);
+    INC_STATS("DOM.Int16Array.set()");
+    return setWebGLArrayHelper<Int16Array, V8Int16Array>(args);
 }
 
 }
 
-v8::Handle<v8::Value> toV8(WebGLShortArray* impl)
+v8::Handle<v8::Value> toV8(Int16Array* impl)
 {
     if (!impl)
         return v8::Null();
 {
     if (!impl)
         return v8::Null();
-    v8::Handle<v8::Object> wrapper = V8WebGLShortArray::wrap(impl);
+    v8::Handle<v8::Object> wrapper = V8Int16Array::wrap(impl);
     if (!wrapper.IsEmpty())
         wrapper->SetIndexedPropertiesToExternalArrayData(impl->baseAddress(), v8::kExternalShortArray, impl->length());
     return wrapper;
     if (!wrapper.IsEmpty())
         wrapper->SetIndexedPropertiesToExternalArrayData(impl->baseAddress(), v8::kExternalShortArray, impl->length());
     return wrapper;