Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Issue 2349743004: cc: Remove things from OutputSurface and CompositorFrameSink. (Closed)

Created:
4 years, 3 months ago by danakj
Modified:
4 years, 3 months ago
CC:
anandc+watch-blimp_chromium.org, android-webview-reviews_chromium.org, cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, dtrainor+watch-blimp_chromium.org, einbinder+watch-test-runner_chromium.org, gcasto+watch-blimp_chromium.org, jam, jbauman+watch_chromium.org, jessicag+watch-blimp_chromium.org, jochen+watch_chromium.org, kalyank, khushalsagar+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, lethalantidote+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, nyquist+watch-blimp_chromium.org, perumaal+watch-blimp_chromium.org, piman+watch_chromium.org, piman, rjkroege, scf+watch-blimp_chromium.org, shaktisahu+watch-blimp_chromium.org, sievers+watch_chromium.org, sriramsr+watch-blimp_chromium.org, Ian Vollick
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Remove things from OutputSurface and CompositorFrameSink. After forking OutputSurface, there are a lot of things on both OutputSurface and CompositorFrameSink that only belong on one or the other. This patch removes such things from each of them. Next up: Make OutputSurface::BindToClient not failable. Start renaming SwapBuffers and friends for CompositorFrameSink. TBR=dtrainor R=boliu, dtrainor@chromium.org, enne BUG=606056 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/e41d978ab1257aca41bfe38eb9c766b7cdb3ff3c Cr-Commit-Position: refs/heads/master@{#419548}

Patch Set 1 : delete-stuff-cfs: initial #

Patch Set 2 : delete-stuff-cfs: . #

Total comments: 1

Patch Set 3 : delete-stuff-cfs: . #

Total comments: 5

Patch Set 4 : delete-stuff-cfs: comment-and-rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+301 lines, -749 lines) Patch
M android_webview/browser/parent_output_surface.cc View 1 chunk +1 line, -1 line 0 comments Download
M blimp/client/core/compositor/blimp_compositor_frame_sink.h View 1 chunk +1 line, -2 lines 0 comments Download
M blimp/client/core/compositor/blimp_compositor_frame_sink.cc View 4 chunks +10 lines, -17 lines 0 comments Download
M blimp/client/support/compositor/blimp_embedder_compositor.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M cc/output/compositor_frame_sink.h View 1 5 chunks +30 lines, -103 lines 0 comments Download
M cc/output/compositor_frame_sink.cc View 4 chunks +1 line, -68 lines 0 comments Download
M cc/output/compositor_frame_sink_client.h View 1 chunk +0 lines, -10 lines 0 comments Download
A cc/output/compositor_frame_sink_unittest.cc View 1 chunk +75 lines, -0 lines 0 comments Download
M cc/output/gl_renderer_unittest.cc View 2 chunks +3 lines, -8 lines 0 comments Download
M cc/output/output_surface.h View 3 chunks +45 lines, -85 lines 0 comments Download
M cc/output/output_surface.cc View 3 chunks +9 lines, -16 lines 0 comments Download
M cc/output/output_surface_unittest.cc View 5 chunks +11 lines, -43 lines 0 comments Download
M cc/output/overlay_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/surfaces/direct_compositor_frame_sink.h View 1 chunk +2 lines, -4 lines 0 comments Download
M cc/surfaces/direct_compositor_frame_sink.cc View 5 chunks +24 lines, -41 lines 0 comments Download
M cc/surfaces/display.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M cc/test/fake_compositor_frame_sink.h View 3 chunks +6 lines, -48 lines 0 comments Download
M cc/test/fake_compositor_frame_sink.cc View 3 chunks +2 lines, -45 lines 0 comments Download
M cc/test/fake_compositor_frame_sink_client.h View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M cc/test/fake_layer_tree_host_impl_client.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/test/fake_output_surface.h View 2 chunks +12 lines, -34 lines 0 comments Download
M cc/test/fake_output_surface.cc View 1 chunk +4 lines, -16 lines 0 comments Download
M cc/test/layer_tree_pixel_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/test/pixel_test.cc View 1 chunk +6 lines, -6 lines 0 comments Download
M cc/test/pixel_test_output_surface.h View 1 chunk +0 lines, -4 lines 0 comments Download
M cc/test/pixel_test_output_surface.cc View 1 chunk +3 lines, -14 lines 0 comments Download
M cc/test/test_compositor_frame_sink.h View 1 chunk +0 lines, -2 lines 0 comments Download
M cc/test/test_compositor_frame_sink.cc View 1 2 3 chunks +1 line, -14 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 2 chunks +2 lines, -7 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 3 chunks +1 line, -18 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 4 chunks +11 lines, -12 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_copyrequest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M cc/trees/proxy_impl.h View 1 chunk +2 lines, -4 lines 0 comments Download
M cc/trees/proxy_impl.cc View 2 chunks +2 lines, -7 lines 0 comments Download
M cc/trees/single_thread_proxy.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/single_thread_proxy.cc View 2 chunks +2 lines, -8 lines 0 comments Download
M content/browser/compositor/browser_compositor_output_surface.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/compositor/browser_compositor_output_surface.cc View 3 chunks +3 lines, -11 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 2 chunks +1 line, -3 lines 0 comments Download
M content/renderer/android/synchronous_compositor_frame_sink.h View 2 chunks +2 lines, -6 lines 0 comments Download
M content/renderer/android/synchronous_compositor_frame_sink.cc View 1 5 chunks +3 lines, -23 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor_unittest.cc View 1 chunk +1 line, -4 lines 0 comments Download
M content/renderer/gpu/renderer_compositor_frame_sink.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/gpu/renderer_compositor_frame_sink.cc View 4 chunks +1 line, -15 lines 0 comments Download
M content/test/layouttest_support.cc View 1 chunk +1 line, -1 line 0 comments Download
M services/ui/public/cpp/compositor_frame_sink.h View 1 chunk +1 line, -3 lines 0 comments Download
M services/ui/public/cpp/compositor_frame_sink.cc View 2 chunks +0 lines, -13 lines 0 comments Download
M services/ui/surfaces/direct_output_surface.cc View 1 chunk +1 line, -1 line 0 comments Download
M services/ui/surfaces/direct_output_surface_ozone.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/compositor/test/in_process_context_factory.cc View 2 chunks +5 lines, -10 lines 0 comments Download

Messages

Total messages: 32 (20 generated)
danakj
4 years, 3 months ago (2016-09-17 01:10:19 UTC) #5
danakj
https://codereview.chromium.org/2349743004/diff/20001/cc/output/compositor_frame_sink.h File cc/output/compositor_frame_sink.h (right): https://codereview.chromium.org/2349743004/diff/20001/cc/output/compositor_frame_sink.h#newcode56 cc/output/compositor_frame_sink.h:56: bool adjust_deadline_for_parent = true; So ok the story with ...
4 years, 3 months ago (2016-09-17 01:29:37 UTC) #11
danakj
enne: pls review cc/ ui/ and c/b/compositor/ bo: pls review android things dtrainor: pls review ...
4 years, 3 months ago (2016-09-17 01:31:29 UTC) #13
sky
service 'things' eh? :) LGTM
4 years, 3 months ago (2016-09-18 16:09:02 UTC) #16
boliu
lgtm, woot!
4 years, 3 months ago (2016-09-19 16:36:32 UTC) #17
enne (OOO)
https://codereview.chromium.org/2349743004/diff/40001/cc/test/fake_compositor_frame_sink_client.h File cc/test/fake_compositor_frame_sink_client.h (right): https://codereview.chromium.org/2349743004/diff/40001/cc/test/fake_compositor_frame_sink_client.h#newcode23 cc/test/fake_compositor_frame_sink_client.h:23: // void SetNeedsRedrawRect(const gfx::Rect& damage_rect) override {} <_< https://codereview.chromium.org/2349743004/diff/40001/cc/trees/layer_tree_host_impl_unittest.cc ...
4 years, 3 months ago (2016-09-19 17:34:04 UTC) #18
danakj
https://codereview.chromium.org/2349743004/diff/40001/cc/test/fake_compositor_frame_sink_client.h File cc/test/fake_compositor_frame_sink_client.h (right): https://codereview.chromium.org/2349743004/diff/40001/cc/test/fake_compositor_frame_sink_client.h#newcode23 cc/test/fake_compositor_frame_sink_client.h:23: // void SetNeedsRedrawRect(const gfx::Rect& damage_rect) override {} On 2016/09/19 ...
4 years, 3 months ago (2016-09-19 18:48:56 UTC) #19
enne (OOO)
lgtm https://codereview.chromium.org/2349743004/diff/40001/cc/trees/layer_tree_host_impl_unittest.cc File cc/trees/layer_tree_host_impl_unittest.cc (right): https://codereview.chromium.org/2349743004/diff/40001/cc/trees/layer_tree_host_impl_unittest.cc#newcode8679 cc/trees/layer_tree_host_impl_unittest.cc:8679: EXPECT_EQ(3, set_needs_redraw_count); On 2016/09/19 at 18:48:55, danakj wrote: ...
4 years, 3 months ago (2016-09-19 18:50:36 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2349743004/60001
4 years, 3 months ago (2016-09-19 18:52:59 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2349743004/60001
4 years, 3 months ago (2016-09-19 18:54:07 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-19 21:09:53 UTC) #30
commit-bot: I haz the power
4 years, 3 months ago (2016-09-19 21:13:35 UTC) #32
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e41d978ab1257aca41bfe38eb9c766b7cdb3ff3c
Cr-Commit-Position: refs/heads/master@{#419548}

Powered by Google App Engine
This is Rietveld 408576698