aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-08-28 11:30:48 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-08-28 15:56:06 +0000
commite6befa5ac8e00400a7baa1813d323cdb834a22e5 (patch)
tree0d83878158c080a458b8cfe01140cd728aee8431 /bench
parentc172f9b894455f2d262a5b1edf067764d70b1b62 (diff)
add 'a8' config for nanobench, specialize blitV for raster-pipeline
Motivated by wanting to speed-up A8 blits in general (and at the moment, aarect blits). More to come in these areas. Bug: skia: Change-Id: I45e8ef951b8e89a825af72b1918049be10920137 Reviewed-on: https://skia-review.googlesource.com/39401 Reviewed-by: Yuqian Li <liyuqian@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'bench')
-rw-r--r--bench/nanobench.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp
index ab7c689309..95977c53cb 100644
--- a/bench/nanobench.cpp
+++ b/bench/nanobench.cpp
@@ -475,6 +475,8 @@ static void create_config(const SkCommandLineConfig* config, SkTArray<Config>* c
CPU_CONFIG(nonrendering, kNonRendering_Backend,
kUnknown_SkColorType, kUnpremul_SkAlphaType, nullptr)
+ CPU_CONFIG(a8, kRaster_Backend,
+ kAlpha_8_SkColorType, kPremul_SkAlphaType, nullptr)
CPU_CONFIG(8888, kRaster_Backend,
kN32_SkColorType, kPremul_SkAlphaType, nullptr)
CPU_CONFIG(565, kRaster_Backend,