Lines Matching refs:GrSamplerState
35 if (copyParams.fFilter != GrSamplerState::Filter::kNearest) { in CopyOnGpu()
41 if (copyParams.fFilter == GrSamplerState::Filter::kNearest && !needsDomain && !resizing && in CopyOnGpu()
68 SkASSERT(copyParams.fFilter != GrSamplerState::Filter::kMipMap); in CopyOnGpu()
73 GrSamplerState samplerState(GrSamplerState::WrapMode::kClamp, copyParams.fFilter); in CopyOnGpu()
100 const GrSamplerState::Filter* filterModeOrNullForBicubic, in DetermineDomainMode()
126 case GrSamplerState::Filter::kNearest: in DetermineDomainMode()
133 case GrSamplerState::Filter::kBilerp: in DetermineDomainMode()
136 case GrSamplerState::Filter::kMipMap: in DetermineDomainMode()
203 const GrSamplerState::Filter* filterOrNullForBicubic) { in CreateFragmentProcessorForDomainAndFilter()
211 GrSamplerState samplerState(GrSamplerState::WrapMode::kClamp, *filterOrNullForBicubic); in CreateFragmentProcessorForDomainAndFilter()
218 static const GrSamplerState::WrapMode kClampClamp[] = { in CreateFragmentProcessorForDomainAndFilter()
219 GrSamplerState::WrapMode::kClamp, GrSamplerState::WrapMode::kClamp}; in CreateFragmentProcessorForDomainAndFilter()
226 const GrSamplerState& sampler, in refTextureProxyForParams()
232 SkDEBUGCODE(bool expectNoScale = (sampler.filter() != GrSamplerState::Filter::kMipMap && in refTextureProxyForParams()
237 bool willBeMipped = GrSamplerState::Filter::kMipMap == sampler.filter() && mipCount && in refTextureProxyForParams()
255 GrSamplerState::Filter filter = in refTextureProxy()
256 GrMipMapped::kNo == willNeedMips ? GrSamplerState::Filter::kNearest in refTextureProxy()
257 : GrSamplerState::Filter::kMipMap; in refTextureProxy()
258 GrSamplerState sampler(GrSamplerState::WrapMode::kClamp, filter); in refTextureProxy()
261 bool willBeMipped = GrSamplerState::Filter::kMipMap == sampler.filter() && mipCount && in refTextureProxy()