| Index: cc/layers/picture_layer.h
|
| diff --git a/cc/layers/picture_layer.h b/cc/layers/picture_layer.h
|
| index 1aa5303c48dd83dbefc50d8d6cf4bb640d7af634..4eff9f5afa34b47d08c75c2882c8fc7b3fe967bc 100644
|
| --- a/cc/layers/picture_layer.h
|
| +++ b/cc/layers/picture_layer.h
|
| @@ -29,6 +29,9 @@ class CC_EXPORT PictureLayer : public Layer {
|
| void ClearClient();
|
|
|
| void SetNearestNeighbor(bool nearest_neighbor);
|
| + bool nearest_neighbor() const {
|
| + return picture_layer_inputs_.nearest_neighbor;
|
| + }
|
|
|
| // Layer interface.
|
| std::unique_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override;
|
| @@ -39,6 +42,9 @@ class CC_EXPORT PictureLayer : public Layer {
|
| void SetIsMask(bool is_mask) override;
|
| sk_sp<SkPicture> GetPicture() const override;
|
|
|
| + void SetTypeForProtoSerialization(proto::LayerNode* proto) const override;
|
| + void ToLayerPropertiesProto(proto::LayerProperties* proto) override;
|
| +
|
| bool IsSuitableForGpuRasterization() const override;
|
|
|
| void RunMicroBenchmark(MicroBenchmark* benchmark) override;
|
| @@ -71,11 +77,6 @@ class CC_EXPORT PictureLayer : public Layer {
|
| ~PictureLayer() override;
|
|
|
| bool HasDrawableContent() const override;
|
| - void SetTypeForProtoSerialization(proto::LayerNode* proto) const override;
|
| - void LayerSpecificPropertiesToProto(proto::LayerProperties* proto,
|
| - bool inputs_only) override;
|
| - void FromLayerSpecificPropertiesProto(
|
| - const proto::LayerProperties& proto) override;
|
|
|
| bool is_mask() const { return is_mask_; }
|
|
|
|
|