/third_party/skia/src/core/ |
D | SkMipmapAccessor.cpp | 30 SkMipmapMode requestedMode) { in SkMipmapAccessor() 43 if (requestedMode != SkMipmapMode::kNone) { in SkMipmapAccessor() 46 fResolvedMode = SkMipmapMode::kNone; in SkMipmapAccessor() 50 fResolvedMode = SkMipmapMode::kNone; in SkMipmapAccessor() 69 if (levelNum > 0 || (fResolvedMode == SkMipmapMode::kLinear && lowerWeight > 0)) { in SkMipmapAccessor() 73 fResolvedMode = SkMipmapMode::kNone; in SkMipmapAccessor() 77 SkASSERT(fResolvedMode != SkMipmapMode::kNone); in SkMipmapAccessor() 83 fResolvedMode = SkMipmapMode::kNone; in SkMipmapAccessor() 87 if (fResolvedMode == SkMipmapMode::kLinear) { in SkMipmapAccessor() 93 fResolvedMode = SkMipmapMode::kNearest; in SkMipmapAccessor() [all …]
|
D | SkMipmapAccessor.h | 22 static SkMipmapAccessor* Make(SkArenaAlloc*, const SkImage*, const SkMatrix& inv, SkMipmapMode); 43 SkMipmapMode fResolvedMode; 51 SkMipmapAccessor(const SkImage_Base*, const SkMatrix& inv, SkMipmapMode requestedMode);
|
/third_party/skia/bench/ |
D | FilteringBench.cpp | 17 FilteringBench(SkFilterMode fm, SkMipmapMode mm) : fSampling(fm, mm) { in FilteringBench() 57 DEF_BENCH( return new FilteringBench(SkFilterMode::kLinear, SkMipmapMode::kLinear); ) 58 DEF_BENCH( return new FilteringBench(SkFilterMode::kLinear, SkMipmapMode::kNearest); ) 59 DEF_BENCH( return new FilteringBench(SkFilterMode::kLinear, SkMipmapMode::kNone); ) 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 | GrMipmapBench.cpp | 51 SkMipmapMode::kLinear); in onDraw()
|
/third_party/skia/include/core/ |
D | SkSamplingOptions.h | 21 enum class SkMipmapMode { enum 58 const SkMipmapMode mipmap = SkMipmapMode::kNone; 68 SkSamplingOptions(SkFilterMode fm, SkMipmapMode mm) in SkSamplingOptions() 76 , mipmap(SkMipmapMode::kNone) {} in SkSamplingOptions()
|
/third_party/skia/tests/ |
D | SamplingTest.cpp | 40 for (auto m : {SkMipmapMode::kNone, SkMipmapMode::kNearest, SkMipmapMode::kLinear}) { in DEF_TEST()
|
D | GrTextureMipMapInvalidationTest.cpp | 57 SkSamplingOptions sampling(SkFilterMode::kLinear, SkMipmapMode::kLinear); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 111 SkMipmapMode::kLinear)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/third_party/skia/gm/ |
D | showmiplevels.cpp | 59 for (auto mm : {SkMipmapMode::kNone, SkMipmapMode::kNearest, SkMipmapMode::kLinear}) { in onDraw()
|
D | yuv420_odd_dim.cpp | 123 for (SkMipmapMode mm : {SkMipmapMode::kNone, SkMipmapMode::kLinear}) {
|
D | mipmap.cpp | 50 SkSamplingOptions(SkFilterMode::kLinear, SkMipmapMode::kLinear), 82 SkMipmapMode::kLinear); in show_mips() 131 SkMipmapMode::kLinear); in show_mips_only()
|
D | image_shader.cpp | 180 for (auto mm : {SkMipmapMode::kNone, SkMipmapMode::kNearest, SkMipmapMode::kLinear}) {
|
D | rectangletexture.cpp | 155 SkSamplingOptions(SkFilterMode::kLinear, SkMipmapMode::kLinear), in onDraw() 207 SkSamplingOptions(SkFilterMode::kLinear, SkMipmapMode::kLinear), in onDraw() 212 if (!sampling.useCubic && sampling.mipmap != SkMipmapMode::kNone) { in onDraw()
|
D | skbug_8664.cpp | 29 SkMipmapMode::kLinear);
|
D | crosscontextimage.cpp | 62 SkMipmapMode::kLinear));
|
D | ducky_yuv_blend.cpp | 56 SkMipmapMode::kNearest);
|
D | imagesource2.cpp | 101 SkMipmapMode::kLinear));)
|
/third_party/skia/modules/androidkit/src/ |
D | Utils.cpp | 20 const auto mm = static_cast<SkMipmapMode>((desc >> 2) & 0x03); in SamplingOptions() 21 SkASSERT(mm <= SkMipmapMode::kLast); in SamplingOptions()
|
/third_party/skia/src/image/ |
D | SkImage.cpp | 325 if (sampling.mipmap != SkMipmapMode::kNone && in asFragmentProcessor() 727 behavior == kNearest_SkMediumAs ? SkMipmapMode::kNearest in FromFQ() 728 : SkMipmapMode::kLinear); in FromFQ() 730 return SkSamplingOptions(SkFilterMode::kLinear, SkMipmapMode::kNone); in FromFQ() 734 return SkSamplingOptions(SkFilterMode::kNearest, SkMipmapMode::kNone); in FromFQ() 744 auto mipmap = buffer.read32LE<SkMipmapMode>(SkMipmapMode::kLinear); in Read()
|
/third_party/skia/docs/examples/ |
D | Image_scalePixels.cpp | 19 SkSamplingOptions(SkFilterMode::kLinear, SkMipmapMode::kLinear), in draw()
|
D | Pixmap_scalePixels.cpp | 20 SkMipmapMode::kNearest)); in draw()
|
D | purplestamp.cpp | 45 SkSamplingOptions sampling(SkFilterMode::kLinear, SkMipmapMode::kLinear); in draw()
|
/third_party/skia/modules/svg/src/ |
D | SkSVGFeImage.cpp | 39 SkMipmapMode::kNearest)); in onMakeImageFilter()
|
/third_party/skia/src/shaders/ |
D | SkImageShader.cpp | 192 const std::tuple<SkFilterMode,SkMipmapMode> supported[] = { in onMakeContext() 193 {SkFilterMode::kNearest, SkMipmapMode::kNone}, // legacy None in onMakeContext() 194 {SkFilterMode::kLinear, SkMipmapMode::kNone}, // legacy Low in onMakeContext() 195 {SkFilterMode::kLinear, SkMipmapMode::kNearest}, // legacy Medium in onMakeContext() 386 } else if (sampling.mipmap == SkMipmapMode::kLinear) { in doStages() 391 if (updater && (sampling.mipmap != SkMipmapMode::kNone)) { in doStages() 405 SkASSERT(!sampling.useCubic || sampling.mipmap == SkMipmapMode::kNone); in doStages()
|
/third_party/skia/modules/skresources/src/ |
D | SkResources.cpp | 100 SkSamplingOptions(SkFilterMode::kLinear, SkMipmapMode::kNearest), in getFrameData() 142 SkMipmapMode::kNearest), in generateFrame()
|
/third_party/skia/samplecode/ |
D | SampleAnimatedText.cpp | 72 SkSamplingOptions sampling(SkFilterMode::kLinear, SkMipmapMode::kNearest); in onDrawContent()
|