Home
last modified time | relevance | path

Searched refs:fFilter (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/src/gpu/
DGrSamplerState.h37 : 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/skia/src/shaders/
DSkColorFilterShader.cpp26 , 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()
DSkPictureShader.cpp116 , fFilter(filter) {} in SkPictureShader()
161 buffer.write32((unsigned)fFilter); in flatten()
277 return image->makeShader(fTmx, fTmy, SkSamplingOptions(fFilter), nullptr); in rasterShader()
427 fFilter); in asFragmentProcessor()
DSkColorFilterShader.h36 sk_sp<SkColorFilterBase> fFilter; variable
DSkPictureShader.h74 SkFilterMode fFilter; variable
/third_party/skia/samplecode/
DSampleImageFilterDAG.cpp36 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 …]
DSampleLayers.cpp175 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/skia/src/core/
DSkImageFilterCache.cpp40 : 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/skia/bench/
DMatrixConvolutionBench.cpp33 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/skia/gm/
Dtexelsubset.cpp44 : 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
Dlumafilter.cpp109 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
Dhighcontrastfilter.cpp116 fFilter = SkHighContrastFilter::Make(fConfig); in onOnceBeforeDraw()
158 sk_sp<SkColorFilter> fFilter; member in HighContrastFilterGM
/third_party/skia/src/gpu/ops/
DLatticeOp.cpp163 , 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::__anon731ab7e30111::NonAALatticeOp
DTextureOp.cpp359 , fFilter(static_cast<uint16_t>(filter)) in Metadata()
372 uint16_t fFilter : 2; // GrSamplerState::Filter member
381 return static_cast<GrSamplerState::Filter>(fFilter); in filter()
629 fMetadata.fFilter = static_cast<uint16_t>(netFilter); in TextureOpImpl()
1081 static_cast<int>(fMetadata.fFilter), in onDumpInfo()
1208 , fFilter(filter) in BatchSizeLimiter()
1223 fFilter, in createOp()
1243 GrSamplerState::Filter fFilter; member in skgpu::v1::TextureOp::BatchSizeLimiter
/third_party/skia/modules/skottie/src/effects/
DFractalNoiseEffect.cpp242 SG_ATTRIBUTE(NoiseFilter , NoiseFilter , fFilter )
279 switch (fFilter) { in getEffect()
333 NoiseFilter fFilter = NoiseFilter::kNearest; member in skottie::internal::__anon314f1ef30111::FractalNoiseNode
/third_party/skia/modules/sksg/include/
DSkSGRenderEffect.h106 return fFilter; in getFilter()
124 sk_sp<SkImageFilter> fFilter; variable
/third_party/skia/modules/svg/include/
DSkSVGAttribute.h105 SkSVGProperty<SkSVGFuncIRI , false> fFilter; member
/third_party/skia/modules/svg/src/
DSkSVGRenderContext.cpp274 const bool hasFilter = attrs.fFilter.isValue(); in applyPresentationAttributes()
289 this->applyFilter(*attrs.fFilter); in applyPresentationAttributes()
/third_party/skia/modules/sksg/src/
DSkSGRenderEffect.cpp166 fFilter = this->onRevalidateFilter(); in onRevalidate()
/third_party/skia/tests/
DImageFilterTest.cpp224 SkImageFilter* getFilter(int index) const { return fFilters[index].fFilter.get(); } in getFilter()
232 , fFilter(std::move(filter)) in Filter()
236 sk_sp<SkImageFilter> fFilter; member
1792 sk_sp<SkImageFilter> fFilter; in DEF_TEST() member
1808 const MatrixCapability capability = as_IFB(rec.fFilter)->getCTMCapability(); in DEF_TEST()
/third_party/skia/tools/debugger/
DDrawCommand.h298 SkFilterMode fFilter; variable
DDrawCommand.cpp1239 , fFilter(filter) in DrawImageLatticeCommand()
1243 canvas->drawImageLattice(fImage.get(), fLattice, fDst, fFilter, fPaint.getMaybeNull()); in execute()