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

Issue 892783003: Check the condition for animation policy of bitmapImage on notifyFinished. (Closed)

Created:
5 years, 10 months ago by je_julie(Not used)
Modified:
5 years, 10 months ago
Reviewers:
haraken, tkent, Mike West, fs
CC:
blink-reviews, blink-reviews-rendering, Rik, danakj, Dominik Röttsches, dshwang, krit, eae+blinkwatch, f(malita), gavinp+loader_chromium.org, Nate Chapin, jbroman, jchaffraix+rendering, Justin Novosad, leviw+renderwatch, pdr+graphicswatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, rwlbuis, Stephen Chennney, tyoshino+watch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Check the condition for animation policy of BitmapImage on notifyFinished. Animation Policy was checked every time when BitmapImage is updated and it caused performance degrade. This patch makes that animation policy is updated when RenderImage gets notifyFinished and removes the part to check animation policy at BitmapImage on every drawing. BUG=452256, 445921 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189487

Patch Set 1 #

Total comments: 1

Patch Set 2 : Move updating policy to ImageLoader #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -16 lines) Patch
M Source/core/fetch/ImageResource.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/fetch/ImageResource.cpp View 1 chunk +10 lines, -4 lines 0 comments Download
M Source/core/loader/ImageLoader.cpp View 1 1 chunk +5 lines, -0 lines 0 comments Download
M Source/platform/graphics/BitmapImage.h View 1 chunk +3 lines, -0 lines 0 comments Download
M Source/platform/graphics/BitmapImage.cpp View 1 chunk +2 lines, -8 lines 0 comments Download
M Source/platform/graphics/BitmapImageTest.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/platform/graphics/Image.h View 2 chunks +5 lines, -0 lines 0 comments Download
M Source/platform/graphics/ImageObserver.h View 2 chunks +0 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (2 generated)
je_julie(Not used)
Hi reviewers, There is an performance issue caused by http://crrev.com/754813002. The reason is that BitmapImage ...
5 years, 10 months ago (2015-01-31 14:26:07 UTC) #2
haraken
LGTM
5 years, 10 months ago (2015-02-01 00:37:40 UTC) #3
Mike West
Source/platform LGTM.
5 years, 10 months ago (2015-02-01 08:00:15 UTC) #4
je_julie(Not used)
On 2015/02/01 08:00:15, Mike West wrote: > Source/platform LGTM. I updated bug number because I ...
5 years, 10 months ago (2015-02-02 09:48:52 UTC) #5
fs
https://codereview.chromium.org/892783003/diff/1/Source/core/rendering/RenderImage.cpp File Source/core/rendering/RenderImage.cpp (right): https://codereview.chromium.org/892783003/diff/1/Source/core/rendering/RenderImage.cpp#newcode214 Source/core/rendering/RenderImage.cpp:214: image->updateImageAnimationPolicy(); This doesn't appear to cover all the cases ...
5 years, 10 months ago (2015-02-02 10:31:26 UTC) #6
je_julie(Not used)
On 2015/02/02 10:31:26, fs wrote: > Additionally, if transforming "pull" to "push" it seems the ...
5 years, 10 months ago (2015-02-02 10:57:32 UTC) #7
fs
On 2015/02/02 10:57:32, je_julie wrote: > On 2015/02/02 10:31:26, fs wrote: > > Additionally, if ...
5 years, 10 months ago (2015-02-02 11:50:36 UTC) #8
je_julie(Not used)
On 2015/02/02 11:50:36, fs wrote: > What I meant by that was that previously the ...
5 years, 10 months ago (2015-02-02 14:31:33 UTC) #9
fs
On 2015/02/02 14:31:33, je_julie wrote: > On 2015/02/02 11:50:36, fs wrote: > > What I ...
5 years, 10 months ago (2015-02-02 14:48:42 UTC) #10
je_julie(Not used)
On 2015/02/02 14:48:42, fs wrote: > > From the patchset#2, I moved updating policy to ...
5 years, 10 months ago (2015-02-03 01:29:46 UTC) #11
Mike West
Still LGTM, thanks.
5 years, 10 months ago (2015-02-04 08:40:18 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/892783003/20001
5 years, 10 months ago (2015-02-04 08:46:46 UTC) #14
commit-bot: I haz the power
5 years, 10 months ago (2015-02-04 11:35:50 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=189487

Powered by Google App Engine
This is Rietveld 408576698