update blendmode bench

Bug: skia:
Change-Id: Id47fedd9e346035af0f14b9a9c171c79eec0d9cd
Reviewed-on: https://skia-review.googlesource.com/21407
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
This commit is contained in:
Mike Reed 2017-07-04 09:05:32 -04:00 committed by Skia Commit-Bot
parent 6b59bf424c
commit bfa23d7d87
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ class XfermodeBench : public Benchmark {
public:
XfermodeBench(SkBlendMode mode, bool aa) : fBlendMode(mode) {
fAA = aa;
fName.printf("Xfermode_%s%s", SkBlendMode_Name(mode), aa ? "_aa" : "");
fName.printf("blendmode_%s_%s", aa ? "mask" : "rect", SkBlendMode_Name(mode));
}
protected:

View File

@ -18,6 +18,7 @@ bench_sources = [
"$_bench/BitmapRectBench.cpp",
"$_bench/BitmapRegionDecoderBench.cpp",
"$_bench/BitmapScaleBench.cpp",
"$_bench/BlendmodeBench.cpp",
"$_bench/BlurBench.cpp",
"$_bench/BlurImageFilterBench.cpp",
"$_bench/BlurOccludedRRectBench.cpp",
@ -125,5 +126,4 @@ bench_sources = [
"$_bench/VertBench.cpp",
"$_bench/WritePixelsBench.cpp",
"$_bench/WriterBench.cpp",
"$_bench/XfermodeBench.cpp",
]