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

Unified Diff: cc/playback/image_hijack_canvas.h

Issue 1839143004: Limit image filtering during scale animations Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/playback/display_list_raster_source.cc ('k') | cc/playback/image_hijack_canvas.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/image_hijack_canvas.h
diff --git a/cc/playback/image_hijack_canvas.h b/cc/playback/image_hijack_canvas.h
index 07dc185a94c783e5ce346c4b651a4a33e4817996..b2ac8f0285692eeeafc4d458ee18a97e4be4a3bf 100644
--- a/cc/playback/image_hijack_canvas.h
+++ b/cc/playback/image_hijack_canvas.h
@@ -17,7 +17,8 @@ class ImageHijackCanvas : public SkNWayCanvas {
public:
ImageHijackCanvas(int width,
int height,
- ImageDecodeController* image_decode_controller);
+ ImageDecodeController* image_decode_controller,
+ SkFilterQuality max_quality);
private:
// Ensure that pictures are unpacked by this canvas, instead of being
@@ -42,6 +43,8 @@ class ImageHijackCanvas : public SkNWayCanvas {
ImageDecodeController* image_decode_controller_;
+ SkFilterQuality max_quality_;
+
DISALLOW_COPY_AND_ASSIGN(ImageHijackCanvas);
};
« no previous file with comments | « cc/playback/display_list_raster_source.cc ('k') | cc/playback/image_hijack_canvas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698