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

Unified Diff: cc/debug/rasterize_and_record_benchmark.cc

Issue 1552693002: Add paint testing mode subsequence_caching_disabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@RemoveSyncPaint
Patch Set: Rebase on origin/master Created 4 years, 12 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
« no previous file with comments | « cc/blink/web_content_layer_impl.cc ('k') | cc/layers/content_layer_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/rasterize_and_record_benchmark.cc
diff --git a/cc/debug/rasterize_and_record_benchmark.cc b/cc/debug/rasterize_and_record_benchmark.cc
index 8e75017f74ccac1c816357212cd5df4ed01a1a26..59d166532dec6b9c9b779332ee49c8a36ceaa07a 100644
--- a/cc/debug/rasterize_and_record_benchmark.cc
+++ b/cc/debug/rasterize_and_record_benchmark.cc
@@ -37,8 +37,12 @@ const int kWarmupRuns = 0;
const int kTimeCheckInterval = 1;
const char* kModeSuffixes[DisplayListRecordingSource::RECORDING_MODE_COUNT] = {
- "", "_sk_null_canvas", "_painting_disabled", "_caching_disabled",
- "_construction_disabled"};
+ "",
+ "_sk_null_canvas",
+ "_painting_disabled",
+ "_caching_disabled",
+ "_construction_disabled",
+ "_subsequence_caching_disabled"};
} // namespace
@@ -140,6 +144,9 @@ void RasterizeAndRecordBenchmark::RunOnLayer(PictureLayer* layer) {
painting_control =
ContentLayerClient::DISPLAY_LIST_CONSTRUCTION_DISABLED;
break;
+ case DisplayListRecordingSource::RECORD_WITH_SUBSEQUENCE_CACHING_DISABLED:
+ painting_control = ContentLayerClient::SUBSEQUENCE_CACHING_DISABLED;
+ break;
default:
NOTREACHED();
}
« no previous file with comments | « cc/blink/web_content_layer_impl.cc ('k') | cc/layers/content_layer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698