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

Issue 619843002: cc: Make separate interface for BeginFrame ipc from OutputSurface (Closed)

Created:
6 years, 2 months ago by simonhong
Modified:
6 years, 1 month ago
CC:
cc-bugs_chromium.org, chromium-reviews, darin-cc_chromium.org, jdduke (slow), mkwst+moarreviews-renderer_chromium.org, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

cc: Make separate interface for BeginFrame ipc from OutputSurface Decouple BeginFrame message from OutputSurface and creates new interface. R=danakj@chromium.org, brianderson@chromium.org, skyostil@chromium.org, piman@chromium.org, boliu@chromium.org BUG=416760 TEST=cc_unittests, content_unittests Committed: https://crrev.com/a7e3ac41cb5b104e6d96fc31c2a1e5330b601ec7 Cr-Commit-Position: refs/heads/master@{#303715}

Patch Set 1 : [WIP] #

Patch Set 2 : #

Patch Set 3 : WIP #

Patch Set 4 : Initial impl #

Patch Set 5 : #

Total comments: 35

Patch Set 6 : WIP #

Patch Set 7 : [WIP] Needs more work on unittest #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : Rebased on master #

Patch Set 12 : #

Patch Set 13 : #

Total comments: 2

Patch Set 14 : #

Patch Set 15 : #

Total comments: 8

Patch Set 16 : [WIP] working on android webview #

Patch Set 17 : WIP #

Patch Set 18 : Rebase on master #

Patch Set 19 : #

Patch Set 20 : #

Total comments: 18

Patch Set 21 : #

Patch Set 22 : #

Patch Set 23 : #

Patch Set 24 : #

Patch Set 25 : #

Total comments: 12

Patch Set 26 : #

Patch Set 27 : Working version #

Patch Set 28 : #

Patch Set 29 : Add CompositorForwardingMessageFilter #

Patch Set 30 : #

Total comments: 39

Patch Set 31 : WIP #

Patch Set 32 : #

Patch Set 33 : Rebased on master #

Patch Set 34 : #

Patch Set 35 : #

Patch Set 36 : #

Patch Set 37 : #

Total comments: 10

Patch Set 38 : #

Total comments: 14

Patch Set 39 : #

Total comments: 2

Patch Set 40 : #

Total comments: 2

Patch Set 41 : #

Total comments: 6

Patch Set 42 : Rebased on master and fix skyostil's comment #

Total comments: 27

Patch Set 43 : address dcheng's comment #

Patch Set 44 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+999 lines, -349 lines) Patch
M android_webview/browser/hardware_renderer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 2 chunks +2 lines, -1 line 0 comments Download
M cc/layers/layer_perftest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/layer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 3 chunks +7 lines, -3 lines 0 comments Download
M cc/layers/scrollbar_layer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +3 lines, -1 line 0 comments Download
M cc/layers/texture_layer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +3 lines, -1 line 0 comments Download
M cc/layers/tiled_layer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 1 chunk +2 lines, -1 line 0 comments Download
M cc/layers/ui_resource_layer_unittest.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M cc/output/output_surface.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +0 lines, -5 lines 0 comments Download
M cc/output/output_surface_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 2 chunks +0 lines, -2 lines 0 comments Download
M cc/output/output_surface_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +0 lines, -4 lines 0 comments Download
M cc/scheduler/begin_frame_source.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 2 chunks +6 lines, -2 lines 0 comments Download
M cc/scheduler/begin_frame_source.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 25 26 27 28 29 30 31 32 33 34 35 36 37 38 1 chunk +1 line, -1 line 0 comments Download
M cc/scheduler/scheduler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +4 lines, -2 lines 0 comments Download
M cc/scheduler/scheduler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 5 chunks +10 lines, -3 lines 0 comments Download
M cc/scheduler/scheduler_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 30 chunks +54 lines, -45 lines 0 comments Download
M cc/surfaces/display.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 37 38 1 chunk +0 lines, -1 line 0 comments Download
M cc/test/fake_output_surface.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +0 lines, -8 lines 0 comments Download
M cc/test/fake_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +3 lines, -25 lines 0 comments Download
M cc/test/fake_output_surface_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 5 chunks +0 lines, -5 lines 0 comments Download
M cc/test/fake_output_surface_client.cc View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
M cc/test/layer_tree_test.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 2 chunks +2 lines, -0 lines 0 comments Download
M cc/test/layer_tree_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 9 chunks +84 lines, -8 lines 0 comments Download
M cc/test/scheduler_test_common.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +13 lines, -9 lines 0 comments Download
M cc/test/scheduler_test_common.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +3 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 4 chunks +9 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 4 chunks +22 lines, -9 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 5 chunks +1 line, -8 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 5 chunks +5 lines, -17 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 4 chunks +8 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_no_message_loop.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 2 chunks +2 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest_scroll.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 2 chunks +3 lines, -1 line 0 comments Download
M cc/trees/single_thread_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 5 chunks +7 lines, -3 lines 0 comments Download
M cc/trees/single_thread_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 4 chunks +17 lines, -13 lines 0 comments Download
M cc/trees/thread_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 6 chunks +12 lines, -6 lines 0 comments Download
M cc/trees/thread_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 6 chunks +20 lines, -17 lines 0 comments Download
A content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 1 chunk +44 lines, -0 lines 0 comments Download
A content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 1 chunk +64 lines, -0 lines 0 comments Download
M content/browser/android/in_process/synchronous_compositor_factory_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/android/in_process/synchronous_compositor_factory_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 2 chunks +9 lines, -0 lines 0 comments Download
M content/browser/android/in_process/synchronous_compositor_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 5 chunks +11 lines, -1 line 0 comments Download
M content/browser/android/in_process/synchronous_compositor_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 8 chunks +71 lines, -11 lines 0 comments Download
M content/browser/android/in_process/synchronous_compositor_output_surface.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 6 chunks +8 lines, -4 lines 0 comments Download
M content/browser/android/in_process/synchronous_compositor_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 6 chunks +4 lines, -18 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 2 chunks +4 lines, -4 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 3 chunks +10 lines, -10 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 1 chunk +4 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/android/synchronous_compositor_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +4 lines, -0 lines 0 comments Download
A content/renderer/gpu/compositor_external_begin_frame_source.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +75 lines, -0 lines 0 comments Download
A content/renderer/gpu/compositor_external_begin_frame_source.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 1 chunk +73 lines, -0 lines 0 comments Download
A content/renderer/gpu/compositor_forwarding_message_filter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +74 lines, -0 lines 0 comments Download
A content/renderer/gpu/compositor_forwarding_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +79 lines, -0 lines 0 comments Download
A content/renderer/gpu/compositor_forwarding_message_filter_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 1 chunk +81 lines, -0 lines 0 comments Download
M content/renderer/gpu/compositor_output_surface.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 4 chunks +3 lines, -15 lines 0 comments Download
M content/renderer/gpu/compositor_output_surface.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 7 chunks +9 lines, -42 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 3 chunks +25 lines, -7 lines 0 comments Download
M content/renderer/render_thread_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 4 chunks +4 lines, -4 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 4 chunks +11 lines, -10 lines 0 comments Download
M content/test/web_layer_tree_view_impl_for_testing.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 2 chunks +8 lines, -1 line 0 comments Download
M mojo/services/html_viewer/weblayertreeview_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 2 chunks +3 lines, -1 line 0 comments Download
M ui/compositor/compositor.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 3 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 118 (34 generated)
simonhong
danakj@, would you please review overall design except for unit test? I'm working on unittests. ...
6 years, 2 months ago (2014-10-10 04:59:31 UTC) #3
Sami
I like where this is going. https://codereview.chromium.org/619843002/diff/300001/content/common/view_messages.h File content/common/view_messages.h (right): https://codereview.chromium.org/619843002/diff/300001/content/common/view_messages.h#newcode966 content/common/view_messages.h:966: IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrame, Please still ...
6 years, 2 months ago (2014-10-10 13:32:33 UTC) #4
danakj
Ya looks cool https://codereview.chromium.org/619843002/diff/300001/cc/layers/layer_unittest.cc File cc/layers/layer_unittest.cc (right): https://codereview.chromium.org/619843002/diff/300001/cc/layers/layer_unittest.cc#newcode46 cc/layers/layer_unittest.cc:46: scoped_ptr<ExternalBeginFrameSource>()); pass nullptr instead https://codereview.chromium.org/619843002/diff/300001/cc/layers/layer_unittest.cc#newcode940 cc/layers/layer_unittest.cc:940: ...
6 years, 2 months ago (2014-10-10 16:03:36 UTC) #5
piman
https://codereview.chromium.org/619843002/diff/300001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/619843002/diff/300001/content/renderer/render_thread_impl.cc#newcode924 content/renderer/render_thread_impl.cc:924: AddFilter(begin_frame_source_filter_.get()); I would prefer if there was still a ...
6 years, 2 months ago (2014-10-10 20:39:46 UTC) #6
mithro-old
Great start! I think we should make sure to keep this just to Android using ...
6 years, 2 months ago (2014-10-13 02:56:21 UTC) #7
simonhong
mithro@, I removed Android define because it will be removed in a short term by ...
6 years, 2 months ago (2014-10-13 04:38:27 UTC) #8
simonhong
PTAL again! Thanks! https://codereview.chromium.org/619843002/diff/300001/cc/layers/layer_unittest.cc File cc/layers/layer_unittest.cc (right): https://codereview.chromium.org/619843002/diff/300001/cc/layers/layer_unittest.cc#newcode46 cc/layers/layer_unittest.cc:46: scoped_ptr<ExternalBeginFrameSource>()); On 2014/10/10 16:03:35, danakj wrote: ...
6 years, 2 months ago (2014-10-15 01:04:22 UTC) #9
piman
https://codereview.chromium.org/619843002/diff/890001/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (right): https://codereview.chromium.org/619843002/diff/890001/content/renderer/gpu/render_widget_compositor.cc#newcode545 content/renderer/gpu/render_widget_compositor.cc:545: widget_->routing_id()); If both the CompositorExternalBeginFrameSource and the CompositorOutputSurface have ...
6 years, 2 months ago (2014-10-15 03:34:50 UTC) #10
simonhong
piman@, I addressed your comment. Thanks for review! https://codereview.chromium.org/619843002/diff/890001/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (right): https://codereview.chromium.org/619843002/diff/890001/content/renderer/gpu/render_widget_compositor.cc#newcode545 content/renderer/gpu/render_widget_compositor.cc:545: widget_->routing_id()); ...
6 years, 2 months ago (2014-10-15 06:45:14 UTC) #13
danakj
https://codereview.chromium.org/619843002/diff/300001/cc/scheduler/begin_frame_source.h File cc/scheduler/begin_frame_source.h (right): https://codereview.chromium.org/619843002/diff/300001/cc/scheduler/begin_frame_source.h#newcode166 cc/scheduler/begin_frame_source.h:166: class CC_EXPORT ExternalBeginFrameSource : public BeginFrameSourceMixIn { On 2014/10/15 ...
6 years, 2 months ago (2014-10-15 06:49:50 UTC) #14
simonhong
On 2014/10/15 06:49:50, danakj wrote: > https://codereview.chromium.org/619843002/diff/300001/cc/scheduler/begin_frame_source.h > File cc/scheduler/begin_frame_source.h (right): > > https://codereview.chromium.org/619843002/diff/300001/cc/scheduler/begin_frame_source.h#newcode166 > ...
6 years, 2 months ago (2014-10-15 06:56:38 UTC) #15
danakj
On Oct 15, 2014 2:56 AM, <simonhong@chromium.org> wrote: > > On 2014/10/15 06:49:50, danakj wrote: ...
6 years, 2 months ago (2014-10-15 06:58:33 UTC) #16
mithro-old
Just a FYI, from http://www.chromium.org/developers/coding-style/important-abstractions-and-data-structures scoped_refptr<T> & base::RefCounted & base::RefCountedThreadSafe > Reference counting is occasionally ...
6 years, 2 months ago (2014-10-15 07:09:18 UTC) #17
simonhong
On 2014/10/15 06:58:33, danakj wrote: > On Oct 15, 2014 2:56 AM, <mailto:simonhong@chromium.org> wrote: > ...
6 years, 2 months ago (2014-10-15 07:25:07 UTC) #18
danakj
On Wed, Oct 15, 2014 at 3:25 AM, <simonhong@chromium.org> wrote: > On 2014/10/15 06:58:33, danakj ...
6 years, 2 months ago (2014-10-15 15:02:59 UTC) #19
simonhong
dana@, thanks for advice. giving ownership to cc makes sense in this case. Also, I ...
6 years, 2 months ago (2014-10-15 23:33:26 UTC) #20
piman
https://codereview.chromium.org/619843002/diff/970001/ipc/ipc_forwarding_message_filter.cc File ipc/ipc_forwarding_message_filter.cc (right): https://codereview.chromium.org/619843002/diff/970001/ipc/ipc_forwarding_message_filter.cc#newcode31 ipc/ipc_forwarding_message_filter.cc:31: multi_handlers_.erase(routing_id); I think this is problematic. If you have ...
6 years, 2 months ago (2014-10-16 02:09:04 UTC) #21
simonhong
piman@, additional tests are added in ipc_tests for new ForwardingMessageFilter. danakj@, I refactored SynchronousCompositorOutputSurface, too. ...
6 years, 2 months ago (2014-10-17 07:22:11 UTC) #27
piman
+cpu for OWNERS in ipc/ LGTM for ipc and content/renderer, I'll let others review the ...
6 years, 2 months ago (2014-10-17 21:51:24 UTC) #32
brianderson
+boliu because of changes to the synchronous compositor. https://codereview.chromium.org/619843002/diff/1200001/cc/scheduler/scheduler_unittest.cc File cc/scheduler/scheduler_unittest.cc (right): https://codereview.chromium.org/619843002/diff/1200001/cc/scheduler/scheduler_unittest.cc#newcode1441 cc/scheduler/scheduler_unittest.cc:1441: EXPECT_TRUE(client.needs_begin_frames()); ...
6 years, 2 months ago (2014-10-18 00:08:45 UTC) #34
boliu
Just want to make a plug first that the android webview test shell is hardware ...
6 years, 2 months ago (2014-10-18 00:15:53 UTC) #35
boliu
Skimmed the sync compositor bits. Having OutputSurface and FrameSource talk to each each other through ...
6 years, 2 months ago (2014-10-18 00:49:39 UTC) #36
cpu_(ooo_6.6-7.5)
uncomfortable with the multi_handlers idea. Let me ask the inventor of the filtering +jam
6 years, 2 months ago (2014-10-18 01:04:00 UTC) #37
piman
On Fri, Oct 17, 2014 at 6:03 PM, <cpu@chromium.org> wrote: > uncomfortable with the multi_handlers ...
6 years, 2 months ago (2014-10-18 01:44:54 UTC) #39
danakj
https://codereview.chromium.org/619843002/diff/1200001/cc/test/layer_tree_test.cc File cc/test/layer_tree_test.cc (right): https://codereview.chromium.org/619843002/diff/1200001/cc/test/layer_tree_test.cc#newcode71 cc/test/layer_tree_test.cc:71: base::TimeDelta::FromMilliseconds(16)); On 2014/10/18 00:08:45, brianderson wrote: > Will this ...
6 years, 2 months ago (2014-10-18 18:02:39 UTC) #40
cpu_(ooo_6.6-7.5)
yeah, its only there, still an opinion for jam would be nice. If we don't ...
6 years, 2 months ago (2014-10-20 20:10:03 UTC) #41
simonhong
All comments are addressed. PTAL again. boliu@, The purpose of this cl is remove BeginFrame ...
6 years, 2 months ago (2014-10-23 01:03:09 UTC) #50
boliu
It's failing the DCHECK below. Remember you can test this yourself with a chromium checkout. ...
6 years, 2 months ago (2014-10-23 01:06:44 UTC) #51
simonhong
On 2014/10/23 01:06:44, boliu wrote: > It's failing the DCHECK below. Remember you can test ...
6 years, 2 months ago (2014-10-23 01:20:01 UTC) #52
brianderson
https://codereview.chromium.org/619843002/diff/1460001/cc/scheduler/begin_frame_source.h File cc/scheduler/begin_frame_source.h (right): https://codereview.chromium.org/619843002/diff/1460001/cc/scheduler/begin_frame_source.h#newcode121 cc/scheduler/begin_frame_source.h:121: virtual void SetClientReady() = 0; Anyway we can avoid ...
6 years, 2 months ago (2014-10-23 02:12:45 UTC) #53
cpu_(ooo_6.6-7.5)
ipc changes lgtm
6 years, 2 months ago (2014-10-23 19:31:49 UTC) #54
jam
On 2014/10/18 01:04:00, cpu wrote: > uncomfortable with the multi_handlers idea. Let me ask the ...
6 years, 2 months ago (2014-10-23 22:53:35 UTC) #55
simonhong
jam@, does we need to consider the execution order when new filter is added? 2014. ...
6 years, 2 months ago (2014-10-23 23:06:11 UTC) #56
cpu_(ooo_6.6-7.5)
retracting my assessment until jam is happy.
6 years, 2 months ago (2014-10-24 02:09:08 UTC) #57
simonhong
On 2014/10/24 02:09:08, cpu wrote: > retracting my assessment until jam is happy. piman@ how ...
6 years, 2 months ago (2014-10-24 07:56:45 UTC) #58
simonhong
PTAL again. Many thanks for review! piman@, CompositorForwardingMessageFilter is created in c/b/gpu/ instead of modifing ...
6 years, 2 months ago (2014-10-24 14:30:19 UTC) #60
boliu
Sync compositor call structure is still super awkward. Do not have OutputSurface call BeginFrameSource through ...
6 years, 2 months ago (2014-10-24 17:42:41 UTC) #61
brianderson
On 2014/10/24 17:42:41, boliu wrote: > Sync compositor call structure is still super awkward. Do ...
6 years, 2 months ago (2014-10-24 20:45:55 UTC) #62
brianderson
https://codereview.chromium.org/619843002/diff/1460001/cc/scheduler/begin_frame_source.h File cc/scheduler/begin_frame_source.h (right): https://codereview.chromium.org/619843002/diff/1460001/cc/scheduler/begin_frame_source.h#newcode121 cc/scheduler/begin_frame_source.h:121: virtual void SetClientReady() = 0; On 2014/10/24 14:30:18, simonhong ...
6 years, 2 months ago (2014-10-24 20:46:58 UTC) #63
piman
https://codereview.chromium.org/619843002/diff/1580001/content/renderer/gpu/compositor_forwarding_message_filter.cc File content/renderer/gpu/compositor_forwarding_message_filter.cc (right): https://codereview.chromium.org/619843002/diff/1580001/content/renderer/gpu/compositor_forwarding_message_filter.cc#newcode14 content/renderer/gpu/compositor_forwarding_message_filter.cc:14: CompositorForwardingMessageFilter* CompositorForwardingMessageFilter::Create( If we're making a specific class for ...
6 years, 2 months ago (2014-10-24 20:49:06 UTC) #64
simonhong
PTAL again. Many thanks! https://codereview.chromium.org/619843002/diff/1460001/cc/scheduler/begin_frame_source.h File cc/scheduler/begin_frame_source.h (right): https://codereview.chromium.org/619843002/diff/1460001/cc/scheduler/begin_frame_source.h#newcode121 cc/scheduler/begin_frame_source.h:121: virtual void SetClientReady() = 0; ...
6 years, 1 month ago (2014-10-29 14:47:14 UTC) #66
danakj
https://codereview.chromium.org/619843002/diff/1580001/content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc File content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc (right): https://codereview.chromium.org/619843002/diff/1580001/content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc#newcode14 content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc:14: SynchronousCompositorExternalBeginFrameSource(int routing_id) On 2014/10/29 14:47:13, simonhong wrote: > On ...
6 years, 1 month ago (2014-10-29 15:12:25 UTC) #67
boliu
https://codereview.chromium.org/619843002/diff/1580001/content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc File content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc (right): https://codereview.chromium.org/619843002/diff/1580001/content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc#newcode14 content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc:14: SynchronousCompositorExternalBeginFrameSource(int routing_id) On 2014/10/29 15:12:24, danakj wrote: > On ...
6 years, 1 month ago (2014-10-29 15:41:58 UTC) #68
piman
content/renderer lgtm
6 years, 1 month ago (2014-10-29 17:07:57 UTC) #69
simonhong
On 2014/10/29 15:41:58, boliu wrote: > https://codereview.chromium.org/619843002/diff/1580001/content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc > File > content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc > (right): > > ...
6 years, 1 month ago (2014-10-30 00:21:33 UTC) #70
boliu
sync compositor bits getting close https://codereview.chromium.org/619843002/diff/1720001/content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc File content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc (right): https://codereview.chromium.org/619843002/diff/1720001/content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc#newcode48 content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc:48: SynchronousCompositorImpl* compositor = GetCompositor(); ...
6 years, 1 month ago (2014-10-30 16:21:33 UTC) #71
simonhong
https://codereview.chromium.org/619843002/diff/1720001/content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc File content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc (right): https://codereview.chromium.org/619843002/diff/1720001/content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc#newcode48 content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc:48: SynchronousCompositorImpl* compositor = GetCompositor(); On 2014/10/30 16:21:32, boliu wrote: ...
6 years, 1 month ago (2014-10-31 00:22:08 UTC) #72
boliu
You are still implicitly assuming SetExternalBeginFrameSource happens before DidBindOutputSurface. And I see it's actually going ...
6 years, 1 month ago (2014-10-31 01:14:01 UTC) #73
danakj
On Thu, Oct 30, 2014 at 9:14 PM, <boliu@chromium.org> wrote: > You are still implicitly ...
6 years, 1 month ago (2014-10-31 14:09:53 UTC) #74
boliu
https://codereview.chromium.org/619843002/diff/1740001/content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc File content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc (right): https://codereview.chromium.org/619843002/diff/1740001/content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc#newcode51 content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc:51: compositor->SetExternalBeginFrameSource(this); compositor->SetContinuousInvalidate(...) https://codereview.chromium.org/619843002/diff/1740001/content/browser/android/in_process/synchronous_compositor_impl.cc File content/browser/android/in_process/synchronous_compositor_impl.cc (right): https://codereview.chromium.org/619843002/diff/1740001/content/browser/android/in_process/synchronous_compositor_impl.cc#newcode105 content/browser/android/in_process/synchronous_compositor_impl.cc:105: begin_frame_source_ ...
6 years, 1 month ago (2014-10-31 16:48:21 UTC) #75
brianderson
cc lgtm https://codereview.chromium.org/619843002/diff/1460001/cc/scheduler/begin_frame_source.h File cc/scheduler/begin_frame_source.h (right): https://codereview.chromium.org/619843002/diff/1460001/cc/scheduler/begin_frame_source.h#newcode145 cc/scheduler/begin_frame_source.h:145: void SetClientReady() override {} On 2014/10/29 14:47:12, ...
6 years, 1 month ago (2014-11-01 01:08:32 UTC) #76
simonhong
boliu@, your comments are addressed. danakj@, check routine that ensure BFS is initialized when OutputSurface ...
6 years, 1 month ago (2014-11-01 02:13:06 UTC) #77
boliu
Thanks for bearing through this :) content/browser/android/in_process lgtm, although I don't have owner powers there ...
6 years, 1 month ago (2014-11-03 19:16:57 UTC) #80
boliu
Oops, one last small comment https://codereview.chromium.org/619843002/diff/1800001/content/browser/android/in_process/synchronous_compositor_impl.cc File content/browser/android/in_process/synchronous_compositor_impl.cc (right): https://codereview.chromium.org/619843002/diff/1800001/content/browser/android/in_process/synchronous_compositor_impl.cc#newcode115 content/browser/android/in_process/synchronous_compositor_impl.cc:115: begin_frame_source_->SetCompositor(this); SetCompositor(nullptr);
6 years, 1 month ago (2014-11-03 19:17:45 UTC) #81
simonhong
boliu@, many many thanks for review! Please review below files sievers@, content/browser/renderer_host/* piman@, content/*.gypi, dcheng@, ...
6 years, 1 month ago (2014-11-03 21:26:24 UTC) #83
jamesr
mojo/services/html_viewer/ lgtm, although is the begin frame source supposed to be nullptr there or are ...
6 years, 1 month ago (2014-11-03 21:44:11 UTC) #85
simonhong
On 2014/11/03 21:44:11, jamesr wrote: > mojo/services/html_viewer/ lgtm, although is the begin frame source supposed ...
6 years, 1 month ago (2014-11-03 21:47:36 UTC) #86
jamesr
I'm asking you if it's needed. Is it?
6 years, 1 month ago (2014-11-03 21:50:13 UTC) #87
simonhong
It is dependent on settings.begin_frame_scheduling_enabled. If that flag is true, external begin frame source is ...
6 years, 1 month ago (2014-11-03 21:54:37 UTC) #88
no sievers
On 2014/11/03 21:26:24, simonhong wrote: > sievers@, content/browser/renderer_host/* content/browser/renderer_host/* lgtm
6 years, 1 month ago (2014-11-03 22:33:34 UTC) #89
piman
content/*.gypi lgtm
6 years, 1 month ago (2014-11-03 23:51:15 UTC) #90
simonhong
Kindly ping to dcheng@ and sky@. dcheng@, content/common/view_messages.h sky@, content/test/*, ui/compositor/* Thanks!
6 years, 1 month ago (2014-11-04 20:10:23 UTC) #91
dcheng
The IPC changes are probably fine, but I'm at BlinkOn right now and don't have ...
6 years, 1 month ago (2014-11-04 20:45:51 UTC) #93
dcheng
(Um, does anyone know why Rietveld added cpu as a reviewer? I don't think I ...
6 years, 1 month ago (2014-11-04 20:46:51 UTC) #95
sky
LGTM https://codereview.chromium.org/619843002/diff/1820001/content/test/web_layer_tree_view_impl_for_testing.cc File content/test/web_layer_tree_view_impl_for_testing.cc (right): https://codereview.chromium.org/619843002/diff/1820001/content/test/web_layer_tree_view_impl_for_testing.cc#newcode49 content/test/web_layer_tree_view_impl_for_testing.cc:49: NULL, Since these are on the same line ...
6 years, 1 month ago (2014-11-04 21:08:30 UTC) #96
simonhong
On 2014/11/04 20:46:51, dcheng wrote: > (Um, does anyone know why Rietveld added cpu as ...
6 years, 1 month ago (2014-11-04 21:08:44 UTC) #97
simonhong
https://codereview.chromium.org/619843002/diff/1820001/content/test/web_layer_tree_view_impl_for_testing.cc File content/test/web_layer_tree_view_impl_for_testing.cc (right): https://codereview.chromium.org/619843002/diff/1820001/content/test/web_layer_tree_view_impl_for_testing.cc#newcode49 content/test/web_layer_tree_view_impl_for_testing.cc:49: NULL, On 2014/11/04 21:08:30, sky wrote: > Since these ...
6 years, 1 month ago (2014-11-04 21:18:06 UTC) #98
simonhong
Remind to dcheng@ and skyostil@ because BlinkOn is over :) skyostil@, I need owner's stamp ...
6 years, 1 month ago (2014-11-06 21:38:54 UTC) #99
simonhong
On 2014/11/06 21:38:54, simonhong wrote: > Remind to dcheng@ and skyostil@ because BlinkOn is over ...
6 years, 1 month ago (2014-11-10 13:19:54 UTC) #100
Sami
> Kindly ping to below owners. > skyostil@ - content/browser/android/* Apologies for the delay. I ...
6 years, 1 month ago (2014-11-10 16:09:44 UTC) #101
boliu
https://codereview.chromium.org/619843002/diff/1840001/content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc File content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc (right): https://codereview.chromium.org/619843002/diff/1840001/content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc#newcode51 content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc:51: compositor->DidInitializeExternalBeginFrameSource(this); On 2014/11/10 16:09:43, Sami wrote: > Calling into ...
6 years, 1 month ago (2014-11-10 16:19:34 UTC) #102
Sami
On 2014/11/10 16:19:34, boliu wrote: > I asked for this current pattern and would like ...
6 years, 1 month ago (2014-11-10 17:52:44 UTC) #103
simonhong
All done! Thanks skyostil@. Only dcheng@'s stamp is needed to land :) https://codereview.chromium.org/619843002/diff/1840001/content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.h File content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.h ...
6 years, 1 month ago (2014-11-10 20:40:28 UTC) #104
dcheng
Sorry for the delay in reviewing this. Even though the IPC changes appear fairly trivial, ...
6 years, 1 month ago (2014-11-10 22:56:15 UTC) #106
piman
https://codereview.chromium.org/619843002/diff/1860001/content/renderer/gpu/compositor_forwarding_message_filter.cc File content/renderer/gpu/compositor_forwarding_message_filter.cc (right): https://codereview.chromium.org/619843002/diff/1860001/content/renderer/gpu/compositor_forwarding_message_filter.cc#newcode75 content/renderer/gpu/compositor_forwarding_message_filter.cc:75: for (auto it = handlers.first; it != handlers.second; ++it) ...
6 years, 1 month ago (2014-11-10 23:10:23 UTC) #107
dcheng
On 2014/11/10 at 23:10:23, piman wrote: > https://codereview.chromium.org/619843002/diff/1860001/content/renderer/gpu/compositor_forwarding_message_filter.cc > File content/renderer/gpu/compositor_forwarding_message_filter.cc (right): > > https://codereview.chromium.org/619843002/diff/1860001/content/renderer/gpu/compositor_forwarding_message_filter.cc#newcode75 ...
6 years, 1 month ago (2014-11-10 23:13:07 UTC) #108
simonhong
Thanks dcheng@ for overall review. Your comments are addressed. https://codereview.chromium.org/619843002/diff/1860001/android_webview/browser/hardware_renderer.cc File android_webview/browser/hardware_renderer.cc (right): https://codereview.chromium.org/619843002/diff/1860001/android_webview/browser/hardware_renderer.cc#newcode105 android_webview/browser/hardware_renderer.cc:105: ...
6 years, 1 month ago (2014-11-11 12:54:15 UTC) #109
dcheng
LGTM with nits and compile fix addressed. https://codereview.chromium.org/619843002/diff/1860001/cc/scheduler/scheduler_unittest.cc File cc/scheduler/scheduler_unittest.cc (right): https://codereview.chromium.org/619843002/diff/1860001/cc/scheduler/scheduler_unittest.cc#newcode157 cc/scheduler/scheduler_unittest.cc:157: FakeExternalBeginFrameSource* ExternalBeginFrameSource() ...
6 years, 1 month ago (2014-11-11 18:59:01 UTC) #110
simonhong
Thanks dcheng! All done. https://codereview.chromium.org/619843002/diff/1860001/cc/scheduler/scheduler_unittest.cc File cc/scheduler/scheduler_unittest.cc (right): https://codereview.chromium.org/619843002/diff/1860001/cc/scheduler/scheduler_unittest.cc#newcode157 cc/scheduler/scheduler_unittest.cc:157: FakeExternalBeginFrameSource* ExternalBeginFrameSource() { On 2014/11/11 ...
6 years, 1 month ago (2014-11-11 19:33:07 UTC) #112
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/619843002/1920001
6 years, 1 month ago (2014-11-11 19:34:10 UTC) #114
commit-bot: I haz the power
Committed patchset #44 (id:1920001)
6 years, 1 month ago (2014-11-11 20:50:42 UTC) #115
commit-bot: I haz the power
Patchset 44 (id:??) landed as https://crrev.com/a7e3ac41cb5b104e6d96fc31c2a1e5330b601ec7 Cr-Commit-Position: refs/heads/master@{#303715}
6 years, 1 month ago (2014-11-11 20:51:28 UTC) #116
Stephen White
I suspect this change may be causing failures of content_browsertests on ChromeOS and Android Debug, ...
6 years, 1 month ago (2014-11-12 04:09:48 UTC) #117
Stephen White
6 years, 1 month ago (2014-11-12 04:40:22 UTC) #118
Message was sent while issue was closed.
Never mind -- it can't be this change, since this is a Chrome change, and the
main waterfall bots are fine.

Powered by Google App Engine
This is Rietveld 408576698