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
This commit is contained in:
jvanverth@google.com 2013-01-09 18:22:53 +00:00
parent b6c933cc9b
commit a543b604e4

View File

@ -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"));