Don't use complex blend mode for shapes gm
The darken blend mode introduced barriers on most platforms, which interfered with batching. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2031113003 Review-Url: https://codereview.chromium.org/2031113003
This commit is contained in:
parent
186d2d430b
commit
87fee2380c
@ -59,7 +59,6 @@ protected:
|
|||||||
SkISize onISize() override { return SkISize::Make(500, 500); }
|
SkISize onISize() override { return SkISize::Make(500, 500); }
|
||||||
|
|
||||||
void onOnceBeforeDraw() override {
|
void onOnceBeforeDraw() override {
|
||||||
fPaint.setXfermodeMode(SkXfermode::kDarken_Mode);
|
|
||||||
fPaint.setAntiAlias(fAntialias);
|
fPaint.setAntiAlias(fAntialias);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user