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

Issue 1969263004: sync compositor: Remove begin frame source (Closed)

Created:
4 years, 7 months ago by boliu
Modified:
4 years, 6 months ago
Reviewers:
no sievers, dcheng
CC:
android-webview-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nona+watch_chromium.org, piman+watch_chromium.org, shuchen+watch_chromium.org, James Su, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

sync compositor: Remove begin frame source Share the same BeginFrameSource implementation with chrome. The old synchronous begin frame IPC is split into two parts: an async begin frame IPC (shared with rest of chrome), and a sync IPC to synchronously retrieve the renderer state. Note needs_begin_frame is no longer part of the synchronous state retrieved from renderer. This is ok because input is already async and that's the only time when having an up-to-date needs_begin_frame really matters. This removes the whole synchronous compositor "IsActive" concept since it's superceded completely by visibility. BUG=609977 Committed: https://crrev.com/8f3016ee733ac3e4ccd65e0711f5d3a9b92e5e49 Cr-Commit-Position: refs/heads/master@{#397874}

Patch Set 1 #

Patch Set 2 : fix scroll #

Patch Set 3 : dependencies landed, rebase #

Patch Set 4 : fix software draw crash #

Patch Set 5 : comment #

Total comments: 6

Patch Set 6 : review #

Patch Set 7 : reword x2 #

Patch Set 8 : rebase onto https://codereview.chromium.org/1974133002/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -430 lines) Patch
M android_webview/browser/browser_view_renderer.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M android_webview/browser/browser_view_renderer.cc View 1 2 6 chunks +0 lines, -16 lines 0 comments Download
M content/browser/android/synchronous_compositor_host.h View 1 2 3 4 5 6 7 5 chunks +1 line, -10 lines 0 comments Download
M content/browser/android/synchronous_compositor_host.cc View 1 2 3 4 5 6 7 10 chunks +13 lines, -79 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 6 7 1 chunk +11 lines, -16 lines 0 comments Download
M content/common/android/sync_compositor_messages.h View 1 2 3 4 5 6 7 5 chunks +6 lines, -29 lines 0 comments Download
M content/common/android/sync_compositor_messages.cc View 1 2 2 chunks +0 lines, -6 lines 0 comments Download
M content/content_renderer.gypi View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M content/public/browser/android/synchronous_compositor.h View 1 chunk +0 lines, -5 lines 0 comments Download
M content/public/test/test_synchronous_compositor_android.h View 1 chunk +0 lines, -1 line 0 comments Download
D content/renderer/android/synchronous_compositor_external_begin_frame_source.h View 1 chunk +0 lines, -60 lines 0 comments Download
D content/renderer/android/synchronous_compositor_external_begin_frame_source.cc View 1 chunk +0 lines, -79 lines 0 comments Download
M content/renderer/android/synchronous_compositor_filter.h View 1 2 3 4 5 6 7 2 chunks +0 lines, -7 lines 0 comments Download
M content/renderer/android/synchronous_compositor_filter.cc View 1 2 3 4 5 6 7 4 chunks +4 lines, -32 lines 0 comments Download
M content/renderer/android/synchronous_compositor_output_surface.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/android/synchronous_compositor_proxy.h View 1 2 3 4 5 6 7 7 chunks +4 lines, -24 lines 0 comments Download
M content/renderer/android/synchronous_compositor_proxy.cc View 1 2 3 4 5 6 7 13 chunks +8 lines, -48 lines 0 comments Download
M content/renderer/android/synchronous_compositor_registry.h View 2 chunks +0 lines, -7 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 2 chunks +0 lines, -7 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
boliu
ptal
4 years, 6 months ago (2016-06-02 15:27:44 UTC) #5
no sievers
nice, lgtm https://codereview.chromium.org/1969263004/diff/80001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/1969263004/diff/80001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode1467 content/browser/renderer_host/render_widget_host_view_android.cc:1467: // It does not use a deadline. ...
4 years, 6 months ago (2016-06-03 20:35:50 UTC) #6
boliu
https://codereview.chromium.org/1969263004/diff/80001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/1969263004/diff/80001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode1467 content/browser/renderer_host/render_widget_host_view_android.cc:1467: // It does not use a deadline. On 2016/06/03 ...
4 years, 6 months ago (2016-06-03 21:01:06 UTC) #7
boliu
+dcheng for ipc Note I rebased this onto https://codereview.chromium.org/1974133002/, so need to wait for that ...
4 years, 6 months ago (2016-06-03 21:24:16 UTC) #9
dcheng
LGTM
4 years, 6 months ago (2016-06-03 21:26:23 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1969263004/140001
4 years, 6 months ago (2016-06-03 23:42:14 UTC) #13
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 6 months ago (2016-06-04 00:59:36 UTC) #15
commit-bot: I haz the power
4 years, 6 months ago (2016-06-04 01:00:46 UTC) #17
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/8f3016ee733ac3e4ccd65e0711f5d3a9b92e5e49
Cr-Commit-Position: refs/heads/master@{#397874}

Powered by Google App Engine
This is Rietveld 408576698