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

Unified Diff: gm/gradients_2pt_conical.cpp

Issue 395603002: Simplify flattening to just write enough to call the factory (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: simplify xfermodes, fix SkLayerDrawLooper Created 6 years, 4 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 | « no previous file | gm/imagefiltersbase.cpp » ('j') | include/core/SkFlattenable.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/gradients_2pt_conical.cpp
diff --git a/gm/gradients_2pt_conical.cpp b/gm/gradients_2pt_conical.cpp
index f43356eaf6a15a1c4ad12f734f782845f3fa0b22..c6e8474a15b600ee5c988362abbc5a8d6be1ca61 100644
--- a/gm/gradients_2pt_conical.cpp
+++ b/gm/gradients_2pt_conical.cpp
@@ -336,7 +336,7 @@ protected:
for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) {
canvas->save();
robertphillips 2014/08/19 15:23:27 Why are we skipping these cases now ?
reed1 2014/08/19 19:58:05 debugging. fixed.
- for (int j = 0; j < count; j++) {
+ for (int j = 1; j < 2+0*count; j++) {
SkMatrix scale = SkMatrix::I();
if (i == 3) { // if the clamp case
« no previous file with comments | « no previous file | gm/imagefiltersbase.cpp » ('j') | include/core/SkFlattenable.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698