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

Unified Diff: cc/playback/raster_source.h

Issue 2605273003: Don't use DF text during animations (Closed)
Patch Set: Created 3 years, 12 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 c158094308f842ac7180334220d0883b6bcba2fe..ad7e5acdc442425f6f855e04cf27496bdca92c3f 100644
--- a/cc/playback/raster_source.h
+++ b/cc/playback/raster_source.h
@@ -107,14 +107,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