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

Unified Diff: cc/playback/raster_source.h

Issue 2637223002: Don't use DF text during animations (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « cc/layers/picture_layer_impl_unittest.cc ('k') | cc/playback/raster_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/raster_source.h
diff --git a/cc/playback/raster_source.h b/cc/playback/raster_source.h
index 4e53c408627a5601da3f9c1337763692aa39ff97..709b310e19f116117e9e655f13def3c6f806394c 100644
--- a/cc/playback/raster_source.h
+++ b/cc/playback/raster_source.h
@@ -95,14 +95,6 @@ class CC_EXPORT RasterSource : public base::RefCountedThreadSafe<RasterSource> {
// Valid rectangle in which everything is recorded and can be rastered from.
virtual gfx::Rect RecordedViewport() const;
- // Informs the raster source that it should attempt to use distance field text
- // during rasterization.
- virtual void SetShouldAttemptToUseDistanceFieldText();
-
- // Return true iff this raster source would benefit from using distance
- // field text.
- virtual bool ShouldAttemptToUseDistanceFieldText() const;
-
// Tracing functionality.
virtual void DidBeginTracing();
virtual void AsValueInto(base::trace_event::TracedValue* array) const;
@@ -153,9 +145,6 @@ class CC_EXPORT RasterSource : public base::RefCountedThreadSafe<RasterSource> {
const gfx::Size size_;
const bool clear_canvas_with_debug_color_;
const int slow_down_raster_scale_factor_for_debug_;
- // TODO(enne/vmiura): this has a read/write race between raster and compositor
- // threads with multi-threaded Ganesh. Make this const or remove it.
- bool should_attempt_to_use_distance_field_text_;
// In practice, this is only set once before raster begins, so it's ok with
// respect to threading.
« no previous file with comments | « cc/layers/picture_layer_impl_unittest.cc ('k') | cc/playback/raster_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698