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

Unified Diff: cc/resources/picture.h

Issue 684653004: Plumb can_use_lcd_text, contents_opaque directly to ContentLayerClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/resources/picture.h
diff --git a/cc/resources/picture.h b/cc/resources/picture.h
index 1677309a6e25e2c9c444ad4430c339fc738bb9ef..da15fac16cbb3506738aadf1b82d83d3274da2b0 100644
--- a/cc/resources/picture.h
+++ b/cc/resources/picture.h
@@ -54,6 +54,8 @@ class CC_EXPORT Picture
static scoped_refptr<Picture> Create(
const gfx::Rect& layer_rect,
ContentLayerClient* client,
+ bool can_use_lcd_text,
+ bool contents_opaque,
const SkTileGridFactory::TileGridInfo& tile_grid_info,
bool gather_pixels_refs,
RecordingMode recording_mode);
@@ -140,6 +142,8 @@ class CC_EXPORT Picture
// Record a paint operation. To be able to safely use this SkPicture for
// playback on a different thread this can only be called once.
void Record(ContentLayerClient* client,
+ bool can_use_lcd_text,
+ bool contents_opaque,
const SkTileGridFactory::TileGridInfo& tile_grid_info,
RecordingMode recording_mode);

Powered by Google App Engine
This is Rietveld 408576698