projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6f5d56
)
Make bleed GM produce consistent bitmaps on all platforms
author
bsalomon
<bsalomon@google.com>
Thu, 25 Aug 2016 13:45:29 +0000
(06:45 -0700)
committer
Commit bot
<commit-bot@chromium.org>
Thu, 25 Aug 2016 13:45:29 +0000
(06:45 -0700)
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=
2264133003
Review-Url: https://codereview.chromium.org/
2264133003
gm/bleed.cpp
patch
|
blob
|
history
diff --git
a/gm/bleed.cpp
b/gm/bleed.cpp
index
daa9c16
..
da261ef
100644
(file)
--- a/
gm/bleed.cpp
+++ b/
gm/bleed.cpp
@@
-111,7
+111,7
@@
static bool make_ringed_color_bitmap(TestPixels* result, int width, int height)
static const SkPMColor kRed = SkPreMultiplyColor(SK_ColorRED);
static const SkPMColor kBlack = SkPreMultiplyColor(SK_ColorBLACK);
static const SkPMColor kWhite = SkPreMultiplyColor(SK_ColorWHITE);
- return make_ringed_bitmap<SkPMColor>(result, width, height, k
BGRA_8888
_SkColorType,
+ return make_ringed_bitmap<SkPMColor>(result, width, height, k
N32
_SkColorType,
kPremul_SkAlphaType, kBlue, kRed, kBlack, kWhite);
}