8#include "third_party/skia/modules/skparagraph/include/Paragraph.h"
11namespace skia_conversions {
31 desc.
label =
"Nearest Sampler";
36 desc.
label =
"Linear Sampler";
42 desc.
label =
"Mipmap Linear Sampler";
#define FML_DCHECK(condition)
impeller::SamplerDescriptor ToSamplerDescriptor(const flutter::DlImageSampling options)
Color ToColor(const flutter::DlColor &color)
@ kLinear
Sample from the two nearest mip levels and linearly interpolate.
@ kBase
The texture is sampled as if it only had a single mipmap level.
@ kNearest
Select nearest to the sample point. Most widely supported.
constexpr DlColorSpace getColorSpace() const
constexpr DlScalar getRedF() const
constexpr DlScalar getAlphaF() const
constexpr DlScalar getBlueF() const
constexpr DlScalar getGreenF() const