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

Unified Diff: Source/platform/graphics/GraphicsTypes.h

Issue 201513003: Implement InterpolationMedium to filter animated images (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: only ode change 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
« no previous file with comments | « Source/platform/graphics/GraphicsContextState.cpp ('k') | Source/platform/graphics/ImageBuffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/GraphicsTypes.h
diff --git a/Source/platform/graphics/GraphicsTypes.h b/Source/platform/graphics/GraphicsTypes.h
index 1482dfbefc9de4324ed0ae78a89c8954196eb276..6eecfc7363df8c954311f1082db304585aec40c2 100644
--- a/Source/platform/graphics/GraphicsTypes.h
+++ b/Source/platform/graphics/GraphicsTypes.h
@@ -43,11 +43,15 @@ enum StrokeStyle {
};
enum InterpolationQuality {
- InterpolationDefault,
InterpolationNone,
InterpolationLow,
InterpolationMedium,
- InterpolationHigh
+ InterpolationHigh,
+#if USE(LOW_QUALITY_IMAGE_INTERPOLATION)
+ InterpolationDefault = InterpolationLow,
+#else
+ InterpolationDefault = InterpolationHigh,
+#endif
};
enum CompositeOperator {
« no previous file with comments | « Source/platform/graphics/GraphicsContextState.cpp ('k') | Source/platform/graphics/ImageBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698