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

Unified Diff: cc/debug/rasterize_and_record_benchmark_impl.cc

Issue 1381163002: Add a flag to disable partial raster in renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months 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/debug/rasterize_and_record_benchmark_impl.cc
diff --git a/cc/debug/rasterize_and_record_benchmark_impl.cc b/cc/debug/rasterize_and_record_benchmark_impl.cc
index d798dc6705ecd1c19217d06483839419628adb45..c007255d67c19b6051133c64f5fcbe72d21311ae 100644
--- a/cc/debug/rasterize_and_record_benchmark_impl.cc
+++ b/cc/debug/rasterize_and_record_benchmark_impl.cc
@@ -98,6 +98,10 @@ class FixedInvalidationPictureLayerTilingClient
return base_client_->RequiresHighResToDraw();
}
+ bool EnablePartialRaster() const override {
+ return base_client_->EnablePartialRaster();
+ }
+
private:
PictureLayerTilingClient* base_client_;
Region invalidation_;

Powered by Google App Engine
This is Rietveld 408576698