From 6f9f2591c1a6a01f0c0fb06fcd77d1429e3ce260 Mon Sep 17 00:00:00 2001 From: bungeman Date: Wed, 10 May 2017 13:50:12 -0400 Subject: Fix alpha coverage for lerp_565 stage. Like three gray with alpha blends and taking the max alpha. Change-Id: I104c84f784979030744127f8f66905ad9d1bdf0e Reviewed-on: https://skia-review.googlesource.com/15898 Commit-Queue: Ben Wagner Reviewed-by: Mike Klein --- gm/lcdtext.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'gm/lcdtext.cpp') diff --git a/gm/lcdtext.cpp b/gm/lcdtext.cpp index 41e83d68fd..a48856f603 100644 --- a/gm/lcdtext.cpp +++ b/gm/lcdtext.cpp @@ -146,13 +146,8 @@ DEF_SIMPLE_GM(savelayer_lcdtext, canvas, 620, 260) { for (auto preserve : gPreserveLCDText) { preserve ? canvas->saveLayerPreserveLCDTextRequests(nullptr, nullptr) : canvas->saveLayer(nullptr, nullptr); - if (preserve) { - SkPaint noLCD = paint; - noLCD.setLCDRenderText(false); - canvas->drawString("LCD not supported", 30, 60, noLCD); - } else { - canvas->drawString("Hamburgefons", 30, 60, paint); - } + + canvas->drawString("Hamburgefons", 30, 60, paint); SkPaint p; p.setColor(0xFFCCCCCC); -- cgit v1.2.3