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

Unified Diff: include/core/SkPoint3.h

Issue 2198263002: Image filters: force near-zero floating point parameters to zero. Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 5 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 | include/core/SkScalar.h » ('j') | include/core/SkScalar.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPoint3.h
diff --git a/include/core/SkPoint3.h b/include/core/SkPoint3.h
index af24a8df58eac82c5987d7540f43e089df2bf87e..6b3ab82b393b290338c0b583eba54ecb06290856 100644
--- a/include/core/SkPoint3.h
+++ b/include/core/SkPoint3.h
@@ -47,6 +47,8 @@ struct SK_API SkPoint3 {
*/
bool normalize();
+ SkPoint3 makeDenormalsZero() const;
+
/** Return a new point whose X, Y and Z coordinates are scaled.
*/
SkPoint3 makeScale(SkScalar scale) const {
« no previous file with comments | « no previous file | include/core/SkScalar.h » ('j') | include/core/SkScalar.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698