|
|
Get rid of virtual Display::CreateScheduler.
This method is virtual for tests to override the scheduler. Instead
have tests pass a different scheduler to a constructor.
In order to make this work, we must set up the scheduler in the
Display's constructor. For us to do that, we need to pass the
BeginFrameSource to the constructor also, which means the Display's
OutputSurface does not give a BeginFrameSource to the Display during
BindToClient. Instead, the code that makes the OutputSurface and the
Display must figure out the BeginFrameSource and pass it to the
Display (and maybe to the OutputSurface if it needs it).
This is some cleanup followup work for https://codereview.chromium.org/2036563002/
R=enne@chromium.org, fsamuel@chromium.org, jbauman@chromium.org
BUG= 487471
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/8eb035c0f0b18c55ddd76dad607649e596035995
Cr-Commit-Position: refs/heads/master@{#400529}
Total comments: 4
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+666 lines, -710 lines) |
Patch |
 |
M |
android_webview/browser/hardware_renderer.cc
|
View
|
1
2
3
|
2 chunks |
+13 lines, -2 lines |
0 comments
|
Download
|
 |
M |
base/test/test_message_loop.h
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/scheduler/begin_frame_source.h
|
View
|
1
2
3
4
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/surfaces/display.h
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+13 lines, -22 lines |
0 comments
|
Download
|
 |
M |
cc/surfaces/display.cc
|
View
|
1
2
3
4
5
6
7
8
|
7 chunks |
+44 lines, -66 lines |
0 comments
|
Download
|
 |
M |
cc/surfaces/display_scheduler.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/surfaces/display_scheduler.cc
|
View
|
1
2
3
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/surfaces/display_scheduler_unittest.cc
|
View
|
1
2
3
4
|
12 chunks |
+158 lines, -164 lines |
0 comments
|
Download
|
 |
M |
cc/surfaces/display_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
18 chunks |
+186 lines, -213 lines |
0 comments
|
Download
|
 |
M |
cc/surfaces/surface_display_output_surface_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+16 lines, -12 lines |
0 comments
|
Download
|
 |
M |
cc/test/pixel_test.cc
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/test/pixel_test_delegating_output_surface.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/test/pixel_test_delegating_output_surface.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+21 lines, -17 lines |
0 comments
|
Download
|
 |
M |
cc/test/pixel_test_output_surface.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
cc/test/pixel_test_output_surface.cc
|
View
|
1
2
3
|
3 chunks |
+4 lines, -22 lines |
0 comments
|
Download
|
 |
M |
components/mus/surfaces/direct_output_surface.h
|
View
|
1
2
3
4
|
3 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/mus/surfaces/direct_output_surface.cc
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
 |
M |
components/mus/surfaces/direct_output_surface_ozone.h
|
View
|
1
2
3
4
5
|
4 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/mus/surfaces/direct_output_surface_ozone.cc
|
View
|
1
2
3
4
|
3 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
components/mus/surfaces/display_compositor.cc
|
View
|
1
2
3
4
|
2 chunks |
+22 lines, -9 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/browser_compositor_output_surface.h
|
View
|
1
2
3
|
3 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/browser_compositor_output_surface.cc
|
View
|
1
2
3
4
|
5 chunks |
+7 lines, -13 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/gpu_browser_compositor_output_surface.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/compositor/gpu_browser_compositor_output_surface.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/gpu_output_surface_mac.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/compositor/gpu_output_surface_mac.mm
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/gpu_process_transport_factory.cc
|
View
|
1
2
3
4
5
6
7
8
|
9 chunks |
+32 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/offscreen_browser_compositor_output_surface.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/compositor/offscreen_browser_compositor_output_surface.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/reflector_impl_unittest.cc
|
View
|
1
2
3
4
|
4 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/software_browser_compositor_output_surface.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/compositor/software_browser_compositor_output_surface.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/software_browser_compositor_output_surface_unittest.cc
|
View
|
1
2
3
4
|
4 chunks |
+16 lines, -18 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/vulkan_browser_compositor_output_surface.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/compositor/vulkan_browser_compositor_output_surface.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/compositor_impl_android.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
9 chunks |
+27 lines, -44 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/test/in_process_context_factory.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+25 lines, -23 lines |
0 comments
|
Download
|
Total messages: 66 (27 generated)
|