/third_party/skia/bench/ |
D | FilteringBench.cpp | 58 DEF_BENCH( return new FilteringBench(SkFilterMode::kLinear, SkMipmapMode::kNearest); ) 61 DEF_BENCH( return new FilteringBench(SkFilterMode::kNearest, SkMipmapMode::kLinear); ) 62 DEF_BENCH( return new FilteringBench(SkFilterMode::kNearest, SkMipmapMode::kNearest); ) 63 DEF_BENCH( return new FilteringBench(SkFilterMode::kNearest, SkMipmapMode::kNone); )
|
D | TileBench.cpp | 47 if (fm != SkFilterMode::kNearest) { 121 constexpr SkFilterMode gNN = SkFilterMode::kNearest;
|
/third_party/skia/gm/ |
D | texelsubset.cpp | 52 case Filter::kNearest: in onShortName() 62 case MipmapMode::kNearest: in onShortName() 228 DEF_GM(return new TexelSubset(Filter::kNearest, MipmapMode::kNone , false);) 229 DEF_GM(return new TexelSubset(Filter::kNearest, MipmapMode::kNone , true );) 233 DEF_GM(return new TexelSubset(Filter::kNearest, MipmapMode::kNearest, false);) 234 DEF_GM(return new TexelSubset(Filter::kLinear , MipmapMode::kNearest, false);) 235 DEF_GM(return new TexelSubset(Filter::kNearest, MipmapMode::kLinear , false);)
|
D | showmiplevels.cpp | 59 for (auto mm : {SkMipmapMode::kNone, SkMipmapMode::kNearest, SkMipmapMode::kLinear}) { in onDraw() 60 for (auto fm : {SkFilterMode::kNearest, SkFilterMode::kLinear}) { in onDraw()
|
D | image_shader.cpp | 180 for (auto mm : {SkMipmapMode::kNone, SkMipmapMode::kNearest, SkMipmapMode::kLinear}) { 181 for (auto fm : {SkFilterMode::kNearest, SkFilterMode::kLinear}) {
|
D | perspshaders.cpp | 152 this->drawRow(canvas, SkSamplingOptions(SkFilterMode::kNearest)); in onDraw() 157 SkMipmapMode::kNearest)); in onDraw()
|
/third_party/vk-gl-cts/external/amber/src/src/ |
D | sampler.h | 31 enum class FilterType : int8_t { kUnknown = -1, kNearest = 0, kLinear = 1 }; enumerator 100 FilterType min_filter_ = FilterType::kNearest; 101 FilterType mag_filter_ = FilterType::kNearest; 102 FilterType mipmap_mode_ = FilterType::kNearest;
|
/third_party/skia/include/core/ |
D | SkSamplingOptions.h | 15 kNearest, // single sample point (nearest neighbor) enumerator 23 kNearest, // sample from the nearest level enumerator 57 const SkFilterMode filter = SkFilterMode::kNearest;
|
/third_party/skia/tests/ |
D | PictureShaderTest.cpp | 34 SkFilterMode::kNearest)); in DEF_TEST() 45 SkFilterMode::kNearest)); in DEF_TEST() 92 paint.setShader(picture->makeShader(m, m, SkFilterMode::kNearest)); in DEF_TEST()
|
D | SamplingTest.cpp | 40 for (auto m : {SkMipmapMode::kNone, SkMipmapMode::kNearest, SkMipmapMode::kLinear}) { in DEF_TEST() 41 for (auto f : {SkFilterMode::kNearest, SkFilterMode::kLinear}) { in DEF_TEST()
|
/third_party/vk-gl-cts/external/amber/src/src/amberscript/ |
D | parser_sampler_test.cc | 38 EXPECT_EQ(FilterType::kNearest, sampler->GetMagFilter()); in TEST_F() 39 EXPECT_EQ(FilterType::kNearest, sampler->GetMinFilter()); in TEST_F() 40 EXPECT_EQ(FilterType::kNearest, sampler->GetMipmapMode()); in TEST_F() 80 EXPECT_EQ(FilterType::kNearest, sampler->GetMipmapMode()); in TEST_F()
|
/third_party/skia/modules/skottie/src/effects/ |
D | FractalNoiseEffect.cpp | 183 kNearest, enumerator 280 case NoiseFilter::kNearest : return this->getEffect<NoiseFilter::kNearest>(); in getEffect() 333 NoiseFilter fFilter = NoiseFilter::kNearest; 452 case 1: return NoiseFilter::kNearest; in noiseFilter()
|
/third_party/flutter/skia/src/gpu/ |
D | GrTextureProducer.cpp | 37 if (copyParams.fFilter != GrSamplerState::Filter::kNearest) { in CopyOnGpu() 43 if (copyParams.fFilter == GrSamplerState::Filter::kNearest && !needsDomain && !resizing && in CopyOnGpu() 123 case GrSamplerState::Filter::kNearest: in DetermineDomainMode() 285 GrMipMapped::kNo == willNeedMips ? GrSamplerState::Filter::kNearest in refTextureProxy()
|
D | GrSamplerState.h | 18 enum class Filter : uint8_t { kNearest, kBilerp, kMipMap }; enumerator 26 constexpr GrSamplerState() : GrSamplerState(WrapMode::kClamp, Filter::kNearest) {} in GrSamplerState()
|
/third_party/flutter/skia/src/gpu/effects/ |
D | GrBicubicEffect.cpp | 176 GrSamplerState(wrapModes, GrSamplerState::Filter::kNearest)) 239 *filterMode = GrSamplerState::Filter::kNearest; in ShouldUseBicubic() 250 *filterMode = GrSamplerState::Filter::kNearest; in ShouldUseBicubic()
|
D | GrSimpleTextureEffect.fp | 28 … GrSamplerState(GrSamplerState::WrapMode::kClamp, GrSamplerState::Filter::kNearest))); 72 : GrSamplerState::Filter::kNearest);
|
/third_party/flutter/skia/gm/ |
D | yuvtorgbeffect.cpp | 133 GrSamplerState::Filter::kNearest)); in onDraw() 249 GrSamplerState::Filter::kNearest); in onDraw() 330 GrSamplerState::Filter::kNearest, GrSamplerState::Filter::kBilerp }; in onDraw() 350 if (kFilters[i] == GrSamplerState::Filter::kNearest) { in onDraw()
|
D | texturedomaineffect.cpp | 136 if (fFilter != GrSamplerState::Filter::kNearest && in onDraw() 176 DEF_GM(return new TextureDomainEffect(GrSamplerState::Filter::kNearest);)
|
D | clockwise.cpp | 196 GrSamplerState::Filter::kNearest, SkBlendMode::kSrcOver, in onDraw() 212 GrSamplerState::Filter::kNearest, SkBlendMode::kSrcOver, in onDraw()
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlSampler.mm | 48 case GrSamplerState::Filter::kNearest: return MTLSamplerMinMagFilterNearest; 57 case GrSamplerState::MipmapMode::kNearest: return MTLSamplerMipFilterNearest;
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DResourceProvider.cpp | 142 case GrSamplerState::MipmapMode::kNearest: in d3d_filter() 144 case GrSamplerState::Filter::kNearest: return D3D12_FILTER_MIN_MAG_MIP_POINT; in d3d_filter() 150 case GrSamplerState::Filter::kNearest: return D3D12_FILTER_MIN_MAG_POINT_MIP_LINEAR; in d3d_filter()
|
/third_party/skia/src/gpu/effects/ |
D | GrTextureEffect.cpp | 92 if (filter == Filter::kNearest) { in Sampling() 270 case Filter::kNearest: return ShaderMode::kRepeat_Nearest_None; in GetShaderMode() 274 case MipmapMode::kNearest: in GetShaderMode() 277 case Filter::kNearest: return ShaderMode::kRepeat_Nearest_Mipmap; in GetShaderMode() 284 return filter == Filter::kNearest ? ShaderMode::kClampToBorder_Nearest in GetShaderMode() 797 Filter filter = testData->fRandom->nextBool() ? Filter::kLinear : Filter::kNearest; in TestCreate()
|
D | GrBicubicEffect.cpp | 133 GrSamplerState sampler(wrapX, wrapY, GrSamplerState::Filter::kNearest); in Make() 151 GrSamplerState sampler(wrapX, wrapY, GrSamplerState::Filter::kNearest); in MakeSubset() 179 GrSamplerState sampler(wrapX, wrapY, GrSamplerState::Filter::kNearest); in MakeSubset()
|
/third_party/skia/src/image/ |
D | SkRescaleAndReadPixels.cpp | 32 if (rescaleMode != SkImage::RescaleMode::kNearest) { in SkRescaleAndReadPixels() 49 if (rescaleMode != SkImage::RescaleMode::kNearest) { in SkRescaleAndReadPixels()
|
/third_party/skia/docs/examples/ |
D | draw_image_nine_blur_mask.cpp | 10 SkFilterMode::kNearest, &paint); in draw()
|