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

Issue 925353002: Make commit for swap promises do not set can_cancel_commit. (Closed)

Created:
5 years, 10 months ago by Ignacio Solla
Modified:
5 years, 10 months ago
Reviewers:
boliu, Sami, no sievers, piman
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, mlamouri+watch-content_chromium.org, boliu, Tobias Sargeant, Torne
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make commit for swap promises do not unset can_cancel_commit. When swap promises are enqueued we request a commit. If there are no updates the promises should be broken and the commit skipped (EarlyOut_NoUpdates). To achieve that we request the commit by calling SetNeedsUpdateLayers instead of SetNeedsCommit in order to not unset can_cancel_commit. Note that SetNeedsUpdateLayers is a subset of SetNeedsCommit and a no-op when a commit has already been requested. BUG=458577 Committed: https://crrev.com/eab34cc80772373eac0df3b6003fe1eeaf767d78 Cr-Commit-Position: refs/heads/master@{#317292}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase and comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -4 lines) Patch
M content/renderer/gpu/render_widget_compositor.h View 2 chunks +4 lines, -3 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/render_widget.cc View 1 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 13 (5 generated)
Ignacio Solla
5 years, 10 months ago (2015-02-16 12:29:10 UTC) #2
Sami
lgtm. +boliu FYI. https://codereview.chromium.org/925353002/diff/1/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/925353002/diff/1/content/renderer/render_widget.cc#newcode1455 content/renderer/render_widget.cc:1455: compositor_->SetNeedsUpdateLayers(); Could you add a comment ...
5 years, 10 months ago (2015-02-16 16:12:30 UTC) #4
Ignacio Solla
https://codereview.chromium.org/925353002/diff/1/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/925353002/diff/1/content/renderer/render_widget.cc#newcode1455 content/renderer/render_widget.cc:1455: compositor_->SetNeedsUpdateLayers(); On 2015/02/16 16:12:30, Sami wrote: > Could you ...
5 years, 10 months ago (2015-02-17 11:41:18 UTC) #6
jam
please send this to an owner who knows this code better than me. looking through ...
5 years, 10 months ago (2015-02-17 16:56:03 UTC) #7
piman
lgtm
5 years, 10 months ago (2015-02-19 23:26:42 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/925353002/20001
5 years, 10 months ago (2015-02-20 10:44:18 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-20 11:33:45 UTC) #12
commit-bot: I haz the power
5 years, 10 months ago (2015-02-20 11:34:16 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/eab34cc80772373eac0df3b6003fe1eeaf767d78
Cr-Commit-Position: refs/heads/master@{#317292}

Powered by Google App Engine
This is Rietveld 408576698