| Index: cc/playback/display_list_raster_source.h
|
| diff --git a/cc/playback/display_list_raster_source.h b/cc/playback/display_list_raster_source.h
|
| index f9df1964f66c6208065da73aeef6d463be33424e..78837ea347c88f4d2255b61ddb4e427d8bd16682 100644
|
| --- a/cc/playback/display_list_raster_source.h
|
| +++ b/cc/playback/display_list_raster_source.h
|
| @@ -118,6 +118,12 @@ class CC_EXPORT DisplayListRasterSource
|
| bool OnMemoryDump(const base::trace_event::MemoryDumpArgs& args,
|
| base::trace_event::ProcessMemoryDump* pmd) override;
|
|
|
| + enum class ImageScalingOptimization {
|
| + Animation, // Optimize for smooth/continuous transitions.
|
| + Static, // Optimize for high-quality static content.
|
| + };
|
| + void SetImageScalingOptimization(ImageScalingOptimization);
|
| +
|
| protected:
|
| friend class base::RefCountedThreadSafe<DisplayListRasterSource>;
|
|
|
| @@ -169,6 +175,8 @@ class CC_EXPORT DisplayListRasterSource
|
| // Used to ensure that memory dump logic always happens on the same thread.
|
| base::ThreadChecker memory_dump_thread_checker_;
|
|
|
| + ImageScalingOptimization image_scaling_optimization_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(DisplayListRasterSource);
|
| };
|
|
|
|
|