Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(476)

Unified Diff: gm/bitmapcopy.cpp

Issue 1184123002: Revert of make gm background colors 565 compatible (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gm/bigmatrix.cpp ('k') | gm/bitmapfilters.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/bitmapcopy.cpp
diff --git a/gm/bitmapcopy.cpp b/gm/bitmapcopy.cpp
index e1268b72dddd057f2317a682b15b46a5240847b5..32e91e3ceca85e753a5b82f9061dfe420b2e7f0b 100644
--- a/gm/bitmapcopy.cpp
+++ b/gm/bitmapcopy.cpp
@@ -48,7 +48,7 @@
SkBitmap fDst[NUM_CONFIGS];
BitmapCopyGM() {
- this->setBGColor(sk_tool_utils::color_to_565(0xFFDDDDDD));
+ this->setBGColor(0xFFDDDDDD);
}
protected:
@@ -75,9 +75,9 @@
src.copyTo(&fDst[i], gColorTypes[i]);
}
- canvas->clear(sk_tool_utils::color_to_565(0xFFDDDDDD));
+ canvas->clear(0xFFDDDDDD);
paint.setAntiAlias(true);
- sk_tool_utils::set_portable_typeface_always(&paint);
+ sk_tool_utils::set_portable_typeface(&paint);
SkScalar width = SkIntToScalar(40);
SkScalar height = SkIntToScalar(40);
« no previous file with comments | « gm/bigmatrix.cpp ('k') | gm/bitmapfilters.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698