Index: public/platform/WebExternalTextureLayer.h |
diff --git a/public/platform/WebExternalTextureLayer.h b/public/platform/WebExternalTextureLayer.h |
index c8f94e5d50aafa3308bf0ee69a773dedf8052638..e666afd2f289b803c65f45da045bdba201fd8ae6 100644 |
--- a/public/platform/WebExternalTextureLayer.h |
+++ b/public/platform/WebExternalTextureLayer.h |
@@ -60,6 +60,10 @@ public: |
// Sets whether this context should be rate limited by the compositor. Rate limiting works by blocking |
// invalidate() and invalidateRect() calls if the compositor is too many frames behind. |
virtual void setRateLimitContext(bool) = 0; |
+ |
+ // Sets whether this texture should use nearest neighbor interpolation as |
+ // opposed to bilinear. Defaults to false. |
+ virtual void setNearestNeighbor(bool) = 0; |
}; |
} // namespace blink |