|
Move code to dump GrSurface as a png to helper files
Create a new set of helper functions in SkImagesSupport.h. These functions use the
image decoders and encoders from images library. In cases where images library
is not part of the Skia library, these functions can be stubbed out.
For example, Chromium would compile src/ports/SkImagesSupport_noimages.cpp,
since it does not compile in the image decoders or encoders.
BUG= skia:2992
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+95 lines, -42 lines) |
Patch |
|
M |
gyp/core.gypi
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
gyp/images.gyp
|
View
|
1
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/gpu/GrSurface.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
A |
src/core/SkImagesSupport.h
|
View
|
1
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrAADistanceFieldPathRenderer.cpp
|
View
|
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrLayerCache.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrSurface.cpp
|
View
|
|
2 chunks |
+0 lines, -28 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrSurfacePriv.h
|
View
|
1
|
2 chunks |
+1 line, -6 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrTextStrike.cpp
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
A |
src/ports/SkImagesSupport_default.cpp
|
View
|
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
|
A |
src/ports/SkImagesSupport_noimages.cpp
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
Total messages: 12 (3 generated)
|