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

Unified Diff: cc/paint/display_item_list.cc

Issue 2876033005: Track slow paths in DisplayItemList (Closed)
Patch Set: Created 3 years, 7 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/paint/display_item_list.cc
diff --git a/cc/paint/display_item_list.cc b/cc/paint/display_item_list.cc
index f45219904982ccff0e70daffe5288f202cf564c7..832c81e0b4a75b79fc53e7cf70ad509e20e8d107 100644
--- a/cc/paint/display_item_list.cc
+++ b/cc/paint/display_item_list.cc
@@ -265,14 +265,6 @@ void DisplayItemList::Finalize() {
std::vector<gfx::Rect>().swap(visual_rects_);
}
-bool DisplayItemList::IsSuitableForGpuRasterization() const {
- // TODO(wkorman): This is more permissive than Picture's implementation, since
- // none of the items might individually trigger a veto even though they
- // collectively have enough "bad" operations that a corresponding Picture
- // would get vetoed. See crbug.com/513016.
- return all_items_are_suitable_for_gpu_rasterization_;
-}
-
int DisplayItemList::ApproximateOpCount() const {
return approximate_op_count_;
}

Powered by Google App Engine
This is Rietveld 408576698