Index: src/gpu/effects/GrTextureDomain.h |
diff --git a/src/gpu/effects/GrTextureDomain.h b/src/gpu/effects/GrTextureDomain.h |
index 80a617ef722eff937f9eb1ef381b97b83768605b..ef6ffbe51692b250a8e18ff57d017e93522b9900 100644 |
--- a/src/gpu/effects/GrTextureDomain.h |
+++ b/src/gpu/effects/GrTextureDomain.h |
@@ -26,8 +26,9 @@ public: |
kIgnore_Mode, // Ignore the texture domain rectangle. |
kClamp_Mode, // Clamp texture coords to the domain rectangle. |
kDecal_Mode, // Treat the area outside the domain rectangle as fully transparent. |
+ kRepeat_Mode, // Wrap texture coordinates. NOTE: filtering may not work as expected |
Stephen White
2014/07/29 14:51:16
This comment is a little cryptic. You mean due to
bsalomon
2014/07/29 14:55:27
It's not related to NPOT. Using MIP or Bilerp filt
|
- kLastMode = kDecal_Mode |
+ kLastMode = kRepeat_Mode |
}; |
static const int kModeCount = kLastMode + 1; |