Flutter Engine
The Flutter Engine
Classes | Enumerations | Variables
SkSamplingPriv.h File Reference
#include "include/core/SkSamplingOptions.h"

Go to the source code of this file.

Classes

class  SkSamplingPriv
 

Enumerations

enum  SkLegacyFQ {
  kNone_SkLegacyFQ = 0 , kLow_SkLegacyFQ = 1 , kMedium_SkLegacyFQ = 2 , kHigh_SkLegacyFQ = 3 ,
  kLast_SkLegacyFQ = kHigh_SkLegacyFQ
}
 
enum  SkMediumAs { kNearest_SkMediumAs , kLinear_SkMediumAs }
 

Variables

static constexpr int kBicubicFilterTexelPad = 2
 

Enumeration Type Documentation

◆ SkLegacyFQ

enum SkLegacyFQ
Enumerator
kNone_SkLegacyFQ 

nearest-neighbor; fastest but lowest quality

kLow_SkLegacyFQ 

bilerp

kMedium_SkLegacyFQ 

bilerp + mipmaps; good for down-scaling

kHigh_SkLegacyFQ 

bicubic resampling; slowest but good quality

kLast_SkLegacyFQ 

Definition at line 22 of file SkSamplingPriv.h.

22 {
23 kNone_SkLegacyFQ = 0, //!< nearest-neighbor; fastest but lowest quality
24 kLow_SkLegacyFQ = 1, //!< bilerp
25 kMedium_SkLegacyFQ = 2, //!< bilerp + mipmaps; good for down-scaling
26 kHigh_SkLegacyFQ = 3, //!< bicubic resampling; slowest but good quality
27
29};
@ kHigh_SkLegacyFQ
bicubic resampling; slowest but good quality
@ kLow_SkLegacyFQ
bilerp
@ kLast_SkLegacyFQ
@ kMedium_SkLegacyFQ
bilerp + mipmaps; good for down-scaling
@ kNone_SkLegacyFQ
nearest-neighbor; fastest but lowest quality

◆ SkMediumAs

enum SkMediumAs
Enumerator
kNearest_SkMediumAs 
kLinear_SkMediumAs 

Definition at line 32 of file SkSamplingPriv.h.

32 {
35};
@ kNearest_SkMediumAs
@ kLinear_SkMediumAs

Variable Documentation

◆ kBicubicFilterTexelPad

constexpr int kBicubicFilterTexelPad = 2
staticconstexpr

Definition at line 18 of file SkSamplingPriv.h.