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

Issue 14772035: Make DecodeMemoryToTarget handle more configs. (Closed)

Created:
7 years, 7 months ago by scroggo
Modified:
7 years, 7 months ago
Reviewers:
reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Make DecodeMemoryToTarget handle more configs. In SkImageDecoder::DecodeMemoryToTarget, if SkBitmapToImageInfo fails due to an unsupported config, copy to 8888. Needed for https://codereview.chromium.org/15145004/ and https://codereview.chromium.org/12851012/ for all bitmaps to be decoded properly in render_pictures and bench_pictures. R=reed@google.com Committed: https://code.google.com/p/skia/source/detail?r=9196

Patch Set 1 #

Patch Set 2 : Copy to 8888 #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 1

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -29 lines) Patch
M src/images/SkImageDecoder.cpp View 1 2 3 2 chunks +114 lines, -29 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
scroggo
7 years, 7 months ago (2013-05-14 18:27:37 UTC) #1
scroggo
New approach.
7 years, 7 months ago (2013-05-14 21:38:00 UTC) #2
reed1
wrap the call(s) to SkImageDecoder to never return kIndex8 (but return 8888 instead)? That way ...
7 years, 7 months ago (2013-05-15 20:12:23 UTC) #3
scroggo
On 2013/05/15 20:12:23, reed1 wrote: > wrap the call(s) to SkImageDecoder to never return kIndex8 ...
7 years, 7 months ago (2013-05-17 13:40:09 UTC) #4
reed1
lgtm, with suggestion for generalizing your allocator for future use (could be separate CL or ...
7 years, 7 months ago (2013-05-20 14:03:24 UTC) #5
scroggo
7 years, 7 months ago (2013-05-20 16:58:21 UTC) #6
Message was sent while issue was closed.
Committed patchset #5 manually as r9196 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698