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

Unified Diff: cc/paint/display_item_list.cc

Issue 2876033005: Track slow paths in DisplayItemList (Closed)
Patch Set: danakj review 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
« no previous file with comments | « cc/paint/display_item_list.h ('k') | cc/paint/paint_op_buffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/paint/display_item_list.cc
diff --git a/cc/paint/display_item_list.cc b/cc/paint/display_item_list.cc
index b947403a73883fdc2ee0c6d6b05d2d1b6771fccc..4447a5891f1b6dd2eea1b50df4e47b423f08bc47 100644
--- a/cc/paint/display_item_list.cc
+++ b/cc/paint/display_item_list.cc
@@ -243,14 +243,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_;
-}
-
size_t DisplayItemList::OpCount() const {
return op_count_;
}
« no previous file with comments | « cc/paint/display_item_list.h ('k') | cc/paint/paint_op_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698