diff options
author | 2016-05-13 10:04:46 -0700 | |
---|---|---|
committer | 2016-05-13 10:04:46 -0700 | |
commit | 670f01f2fc88f02ec9a6f1b47af29daeadc3b301 (patch) | |
tree | 2540624e093c7445b786d744898fe27493ddc1a1 /bench | |
parent | 36632f46a6d87d9d9bd5e0ab65350638e8cfb65c (diff) |
This has all the different source types in and working. There are many SkDiffs, but they seem to be due to better resolution.
This seems to fix all the bugs involved with make all the images produced by the codec to default to sRGB.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1967283002
Review-Url: https://codereview.chromium.org/1967283002
Diffstat (limited to 'bench')
-rw-r--r-- | bench/SkLinearBitmapPipelineBench.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/SkLinearBitmapPipelineBench.cpp b/bench/SkLinearBitmapPipelineBench.cpp index caf1844f59..476d015231 100644 --- a/bench/SkLinearBitmapPipelineBench.cpp +++ b/bench/SkLinearBitmapPipelineBench.cpp @@ -146,7 +146,7 @@ struct SkBitmapFPGeneral final : public CommonBitmapFPBenchmark { SkPixmap srcPixmap{fInfo, fBitmap.get(), static_cast<size_t>(4 * width)}; SkLinearBitmapPipeline pipeline{ - fInvert, filterQuality, fXTile, fYTile, 1.0f, srcPixmap}; + fInvert, filterQuality, fXTile, fYTile, SK_ColorBLACK, srcPixmap}; int count = 100; |