commit | 67882ddc0efbe33070b5da16931f80ed7f21b1f1 | [log] [tgz] |
---|---|---|
author | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon May 20 16:58:16 2013 +0000 |
committer | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon May 20 16:58:16 2013 +0000 |
tree | 91950614c3795d6952f373a2f8633ba0c9755360 | |
parent | 1dd9baa6c8faeb4ce837c39d179ce9c9a09719ef [diff] |
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 Review URL: https://codereview.chromium.org/14772035 git-svn-id: http://skia.googlecode.com/svn/trunk@9196 2bbb7eff-a529-9590-31e7-b0007b416f81