aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkSpriteBlitter_ARGB32.cpp
diff options
context:
space:
mode:
authorGravatar brianosman <brianosman@google.com>2016-02-26 07:59:33 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-26 07:59:33 -0800
commit9f73a71eec0eb54783f2dcad009aae6aafbe38d5 (patch)
tree85f1f40ca3cec8603466f810dfb2369b50a3412b /src/core/SkSpriteBlitter_ARGB32.cpp
parent89a60297fa359a38904e96bbbd51fe41d2defa10 (diff)
New GM that exercises gamma-correctness in various parts of the pipeline.
Attempts to render 50% grey through many different techniques. Only the first one (black/white dither) is guaranteed to be correct. This serves as ground-truth for all the others (independent of whatever your display may or may not be doing when viewing the output of the GM). Current tests: - Texture bilerp - Texture scale (ie mipmaps) - Simple paint color - Gradient - A handful of Xfer modes - 50% grey bitmaps, both linear and sRGB Also includes a bug-fix for sRGB -> Linear bitmap case BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1734983003 Review URL: https://codereview.chromium.org/1734983003
Diffstat (limited to 'src/core/SkSpriteBlitter_ARGB32.cpp')
-rw-r--r--src/core/SkSpriteBlitter_ARGB32.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkSpriteBlitter_ARGB32.cpp b/src/core/SkSpriteBlitter_ARGB32.cpp
index 93885996ea..0e3cc1a3af 100644
--- a/src/core/SkSpriteBlitter_ARGB32.cpp
+++ b/src/core/SkSpriteBlitter_ARGB32.cpp
@@ -254,8 +254,8 @@ public:
///////////////////////////////////////////////////////////////////////////////
-SkSpriteBlitter* SkSpriteBlitter::ChooseL32(const SkPixmap& source, const SkPaint& paint,
- SkTBlitterAllocator* allocator) {
+SkSpriteBlitter* SkSpriteBlitter::ChooseLegacy32(const SkPixmap& source, const SkPaint& paint,
+ SkTBlitterAllocator* allocator) {
SkASSERT(allocator != nullptr);
if (paint.getMaskFilter() != nullptr) {