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

Unified Diff: cc/resources/picture_pile_impl.h

Issue 684543006: cc: Toggle LCD text at raster time instead of record time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lcdraster: header Created 6 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/resources/picture_pile_impl.h
diff --git a/cc/resources/picture_pile_impl.h b/cc/resources/picture_pile_impl.h
index 787903d12e59864dbd7f29104891799224f657c8..b49f2e695f23cfa1130e7a3d3fbb2e57fdf51d32 100644
--- a/cc/resources/picture_pile_impl.h
+++ b/cc/resources/picture_pile_impl.h
@@ -54,6 +54,7 @@ class CC_EXPORT PicturePileImpl : public RasterSource {
SkColor GetSolidColor() const override;
bool HasRecordings() const override;
bool IsMask() const override;
+ bool CanUseLcdText() const override;
// Tracing functionality.
void DidBeginTracing() override;
@@ -110,6 +111,7 @@ class CC_EXPORT PicturePileImpl : public RasterSource {
gfx::Rect recorded_viewport_;
bool has_any_recordings_;
bool is_mask_;
+ bool can_use_lcd_text_;
bool clear_canvas_with_debug_color_;
float min_contents_scale_;
int slow_down_raster_scale_factor_for_debug_;

Powered by Google App Engine
This is Rietveld 408576698