|
cc: Make OutputSurface::BindToClient pure virtual and not return bool
The function does not need to return bool and we DCHECK it is always
true already, since the ContextProvider given to the OutputSurface can
be initialized before even creating the OutputSurface as it is not
used across threads anymore.
Since it is not cross-thread the base class code in BindToClient can
move to its constructor and the method can become pure virtual.
Drops the DidLoseOutputSurface from the OutputSurfaceClient interface
so that every implementation doesn't need to bind it - esp since only
OutputSurfaces with a context can even get lost. Instead have Display
listen to the context for loss.
And some random code cleanups in AndroidOutputSurface since it was
working around multiple threads that don't exist.
R=enne@chromium.org, piman@chromium.org
BUG= 606056
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel
Committed: https://crrev.com/94486a41405a0a792a0aed2324b9a841d536d853
Cr-Commit-Position: refs/heads/master@{#427511}
Total comments: 3
Total comments: 2
Total comments: 13
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+297 lines, -408 lines) |
Patch |
|
M |
android_webview/browser/parent_output_surface.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
android_webview/browser/parent_output_surface.cc
|
View
|
1
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
android_webview/browser/surfaces_instance.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
android_webview/browser/surfaces_instance.cc
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
blimp/client/support/compositor/blimp_embedder_compositor.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
cc/BUILD.gn
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
cc/output/context_provider.h
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
cc/output/gl_renderer_unittest.cc
|
View
|
|
21 chunks |
+94 lines, -60 lines |
0 comments
|
Download
|
|
M |
cc/output/output_surface.h
|
View
|
1
2
|
3 chunks |
+2 lines, -12 lines |
0 comments
|
Download
|
|
M |
cc/output/output_surface.cc
|
View
|
|
1 chunk |
+1 line, -35 lines |
0 comments
|
Download
|
|
M |
cc/output/output_surface_client.h
|
View
|
1
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
cc/output/output_surface_unittest.cc
|
View
|
1
|
1 chunk |
+0 lines, -124 lines |
0 comments
|
Download
|
|
M |
cc/output/overlay_unittest.cc
|
View
|
|
6 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
cc/output/software_renderer_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
cc/surfaces/display.h
|
View
|
1
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
cc/surfaces/display.cc
|
View
|
1
|
4 chunks |
+22 lines, -12 lines |
0 comments
|
Download
|
|
M |
cc/surfaces/display_unittest.cc
|
View
|
1
|
3 chunks |
+30 lines, -1 line |
0 comments
|
Download
|
|
M |
cc/test/fake_output_surface.h
|
View
|
|
3 chunks |
+7 lines, -18 lines |
0 comments
|
Download
|
|
M |
cc/test/fake_output_surface.cc
|
View
|
1
|
1 chunk |
+4 lines, -7 lines |
0 comments
|
Download
|
|
M |
cc/test/fake_output_surface_client.h
|
View
|
1
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
cc/test/fake_output_surface_client.cc
|
View
|
1
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
cc/test/layer_tree_pixel_test.cc
|
View
|
|
1 chunk |
+8 lines, -5 lines |
0 comments
|
Download
|
|
M |
cc/test/pixel_test_output_surface.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
cc/test/pixel_test_output_surface.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
cc/trees/layer_tree_host_unittest.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
cc/trees/layer_tree_host_unittest_copyrequest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/compositor/browser_compositor_output_surface.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/compositor/gpu_browser_compositor_output_surface.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/compositor/gpu_browser_compositor_output_surface.cc
|
View
|
|
3 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
|
M |
content/browser/compositor/mus_browser_compositor_output_surface.h
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/compositor/mus_browser_compositor_output_surface.cc
|
View
|
1
2
|
2 chunks |
+1 line, -8 lines |
0 comments
|
Download
|
|
M |
content/browser/compositor/offscreen_browser_compositor_output_surface.h
|
View
|
|
2 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
content/browser/compositor/offscreen_browser_compositor_output_surface.cc
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/compositor/reflector_impl_unittest.cc
|
View
|
1
2
3
4
|
4 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
content/browser/compositor/software_browser_compositor_output_surface.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/compositor/software_browser_compositor_output_surface.cc
|
View
|
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/compositor/software_browser_compositor_output_surface_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/compositor_impl_android.h
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/compositor_impl_android.cc
|
View
|
1
2
|
6 chunks |
+17 lines, -33 lines |
0 comments
|
Download
|
|
M |
content/renderer/android/synchronous_compositor_frame_sink.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/test/layouttest_support.cc
|
View
|
|
1 chunk |
+11 lines, -9 lines |
0 comments
|
Download
|
|
M |
services/ui/surfaces/direct_output_surface.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
services/ui/surfaces/direct_output_surface.cc
|
View
|
1
|
1 chunk |
+7 lines, -10 lines |
0 comments
|
Download
|
|
M |
services/ui/surfaces/direct_output_surface_ozone.h
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
services/ui/surfaces/direct_output_surface_ozone.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -9 lines |
0 comments
|
Download
|
|
M |
ui/compositor/test/in_process_context_factory.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
Depends on Patchset:
Total messages: 61 (37 generated)
|