Index: sky/shell/gpu/rasterizer.cc |
diff --git a/sky/shell/gpu/rasterizer.cc b/sky/shell/gpu/rasterizer.cc |
index 4d4ded4aa4fe97094aa32983e145efedc5afe580..f679b8f813c73a76a4c538ff8c68566d4cac6e01 100644 |
--- a/sky/shell/gpu/rasterizer.cc |
+++ b/sky/shell/gpu/rasterizer.cc |
@@ -7,6 +7,7 @@ |
#include "base/trace_event/trace_event.h" |
#include "sky/shell/gpu/ganesh_context.h" |
#include "sky/shell/gpu/ganesh_surface.h" |
+#include "sky/shell/gpu/picture_serializer.h" |
#include "third_party/skia/include/core/SkCanvas.h" |
#include "third_party/skia/include/core/SkPicture.h" |
#include "ui/gl/gl_bindings.h" |
@@ -58,6 +59,8 @@ void Rasterizer::Draw(skia::RefPtr<SkPicture> picture) { |
DrawPicture(picture.get()); |
surface_->SwapBuffers(); |
+ |
+ // SerializePicture("/data/data/org.domokit.sky.demo/cache/layer0.skp", picture.get()); |
} |
void Rasterizer::DrawPicture(SkPicture* picture) { |