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

Unified Diff: cc/playback/display_item_list.h

Issue 2496283004: cc: Build Image to Region map during image meta-data generation. (Closed)
Patch Set: Created 4 years, 1 month 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_item_list.h
diff --git a/cc/playback/display_item_list.h b/cc/playback/display_item_list.h
index ca708468ab60e52d77ca8fe402597a3bee128961..fed70eec8f00cde1c35bcbde85ec4f4fc1d22c7e 100644
--- a/cc/playback/display_item_list.h
+++ b/cc/playback/display_item_list.h
@@ -157,6 +157,7 @@ class CC_EXPORT DisplayItemList
void GetDiscardableImagesInRect(const gfx::Rect& rect,
const gfx::SizeF& raster_scales,
std::vector<DrawImage>* images);
+ Region GetRegionForImage(const SkImage* image);
void SetRetainVisualRectsForTesting(bool retain) {
retain_visual_rects_ = retain;

Powered by Google App Engine
This is Rietveld 408576698