Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2407)

Unified Diff: cc/layers/picture_layer_impl.h

Issue 2559413002: [1/5] Pass transformed rasterization policy from Blink (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/layers/picture_layer_impl.h
diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h
index afb282eec6921a70bc4a00b6406f2e00dfa63868..b69cc108da8a2baeed6c125e35362db17cce8a80 100644
--- a/cc/layers/picture_layer_impl.h
+++ b/cc/layers/picture_layer_impl.h
@@ -79,6 +79,8 @@ class CC_EXPORT PictureLayerImpl
void SetNearestNeighbor(bool nearest_neighbor);
+ void SetUseTransformedRasterization(bool use);
+
size_t GPUMemoryUsageInBytes() const override;
void RunMicroBenchmark(MicroBenchmarkImpl* benchmark) override;
@@ -146,6 +148,7 @@ class CC_EXPORT PictureLayerImpl
const bool is_mask_;
bool nearest_neighbor_;
+ bool use_transformed_rasterization_;
bool is_directly_composited_image_;
// Use this instead of |visible_layer_rect()| for tiling calculations. This

Powered by Google App Engine
This is Rietveld 408576698