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

Unified Diff: cc/playback/display_list_recording_source.cc

Issue 1349913002: Cache gpu suitability in DisplayItemList, remove SetUnsuitable...ForTesting (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/playback/display_list_recording_source.cc
diff --git a/cc/playback/display_list_recording_source.cc b/cc/playback/display_list_recording_source.cc
index 1ed5a1ff9adb1b2cc75f1ef0b09ecd2111f9a995..48eef43557fb9aa8d4e5b9aa3b8c50ec8784cfa7 100644
--- a/cc/playback/display_list_recording_source.cc
+++ b/cc/playback/display_list_recording_source.cc
@@ -219,10 +219,6 @@ void DisplayListRecordingSource::SetRequiresClear(bool requires_clear) {
requires_clear_ = requires_clear;
}
-void DisplayListRecordingSource::SetUnsuitableForGpuRasterizationForTesting() {
- is_suitable_for_gpu_rasterization_ = false;
-}
-
bool DisplayListRecordingSource::IsSuitableForGpuRasterization() const {
return is_suitable_for_gpu_rasterization_;
danakj 2015/09/16 23:04:49 do we need this bool anymore, or should we just as
pdr. 2015/09/17 20:52:45 We don't need it, but we need to cache the value s
}

Powered by Google App Engine
This is Rietveld 408576698