Add bench for odd-sized mipmapping w/sRGB filtering
authorBrian Osman <brianosman@google.com>
Mon, 6 Mar 2017 18:58:54 +0000 (13:58 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Mon, 6 Mar 2017 19:43:15 +0000 (19:43 +0000)
Need some data to inform a decision about always doing gamma correct
mipmapping.

BUG=skia:

Change-Id: I92fd120413aae3d946252b0b7122c36bc74f58da
Reviewed-on: https://skia-review.googlesource.com/9307
Commit-Queue: Matt Sarett <msarett@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Matt Sarett <msarett@google.com>
bench/MipMapBench.cpp

index 57e4588..36def3a 100644 (file)
@@ -54,3 +54,5 @@ DEF_BENCH( return new MipMapBench(511, 512, SkDestinationSurfaceColorMode::kLega
 DEF_BENCH( return new MipMapBench(512, 512, SkDestinationSurfaceColorMode::kLegacy); )
 DEF_BENCH( return new MipMapBench(512, 512,
                                   SkDestinationSurfaceColorMode::kGammaAndColorSpaceAware); )
+DEF_BENCH( return new MipMapBench(511, 511,
+                                  SkDestinationSurfaceColorMode::kGammaAndColorSpaceAware); )