/external/skqp/include/gpu/ |
D | GrSamplerState.h | 29 : fWrapModes{wrapXAndY, wrapXAndY}, fFilter(filter) {} in GrSamplerState() 32 : fWrapModes{wrapModes[0], wrapModes[1]}, fFilter(filter) {} in GrSamplerState() 39 fFilter = that.fFilter; 43 Filter filter() const { return fFilter; } in filter() 45 void setFilterMode(Filter filterMode) { fFilter = filterMode; } in setFilterMode() 60 fFilter == that.fFilter; 67 Filter fFilter; variable
|
/external/skia/src/gpu/ |
D | GrSamplerState.h | 28 : fWrapModes{wrapXAndY, wrapXAndY}, fFilter(filter) {} in GrSamplerState() 31 : fWrapModes{wrapX, wrapY}, fFilter(filter) {} in GrSamplerState() 34 : fWrapModes{wrapModes[0], wrapModes[1]}, fFilter(filter) {} in GrSamplerState() 36 constexpr /*explicit*/ GrSamplerState(Filter filter) : fFilter(filter) {} in GrSamplerState() 42 constexpr Filter filter() const { return fFilter; } in filter() 44 constexpr void setFilterMode(Filter filterMode) { fFilter = filterMode; } in setFilterMode() 59 fFilter == that.fFilter; 82 Filter fFilter = GrSamplerState::Filter::kNearest; variable
|
D | GrTextureProducer.h | 36 GrSamplerState::Filter fFilter; member 131 builder[0] = static_cast<uint32_t>(copyParams.fFilter); in MakeCopyKeyFromOrigKey()
|
/external/skqp/src/shaders/ |
D | SkColorFilterShader.cpp | 22 , fFilter(std::move(filter)) in SkColorFilterShader() 25 SkASSERT(fFilter); in SkColorFilterShader() 39 buffer.writeFlattenable(fFilter.get()); in flatten() 46 fFilter->appendStages(rec.fPipeline, rec.fDstCS, rec.fAlloc, fShader->isOpaque()); in onAppendStages() 51 return xformer->apply(fShader.get())->makeWithColorFilter(xformer->apply(fFilter.get())); in onMakeColorSpace() 64 auto fp2 = fFilter->asFragmentProcessor(args.fContext, *args.fDstColorSpaceInfo); in asFragmentProcessor()
|
/external/skia/src/shaders/ |
D | SkColorFilterShader.cpp | 25 , fFilter(std::move(filter)) in SkColorFilterShader() 29 SkASSERT(fFilter); in SkColorFilterShader() 44 && (fFilter->getFlags() & SkColorFilter::kAlphaUnchanged_Flag) != 0; in isOpaque() 50 buffer.writeFlattenable(fFilter.get()); in flatten() 60 fFilter->appendStages(rec, fShader->isOpaque()); in onAppendStages() 85 if (!fFilter->program(p, dstCS, uniforms,alloc, r,g,b,a)) { in onProgram() 107 auto fp2 = fFilter->asFragmentProcessor(args.fContext, *args.fDstColorInfo); in asFragmentProcessor()
|
/external/skia/samplecode/ |
D | SampleImageFilterDAG.cpp | 36 sk_sp<SkImageFilter> fFilter; member 114 if (fFilter) { in computeForwardBounds() 120 fForwardBounds = fFilter->filterBounds( in computeForwardBounds() 125 fForwardIsolatedBounds = as_IFB(fFilter)->filterNodeBounds( in computeForwardBounds() 139 if (fFilter) { in computeReverseLocalIsolatedBounds() 140 fReverseLocalIsolatedBounds = as_IFB(fFilter)->filterNodeBounds( in computeReverseLocalIsolatedBounds() 167 if (fFilter) { in computeReverseBounds() 171 reverseBounds = fFilter->filterBounds( in computeReverseBounds() 183 nextSrcRect = as_IFB(fFilter)->filterNodeBounds( in computeReverseBounds() 215 node.fFilter = sk_ref_sp(filter); in build_dag() [all …]
|
D | SampleLayers.cpp | 180 sk_sp<SkImageFilter> fFilter; member in BackdropView 186 fFilter = SkImageFilters::Dilate(8, 8, nullptr); in BackdropView() 209 canvas->saveLayer({ &bounds, &paint, fFilter.get(), nullptr, nullptr, 0 }); in onDrawContent()
|
/external/junit/src/main/java/org/junit/internal/requests/ |
D | FilterRequest.java | 19 private final Filter fFilter; field in FilterRequest 30 this.fFilter = filter; in FilterRequest() 37 fFilter.apply(runner); in getRunner() 41 .format("No tests found matching %s from %s", fFilter in getRunner()
|
/external/skqp/gm/ |
D | texturedomaineffect.cpp | 31 : fFilter(filter) { in TextureDomainEffect() 38 if (fFilter == GrSamplerState::Filter::kBilerp) { in onShortName() 40 } else if (fFilter == GrSamplerState::Filter::kMipMap) { in onShortName() 100 if (fFilter == GrSamplerState::Filter::kMipMap) { in onDraw() 136 if (fFilter != GrSamplerState::Filter::kNearest && in onDraw() 147 mode, fFilter); in onDraw() 170 GrSamplerState::Filter fFilter; member in skiagm::TextureDomainEffect
|
D | imagesource2.cpp | 19 ImageSourceGM(const char* suffix, SkFilterQuality filter) : fSuffix(suffix), fFilter(filter) { in ImageSourceGM() 69 p.setImageFilter(SkImageSource::Make(fImage, srcRect, dstRect, fFilter)); in onDraw() 79 SkFilterQuality fFilter; member in skiagm::ImageSourceGM
|
D | lumafilter.cpp | 89 fFilter = SkLumaColorFilter::Make(); in LumaFilterGM() 135 draw_scene(canvas, fFilter, modes[m], shaders[i].fShader1, in onDraw() 144 sk_sp<SkColorFilter> fFilter; member in LumaFilterGM
|
/external/skia/src/core/ |
D | SkImageFilterCache.cpp | 46 : fKey(key), fImage(image), fFilter(filter) {} in Value() 50 const SkImageFilter* fFilter; member 120 v->fFilter = nullptr; in purgeByImageFilter() 129 if (v->fFilter) { in removeInternal() 130 if (auto* values = fImageFilterValues.find(v->fFilter)) { in removeInternal() 132 fImageFilterValues.remove(v->fFilter); in removeInternal()
|
D | SkMaskFilter.cpp | 620 : fFilter(std::move(filter)) in SkMatrixMF() 626 return as_MFB(fFilter)->filterMask(dst, src, SkMatrix::Concat(ctm, fLM), margin); in filterMask() 633 as_MFB(fFilter)->computeFastBounds(tmp, dst); in computeFastBounds() 636 SkMask::Format getFormat() const override { return as_MFB(fFilter)->getFormat(); } in getFormat() 643 return as_MFB(fFilter)->asFragmentProcessor(GrFPArgs::WithPostLocalMatrix(args, fLM)); in onAsFragmentProcessor() 647 return as_MFB(fFilter)->hasFragmentProcessor(); in onHasFragmentProcessor() 652 sk_sp<SkMaskFilter> fFilter; member in SkMatrixMF 657 buffer.writeFlattenable(fFilter.get()); in flatten()
|
/external/skqp/src/core/ |
D | SkImageFilterCache.cpp | 45 : fKey(key), fImage(SkRef(image)), fOffset(offset), fFilter(filter) {} in Value() 50 const SkImageFilter* fFilter; member 116 v->fFilter = nullptr; in purgeByImageFilter() 126 if (v->fFilter) { in removeInternal() 127 if (auto* values = fImageFilterValues.find(v->fFilter)) { in removeInternal() 129 fImageFilterValues.remove(v->fFilter); in removeInternal()
|
D | SkMaskFilter.cpp | 617 : fFilter(std::move(filter)) in SkMatrixMF() 623 return as_MFB(fFilter)->filterMask(dst, src, SkMatrix::Concat(ctm, fLM), margin); in filterMask() 630 as_MFB(fFilter)->computeFastBounds(tmp, dst); in computeFastBounds() 633 SkMask::Format getFormat() const override { return as_MFB(fFilter)->getFormat(); } in getFormat() 640 return as_MFB(fFilter)->asFragmentProcessor(GrFPArgs::WithPostLocalMatrix(args, fLM)); in onAsFragmentProcessor() 644 return as_MFB(fFilter)->hasFragmentProcessor(); in onHasFragmentProcessor() 649 sk_sp<SkMaskFilter> fFilter; member in SkMatrixMF 654 buffer.writeFlattenable(fFilter.get()); in flatten()
|
/external/skia/gm/ |
D | texelsubset.cpp | 42 TexelSubset(GrSamplerState::Filter filter, bool upscale) : fFilter(filter), fUpscale(upscale) { in TexelSubset() 49 switch (fFilter) { in onShortName() 80 GrMipMapped mipMapped = fFilter == GrSamplerState::Filter::kMipMap && in onDraw() 135 GrSamplerState sampler(wmx, wmy, fFilter); in onDraw() 171 GrSamplerState(wmx, wmy, fFilter), caps); in onDraw() 205 GrSamplerState::Filter fFilter; member in skiagm::TexelSubset
|
D | imagesource2.cpp | 30 ImageSourceGM(const char* suffix, SkFilterQuality filter) : fSuffix(suffix), fFilter(filter) { in ImageSourceGM() 80 p.setImageFilter(SkImageFilters::Image(fImage, srcRect, dstRect, fFilter)); in onDraw() 90 SkFilterQuality fFilter; member in skiagm::ImageSourceGM
|
D | lumafilter.cpp | 106 fFilter = SkLumaColorFilter::Make(); in LumaFilterGM() 152 draw_scene(canvas, fFilter, modes[m], shaders[i].fShader1, in onDraw() 161 sk_sp<SkColorFilter> fFilter; member in LumaFilterGM
|
/external/skia/bench/ |
D | MatrixConvolutionBench.cpp | 31 fFilter = SkImageFilters::MatrixConvolution(kernelSize, kernel, gain, bias, in MatrixConvolutionBench() 43 paint.setImageFilter(fFilter); in onDraw() 55 sk_sp<SkImageFilter> fFilter; member in MatrixConvolutionBench
|
/external/skqp/bench/ |
D | MatrixConvolutionBench.cpp | 37 fFilter = SkMatrixConvolutionImageFilter::Make(kernelSize, kernel, gain, bias, in MatrixConvolutionBench() 55 paint.setImageFilter(fFilter); in onDraw() 61 sk_sp<SkImageFilter> fFilter; member in MatrixConvolutionBench
|
/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() 68 SkASSERT(copyParams.fFilter != GrSamplerState::Filter::kMipMap); in CopyOnGpu() 71 GrTextureDomain::kClamp_Mode, copyParams.fFilter)); in CopyOnGpu() 73 GrSamplerState samplerState(GrSamplerState::WrapMode::kClamp, copyParams.fFilter); in CopyOnGpu()
|
D | GrTextureProducer.h | 35 GrSamplerState::Filter fFilter; member 131 builder[0] = static_cast<uint32_t>(copyParams.fFilter); in MakeCopyKeyFromOrigKey()
|
/external/skqp/src/gpu/ops/ |
D | GrTextureOp.cpp | 156 static_cast<int>(fFilter)); in dumpInfo() 201 , fFilter(static_cast<unsigned>(filter)) in TextureOp() 219 fFilter = static_cast<unsigned>(GrSamplerState::Filter::kNearest); in TextureOp() 248 , fFilter(static_cast<unsigned>(filter)) in TextureOp() 289 fFilter = static_cast<unsigned>(GrSamplerState::Filter::kNearest); in TextureOp() 463 if (fFilter != that->fFilter) { in onCombineIfPossible() 488 GrSamplerState::Filter filter() const { return static_cast<GrSamplerState::Filter>(fFilter); } in filter() 519 unsigned fFilter : 2; member in __anondbb5f7370111::TextureOp
|
/external/skqp/samplecode/ |
D | SampleLayers.cpp | 194 sk_sp<SkImageFilter> fFilter; member in BackdropView 200 fFilter = SkDilateImageFilter::Make(8, 8, nullptr); in BackdropView() 229 canvas->saveLayer({ &bounds, &paint, fFilter.get(), nullptr, nullptr, 0 }); in onDrawContent()
|
/external/skia/src/gpu/ops/ |
D | GrLatticeOp.cpp | 158 , fFilter(filter) { in NonAALatticeOp() 172 bool mipped = (GrSamplerState::Filter::kMipMap == fFilter); in visitProxies() 213 fFilter, fWideColor); in onPrepareDraws() 306 if (fFilter != that->fFilter) { in onCombineIfPossible() 333 GrSamplerState::Filter fFilter; member in __anone15ef1d50111::NonAALatticeOp
|