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

Issue 2848553003: Adjust OffscreenCanvas throttling to allow two frames of backlog (Closed)

Created:
3 years, 7 months ago by Justin Novosad
Modified:
3 years, 7 months ago
Reviewers:
Eric Seckler
CC:
chromium-reviews, krit, drott+blinkwatch_chromium.org, blink-reviews-platform-graphics_chromium.org, dshwang, pdr+graphicswatchlist_chromium.org, fmalita+watch_chromium.org, Rik, Justin Novosad, blink-reviews, kinuko+watch, ajuma+watch_chromium.org, Stephen Chennney, rwlbuis
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Adjust OffscreenCanvas throttling to allow two frames of backlog The throttling fix landed in https://codereview.chromium.org/2817603004/ has severely impacted rendering throughput due to the delay in compositor round trips. To avoid blocking the renderer script's animation loop, we need to allow the rendering proceed when there is still a pending frame. BUG=716138 Review-Url: https://codereview.chromium.org/2848553003 Cr-Commit-Position: refs/heads/master@{#468021} Committed: https://chromium.googlesource.com/chromium/src/+/fa845ac545a12d519ab5cb7d7ba5d9fd57ae2a0c

Patch Set 1 #

Total comments: 2

Patch Set 2 : better var names #

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

Messages

Total messages: 13 (9 generated)
Justin Novosad
PTAL
3 years, 7 months ago (2017-04-27 19:37:36 UTC) #2
Eric Seckler
lgtm! https://codereview.chromium.org/2848553003/diff/1/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp File third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp (right): https://codereview.chromium.org/2848553003/diff/1/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp#newcode31 third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp:31: kMaxCompositorPendingFrames = 2, same here? https://codereview.chromium.org/2848553003/diff/1/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h File third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h ...
3 years, 7 months ago (2017-04-28 08:19:10 UTC) #7
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/2848553003/20001
3 years, 7 months ago (2017-04-28 14:20:37 UTC) #10
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 16:26:41 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/fa845ac545a12d519ab5cb7d7ba5...

Powered by Google App Engine
This is Rietveld 408576698