|
cc: Implement shared worker contexts.
This moves the responsibility to call BindToCurrentThread/SetupLock out
of cc::OutputSurface and to the maintainer of the (possibly) shared
context.
Worker contexts can now be explicitly destroyed on the thread they are
bound to. Destroying a context is similar to losing it. It is not
required by a user of the context to check if it has been lost/destroyed.
BUG= 523411
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+209 lines, -68 lines) |
Patch |
 |
M |
cc/output/context_provider.h
|
View
|
|
3 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/output/output_surface.cc
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/raster/tile_task_worker_pool_unittest.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_output_surface.h
|
View
|
|
3 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
 |
M |
cc/test/test_context_provider.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/test/test_context_provider.cc
|
View
|
|
2 chunks |
+14 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/android/in_process/synchronous_compositor_factory_impl.h
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/in_process/synchronous_compositor_factory_impl.cc
|
View
|
1
|
3 chunks |
+35 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/gpu_process_transport_factory.cc
|
View
|
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/gpu/client/command_buffer_proxy_impl.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/client/command_buffer_proxy_impl.cc
|
View
|
|
1 chunk |
+11 lines, -4 lines |
4 comments
|
Download
|
 |
M |
content/common/gpu/client/context_provider_command_buffer.h
|
View
|
1
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/client/context_provider_command_buffer.cc
|
View
|
1
|
4 chunks |
+23 lines, -10 lines |
1 comment
|
Download
|
 |
M |
content/renderer/render_thread_impl.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_thread_impl.cc
|
View
|
1
|
2 chunks |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_widget.cc
|
View
|
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/test/in_process_context_factory.h
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/compositor/test/in_process_context_factory.cc
|
View
|
1
|
2 chunks |
+24 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/test/in_process_context_provider.h
|
View
|
|
2 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/test/in_process_context_provider.cc
|
View
|
1
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
Total messages: 16 (6 generated)
|