Lines Matching refs:SkSamplingOptions
58 struct SK_API SkSamplingOptions { struct
65 constexpr SkSamplingOptions() = default; argument
66 SkSamplingOptions(const SkSamplingOptions&) = default;
67 SkSamplingOptions& operator=(const SkSamplingOptions& that) {
68 this->~SkSamplingOptions(); // A pedantic no-op.
69 new (this) SkSamplingOptions(that);
73 constexpr SkSamplingOptions(SkFilterMode fm, SkMipmapMode mm) in SkSamplingOptions() argument
77 explicit constexpr SkSamplingOptions(SkFilterMode fm) in SkSamplingOptions() argument
81 explicit constexpr SkSamplingOptions(const SkCubicResampler& c) in SkSamplingOptions() argument
85 static constexpr SkSamplingOptions Aniso(int maxAniso) { in Aniso() argument
86 return SkSamplingOptions{std::max(maxAniso, 1)}; in Aniso()
89 bool operator==(const SkSamplingOptions& other) const {
97 bool operator!=(const SkSamplingOptions& other) const { return !(*this == other); }
102 constexpr SkSamplingOptions(int maxAniso) : maxAniso(maxAniso) {} in SkSamplingOptions() function