|
Remove bitmap reuse from SkImageDecoder.
Now that Android is using an SkBitmap::Allocator to reuse bitmap
memory, remove the unnecessary code to handle bitmap reuse inside
the decoders themselves.
Leaves in the code for bitmap reuse in decodeSubset, which still
may reuse bitmaps, and cropBitmap, which is called by decodeSubset.
R=djsollen@google.com
Committed: https://code.google.com/p/skia/source/detail?r=9931
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+43 lines, -113 lines) |
Patch |
|
M |
include/core/SkImageDecoder.h
|
View
|
1
|
2 chunks |
+16 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/images/SkImageDecoder.cpp
|
View
|
|
1 chunk |
+1 line, -8 lines |
0 comments
|
Download
|
|
M |
src/images/SkImageDecoder_libbmp.cpp
|
View
|
|
1 chunk |
+3 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/images/SkImageDecoder_libgif.cpp
|
View
|
|
1 chunk |
+1 line, -7 lines |
0 comments
|
Download
|
|
M |
src/images/SkImageDecoder_libico.cpp
|
View
|
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/images/SkImageDecoder_libjpeg.cpp
|
View
|
|
4 chunks |
+8 lines, -30 lines |
0 comments
|
Download
|
|
M |
src/images/SkImageDecoder_libpng.cpp
|
View
|
|
3 chunks |
+4 lines, -22 lines |
0 comments
|
Download
|
|
M |
src/images/SkImageDecoder_libwebp.cpp
|
View
|
|
1 chunk |
+4 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/images/SkImageDecoder_wbmp.cpp
|
View
|
|
1 chunk |
+3 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/ports/SkImageDecoder_empty.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|