/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/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()
|
D | SkPictureShader.cpp | 116 , 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()
|
D | SkColorFilterShader.h | 36 sk_sp<SkColorFilterBase> fFilter; variable
|
D | SkPictureShader.h | 74 SkFilterMode fFilter; variable
|
/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/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/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/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/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::__anon731ab7e30111::NonAALatticeOp
|
D | TextureOp.cpp | 359 , 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/ |
D | FractalNoiseEffect.cpp | 242 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/ |
D | SkSGRenderEffect.h | 106 return fFilter; in getFilter() 124 sk_sp<SkImageFilter> fFilter; variable
|
/third_party/skia/modules/svg/include/ |
D | SkSVGAttribute.h | 105 SkSVGProperty<SkSVGFuncIRI , false> fFilter; member
|
/third_party/skia/modules/svg/src/ |
D | SkSVGRenderContext.cpp | 274 const bool hasFilter = attrs.fFilter.isValue(); in applyPresentationAttributes() 289 this->applyFilter(*attrs.fFilter); in applyPresentationAttributes()
|
/third_party/skia/modules/sksg/src/ |
D | SkSGRenderEffect.cpp | 166 fFilter = this->onRevalidateFilter(); in onRevalidate()
|
/third_party/skia/tests/ |
D | ImageFilterTest.cpp | 224 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/ |
D | DrawCommand.h | 298 SkFilterMode fFilter; variable
|
D | DrawCommand.cpp | 1239 , fFilter(filter) in DrawImageLatticeCommand() 1243 canvas->drawImageLattice(fImage.get(), fLattice, fDst, fFilter, fPaint.getMaybeNull()); in execute()
|