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

Unified Diff: gm/perlinnoise.cpp

Issue 1077763002: Change some more GMs to clear to opaque black, not transparent black. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 8 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/offsetimagefilter.cpp ('k') | gm/resizeimagefilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/perlinnoise.cpp
diff --git a/gm/perlinnoise.cpp b/gm/perlinnoise.cpp
index b69b7d0476a5b0a8ecdab57d9b56b748e57e816b..702e545c60268b5ef25bb31a80948bf1663cc995 100644
--- a/gm/perlinnoise.cpp
+++ b/gm/perlinnoise.cpp
@@ -58,7 +58,7 @@ protected:
}
virtual void onDraw(SkCanvas* canvas) {
- canvas->clear(0x00000000);
+ canvas->clear(SK_ColorBLACK);
test(canvas, 0, 0, SkPerlinNoiseShader::kFractalNoise_Type,
0.1f, 0.1f, 0, 0, false);
test(canvas, 100, 0, SkPerlinNoiseShader::kTurbulence_Type,
« no previous file with comments | « gm/offsetimagefilter.cpp ('k') | gm/resizeimagefilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698