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

Issue 429643002: Add non-blocking frame rate limiting logic to display list 2D canvas (Closed)

Created:
6 years, 4 months ago by Justin Novosad
Modified:
6 years, 4 months ago
Reviewers:
Stephen White
CC:
blink-reviews, jamesr, krit, blink-reviews-html_chromium.org, jbroman, danakj, dglazkov+blink, Rik, Stephen Chennney, pdr., rwlbuis
Project:
blink
Visibility:
Public.

Description

Add non-blocking frame rate limiting logic to display list 2D canvas This patch inserts frame barriers at the end of script execution tasks that draw to a canvas. This is to prevent the accumulation of a multi- frame backlog of draw commands in the SkPicture used by the display list canvas implementation. BUG=397516 TEST=RecordingImageBufferSurface unit tests Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179175

Patch Set 1 #

Total comments: 2

Patch Set 2 : applied corrections #

Unified diffs Side-by-side diffs Delta from patch set Stats (+210 lines, -30 lines) Patch
M Source/core/html/HTMLCanvasElement.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M Source/platform/graphics/Canvas2DImageBufferSurface.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/Canvas2DLayerBridge.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/Canvas2DLayerBridge.cpp View 2 chunks +1 line, -2 lines 0 comments Download
M Source/platform/graphics/Canvas2DLayerManagerTest.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/platform/graphics/ImageBuffer.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/platform/graphics/ImageBuffer.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M Source/platform/graphics/ImageBufferSurface.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/RecordingImageBufferSurface.h View 5 chunks +9 lines, -4 lines 0 comments Download
M Source/platform/graphics/RecordingImageBufferSurface.cpp View 1 5 chunks +43 lines, -9 lines 0 comments Download
M Source/platform/graphics/RecordingImageBufferSurfaceTest.cpp View 1 5 chunks +146 lines, -8 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Justin Novosad
PTAL
6 years, 4 months ago (2014-07-29 18:24:22 UTC) #1
Stephen White
Kudos for mocking Platform. :) https://codereview.chromium.org/429643002/diff/1/Source/platform/graphics/RecordingImageBufferSurface.cpp File Source/platform/graphics/RecordingImageBufferSurface.cpp (right): https://codereview.chromium.org/429643002/diff/1/Source/platform/graphics/RecordingImageBufferSurface.cpp#newcode154 Source/platform/graphics/RecordingImageBufferSurface.cpp:154: return !canvasIsAnimated; Is this ...
6 years, 4 months ago (2014-07-29 18:38:55 UTC) #2
Stephen White
On 2014/07/29 18:38:55, Stephen White wrote: > Kudos for mocking Platform. :) > > https://codereview.chromium.org/429643002/diff/1/Source/platform/graphics/RecordingImageBufferSurface.cpp ...
6 years, 4 months ago (2014-07-29 18:39:08 UTC) #3
Justin Novosad
The CQ bit was checked by junov@chromium.org
6 years, 4 months ago (2014-07-29 19:07:39 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/junov@chromium.org/429643002/20001
6 years, 4 months ago (2014-07-29 19:08:18 UTC) #5
commit-bot: I haz the power
6 years, 4 months ago (2014-07-29 20:46:41 UTC) #6
Message was sent while issue was closed.
Change committed as 179175

Powered by Google App Engine
This is Rietveld 408576698