Chromium Code Reviews| Index: cc/blink/web_external_texture_layer_impl.h |
| diff --git a/cc/blink/web_external_texture_layer_impl.h b/cc/blink/web_external_texture_layer_impl.h |
| index 853b1a079258e5c6771a6167b5d47c82d0120ae4..ddbb6cd21be290bf4c3b3c7c7698963bee2c695d 100644 |
| --- a/cc/blink/web_external_texture_layer_impl.h |
| +++ b/cc/blink/web_external_texture_layer_impl.h |
| @@ -11,6 +11,7 @@ |
| #include "cc/blink/cc_blink_export.h" |
| #include "cc/layers/texture_layer_client.h" |
| #include "third_party/WebKit/public/platform/WebExternalTextureLayer.h" |
| +#include "third_party/skia/include/core/SkPaint.h" |
| namespace blink { |
| struct WebFloatRect; |
| @@ -43,6 +44,7 @@ class WebExternalTextureLayerImpl |
| virtual void setPremultipliedAlpha(bool premultiplied); |
| virtual void setBlendBackgroundColor(bool blend); |
| virtual void setRateLimitContext(bool rate_limit); |
| + virtual void setFilterLevel(SkPaint::FilterLevel filter_level); |
|
danakj
2014/11/04 16:02:42
since this function only handles none vs not-none,
jackhou1
2014/11/12 03:35:17
I was recommended to use an enum on the other CL (
danakj
2014/11/12 18:10:14
I guess different owners with different tastes. I'
|
| // TextureLayerClient implementation. |
| bool PrepareTextureMailbox( |
| @@ -64,6 +66,8 @@ class WebExternalTextureLayerImpl |
| scoped_ptr<WebLayerImpl> layer_; |
| ScopedVector<WebExternalBitmapImpl> free_bitmaps_; |
| + bool nearest_neighbor_; |
|
danakj
2014/11/04 16:02:42
unused?
jackhou1
2014/11/12 03:35:17
Removed.
|
| + |
| DISALLOW_COPY_AND_ASSIGN(WebExternalTextureLayerImpl); |
| }; |