8#ifndef SkSamplingPriv_DEFINED
9#define SkSamplingPriv_DEFINED
40 size_t size =
sizeof(uint32_t);
42 size += 3 *
sizeof(uint32_t);
static constexpr int kBicubicFilterTexelPad
@ kHigh_SkLegacyFQ
bicubic resampling; slowest but good quality
@ kMedium_SkLegacyFQ
bilerp + mipmaps; good for down-scaling
@ kNone_SkLegacyFQ
nearest-neighbor; fastest but lowest quality
static size_t FlatSize(const SkSamplingOptions &options)
static SkSamplingOptions FromFQ(SkLegacyFQ fq, SkMediumAs behavior=kNearest_SkMediumAs)
static bool NoChangeWithIdentityMatrix(const SkSamplingOptions &sampling)
static SkSamplingOptions AnisoFallback(bool imageIsMipped)
SkSamplingOptions sampling
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
SkSamplingOptions(SkFilterMode::kLinear))
const SkCubicResampler cubic