|
Remove a SkImageDecoder reference from SkPicture.h
Remove SkImageDecoder::DecodeMemory reference from the default proc parameter of
SkPicture::CreateFromStream. Instead add an overload of CreateFromStream without
the proc parameter. Make compilations with image library call the old function
with the correct proc parameter. Make compilations without image library call
the old function with NULL parameter.
This is part of the work making it possible to compile core skia library without
references to image decoders or encoders, e.g without the images library. This
is needed in order to compile the images library to the standalone apps linking
to the images-less Skia library.
BUG= skia:2992
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+31 lines, -2 lines) |
Patch |
|
M |
dm/DMPipeTask.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
include/core/SkPicture.h
|
View
|
|
2 chunks |
+11 lines, -2 lines |
0 comments
|
Download
|
|
M |
include/core/SkWriteBuffer.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
samplecode/SampleApp.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/core/SkRecord.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrLayerHoister.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrPictureUtils.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/pdf/SkPDFDeviceFlattener.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/ports/SkImagesSupport_default.cpp
|
View
|
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ports/SkImagesSupport_noimages.cpp
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
Total messages: 5 (1 generated)
|