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

Unified Diff: src/effects/SkDisplacementMapEffect.cpp

Issue 787873002: Use threshold of 1 texture coord value per pixel w/ nearest neighbor. (Closed) Base URL: https://skia.googlesource.com/skia.git@matrix_prec
Patch Set: update comments Created 6 years 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 | « src/effects/SkColorCubeFilter.cpp ('k') | src/effects/SkGpuBlurUtils.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/effects/SkDisplacementMapEffect.cpp
diff --git a/src/effects/SkDisplacementMapEffect.cpp b/src/effects/SkDisplacementMapEffect.cpp
index f13a3494fd25936c3498a7f25d6e6235546c116b..f10af7079bdd2a50ccb5b4c340f5c736c385c8c9 100644
--- a/src/effects/SkDisplacementMapEffect.cpp
+++ b/src/effects/SkDisplacementMapEffect.cpp
@@ -454,9 +454,10 @@ GrDisplacementMapEffect::GrDisplacementMapEffect(
GrTexture* displacement,
const SkMatrix& offsetMatrix,
GrTexture* color)
- : fDisplacementTransform(kLocal_GrCoordSet, offsetMatrix, displacement)
+ : fDisplacementTransform(kLocal_GrCoordSet, offsetMatrix, displacement,
+ GrTextureParams::kNone_FilterMode)
, fDisplacementAccess(displacement)
- , fColorTransform(kLocal_GrCoordSet, color)
+ , fColorTransform(kLocal_GrCoordSet, color, GrTextureParams::kNone_FilterMode)
, fColorAccess(color)
, fXChannelSelector(xChannelSelector)
, fYChannelSelector(yChannelSelector)
« no previous file with comments | « src/effects/SkColorCubeFilter.cpp ('k') | src/effects/SkGpuBlurUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698