Index: samplecode/SamplePictFile.cpp |
diff --git a/samplecode/SamplePictFile.cpp b/samplecode/SamplePictFile.cpp |
index 453624ec7421c55214eebdde3f415b0ded3d2278..df0c369736a0986529ac9836e415ac7e58e360b4 100644 |
--- a/samplecode/SamplePictFile.cpp |
+++ b/samplecode/SamplePictFile.cpp |
@@ -136,6 +136,12 @@ |
SkDebugf("coun't load picture at \"path\"\n", path); |
} |
+ if (false) { |
+ SkSurface* surf = SkSurface::NewRasterPMColor(SkScalarCeilToInt(pic->cullRect().width()), |
+ SkScalarCeilToInt(pic->cullRect().height())); |
+ surf->getCanvas()->drawPicture(pic); |
+ surf->unref(); |
+ } |
if (false) { // re-record |
SkPictureRecorder recorder; |
pic->playback(recorder.beginRecording(pic->cullRect().width(), |