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

Unified Diff: cc/playback/display_list_raster_source.h

Issue 1531013004: cc: Do solid color analysis before scheduling tiles. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « no previous file | cc/playback/display_list_raster_source.cc » ('j') | cc/playback/display_list_raster_source.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/display_list_raster_source.h
diff --git a/cc/playback/display_list_raster_source.h b/cc/playback/display_list_raster_source.h
index 8c06c8d68637dc5175b18bf8d93ee57ace1a8bc9..1a45747065e3736366504bea5beec1a84074ef1a 100644
--- a/cc/playback/display_list_raster_source.h
+++ b/cc/playback/display_list_raster_source.h
@@ -106,6 +106,8 @@ class CC_EXPORT DisplayListRasterSource
scoped_refptr<DisplayListRasterSource> CreateCloneWithoutLCDText() const;
+ bool IsSolidColorTile(gfx::Rect content_rect, float scale, SkColor* color);
+
protected:
friend class base::RefCountedThreadSafe<DisplayListRasterSource>;
« no previous file with comments | « no previous file | cc/playback/display_list_raster_source.cc » ('j') | cc/playback/display_list_raster_source.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698