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

Unified Diff: src/effects/gradients/Sk4fGradientBase.h

Issue 1753853002: 4f gradient interval builder cleanup (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: review commetns Created 4 years, 10 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 | src/effects/gradients/Sk4fGradientBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/effects/gradients/Sk4fGradientBase.h
diff --git a/src/effects/gradients/Sk4fGradientBase.h b/src/effects/gradients/Sk4fGradientBase.h
index 7870bc3ccf3a550809ccc54c336bb673593e2274..1eeb6c2f0f7573a58872e5a47f5be4ed033f3022 100644
--- a/src/effects/gradients/Sk4fGradientBase.h
+++ b/src/effects/gradients/Sk4fGradientBase.h
@@ -55,6 +55,9 @@ protected:
private:
using INHERITED = SkShader::Context;
+ void addMirrorIntervals(const SkGradientShaderBase&, const Sk4f& componentScale,
+ bool dx_is_pos);
+
mutable const Interval* fCachedInterval;
};
« no previous file with comments | « no previous file | src/effects/gradients/Sk4fGradientBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698