Home
last modified time | relevance | path

Searched refs:kNearest (Results 1 – 25 of 69) sorted by relevance

123

/external/skia/src/gpu/effects/
DGrBicubicEffect.cpp130 GrSamplerState(wrapModes, GrSamplerState::Filter::kNearest)) {
174 *filterMode = GrSamplerState::Filter::kNearest; in ShouldUseBicubic()
189 *filterMode = GrSamplerState::Filter::kNearest; in ShouldUseBicubic()
198 *filterMode = GrSamplerState::Filter::kNearest; in ShouldUseBicubic()
DGrSimpleTextureEffect.fp28 … GrSamplerState(GrSamplerState::WrapMode::kClamp, GrSamplerState::Filter::kNearest)));
72 : GrSamplerState::Filter::kNearest);
DGrSimpleTextureEffect.h25 GrSamplerState::Filter::kNearest))); in Make()
DGrTextureDomain.cpp194 SkScalar decalFilterWeight = sampler.filter() == GrSamplerState::Filter::kNearest ? in setData()
291 sampler.filter() == GrSamplerState::Filter::kNearest); in GrTextureDomainEffect()
380 GrSamplerState::Filter::kBilerp : GrSamplerState::Filter::kNearest)); in TestCreate()
/external/skqp/src/gpu/effects/
DGrBicubicEffect.cpp133 GrSamplerState(wrapModes, GrSamplerState::Filter::kNearest)) {
191 *filterMode = GrSamplerState::Filter::kNearest; in ShouldUseBicubic()
206 *filterMode = GrSamplerState::Filter::kNearest; in ShouldUseBicubic()
215 *filterMode = GrSamplerState::Filter::kNearest; in ShouldUseBicubic()
DGrSimpleTextureEffect.fp28 … GrSamplerState(GrSamplerState::WrapMode::kClamp, GrSamplerState::Filter::kNearest)));
72 : GrSamplerState::Filter::kNearest);
DGrSimpleTextureEffect.h25 GrSamplerState::Filter::kNearest))); in Make()
DGrTextureDomain.cpp194 SkScalar decalFilterWeight = sampler.filter() == GrSamplerState::Filter::kNearest ? in setData()
291 sampler.filter() == GrSamplerState::Filter::kNearest); in GrTextureDomainEffect()
380 GrSamplerState::Filter::kBilerp : GrSamplerState::Filter::kNearest)); in TestCreate()
/external/skqp/src/gpu/
DGrTextureProducer.cpp35 if (copyParams.fFilter != GrSamplerState::Filter::kNearest) { in CopyOnGpu()
41 if (copyParams.fFilter == GrSamplerState::Filter::kNearest && !needsDomain && !resizing && in CopyOnGpu()
126 case GrSamplerState::Filter::kNearest: in DetermineDomainMode()
256 GrMipMapped::kNo == willNeedMips ? GrSamplerState::Filter::kNearest in refTextureProxy()
DGrGpu.cpp62 case GrSamplerState::Filter::kNearest: in IsACopyNeededForRepeatWrapMode()
63 copyParams->fFilter = GrSamplerState::Filter::kNearest; in IsACopyNeededForRepeatWrapMode()
78 copyParams->fFilter = GrSamplerState::Filter::kNearest; in IsACopyNeededForRepeatWrapMode()
96 copyParams->fFilter = GrSamplerState::Filter::kNearest; in IsACopyNeededForMips()
DGrFragmentProcessor.h416 GrSamplerState::Filter = GrSamplerState::Filter::kNearest,
423 GrSamplerState::Filter = GrSamplerState::Filter::kNearest,
/external/skqp/include/gpu/
DGrSamplerState.h18 enum class Filter : uint8_t { kNearest, kBilerp, kMipMap }; enumerator
26 constexpr GrSamplerState() : GrSamplerState(WrapMode::kClamp, Filter::kNearest) {} in GrSamplerState()
/external/skia/include/gpu/
DGrSamplerState.h18 enum class Filter : uint8_t { kNearest, kBilerp, kMipMap }; enumerator
26 constexpr GrSamplerState() : GrSamplerState(WrapMode::kClamp, Filter::kNearest) {} in GrSamplerState()
/external/skia/src/gpu/
DGrTextureProducer.cpp38 if (copyParams.fFilter != GrSamplerState::Filter::kNearest) { in CopyOnGpu()
44 if (copyParams.fFilter == GrSamplerState::Filter::kNearest && !needsDomain && !resizing && in CopyOnGpu()
129 case GrSamplerState::Filter::kNearest: in DetermineDomainMode()
289 GrMipMapped::kNo == willNeedMips ? GrSamplerState::Filter::kNearest in refTextureProxy()
DGrGpu.cpp61 case GrSamplerState::Filter::kNearest: in IsACopyNeededForRepeatWrapMode()
62 copyParams->fFilter = GrSamplerState::Filter::kNearest; in IsACopyNeededForRepeatWrapMode()
77 copyParams->fFilter = GrSamplerState::Filter::kNearest; in IsACopyNeededForRepeatWrapMode()
95 copyParams->fFilter = GrSamplerState::Filter::kNearest; in IsACopyNeededForMips()
DGrFragmentProcessor.h422 GrSamplerState::Filter = GrSamplerState::Filter::kNearest,
429 GrSamplerState::Filter = GrSamplerState::Filter::kNearest,
/external/skia/gm/
Dclockwise.cpp162 GrSamplerState::Filter::kNearest, SkBlendMode::kSrcOver, in onDraw()
179 GrSamplerState::Filter::kNearest, SkBlendMode::kSrcOver, in onDraw()
Dtexturedomaineffect.cpp127 if (fFilter != GrSamplerState::Filter::kNearest && in onDraw()
167 DEF_GM(return new TextureDomainEffect(GrSamplerState::Filter::kNearest);)
Dyuvtorgbeffect.cpp112 GrSamplerState::Filter::kNearest)); in onDraw()
228 GrSamplerState::Filter::kNearest); in onDraw()
/external/skqp/gm/
Dclockwise.cpp165 GrSamplerState::Filter::kNearest, SK_PMColor4fWHITE, {0, 0, 100, 200}, in onDraw()
181 GrSamplerState::Filter::kNearest, SK_PMColor4fWHITE, {0, 0, 100, 200}, in onDraw()
Dtexturedomaineffect.cpp136 if (fFilter != GrSamplerState::Filter::kNearest && in onDraw()
175 DEF_GM(return new TextureDomainEffect(GrSamplerState::Filter::kNearest);)
Dyuvtorgbeffect.cpp125 GrSamplerState::Filter::kNearest)); in onDraw()
249 GrSamplerState::Filter::kNearest); in onDraw()
/external/skqp/src/gpu/ops/
DGrTextureOp.cpp217 if (this->filter() != GrSamplerState::Filter::kNearest && in TextureOp()
219 fFilter = static_cast<unsigned>(GrSamplerState::Filter::kNearest); in TextureOp()
226 this->filter() == GrSamplerState::Filter::kNearest && in TextureOp()
278 if (!mustFilter && this->filter() != GrSamplerState::Filter::kNearest) { in TextureOp()
289 fFilter = static_cast<unsigned>(GrSamplerState::Filter::kNearest); in TextureOp()
/external/skia/src/gpu/ops/
DGrTextureOp.cpp128 if (filter != GrSamplerState::Filter::kNearest && in Make()
130 filter = GrSamplerState::Filter::kNearest; in Make()
278 this->filter() == GrSamplerState::Filter::kNearest && in TextureOp()
349 if (!mustFilter && this->filter() != GrSamplerState::Filter::kNearest) { in TextureOp()
372 fFilter = static_cast<unsigned>(GrSamplerState::Filter::kNearest); in TextureOp()
/external/skqp/tests/
DGrSurfaceTest.cpp474 rtc->drawTexture(GrNoClip(), proxy, GrSamplerState::Filter::kNearest, SkPMColor4f(), in DEF_GPUTEST()
487 rtc->drawTexture(GrNoClip(), std::move(proxy), GrSamplerState::Filter::kNearest, in DEF_GPUTEST()
506 rtc->drawTexture(GrNoClip(), std::move(proxy), GrSamplerState::Filter::kNearest, in DEF_GPUTEST()
556 rtc->drawTexture(GrNoClip(), proxy, GrSamplerState::Filter::kNearest, in DEF_GPUTEST()

123