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

Issue 526153002: Add ImageResource update bitmap images api (Closed)

Created:
6 years, 3 months ago by Noel Gordon
Modified:
6 years, 3 months ago
Reviewers:
pdr., Nate Chapin
CC:
blink-reviews, jamesr, krit, jbroman, danakj, Rik, gavinp+loader_chromium.org, Stephen Chennney, Nate Chapin, rwlbuis
Project:
blink
Visibility:
Public.

Description

Add ImageResource update bitmap images api The frames of bitmap images can change due to extrinsic reasons, other than new network data arrival or image frame animations. Add a new ImageResoruce api for updating images for extrinsic reasons, with optional decoder reset support used to force image re-decoding if needed. TEST=webkit_unit_tests --gtest_filter="ImageResource*UpdateBitmapImages" BUG=410135, 369901 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181451

Patch Set 1 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -27 lines) Patch
M Source/core/fetch/ImageResource.h View 1 chunk +2 lines, -0 lines 2 comments Download
M Source/core/fetch/ImageResource.cpp View 1 chunk +13 lines, -0 lines 0 comments Download
M Source/core/fetch/ImageResourceTest.cpp View 3 chunks +67 lines, -26 lines 0 comments Download
M Source/platform/graphics/BitmapImage.h View 2 chunks +1 line, -1 line 0 comments Download

Messages

Total messages: 25 (3 generated)
Noel Gordon
6 years, 3 months ago (2014-09-03 02:59:06 UTC) #2
pdr.
https://codereview.chromium.org/526153002/diff/40001/Source/core/fetch/ImageResource.h File Source/core/fetch/ImageResource.h (right): https://codereview.chromium.org/526153002/diff/40001/Source/core/fetch/ImageResource.h#newcode84 Source/core/fetch/ImageResource.h:84: static void updateBitmapImages(HashSet<ImageResource*>&, bool redecodeImages = false); I'm concerned ...
6 years, 3 months ago (2014-09-03 03:05:12 UTC) #4
Noel Gordon
On 2014/09/03 03:05:12, pdr wrote: > https://codereview.chromium.org/526153002/diff/40001/Source/core/fetch/ImageResource.h > File Source/core/fetch/ImageResource.h (right): > > https://codereview.chromium.org/526153002/diff/40001/Source/core/fetch/ImageResource.h#newcode84 > ...
6 years, 3 months ago (2014-09-03 04:15:53 UTC) #5
Noel Gordon
Ahem ... > I'm itemizing those on > https://code.google.com/p/chromium/issues/detail?id=35381 and fixing them and > writing ...
6 years, 3 months ago (2014-09-03 04:18:19 UTC) #6
pdr.
On 2014/09/03 04:15:53, Noel Gordon wrote: > Why are you concerned? Bitmap images are intrinsic ...
6 years, 3 months ago (2014-09-03 05:12:48 UTC) #7
Noel Gordon
On 2014/09/03 05:12:48, pdr wrote: > On 2014/09/03 04:15:53, Noel Gordon wrote: > > Why ...
6 years, 3 months ago (2014-09-03 05:43:07 UTC) #8
pdr.
On 2014/09/03 05:43:07, Noel Gordon wrote: > On 2014/09/03 05:12:48, pdr wrote: > > On ...
6 years, 3 months ago (2014-09-03 06:05:47 UTC) #9
pdr.
On 2014/09/03 06:05:47, pdr wrote: Expanding a bit: ImageResource handles SVG images too, and these ...
6 years, 3 months ago (2014-09-03 06:13:53 UTC) #10
Noel Gordon
Yes but means the SVG element that uses a BitmapImage is an ImageResource client, right?
6 years, 3 months ago (2014-09-03 06:47:33 UTC) #11
pdr.
On 2014/09/03 06:47:33, Noel Gordon wrote: > Yes but means the SVG element that uses ...
6 years, 3 months ago (2014-09-03 16:45:25 UTC) #12
Noel Gordon
On 2014/09/03 16:45:25, pdr wrote: > On 2014/09/03 06:47:33, Noel Gordon wrote: > > Yes ...
6 years, 3 months ago (2014-09-04 15:04:43 UTC) #13
Noel Gordon
On 2014/09/03 16:45:25, pdr wrote: > On 2014/09/03 06:47:33, Noel Gordon wrote: > > Yes ...
6 years, 3 months ago (2014-09-04 15:11:37 UTC) #14
Noel Gordon
On 2014/09/03 05:12:48, pdr wrote: > I just didn't have the full context of that ...
6 years, 3 months ago (2014-09-04 15:27:42 UTC) #15
Noel Gordon
On 2014/09/03 06:13:53, pdr wrote: > ImageResource handles SVG images too, and these images need ...
6 years, 3 months ago (2014-09-04 15:49:01 UTC) #16
pdr.
On 2014/09/04 15:49:01, Noel Gordon wrote: > On 2014/09/03 06:13:53, pdr wrote: > > ImageResource ...
6 years, 3 months ago (2014-09-04 17:47:18 UTC) #17
Noel Gordon
On 2014/09/04 17:47:18, pdr wrote: > > I'm not familiar with color profiles in SVG, ...
6 years, 3 months ago (2014-09-04 18:15:20 UTC) #18
pdr.
Thank you for filing https://code.google.com/p/chromium/issues/detail?id=411183. This patch: LGTM.
6 years, 3 months ago (2014-09-05 07:02:37 UTC) #19
pdr.
Just a minor nit. https://codereview.chromium.org/526153002/diff/40001/Source/core/fetch/ImageResource.h File Source/core/fetch/ImageResource.h (right): https://codereview.chromium.org/526153002/diff/40001/Source/core/fetch/ImageResource.h#newcode84 Source/core/fetch/ImageResource.h:84: static void updateBitmapImages(HashSet<ImageResource*>&, bool redecodeImages ...
6 years, 3 months ago (2014-09-05 07:04:38 UTC) #20
Noel Gordon
On 2014/09/05 07:02:37, pdr wrote: > Thank you for filing https://code.google.com/p/chromium/issues/detail?id=411183. Yeah, base64'd does mean ...
6 years, 3 months ago (2014-09-05 07:19:16 UTC) #21
Noel Gordon
On 2014/09/05 07:04:38, pdr wrote: > Just a minor nit. > > https://codereview.chromium.org/526153002/diff/40001/Source/core/fetch/ImageResource.h > File ...
6 years, 3 months ago (2014-09-05 07:30:39 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noel@chromium.org/526153002/40001
6 years, 3 months ago (2014-09-05 07:32:17 UTC) #24
commit-bot: I haz the power
6 years, 3 months ago (2014-09-05 07:38:57 UTC) #25
Message was sent while issue was closed.
Committed patchset #1 (id:40001) as 181451

Powered by Google App Engine
This is Rietveld 408576698