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

Issue 2587433003: remove call to deprecated preroll() -- cc manages triggering/caching decodes (Closed)

Created:
4 years ago by reed1
Modified:
4 years ago
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

remove call to deprecated preroll() -- cc manages triggering/caching decodes I just now (after posting this) see https://bugs.chromium.org/p/chromium/issues/detail?id=595090 Calling preroll() is (1) deprecated, and (2) is no guarantee that the bits will hang around, since the cache is volatile. If the desire is to "force" the codec to produce a raster, then lest just ask the codec to do that (i.e. *not* be lazy). thoughts? BUG= Committed: https://crrev.com/baed7149f0c86f55c32999e749386aac630745b3 Cr-Commit-Position: refs/heads/master@{#439878}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -2 lines) Patch
M third_party/WebKit/Source/core/frame/ImageBitmap.cpp View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (12 generated)
reed1
4 years ago (2016-12-16 15:55:53 UTC) #2
Justin Novosad
On 2016/12/16 15:55:53, reed1 wrote: lgtm. Is there something we can replace this with to ...
4 years ago (2016-12-19 17:41:35 UTC) #10
reed1
Do we have a real world measure of the perf, or was this speculative? Certainly ...
4 years ago (2016-12-20 00:30:32 UTC) #11
Justin Novosad
On 2016/12/20 00:30:32, reed1 wrote: > Do we have a real world measure of the ...
4 years ago (2016-12-20 14:49:55 UTC) #12
reed1
ok. I'd be happy to look at any profiles we get of this code path ...
4 years ago (2016-12-20 15:03:24 UTC) #13
Justin Novosad
Yes. lgtm
4 years ago (2016-12-20 16:49:50 UTC) #14
Justin Novosad
FWIW, most canvas use cases re-use the same images over and they rarely scroll. So ...
4 years ago (2016-12-20 16:51:56 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/2587433003/1
4 years ago (2016-12-20 18:12:52 UTC) #17
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-20 20:23:59 UTC) #20
commit-bot: I haz the power
4 years ago (2016-12-20 20:26:26 UTC) #22
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/baed7149f0c86f55c32999e749386aac630745b3
Cr-Commit-Position: refs/heads/master@{#439878}

Powered by Google App Engine
This is Rietveld 408576698