diff options
Diffstat (limited to 'cc/resources/display_list_recording_source.cc')
-rw-r--r-- | cc/resources/display_list_recording_source.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cc/resources/display_list_recording_source.cc b/cc/resources/display_list_recording_source.cc index 367b23d..296036d 100644 --- a/cc/resources/display_list_recording_source.cc +++ b/cc/resources/display_list_recording_source.cc @@ -28,6 +28,7 @@ namespace cc { DisplayListRecordingSource::DisplayListRecordingSource() : slow_down_raster_scale_factor_for_debug_(0), + gather_pixel_refs_(false), requires_clear_(false), is_solid_color_(false), solid_color_(SK_ColorTRANSPARENT), @@ -135,6 +136,10 @@ void DisplayListRecordingSource::SetSlowdownRasterScaleFactor(int factor) { slow_down_raster_scale_factor_for_debug_ = factor; } +void DisplayListRecordingSource::SetGatherPixelRefs(bool gather_pixel_refs) { + gather_pixel_refs_ = gather_pixel_refs; +} + void DisplayListRecordingSource::SetBackgroundColor(SkColor background_color) { background_color_ = background_color; } |