|
|
cc: Make most of cc::OutputSurface abstract.
This makes most methods on cc::OutputSurface abstract getting
us closer to this being an interface again. Currently we have
many levels of classes overriding and changing behaviour of
methods, and since the base class is an implementation you
have at least two. This changes most methods to be pure
virtual which forces all implementations of the class to
consider if they should be doing something in these methods.
A surprising number of methods are not used except in single-
platform scenarios, which leads to questions if this API is
optimal, but it's nice to expose the situtation as these
methods already existed but were sometimes (rarely)
overridden. Also eliminates some swap-buffers-complete
dancing through multiple levels of inheritance just to
call the client's DidSwapBuffersComplete().
TBR=nyquist
R=enne@chromium.org
BUG= 606056
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel
Committed: https://crrev.com/1c77b832a90d6aab18e5b3ec91dd43291a3f57a7
Cr-Commit-Position: refs/heads/master@{#420994}
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+481 lines, -293 lines) |
Patch |
 |
M |
android_webview/browser/parent_output_surface.h
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
android_webview/browser/parent_output_surface.cc
|
View
|
1
2
3
4
|
2 chunks |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/client/support/compositor/blimp_embedder_compositor.cc
|
View
|
1
2
|
1 chunk |
+15 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/output/gl_renderer_unittest.cc
|
View
|
1
2
|
3 chunks |
+12 lines, -40 lines |
0 comments
|
Download
|
 |
M |
cc/output/output_surface.h
|
View
|
1
2
|
5 chunks |
+15 lines, -26 lines |
0 comments
|
Download
|
 |
M |
cc/output/output_surface.cc
|
View
|
1
2
|
6 chunks |
+27 lines, -82 lines |
0 comments
|
Download
|
 |
M |
cc/output/output_surface_unittest.cc
|
View
|
1
2
|
4 chunks |
+11 lines, -24 lines |
0 comments
|
Download
|
 |
M |
cc/output/overlay_unittest.cc
|
View
|
1
2
|
3 chunks |
+17 lines, -13 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_output_surface.h
|
View
|
1
2
|
2 chunks |
+16 lines, -14 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_output_surface.cc
|
View
|
1
2
3
|
3 chunks |
+9 lines, -11 lines |
0 comments
|
Download
|
 |
M |
cc/test/pixel_test_output_surface.h
|
View
|
1
2
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/test/pixel_test_output_surface.cc
|
View
|
1
2
|
3 chunks |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/browser_compositor_output_surface.h
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/browser_compositor_output_surface.cc
|
View
|
1
2
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/compositor/gpu_browser_compositor_output_surface.h
|
View
|
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/compositor/gpu_browser_compositor_output_surface.cc
|
View
|
1
2
|
4 chunks |
+34 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/gpu_output_surface_mac.mm
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.h
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc
|
View
|
1
2
|
2 chunks |
+1 line, -6 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/offscreen_browser_compositor_output_surface.h
|
View
|
1
2
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/compositor/offscreen_browser_compositor_output_surface.cc
|
View
|
1
2
|
3 chunks |
+27 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/reflector_impl_unittest.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/software_browser_compositor_output_surface.h
|
View
|
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/compositor/software_browser_compositor_output_surface.cc
|
View
|
|
2 chunks |
+24 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/compositor_impl_android.cc
|
View
|
1
2
|
2 chunks |
+17 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/android/synchronous_compositor_frame_sink.cc
|
View
|
1
2
|
2 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/surfaces/direct_output_surface.h
|
View
|
1
2
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/surfaces/direct_output_surface.cc
|
View
|
1
2
|
3 chunks |
+45 lines, -8 lines |
0 comments
|
Download
|
 |
M |
services/ui/surfaces/direct_output_surface_ozone.h
|
View
|
1
2
|
1 chunk |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
services/ui/surfaces/direct_output_surface_ozone.cc
|
View
|
1
2
|
3 chunks |
+57 lines, -36 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/test/in_process_context_factory.cc
|
View
|
1
2
|
2 chunks |
+16 lines, -1 line |
0 comments
|
Download
|
Total messages: 42 (29 generated)
|