Home
last modified time | relevance | path

Searched refs:GrTextureEffect (Results 1 – 25 of 58) sorted by relevance

123

/third_party/skia/src/gpu/effects/
DGrTextureEffect.cpp20 struct GrTextureEffect::Sampling {
38 GrTextureEffect::Sampling::Sampling(const GrSurfaceProxy& proxy, in Sampling()
143 bool GrTextureEffect::Sampling::hasBorderAlpha() const { in hasBorderAlpha()
154 std::unique_ptr<GrFragmentProcessor> GrTextureEffect::Make(GrSurfaceProxyView view, in Make()
160 std::unique_ptr<GrFragmentProcessor> te(new GrTextureEffect(std::move(view), in Make()
166 std::unique_ptr<GrFragmentProcessor> GrTextureEffect::Make(GrSurfaceProxyView view, in Make()
179 std::unique_ptr<GrFragmentProcessor> te(new GrTextureEffect(std::move(view), in Make()
185 std::unique_ptr<GrFragmentProcessor> GrTextureEffect::MakeSubset(GrSurfaceProxyView view, in MakeSubset()
200 std::unique_ptr<GrFragmentProcessor> te(new GrTextureEffect(std::move(view), in MakeSubset()
206 std::unique_ptr<GrFragmentProcessor> GrTextureEffect::MakeSubset(GrSurfaceProxyView view, in MakeSubset()
[all …]
DGrTextureEffect.h17 class GrTextureEffect : public GrFragmentProcessor {
165 inline GrTextureEffect(GrSurfaceProxyView, SkAlphaType, const Sampling&);
167 explicit GrTextureEffect(const GrTextureEffect& src);
DGrGaussianConvolutionFragmentProcessor.cpp172 child = GrTextureEffect::MakeSubset(std::move(view), in Make()
179 GrTextureEffect::kDefaultBorder); in Make()
181 child = GrTextureEffect::MakeSubset(std::move(view), in Make()
187 GrTextureEffect::kDefaultBorder, in Make()
DGrBicubicEffect.cpp119 auto fp = GrTextureEffect::Make(std::move(view), alphaType, SkMatrix::I()); in Make()
135 fp = GrTextureEffect::Make(std::move(view), alphaType, SkMatrix::I(), sampler, caps); in Make()
153 fp = GrTextureEffect::MakeSubset( in MakeSubset()
181 fp = GrTextureEffect::MakeSubset( in MakeSubset()
DGrYUVtoRGBEffect.cpp148 planeFPs[i] = GrTextureEffect::MakeCustomLinearFilterInset(std::move(view), in Make()
159 planeFPs[i] = GrTextureEffect::MakeSubset(std::move(view), in Make()
168 planeFPs[i] = GrTextureEffect::MakeSubset(std::move(view), in Make()
181 planeFPs[i] = GrTextureEffect::Make(std::move(view), in Make()
DGrMatrixConvolutionEffect.cpp108 auto kernelFP = GrTextureEffect::Make(std::move(view), kUnknown_SkAlphaType); in Make()
137 auto kernelFP = GrTextureEffect::Make(std::move(view), kUnknown_SkAlphaType); in Make()
341 auto child = GrTextureEffect::MakeSubset(std::move(srcView), kPremul_SkAlphaType, SkMatrix::I(), in Make()
DGrModulateAtlasCoverageEffect.cpp24 this->registerChild(GrTextureEffect::Make(std::move(atlasView), kUnknown_SkAlphaType,
/third_party/skia/src/gpu/
DGrFragmentProcessor.h26 class GrTextureEffect; variable
296 void visitTextureEffects(const std::function<void(const GrTextureEffect&)>&) const;
301 GrTextureEffect* asTextureEffect();
302 const GrTextureEffect* asTextureEffect() const;
DGrFragmentProcessor.cpp65 this->visitTextureEffects([&func](const GrTextureEffect& te) { in visitProxies()
71 const std::function<void(const GrTextureEffect&)>& func) const { in visitTextureEffects()
94 GrTextureEffect* GrFragmentProcessor::asTextureEffect() { in asTextureEffect()
96 return static_cast<GrTextureEffect*>(this); in asTextureEffect()
101 const GrTextureEffect* GrFragmentProcessor::asTextureEffect() const { in asTextureEffect()
103 return static_cast<const GrTextureEffect*>(this); in asTextureEffect()
150 this->visitTextureEffects([&result](const GrTextureEffect& te) { in isInstantiated()
DGrPipeline.h27 class GrTextureEffect; variable
112 void visitTextureEffects(const std::function<void(const GrTextureEffect&)>&) const;
DGrDirectContextPriv.cpp279 auto fp1 = make_unpremul_effect(GrTextureEffect::Make(std::move(dataView), bitmap.alphaType())); in test_for_preserving_PM_conversions()
286 GrTextureEffect::Make(readSFC->readSurfaceView(), readSFC->colorInfo().alphaType())); in test_for_preserving_PM_conversions()
290 GrTextureEffect::Make(tempSFC->readSurfaceView(), tempSFC->colorInfo().alphaType())); in test_for_preserving_PM_conversions()
DSurfaceContext.cpp160 fp = dContext->priv().createPMToUPMEffect(GrTextureEffect::Make( in readPixels()
169 fp = GrTextureEffect::Make(this->readSurfaceView(), this->colorInfo().alphaType()); in readPixels()
453 GrTextureEffect::Make(std::move(tempView), tempColorInfo.alphaType())); in internalWritePixels()
459 fp = GrTextureEffect::Make(std::move(tempView), tempColorInfo.alphaType()); in internalWritePixels()
896 auto yFP = GrTextureEffect::Make(srcView, this->colorInfo().alphaType(), texMatrix); in asyncRescaleAndReadPixelsYUV420()
918 auto uFP = GrTextureEffect::Make(srcView, in asyncRescaleAndReadPixelsYUV420()
941 auto vFP = GrTextureEffect::Make(std::move(srcView), in asyncRescaleAndReadPixelsYUV420()
1146 auto fp = GrTextureEffect::Make(std::move(texView), in rescaleInto()
1215 fp = GrTextureEffect::MakeSubset(std::move(texView), in rescaleInto()
DGrProgramInfo.cpp40 this->pipeline().visitTextureEffects([](const GrTextureEffect& te) { in checkMSAAAndMIPSAreResolved()
DGrPipeline.cpp97 const std::function<void(const GrTextureEffect&)>& func) const { in visitTextureEffects()
/third_party/skia/gm/
Dgpu_blur_utils.cpp67 auto fp = GrTextureEffect::MakeSubset(src, in slow_blur()
273 auto fp = GrTextureEffect::MakeSubset(src, kPremul_SkAlphaType, SkMatrix::I(), in run()
294 auto fp = GrTextureEffect::Make(blurView, in run()
417 GrTextureEffect::Make(std::move(result), kPremul_SkAlphaType); in do_very_large_blur_gm()
Dswizzle.cpp34 GrTextureEffect::Make(std::move(view), bmp.alphaType(), SkMatrix());
Dtexelsubset.cpp154 fp1 = GrTextureEffect::MakeSubset(view, in onDraw()
183 auto fp2 = GrTextureEffect::Make(subsetView, in onDraw()
Dfpcoordinateoverride.cpp90 GrTextureEffect::Make(std::move(view), bmp.alphaType(), SkMatrix());
/third_party/skia/src/core/
DSkBlurMF.cpp802 return GrTextureEffect::Make(std::move(profileView), kPremul_SkAlphaType, texM); in create_profile_effect()
826 return GrTextureEffect::Make(std::move(profileView), kPremul_SkAlphaType, texM); in create_profile_effect()
888 return GrTextureEffect::Make( in make_rect_integral_fp()
905 return GrTextureEffect::Make( in make_rect_integral_fp()
1297 return GrTextureEffect::Make(std::move(view), kPremul_SkAlphaType, m); in find_or_create_rrect_blur_mask_fp()
1316 return GrTextureEffect::Make(std::move(view), kPremul_SkAlphaType, m); in find_or_create_rrect_blur_mask_fp()
1329 return GrTextureEffect::Make(std::move(view), kPremul_SkAlphaType, m); in find_or_create_rrect_blur_mask_fp()
1636 paint.setCoverageFragmentProcessor(GrTextureEffect::Make(std::move(srcView), srcAlphaType)); in filterMaskGPU()
/third_party/skia/src/effects/imagefilters/
DSkAlphaThresholdImageFilter.cpp210 auto maskFP = GrTextureEffect::Make(std::move(maskView), kPremul_SkAlphaType, in onFilterImage()
213 auto textureFP = GrTextureEffect::Make( in onFilterImage()
DSkBlendImageFilter.cpp287 fp = GrTextureEffect::MakeSubset(std::move(backgroundView), background->alphaType(), in filterImageGPU()
303 auto fgFP = GrTextureEffect::MakeSubset(std::move(foregroundView), foreground->alphaType(), in filterImageGPU()
DSkArithmeticImageFilter.cpp371 fp = GrTextureEffect::MakeSubset(std::move(backgroundView), in filterImageGPU()
391 auto fgFP = GrTextureEffect::MakeSubset(std::move(foregroundView), in filterImageGPU()
/third_party/skia/src/gpu/mtl/
DGrMtlPipelineState.mm16 #include "src/gpu/effects/GrTextureEffect.h"
110 pipeline.visitTextureEffects([&](const GrTextureEffect& te) {
/third_party/skia/src/image/
DSkImage.cpp386 return GrTextureEffect::MakeSubset(std::move(view), in MakeFragmentProcessorFromView()
394 return GrTextureEffect::MakeSubset(std::move(view), in MakeFragmentProcessorFromView()
401 return GrTextureEffect::Make(std::move(view), at, m, sampler, caps); in MakeFragmentProcessorFromView()
/third_party/skia/src/gpu/gl/
DGrGLProgram.cpp141 pipeline.visitTextureEffects([&](const GrTextureEffect& te) { in bindTextures()

123