|
Make ImageBitmap Transferable
Including a layout test that does 2 things:
1. transfer an ImageBitmap to the worker and let worker transfer back to
main, the main thread exam the transfered-back ImageBitmap to make
sure the data is the same as the original ImageBitmap.
2. When worker receives the ImageBitmap from main, worker calls
createImageBimmap() to create a new ImageBitmap and send it back to
main.
BUG= 532142
Committed: https://crrev.com/5d8ed50933226127fdc64744d86ab3d9b7d57276
Cr-Commit-Position: refs/heads/master@{#356575}
Total comments: 9
Total comments: 1
Total comments: 4
Total comments: 2
Total comments: 26
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+340 lines, -60 lines) |
Patch |
 |
A |
third_party/WebKit/LayoutTests/fast/canvas/canvas-ImageBitmap-transferable.html
|
View
|
1
2
|
1 chunk |
+94 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/LayoutTests/fast/canvas/canvas-ImageBitmap-transferable-expected.txt
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/LayoutTests/fast/canvas/resources/canvas-ImageBitmap-transferable.js
|
View
|
1
2
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/ScriptValueSerializer.h
|
View
|
1
2
3
4
5
6
7
8
|
10 chunks |
+12 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/ScriptValueSerializer.cpp
|
View
|
|
10 chunks |
+60 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/SerializationTag.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.h
|
View
|
1
2
3
4
5
6
|
4 chunks |
+7 lines, -1 line |
1 comment
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.cpp
|
View
|
1
2
3
4
5
6
7
8
|
7 chunks |
+38 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/SerializedScriptValueFactory.h
|
View
|
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/SerializedScriptValueFactory.cpp
|
View
|
1
2
3
4
5
6
7
8
|
7 chunks |
+19 lines, -18 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/SerializedScriptValueTest.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
View
|
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/modules/v8/ScriptValueSerializerForModules.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/modules/v8/ScriptValueSerializerForModules.cpp
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.cpp
|
View
|
|
5 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/scripts/v8_methods.py
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/scripts/v8_types.py
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/templates/methods.cpp
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/ImageBitmap.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/ImageBitmap.cpp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebSerializedScriptValue.cpp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 41 (9 generated)
|