Home
last modified time | relevance | path

Searched refs:linearFilterInset (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/gpu/effects/
DGrTextureEffect.cpp35 SkVector linearFilterInset = {0.5f, 0.5f});
46 SkVector linearFilterInset) { in Sampling() argument
71 auto resolve = [&](int size, Wrap wrap, Span subset, Span domain, float linearFilterInset) { in Sampling() argument
103 r.fShaderClamp = subset.makeInset(linearFilterInset); in Sampling()
127 auto x = resolve(dim.width(), sampler.wrapModeX(), subsetX, domainX, linearFilterInset.fX); in Sampling()
132 auto y = resolve(dim.height(), sampler.wrapModeY(), subsetY, domainY, linearFilterInset.fY); in Sampling()