Index: cc/layers/picture_layer.h |
diff --git a/cc/layers/picture_layer.h b/cc/layers/picture_layer.h |
index 15d5825508e9a75a3389381dd0473b1aa5bf0c6d..2754f9e97b9425f5bfadecfeb8c913ad18fc405c 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; |
@@ -60,6 +62,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; |
@@ -82,6 +85,8 @@ class CC_EXPORT PictureLayer : public Layer { |
void DropRecordingSourceContentIfInvalid(); |
+ bool UseTransformedRasterization() const; |
enne (OOO)
2017/01/03 22:53:01
style nit: maybe this should be "ShouldUseTransfor
|
+ |
std::unique_ptr<RecordingSource> recording_source_; |
devtools_instrumentation:: |
ScopedLayerObjectTracker instrumentation_object_tracker_; |