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

Issue 2700833002: Simplify rate limiter logic in Canvas2DLayerBridge (Closed)

Created:
3 years, 10 months ago by Justin Novosad
Modified:
3 years, 10 months ago
Reviewers:
xlai (Olivia)
CC:
chromium-reviews, krit, drott+blinkwatch_chromium.org, ajuma+watch-canvas_chromium.org, Stephen Chennney, dshwang, pdr+graphicswatchlist_chromium.org, jbroman, Justin Novosad, blink-reviews-platform-graphics_chromium.org, Rik, f(malita), blink-reviews, kinuko+watch, ajuma+watch_chromium.org, danakj+watch_chromium.org, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Simplify rate limiter logic in Canvas2DLayerBridge This CL is a follow-up to https://codereview.chromium.org/2653933003/. It refactors the rate-limiter code to make it stop using it own task observer, in favor of piggy-backing on top of the finalize frame signal BUG=653548, 673469 Review-Url: https://codereview.chromium.org/2700833002 Cr-Commit-Position: refs/heads/master@{#452071} Committed: https://chromium.googlesource.com/chromium/src/+/9ac0ae9669662fadaf27f247d0c46d6e14e075fe

Patch Set 1 #

Patch Set 2 : add trace #

Total comments: 6

Patch Set 3 : make more readable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -49 lines) Patch
M third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h View 1 2 4 chunks +1 line, -9 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp View 1 2 8 chunks +13 lines, -40 lines 0 comments Download

Messages

Total messages: 20 (11 generated)
Justin Novosad
3 years, 10 months ago (2017-02-16 21:29:54 UTC) #3
xlai (Olivia)
https://codereview.chromium.org/2700833002/diff/20001/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp File third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp (right): https://codereview.chromium.org/2700833002/diff/20001/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp#newcode144 third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp:144: m_previousFrameWasPresented( Will it be better to rename this as ...
3 years, 10 months ago (2017-02-17 19:39:53 UTC) #7
Justin Novosad
https://codereview.chromium.org/2700833002/diff/20001/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp File third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp (right): https://codereview.chromium.org/2700833002/diff/20001/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp#newcode144 third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp:144: m_previousFrameWasPresented( On 2017/02/17 19:39:53, xlai (Olivia) wrote: > Will ...
3 years, 10 months ago (2017-02-21 15:49:26 UTC) #8
Justin Novosad
New Patch
3 years, 10 months ago (2017-02-21 17:47:26 UTC) #10
xlai (Olivia)
Looks better. lgtm.
3 years, 10 months ago (2017-02-21 19:14:43 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2700833002/40001
3 years, 10 months ago (2017-02-21 19:34:58 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_asan_rel_ng on ...
3 years, 10 months ago (2017-02-21 21:39:29 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2700833002/40001
3 years, 10 months ago (2017-02-22 15:21:57 UTC) #17
commit-bot: I haz the power
3 years, 10 months ago (2017-02-22 16:04:35 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/9ac0ae9669662fadaf27f247d0c4...

Powered by Google App Engine
This is Rietveld 408576698