Index: public/platform/WebExternalTextureLayer.h |
diff --git a/public/platform/WebExternalTextureLayer.h b/public/platform/WebExternalTextureLayer.h |
index 0fd05bb4228adce05f649337afca098248be0652..f9588674f0c73e7092740b00500fee6a64e13ba2 100644 |
--- a/public/platform/WebExternalTextureLayer.h |
+++ b/public/platform/WebExternalTextureLayer.h |
@@ -29,6 +29,7 @@ |
#include "WebCommon.h" |
#include "WebFloatRect.h" |
#include "WebLayer.h" |
+#include "third_party/skia/include/core/SkPaint.h" |
namespace blink { |
@@ -62,6 +63,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 setFilterLevel(SkPaint::FilterLevel) = 0; |
}; |
} // namespace blink |