|
Change SkImageDecoders to take an SkStreamRewindable.
Only affects factories, static functions that will use the factories,
and subset decoding, which all require rewinding. The decoders
themselves continue to take an SkStream. This is merely documentation
stating which functions will possibly rewind the passed in SkStream.
This is part of the general change to coordinate SkStreams with
Android's streams, which don't necessarily support rewinding in all
cases.
Update callers to use SkStreamRewindable.
BUG= skia:1572
R=bungeman@google.com, reed@google.com
Committed: https://code.google.com/p/skia/source/detail?r=11460
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+109 lines, -104 lines) |
Patch |
|
M |
include/core/SkImageDecoder.h
|
View
|
1
2
3
|
10 chunks |
+14 lines, -13 lines |
0 comments
|
Download
|
|
M |
include/images/SkImageRef.h
|
View
|
|
4 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
include/images/SkImageRef_GlobalPool.h
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
include/images/SkMovie.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
samplecode/SamplePicture.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/animator/SkDrawBitmap.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/images/SkImageDecoder.cpp
|
View
|
1
2
3
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/images/SkImageDecoder_FactoryDefault.cpp
|
View
|
1
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/images/SkImageDecoder_FactoryRegistrar.cpp
|
View
|
1
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/images/SkImageDecoder_libbmp.cpp
|
View
|
1
2
3
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/images/SkImageDecoder_libgif.cpp
|
View
|
1
2
3
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/images/SkImageDecoder_libico.cpp
|
View
|
1
2
3
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/images/SkImageDecoder_libjpeg.cpp
|
View
|
1
2
3
|
6 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/images/SkImageDecoder_libpng.cpp
|
View
|
1
2
3
|
7 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/images/SkImageDecoder_libwebp.cpp
|
View
|
1
2
3
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/images/SkImageDecoder_wbmp.cpp
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/images/SkImageRef.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/images/SkImageRef_GlobalPool.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/images/SkImageRef_ashmem.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/images/SkImageRef_ashmem.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/images/SkMovie.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/images/SkMovie_gif.cpp
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ports/SkImageDecoder_CG.cpp
|
View
|
1
2
3
|
6 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/ports/SkImageDecoder_WIC.cpp
|
View
|
1
2
3
|
5 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/ports/SkImageDecoder_empty.cpp
|
View
|
1
2
3
|
5 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/utils/win/SkIStream.cpp
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
tests/ImageDecodingTest.cpp
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|