Revert back to SkPictureData pictures. Huge perf regression.
http://skiaperf.com/#108
BUG=skia:
R=reed@google.com, mtklein@google.com
Author: mtklein@chromium.org
Review URL: https://codereview.chromium.org/496603002
diff --git a/src/core/SkPicture.cpp b/src/core/SkPicture.cpp
index 70c1f67..160dd4b 100644
--- a/src/core/SkPicture.cpp
+++ b/src/core/SkPicture.cpp
@@ -431,8 +431,12 @@
if (NULL == data) {
return NULL;
}
+#if 0
const SkPicture src(data, info.fWidth, info.fHeight);
return Forwardport(src);
+#else
+ return SkNEW_ARGS(SkPicture, (data, info.fWidth, info.fHeight));
+#endif
}
return NULL;
@@ -452,8 +456,12 @@
if (NULL == data) {
return NULL;
}
+#if 0
const SkPicture src(data, info.fWidth, info.fHeight);
return Forwardport(src);
+#else
+ return SkNEW_ARGS(SkPicture, (data, info.fWidth, info.fHeight));
+#endif
}
return NULL;