c0b4fa78738acf9ad587eb9fcbc2021be9a3ee77 |
|
27-Apr-2012 |
Chet Haase <chet@google.com> |
Handle Bitmap reuse failure more gracefully A feature in Android 3.0 allows Bitmaps to be reused when loading a bitmap of the same dimensions. A documented limitation is that the only formats supported are jpeg and png, the most common formats for Android. But if you actually try to do it anyway, you'll end up causing memory trashing and an eventual strange native crash. It's not pretty. This fix puts code in other possible image format decoders (gif, ico, and bmp) to return false from the onDecode() operation, which will result in an exception being thrown back to the user code. Issue #6146246 Sparodic crash in GraphicsJNI::allocateJavaPixelRef (memory corruption?) Change-Id: Ifd3e0f87c9ea6d41a37f58616e1ced0b19132056
/external/skia/src/images/SkImageDecoder_libgif.cpp
|
1cab2921ab279367f8206cdadc9259d12e603548 |
|
18-Jan-2012 |
Derek Sollenberger <djsollen@google.com> |
Skia merge (revision 3022) This CL has companion changes to account for API updates in... (1) frameworks/base (2) external/webkit Change-Id: Ibb989e76e8bd24313849f9631dbef42cdef9eb7d
/external/skia/src/images/SkImageDecoder_libgif.cpp
|
ff1f66966879e612660387285b7ead9c040ff88f |
|
10-May-2010 |
The Android Open Source Project <initial-contribution@android.com> |
merge from open-source master Change-Id: I064902aa9745342ccfe868331ccc000767e92fc0
|
adc53e42d2aba7cd06ace07858049b6e17454e08 |
|
21-Apr-2010 |
Fredrik Lanker <fredrik.lanker@sonyericsson.com> |
Adding check for missing color map in GIF decoder. A missing color map for a GIF image could previously lead to a crash. This commit adds a NULL check to prevent that from happening. Change-Id: I5ecdfda979925a6de1eac6aae2bcae6a25b47f18
/external/skia/src/images/SkImageDecoder_libgif.cpp
|
0a81c953145c77abea5ca1df9e84c62d9da96094 |
|
03-Mar-2010 |
Mike Reed <reed@google.com> |
add optional preftable to image codecs, for more control over the resulting bitmap config
/external/skia/src/images/SkImageDecoder_libgif.cpp
|
f43ecde805dd6f15f555afcc523c1f36df0f4897 |
|
02-Feb-2010 |
Mike Reed <reed@google.com> |
check for null cmap http://b/issue?id=2319754
/external/skia/src/images/SkImageDecoder_libgif.cpp
|
eba9f316916f3381d6a5dd5c1300fea6ec6da8dc |
|
01-May-2009 |
Mike Reed <reed@google.com> |
refresh from skia/trunk - catch overflow from mask size computation - add kADD_Mode to porterduff (for webkit) - support interlace images in png
/external/skia/src/images/SkImageDecoder_libgif.cpp
|
0910916c0f7b951ee55c4b7c6358295b9bca0565 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/external/skia/src/images/SkImageDecoder_libgif.cpp
|
6eb364108744656fcd23a96a478aa772cd4e85bc |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/external/skia/src/images/SkImageDecoder_libgif.cpp
|
8552a21d334cbc7971b109f27d05aea9d7690e92 |
|
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
/external/skia/src/images/SkImageDecoder_libgif.cpp
|
03202c9c3dfbf8c4feb0a1ee9b3680817e633f58 |
|
10-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@125939
/external/skia/src/images/SkImageDecoder_libgif.cpp
|