diff options
author | jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-09 18:22:53 +0000 |
---|---|---|
committer | jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-09 18:22:53 +0000 |
commit | a543b604e425c00ca7957160e73220ca71f75e0b (patch) | |
tree | 1eb49da9a03c2f5bbba82d5abd65617bff31a13d /bench | |
parent | b6c933cc9b05a44cec25b00b4c55075e01ca7084 (diff) |
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
Diffstat (limited to 'bench')
-rw-r--r-- | bench/benchmain.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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")); |