/third_party/flutter/skia/src/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
|
D | GrTextureProducer.cpp | 37 if (copyParams.fFilter != GrSamplerState::Filter::kNearest) { in CopyOnGpu() 43 if (copyParams.fFilter == GrSamplerState::Filter::kNearest && !needsDomain && !resizing && in CopyOnGpu() 65 SkASSERT(copyParams.fFilter != GrSamplerState::Filter::kMipMap); in CopyOnGpu() 68 GrTextureDomain::kClamp_Mode, copyParams.fFilter)); in CopyOnGpu() 70 GrSamplerState samplerState(GrSamplerState::WrapMode::kClamp, copyParams.fFilter); in CopyOnGpu()
|
D | GrTextureProducer.h | 36 GrSamplerState::Filter fFilter; member 134 builder[0] = static_cast<uint32_t>(copyParams.fFilter); in MakeCopyKeyFromOrigKey()
|
/third_party/skia/src/gpu/ |
D | GrSamplerState.h | 37 : fWrapModes{wrapXAndY, wrapXAndY}, fFilter(filter), fMipmapMode(mm) {} 43 : fWrapModes{wrapX, wrapY}, fFilter(filter), fMipmapMode(mm) {} 48 : fWrapModes{wrapModes[0], wrapModes[1]}, fFilter(filter), fMipmapMode(mm) {} 50 constexpr /*explicit*/ GrSamplerState(Filter filter) : fFilter(filter) {} in GrSamplerState() 51 constexpr GrSamplerState(Filter filter, MipmapMode mm) : fFilter(filter), fMipmapMode(mm) {} in GrSamplerState() 73 constexpr Filter filter() const { return fFilter; } in filter() 81 constexpr void setFilterMode(Filter filterMode) { fFilter = filterMode; } in setFilterMode() 91 fFilter == that.fFilter && fMipmapMode == that.fMipmapMode; 105 + static_cast<int>(fFilter) *kNumWraps*kNumWraps in asIndex() 117 Filter fFilter = GrSamplerState::Filter::kNearest; variable
|
/third_party/flutter/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 | 185 sk_sp<SkImageFilter> fFilter; member in BackdropView 191 fFilter = SkImageFilters::Dilate(8, 8, nullptr); in BackdropView() 214 canvas->saveLayer({ &bounds, &paint, fFilter.get(), nullptr, nullptr, 0 }); in onDrawContent()
|
/third_party/skia/src/shaders/ |
D | SkColorFilterShader.cpp | 26 , fFilter(as_CFB_sp(std::move(filter))) in SkColorFilterShader() 30 SkASSERT(fFilter); in SkColorFilterShader() 43 return fShader->isOpaque() && fAlpha == 1.0f && as_CFB(fFilter)->isAlphaUnchanged(); in isOpaque() 49 buffer.writeFlattenable(fFilter.get()); in flatten() 59 if (!fFilter->appendStages(rec, fShader->isOpaque())) { in onAppendStages() 87 return fFilter->program(p,c, dst, uniforms,alloc); in onProgram() 104 auto [success, fp] = fFilter->asFragmentProcessor(std::move(shaderFP), args.fContext, in asFragmentProcessor()
|
/third_party/skia/samplecode/ |
D | SampleImageFilterDAG.cpp | 36 sk_sp<SkImageFilter> fFilter; member 66 : fFilter(sk_ref_sp(filter)) in FilterNode() 72 if (fFilter) { in FilterNode() 73 fInputNodes.reserve_back(fFilter->countInputs()); in FilterNode() 74 for (int i = 0; i < fFilter->countInputs(); ++i) { in FilterNode() 75 fInputNodes.emplace_back(fFilter->getInput(i), mapping, content, depth + 1); in FilterNode() 82 if (fFilter) { in computeOutputBounds() 88 as_IFB(fFilter)->getOutputBounds(layerOnly, fContent); in computeOutputBounds() 108 if (fFilter) { in computeInputBounds() 109 fHintedLayerBounds = as_IFB(fFilter)->getInputBounds(fMapping, targetOutput, &fContent); in computeInputBounds() [all …]
|
D | SampleLayers.cpp | 175 sk_sp<SkImageFilter> fFilter; member in BackdropView 181 fFilter = SkImageFilters::Dilate(8, 8, nullptr); in BackdropView() 204 canvas->saveLayer(SkCanvas::SaveLayerRec(&bounds, &paint, fFilter.get(), 0)); in onDrawContent()
|
/third_party/flutter/skia/src/shaders/ |
D | SkColorFilterShader.cpp | 21 , fFilter(std::move(filter)) in SkColorFilterShader() 24 SkASSERT(fFilter); in SkColorFilterShader() 38 buffer.writeFlattenable(fFilter.get()); in flatten() 45 fFilter->appendStages(rec, fShader->isOpaque()); in onAppendStages() 61 auto fp2 = fFilter->asFragmentProcessor(args.fContext, *args.fDstColorSpaceInfo); in asFragmentProcessor()
|
/third_party/flutter/skia/gm/ |
D | texturedomaineffect.cpp | 53 : fFilter(filter) { in TextureDomainEffect() 60 if (fFilter == GrSamplerState::Filter::kBilerp) { in onShortName() 62 } else if (fFilter == GrSamplerState::Filter::kMipMap) { in onShortName() 106 GrMipMapped mipMapped = fFilter == GrSamplerState::Filter::kMipMap && in onDraw() 136 if (fFilter != GrSamplerState::Filter::kNearest && in onDraw() 147 mode, fFilter); in onDraw() 171 GrSamplerState::Filter fFilter; member in skiagm::TextureDomainEffect
|
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
|
D | highcontrastfilter.cpp | 116 fFilter = SkHighContrastFilter::Make(fConfig); in HighContrastFilterGM() 160 sk_sp<SkColorFilter> fFilter; member in HighContrastFilterGM
|
/third_party/skia/src/core/ |
D | SkImageFilterCache.cpp | 40 : fKey(key), fImage(image), fFilter(filter) {} in Value() 44 const SkImageFilter* fFilter; member 114 v->fFilter = nullptr; in purgeByImageFilter() 123 if (v->fFilter) { in removeInternal() 124 if (auto* values = fImageFilterValues.find(v->fFilter)) { in removeInternal() 126 fImageFilterValues.remove(v->fFilter); in removeInternal()
|
/third_party/flutter/skia/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()
|
/third_party/skia/bench/ |
D | MatrixConvolutionBench.cpp | 33 fFilter = SkImageFilters::MatrixConvolution(kernelSize, kernel, gain, bias, in MatrixConvolutionBench() 45 fFilter = SkImageFilters::MatrixConvolution(kernelSize, kernel, gain, bias, in MatrixConvolutionBench() 59 paint.setImageFilter(fFilter); in onDraw() 71 sk_sp<SkImageFilter> fFilter; member in MatrixConvolutionBench
|
/third_party/flutter/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
|
/third_party/skia/gm/ |
D | texelsubset.cpp | 44 : fFilter(filter), fMipmapMode(mm), fUpscale(upscale) { in TexelSubset() 51 switch (fFilter) { in onShortName() 149 GrSamplerState sampler(wmx, wmy, fFilter, fMipmapMode); in onDraw() 221 Filter fFilter; member in skiagm::TexelSubset
|
D | lumafilter.cpp | 109 fFilter = SkLumaColorFilter::Make(); in onOnceBeforeDraw() 153 draw_scene(canvas, fFilter, modes[m], shaders[i].fShader1, in onDraw() 162 sk_sp<SkColorFilter> fFilter; member in LumaFilterGM
|
D | highcontrastfilter.cpp | 116 fFilter = SkHighContrastFilter::Make(fConfig); in onOnceBeforeDraw() 158 sk_sp<SkColorFilter> fFilter; member in HighContrastFilterGM
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrLatticeOp.cpp | 160 , fFilter(filter) { in NonAALatticeOp() 174 bool mipped = (GrSamplerState::Filter::kMipMap == fFilter); in visitProxies() 215 auto gp = LatticeGP::Make(gpu, fProxy.get(), fColorSpaceXform, fFilter, fWideColor); in onPrepareDraws() 306 if (fFilter != that->fFilter) { in onCombineIfPossible() 332 GrSamplerState::Filter fFilter; member in __anonb4d66dcf0111::NonAALatticeOp
|
D | GrTextureOp.cpp | 195 static_cast<int>(fFilter)); in dumpInfo() 273 , fFilter(static_cast<unsigned>(filter)) { in TextureOp() 305 , fFilter(static_cast<unsigned>(filter)) { in TextureOp() 371 fFilter = static_cast<unsigned>(GrSamplerState::Filter::kNearest); in TextureOp() 557 if (fFilter != that->fFilter) { in onCombineIfPossible() 586 GrSamplerState::Filter filter() const { return static_cast<GrSamplerState::Filter>(fFilter); } in filter() 590 unsigned fFilter : 2; member in __anon56bfc99a0111::TextureOp
|
/third_party/skia/src/gpu/ops/ |
D | LatticeOp.cpp | 163 , fFilter(filter) { in NonAALatticeOp() 213 auto gp = LatticeGP::Make(arena, fView, fColorSpaceXform, fFilter, fWideColor); in onCreateProgramInfo() 345 if (fFilter != that->fFilter) { in onCombineIfPossible() 387 GrSamplerState::Filter fFilter; member in skgpu::v1::LatticeOp::__anon996ca0410111::NonAALatticeOp
|