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

Unified Diff: Source/platform/graphics/skia/NativeImageSkia.h

Issue 201513003: Implement InterpolationMedium to filter animated images (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
Index: Source/platform/graphics/skia/NativeImageSkia.h
diff --git a/Source/platform/graphics/skia/NativeImageSkia.h b/Source/platform/graphics/skia/NativeImageSkia.h
index 97b7bcd76bddbcb088995e27fe93e28d6c4e582e..7ce583b37501e86eb1c9ad87c4f57f5cb24dd404 100644
--- a/Source/platform/graphics/skia/NativeImageSkia.h
+++ b/Source/platform/graphics/skia/NativeImageSkia.h
@@ -62,6 +62,9 @@ enum ResamplingMode {
// quality resampling doesn't get us very much except a slowdown.
LinearResampling,
+ // LinearResampling for upscaling. Mipmapping for downscaling.
+ MediumResampling,
Stephen White 2014/03/18 17:26:43 Bikeshed: maybe this should be LinearMipmaps or Li
Alpha Left Google 2014/03/18 22:59:13 Done.
+
// High quality resampling.
AwesomeResampling,
};

Powered by Google App Engine
This is Rietveld 408576698