Make bench_pictures output a meaningful config name.

Review URL: https://codereview.appspot.com/6813074

git-svn-id: http://skia.googlecode.com/svn/trunk@6288 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tools/PictureBenchmark.cpp b/tools/PictureBenchmark.cpp
index fbf1585..ca7795f 100644
--- a/tools/PictureBenchmark.cpp
+++ b/tools/PictureBenchmark.cpp
@@ -95,9 +95,9 @@
         timerData.appendTimes(timer, fRepeats - 1 == i);
     }
 
-    const char* configName = usingGpu ? "gpu" : "raster";
+    SkString configName = fRenderer->getConfigName();
     SkString result = timerData.getResult(fLogPerIter, fPrintMin, fRepeats,
-                                          configName, fShowWallTime, fShowTruncatedWallTime,
+                                          configName.c_str(), fShowWallTime, fShowTruncatedWallTime,
                                           fShowCpuTime, fShowTruncatedCpuTime,
                                           usingGpu && fShowGpuTime);
     result.append("\n");