|
Introduce SmallTypedArray IDL type and use it for bufferSubData
This IDL type can be used instead of an ArrayBufferView if the
ArrayBufferView is small (i.e. it doesn't have a materialized buffer).
To work properly, the IDL should declare the same method with an
ArrayBufferView as argument.
Currently, we'll copy the contents to an alloca'd array. Ideally, we'd
pass in the v8::ArrayBufferView, so the underlying implementation can
copy the bytes to the target buffer.
BUG= v8:3996
R=kbr@chromium.org,dslomov@chromium.org,haraken@chromium.org
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+71 lines, -7 lines) |
Patch |
|
M |
Source/bindings/scripts/v8_interface.py
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/scripts/v8_methods.py
|
View
|
1
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/scripts/v8_types.py
|
View
|
|
4 chunks |
+4 lines, -0 lines |
2 comments
|
Download
|
|
M |
Source/bindings/templates/methods.cpp
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/idls/core/TestObject.idl
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/core/V8TestObject.cpp
|
View
|
|
2 chunks |
+41 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/html/canvas/WebGLRenderingContextBase.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/canvas/WebGLRenderingContextBase.cpp
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/canvas/WebGLRenderingContextBase.idl
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 17 (1 generated)
|