|
Reland of: Make Imagebitmap Transferable
This CL 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
createImageBitmap() to create a new ImageBitmap and send it back to
main
BUG= 532142
Committed: https://crrev.com/33126b69207406348d90d088364d66023c1d9500
Cr-Commit-Position: refs/heads/master@{#361124}
Total comments: 10
Total comments: 2
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+357 lines, -57 lines) |
Patch |
 |
A |
third_party/WebKit/LayoutTests/fast/canvas/canvas-ImageBitmap-transferable.html
|
View
|
|
1 chunk |
+94 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/LayoutTests/fast/canvas/canvas-ImageBitmap-transferable-expected.txt
|
View
|
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/LayoutTests/fast/canvas/resources/canvas-ImageBitmap-transferable.js
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/ScriptValueSerializer.h
|
View
|
1
2
3
4
|
9 chunks |
+13 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/ScriptValueSerializer.cpp
|
View
|
1
2
3
4
5
|
10 chunks |
+69 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 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.cpp
|
View
|
1
2
3
4
5
6
|
5 chunks |
+38 lines, -1 line |
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
|
|
7 chunks |
+19 lines, -18 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/SerializedScriptValueTest.cpp
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
View
|
1
2
3
4
|
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
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/templates/methods.cpp
|
View
|
1
2
3
4
|
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
|
4 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/ImageBitmap.h
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/ImageBitmap.cpp
|
View
|
1
2
3
4
|
2 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebSerializedScriptValue.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 27 (5 generated)
|