Index: cc/layers/picture_layer_impl.h |
diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h |
index 52d8433c93ca94c4edc5b2611dbad50b2093e5a0..77bdd3476684f6d8d68f4228d2c42751ac14568c 100644 |
--- a/cc/layers/picture_layer_impl.h |
+++ b/cc/layers/picture_layer_impl.h |
@@ -115,6 +115,8 @@ class CC_EXPORT PictureLayerImpl |
gfx::Size* resource_size) const override; |
void set_is_mask(bool is_mask) { is_mask_ = is_mask; } |
+ void SetNearestNeighbor(bool nearest_neighbor); |
+ |
size_t GPUMemoryUsageInBytes() const override; |
void RunMicroBenchmark(MicroBenchmarkImpl* benchmark) override; |
@@ -201,6 +203,8 @@ class CC_EXPORT PictureLayerImpl |
bool only_used_low_res_last_append_quads_; |
bool is_mask_; |
+ bool nearest_neighbor_; |
+ |
// Any draw properties derived from |transform|, |viewport|, and |clip| |
// parameters in LayerTreeHostImpl::SetExternalDrawConstraints are not valid |
// for prioritizing tiles during resourceless software draws. This is because |