| Index: cc/layers/picture_layer.h
|
| diff --git a/cc/layers/picture_layer.h b/cc/layers/picture_layer.h
|
| index 27335e7d395d15b937976fbba2412900702503de..5b8adf0bf575b136e116d0de33b7e58a29b2d882 100644
|
| --- a/cc/layers/picture_layer.h
|
| +++ b/cc/layers/picture_layer.h
|
| @@ -28,6 +28,8 @@ class CC_EXPORT PictureLayer : public Layer {
|
| return picture_layer_inputs_.nearest_neighbor;
|
| }
|
|
|
| + void SetAllowTransformedRasterization(bool allowed);
|
| +
|
| // Layer interface.
|
| std::unique_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override;
|
| void SetLayerTreeHost(LayerTreeHost* host) override;
|
| @@ -57,6 +59,7 @@ class CC_EXPORT PictureLayer : public Layer {
|
|
|
| ContentLayerClient* client = nullptr;
|
| bool nearest_neighbor = false;
|
| + bool allow_transformed_rasterization = false;
|
| gfx::Rect recorded_viewport;
|
| scoped_refptr<DisplayItemList> display_list;
|
| size_t painter_reported_memory_usage = 0;
|
| @@ -79,6 +82,8 @@ class CC_EXPORT PictureLayer : public Layer {
|
|
|
| void DropRecordingSourceContentIfInvalid();
|
|
|
| + bool ShouldUseTransformedRasterization() const;
|
| +
|
| std::unique_ptr<RecordingSource> recording_source_;
|
| devtools_instrumentation::
|
| ScopedLayerObjectTracker instrumentation_object_tracker_;
|
|
|