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

Side by Side Diff: include/core/SkFilterQuality.h

Issue 1686203002: Skia Filter Quality and Scaling Metrics (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: feedback Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « include/core/SkDevice.h ('k') | include/core/SkPostConfig.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkFilterQuality_DEFINED 8 #ifndef SkFilterQuality_DEFINED
9 #define SkFilterQuality_DEFINED 9 #define SkFilterQuality_DEFINED
10 10
11 #include "SkTypes.h" 11 #include "SkTypes.h"
12 12
13 /** 13 /**
14 * Controls how much filtering to be done when scaling/transforming complex col ors 14 * Controls how much filtering to be done when scaling/transforming complex col ors
15 * e.g. images 15 * e.g. images
16 */ 16 */
17 enum SkFilterQuality { 17 enum SkFilterQuality {
18 kNone_SkFilterQuality, //!< fastest but lowest quality, typically neare st-neighbor 18 kNone_SkFilterQuality, //!< fastest but lowest quality, typically neare st-neighbor
19 kLow_SkFilterQuality, //!< typically bilerp 19 kLow_SkFilterQuality, //!< typically bilerp
20 kMedium_SkFilterQuality, //!< typically bilerp + mipmaps for down-scaling 20 kMedium_SkFilterQuality, //!< typically bilerp + mipmaps for down-scaling
21 kHigh_SkFilterQuality //!< slowest but highest quality, typically bicu bic or better 21 kHigh_SkFilterQuality, //!< slowest but highest quality, typically bicu bic or better
22
23 kLast_SkFilterQuality = kHigh_SkFilterQuality
22 }; 24 };
23 25
24 #endif 26 #endif
OLDNEW
« no previous file with comments | « include/core/SkDevice.h ('k') | include/core/SkPostConfig.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698