Index: tools/gpuveto.cpp |
diff --git a/tools/gpuveto.cpp b/tools/gpuveto.cpp |
index 59b3bef2d9b1164546cfb4b04881642643013c81..4672a38b6b05d10a56fc71d77b3633e24343ad7c 100644 |
--- a/tools/gpuveto.cpp |
+++ b/tools/gpuveto.cpp |
@@ -7,6 +7,7 @@ |
#include "SkCommandLineFlags.h" |
#include "SkPicture.h" |
+#include "SkPictureAnalyzer.h" |
#include "SkPictureRecorder.h" |
#include "SkStream.h" |
@@ -57,7 +58,7 @@ int tool_main(int argc, char** argv) { |
nullptr, 0)); |
sk_sp<SkPicture> recorded(recorder.finishRecordingAsPicture()); |
- if (recorded->suitableForGpuRasterization(nullptr)) { |
+ if (SkPictureGpuAnalyzer(recorded).suitableForGpuRasterization(nullptr)) { |
SkDebugf("suitable\n"); |
} else { |
SkDebugf("unsuitable\n"); |