Index: cc/layers/picture_layer_impl.h |
diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h |
index 9185c18eef85e089305fb1388c37532b86034dea..5f77a595a2f1020c78e855e9fd45d2325fa601d2 100644 |
--- a/cc/layers/picture_layer_impl.h |
+++ b/cc/layers/picture_layer_impl.h |
@@ -88,6 +88,8 @@ class CC_EXPORT PictureLayerImpl |
void GetContentsResourceId(ResourceProvider::ResourceId* resource_id, |
gfx::Size* resource_size) const override; |
+ void SetNearestNeighbor(bool nearest_neighbor); |
+ |
size_t GPUMemoryUsageInBytes() const override; |
void RunMicroBenchmark(MicroBenchmarkImpl* benchmark) override; |
@@ -175,6 +177,8 @@ class CC_EXPORT PictureLayerImpl |
bool only_used_low_res_last_append_quads_; |
const 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 |