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

Issue 310183002: Ack swap buffers after a timeout (Closed)

Created:
6 years, 6 months ago by ccameron
Modified:
6 years, 6 months ago
Reviewers:
miu
CC:
chromium-reviews, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, jam, penghuang+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, James Su, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Ack swap buffers after a timeout In r272469, a timer that would automatically ack swaps after a quarter-second passed was removed. The purpose of the timer was to manage the transition between async and sync displays, but it had an unintentional side-effect of un-blocking the renderer in the event that the CALayer's display function was never called. Re-add a timer explicitly for this purpose. BUG=378445 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274802

Patch Set 1 #

Patch Set 2 : Update comments #

Total comments: 4

Patch Set 3 : Incorporate review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -29 lines) Patch
M content/browser/renderer_host/compositing_iosurface_layer_mac.h View 2 chunks +12 lines, -1 line 0 comments Download
M content/browser/renderer_host/compositing_iosurface_layer_mac.mm View 1 2 6 chunks +70 lines, -17 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 3 chunks +0 lines, -10 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
ccameron
This re-adds the timer that was needed to ack frames that came in at the ...
6 years, 6 months ago (2014-06-03 21:05:43 UTC) #1
ccameron
Hmm, the description for this CL was somehow eaten. Re-sending-out.
6 years, 6 months ago (2014-06-04 00:23:45 UTC) #2
miu
lgtm https://codereview.chromium.org/310183002/diff/20001/content/browser/renderer_host/compositing_iosurface_layer_mac.h File content/browser/renderer_host/compositing_iosurface_layer_mac.h (right): https://codereview.chromium.org/310183002/diff/20001/content/browser/renderer_host/compositing_iosurface_layer_mac.h#newcode46 content/browser/renderer_host/compositing_iosurface_layer_mac.h:46: BOOL has_pending_frame_; FYI--I've been told repeatedly by Mac ...
6 years, 6 months ago (2014-06-04 03:57:07 UTC) #3
ccameron
Thanks!! https://codereview.chromium.org/310183002/diff/20001/content/browser/renderer_host/compositing_iosurface_layer_mac.h File content/browser/renderer_host/compositing_iosurface_layer_mac.h (right): https://codereview.chromium.org/310183002/diff/20001/content/browser/renderer_host/compositing_iosurface_layer_mac.h#newcode46 content/browser/renderer_host/compositing_iosurface_layer_mac.h:46: BOOL has_pending_frame_; On 2014/06/04 03:57:07, miu wrote: > ...
6 years, 6 months ago (2014-06-04 05:36:22 UTC) #4
ccameron
The CQ bit was checked by ccameron@chromium.org
6 years, 6 months ago (2014-06-04 05:36:30 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/310183002/40001
6 years, 6 months ago (2014-06-04 05:38:04 UTC) #6
commit-bot: I haz the power
6 years, 6 months ago (2014-06-04 13:09:17 UTC) #7
Message was sent while issue was closed.
Change committed as 274802

Powered by Google App Engine
This is Rietveld 408576698