Chromium Code Reviews| Index: public/platform/WebExternalTextureLayer.h |
| diff --git a/public/platform/WebExternalTextureLayer.h b/public/platform/WebExternalTextureLayer.h |
| index 0fd05bb4228adce05f649337afca098248be0652..8466a306c53bf636ad5df6366d3d07678d00c500 100644 |
| --- a/public/platform/WebExternalTextureLayer.h |
| +++ b/public/platform/WebExternalTextureLayer.h |
| @@ -62,6 +62,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; |
|
Justin Novosad
2014/11/18 16:32:50
I think this is no longer needed since you are now
jackhou1
2014/12/01 07:00:08
IIUC, having this should mean we don't need to res
|
| }; |
| } // namespace blink |