|
|
[SharedArrayBuffer] Add "AllowShared" extended attribute, used for WebGL
The [AllowShared] extended attribute can be applied to a method's
ArrayBufferView parameter to indicate that the view can be backed by a
SharedArrayBuffer. For example:
interface Context {
void bufferData1([AllowShared] ArrayBufferView param);
void bufferData2([AllowShared] Uint8Array param);
}
By default, ArrayBufferView parameters can not be a view of a
SharedArrayBuffer, and will throw an exception in that case.
BUG= 569681
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Review-Url: https://codereview.chromium.org/2815793002
Cr-Commit-Position: refs/heads/master@{#465787}
Committed: https://chromium.googlesource.com/chromium/src/+/ed24fe201ef7afca59b9562443cdbce3b1ce8142
Total comments: 1
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+593 lines, -299 lines) |
Patch |
 |
A |
third_party/WebKit/LayoutTests/fast/canvas/webgl/webgl-sharedarraybuffer.html
|
View
|
1
2
|
1 chunk |
+193 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/IDLExtendedAttributes.md
|
View
|
1
2
3
4
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/IDLExtendedAttributes.txt
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/ToV8.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/ToV8ForCore.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/V8Binding.h
|
View
|
1
2
3
4
|
2 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/scripts/v8_types.py
|
View
|
1
|
5 chunks |
+15 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/idls/core/TestObject.idl
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/ArrayBufferOrArrayBufferViewOrDictionary.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/StringOrArrayBufferOrArrayBufferView.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/TestInterface2OrUint8Array.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8DataView.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
|
View
|
1
2
3
4
|
4 chunks |
+57 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8Uint8ClampedArray.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
third_party/WebKit/Source/core/dom/ArrayBufferViewHelpers.h
|
View
|
1
2
3
|
3 chunks |
+60 lines, -8 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/dom/DOMArrayBufferView.h
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/dom/DOMTypedArray.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
D |
third_party/WebKit/Source/core/dom/NotShared.h
|
View
|
1
|
1 chunk |
+0 lines, -68 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/geometry/DOMMatrix.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/geometry/DOMMatrixReadOnly.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/ImageData.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.cpp
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/encoding/TextEncoder.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/mediasource/SourceBuffer.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/peerconnection/RTCDataChannel.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/presentation/PresentationConnection.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/webaudio/AnalyserNode.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/webaudio/AudioBuffer.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/webaudio/AudioParam.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/webaudio/BiquadFilterNode.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/webaudio/IIRFilterNode.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/webaudio/PeriodicWave.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/webaudio/WaveShaperNode.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
|
View
|
1
2
3
4
|
29 chunks |
+36 lines, -36 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp
|
View
|
1
2
3
4
|
50 chunks |
+80 lines, -72 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.idl
|
View
|
1
2
3
4
|
6 chunks |
+27 lines, -27 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/webgl/WebGLGetBufferSubDataAsync.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
|
View
|
1
2
3
4
|
9 chunks |
+14 lines, -14 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
View
|
1
2
3
4
|
19 chunks |
+28 lines, -27 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.idl
|
View
|
1
2
3
4
|
6 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/webmidi/MIDIOutput.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/websockets/DOMWebSocket.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferView.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/wtf/typed_arrays/TypedArrayBase.h
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
Total messages: 44 (27 generated)
|