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

Issue 274163004: Remove browser-side tracking of accelerated compositing (Closed)

Created:
6 years, 7 months ago by piman
Modified:
6 years, 7 months ago
Reviewers:
danakj, Tom Sepez
CC:
chromium-reviews, creis+watch_chromium.org, yusukes+watch_chromium.org, nona+watch_chromium.org, nasko+codewatch_chromium.org, jam, penghuang+watch_chromium.org, yukishiino+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su, miu+watch_chromium.org
Visibility:
Public.

Description

Remove browser-side tracking of accelerated compositing From the browser-side of things, compositing is always on, except for layout tests. The places that do test the compositing state on the browser side are irrelevant for layout tests and/or redundant with existing state (e.g. whether we received a frame). BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270878

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 9

Patch Set 3 : rebase #

Patch Set 4 : fix comment #

Patch Set 5 : rebase #

Patch Set 6 : Stop throttling resizes #

Patch Set 7 : rebase on top of https://codereview.chromium.org/286953002/ #

Patch Set 8 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -101 lines) Patch
M content/browser/compositor/delegated_frame_host.cc View 1 2 3 4 5 6 7 3 chunks +2 lines, -8 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_unittest.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -12 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M content/browser/media/capture/web_contents_video_capture_device.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 chunks +0 lines, -9 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 6 chunks +2 lines, -16 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 2 3 chunks +0 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_browsertest.cc View 1 2 3 1 chunk +1 line, -7 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 5 6 7 4 chunks +3 lines, -7 lines 0 comments Download
M content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M content/common/swapped_out_messages.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 1 chunk +0 lines, -5 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 7 2 chunks +0 lines, -4 lines 0 comments Download
M content/test/test_render_view_host.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/test/test_render_view_host.cc View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
piman
danakj: please review tsepez: security for content/common/view_messages.h (removing one IPC).
6 years, 7 months ago (2014-05-09 23:13:43 UTC) #1
Tom Sepez
Rubberstamp LGTM on deleting messages.
6 years, 7 months ago (2014-05-10 17:31:31 UTC) #2
danakj
While compositing is always on, one thing is, when moving from one page to another, ...
6 years, 7 months ago (2014-05-12 17:25:07 UTC) #3
danakj
Super happy if we can do this, a few more direct questions/concerns: https://codereview.chromium.org/274163004/diff/20001/content/browser/compositor/delegated_frame_host.cc File content/browser/compositor/delegated_frame_host.cc ...
6 years, 7 months ago (2014-05-12 17:37:58 UTC) #4
piman
https://codereview.chromium.org/274163004/diff/20001/content/browser/compositor/delegated_frame_host.cc File content/browser/compositor/delegated_frame_host.cc (left): https://codereview.chromium.org/274163004/diff/20001/content/browser/compositor/delegated_frame_host.cc#oldcode103 content/browser/compositor/delegated_frame_host.cc:103: if (!host->is_accelerated_compositing_active()) On 2014/05/12 17:37:58, danakj wrote: > Does ...
6 years, 7 months ago (2014-05-13 20:25:40 UTC) #5
danakj
LGTM https://codereview.chromium.org/274163004/diff/20001/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (right): https://codereview.chromium.org/274163004/diff/20001/content/browser/renderer_host/render_widget_host_view_mac.mm#newcode1214 content/browser/renderer_host/render_widget_host_view_mac.mm:1214: callback.Run(false, SkBitmap()); On 2014/05/13 20:25:40, piman wrote: > ...
6 years, 7 months ago (2014-05-13 21:23:43 UTC) #6
piman
On 2014/05/13 21:23:43, danakj wrote: > LGTM > > https://codereview.chromium.org/274163004/diff/20001/content/browser/renderer_host/render_widget_host_view_mac.mm > File content/browser/renderer_host/render_widget_host_view_mac.mm (right): > ...
6 years, 7 months ago (2014-05-14 23:52:46 UTC) #7
piman
BTW, this needs https://codereview.chromium.org/286953002/ to avoid test flakiness that was masked by the previous behavior.
6 years, 7 months ago (2014-05-14 23:53:42 UTC) #8
piman
The CQ bit was checked by piman@chromium.org
6 years, 7 months ago (2014-05-15 21:39:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/274163004/140001
6 years, 7 months ago (2014-05-15 21:40:44 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-15 23:42:21 UTC) #11
commit-bot: I haz the power
6 years, 7 months ago (2014-05-16 00:44:16 UTC) #12
Message was sent while issue was closed.
Change committed as 270878

Powered by Google App Engine
This is Rietveld 408576698