/external/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 | 60 if (fm != SkFilterMode::kNearest) { in ConstXTileBench() 113 constexpr SkFilterMode gNN = SkFilterMode::kNearest;
|
/external/skia/gm/ |
D | texelsubset.cpp | 50 case Filter::kNearest: in onShortName() 60 case MipmapMode::kNearest: in onShortName() 221 DEF_GM(return new TexelSubset(Filter::kNearest, MipmapMode::kNone , false);) 222 DEF_GM(return new TexelSubset(Filter::kNearest, MipmapMode::kNone , true );) 226 DEF_GM(return new TexelSubset(Filter::kNearest, MipmapMode::kNearest, false);) 227 DEF_GM(return new TexelSubset(Filter::kLinear , MipmapMode::kNearest, false);) 228 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 | runtimeeffectimage.cpp | 57 SkSamplingOptions nn{SkFilterMode::kNearest}; in onDraw() 58 SkSamplingOptions mm{SkFilterMode::kLinear, SkMipmapMode::kNearest}; in onDraw()
|
D | bug6643.cpp | 34 SkFilterMode::kNearest, nullptr, nullptr));
|
/external/deqp-deps/amber/src/ |
D | sampler.h | 30 enum class FilterType : int8_t { kUnknown = -1, kNearest = 0, kLinear = 1 }; enumerator 91 FilterType min_filter_ = FilterType::kNearest; 92 FilterType mag_filter_ = FilterType::kNearest; 93 FilterType mipmap_mode_ = FilterType::kNearest;
|
/external/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;
|
/external/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()
|
/external/skqp/src/gpu/effects/ |
D | GrBicubicEffect.cpp | 133 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()
|
D | GrSimpleTextureEffect.fp | 28 … GrSamplerState(GrSamplerState::WrapMode::kClamp, GrSamplerState::Filter::kNearest))); 72 : GrSamplerState::Filter::kNearest);
|
/external/deqp-deps/amber/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() 76 EXPECT_EQ(FilterType::kNearest, sampler->GetMipmapMode()); in TEST_F()
|
/external/skia/modules/skottie/src/effects/ |
D | FractalNoiseEffect.cpp | 179 kNearest, enumerator 275 case NoiseFilter::kNearest : return this->getEffect<NoiseFilter::kNearest>(); in getEffect() 327 NoiseFilter fFilter = NoiseFilter::kNearest; 413 case 1: return NoiseFilter::kNearest; in noiseFilter()
|
/external/skqp/include/gpu/ |
D | GrSamplerState.h | 18 enum class Filter : uint8_t { kNearest, kBilerp, kMipMap }; enumerator 26 constexpr GrSamplerState() : GrSamplerState(WrapMode::kClamp, Filter::kNearest) {} in GrSamplerState()
|
/external/skqp/src/gpu/ |
D | GrTextureProducer.cpp | 35 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()
|
D | GrGpu.cpp | 62 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()
|
/external/skia/src/gpu/mtl/ |
D | GrMtlSampler.mm | 48 case GrSamplerState::Filter::kNearest: return MTLSamplerMinMagFilterNearest; 57 case GrSamplerState::MipmapMode::kNearest: return MTLSamplerMipFilterNearest;
|
/external/skia/docs/examples/ |
D | draw_image_nine_blur_mask.cpp | 10 SkFilterMode::kNearest, &paint); in draw()
|
D | Canvas_drawImageNine_2.cpp | 27 SkFilterMode::kNearest, nullptr); in draw()
|
/external/skia/src/image/ |
D | SkRescaleAndReadPixels.cpp | 32 if (rescaleMode != SkImage::RescaleMode::kNearest) { in SkRescaleAndReadPixels() 49 if (rescaleMode != SkImage::RescaleMode::kNearest) { in SkRescaleAndReadPixels()
|
/external/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()
|
/external/skqp/gm/ |
D | clockwise.cpp | 165 GrSamplerState::Filter::kNearest, SK_PMColor4fWHITE, {0, 0, 100, 200}, in onDraw() 181 GrSamplerState::Filter::kNearest, SK_PMColor4fWHITE, {0, 0, 100, 200}, in onDraw()
|
D | texturedomaineffect.cpp | 136 if (fFilter != GrSamplerState::Filter::kNearest && in onDraw() 175 DEF_GM(return new TextureDomainEffect(GrSamplerState::Filter::kNearest);)
|
/external/skia/src/gpu/effects/ |
D | GrTextureEffect.cpp | 93 if (filter == Filter::kNearest) { in Sampling() 271 case Filter::kNearest: return ShaderMode::kRepeat_Nearest_None; in GetShaderMode() 275 case MipmapMode::kNearest: in GetShaderMode() 278 case Filter::kNearest: return ShaderMode::kRepeat_Nearest_Mipmap; in GetShaderMode() 285 return filter == Filter::kNearest ? ShaderMode::kClampToBorder_Nearest in GetShaderMode() 798 Filter filter = testData->fRandom->nextBool() ? Filter::kLinear : Filter::kNearest; in TestCreate()
|