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

Unified Diff: cc/layers/picture_layer_impl.h

Issue 913203006: cc: Calculate "can use lcd text" on the compositor thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/layers/picture_layer_impl.h
diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h
index f32e56fa8cd4264f2759811209d7c30eb464f726..dae3a8fde80bd9e4d08a957ee85f035dd8c8161e 100644
--- a/cc/layers/picture_layer_impl.h
+++ b/cc/layers/picture_layer_impl.h
@@ -79,6 +79,8 @@ class CC_EXPORT PictureLayerImpl
Region* new_invalidation,
const PictureLayerTilingSet* pending_set);
bool UpdateTiles(bool resourceless_software_draw);
+ void UpdateCanUseLCDText();
+ bool RasterSourceUsesLCDText() const;
// Mask-related functions.
void GetContentsResourceId(ResourceProvider::ResourceId* resource_id,

Powered by Google App Engine
This is Rietveld 408576698