From a543b604e425c00ca7957160e73220ca71f75e0b Mon Sep 17 00:00:00 2001 From: "jvanverth@google.com" Date: Wed, 9 Jan 2013 18:22:53 +0000 Subject: Add clear after each image save, so that GPU images won't end up progressively compositing on top of one another. git-svn-id: http://skia.googlecode.com/svn/trunk@7108 2bbb7eff-a529-9590-31e7-b0007b416f81 --- bench/benchmain.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'bench') diff --git a/bench/benchmain.cpp b/bench/benchmain.cpp index 6f062e4775..fb6d376678 100644 --- a/bench/benchmain.cpp +++ b/bench/benchmain.cpp @@ -887,6 +887,7 @@ int tool_main(int argc, char** argv) { if (outDir.size() > 0) { saveFile(bench->getName(), configName, outDir.c_str(), device->accessBitmap(false)); + canvas->clear(SK_ColorWHITE); } } logger.logProgress(SkString("\n")); -- cgit v1.2.3