Home
last modified time | relevance | path

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

123

/external/skia/src/gpu/effects/
DGrTextureEffect.cpp21 struct GrTextureEffect::Sampling {
39 GrTextureEffect::Sampling::Sampling(const GrSurfaceProxy& proxy, in Sampling()
144 bool GrTextureEffect::Sampling::hasBorderAlpha() const { in hasBorderAlpha()
155 std::unique_ptr<GrFragmentProcessor> GrTextureEffect::Make(GrSurfaceProxyView view, in Make()
161 std::unique_ptr<GrFragmentProcessor> te(new GrTextureEffect(std::move(view), in Make()
167 std::unique_ptr<GrFragmentProcessor> GrTextureEffect::Make(GrSurfaceProxyView view, in Make()
180 std::unique_ptr<GrFragmentProcessor> te(new GrTextureEffect(std::move(view), in Make()
186 std::unique_ptr<GrFragmentProcessor> GrTextureEffect::MakeSubset(GrSurfaceProxyView view, in MakeSubset()
201 std::unique_ptr<GrFragmentProcessor> te(new GrTextureEffect(std::move(view), in MakeSubset()
207 std::unique_ptr<GrFragmentProcessor> GrTextureEffect::MakeSubset(GrSurfaceProxyView view, in MakeSubset()
[all …]
DGrTextureEffect.h17 class GrTextureEffect : public GrFragmentProcessor {
164 inline GrTextureEffect(GrSurfaceProxyView, SkAlphaType, const Sampling&);
166 explicit GrTextureEffect(const GrTextureEffect& src);
DGrGaussianConvolutionFragmentProcessor.cpp187 child = GrTextureEffect::MakeSubset(std::move(view), in Make()
194 GrTextureEffect::kDefaultBorder); in Make()
196 child = GrTextureEffect::MakeSubset(std::move(view), in Make()
202 GrTextureEffect::kDefaultBorder, in Make()
DGrYUVtoRGBEffect.cpp129 planeFPs[i] = GrTextureEffect::MakeCustomLinearFilterInset(std::move(view), in Make()
140 planeFPs[i] = GrTextureEffect::MakeSubset(std::move(view), in Make()
149 planeFPs[i] = GrTextureEffect::MakeSubset(std::move(view), in Make()
162 planeFPs[i] = GrTextureEffect::Make(std::move(view), in Make()
DGrBicubicEffect.cpp122 auto fp = GrTextureEffect::Make(std::move(view), alphaType, SkMatrix::I()); in Make()
138 fp = GrTextureEffect::Make(std::move(view), alphaType, SkMatrix::I(), sampler, caps); in Make()
156 fp = GrTextureEffect::MakeSubset( in MakeSubset()
184 fp = GrTextureEffect::MakeSubset( in MakeSubset()
DGrConfigConversionEffect.fp75 auto fp1 = GrConfigConversionEffect::Make(GrTextureEffect::Make(std::move(dataView),
84 GrTextureEffect::Make(readSFC->readSurfaceView(),
90 GrTextureEffect::Make(tempSFC->readSurfaceView(),
DGrMatrixConvolutionEffect.cpp112 auto kernelFP = GrTextureEffect::Make(std::move(view), kUnknown_SkAlphaType); in Make()
141 auto kernelFP = GrTextureEffect::Make(std::move(view), kUnknown_SkAlphaType); in Make()
353 auto child = GrTextureEffect::MakeSubset(std::move(srcView), kPremul_SkAlphaType, SkMatrix::I(), in Make()
DGrRectBlurEffect.fp21 #include "src/gpu/effects/GrTextureEffect.h"
73 return GrTextureEffect::Make(
90 return GrTextureEffect::Make(
DGrRRectBlurEffect.fp50 #include "src/gpu/effects/GrTextureEffect.h"
281 return GrTextureEffect::Make(std::move(view), kPremul_SkAlphaType, m);
296 return GrTextureEffect::Make(std::move(view), kPremul_SkAlphaType, m);
309 return GrTextureEffect::Make(std::move(view), kPremul_SkAlphaType, m);
/external/skia/src/gpu/
DGrFragmentProcessor.cpp47 this->visitTextureEffects([&func](const GrTextureEffect& te) { in visitProxies()
53 const std::function<void(const GrTextureEffect&)>& func) const { in visitTextureEffects()
64 GrTextureEffect* GrFragmentProcessor::asTextureEffect() { in asTextureEffect()
66 return static_cast<GrTextureEffect*>(this); in asTextureEffect()
71 const GrTextureEffect* GrFragmentProcessor::asTextureEffect() const { in asTextureEffect()
73 return static_cast<const GrTextureEffect*>(this); in asTextureEffect()
138 this->visitTextureEffects([&result](const GrTextureEffect& te) { in isInstantiated()
DGrFragmentProcessor.h23 class GrTextureEffect; variable
252 void visitTextureEffects(const std::function<void(const GrTextureEffect&)>&) const;
254 GrTextureEffect* asTextureEffect();
255 const GrTextureEffect* asTextureEffect() const;
DGrProgramInfo.cpp39 this->pipeline().visitTextureEffects([](const GrTextureEffect& te) { in checkMSAAAndMIPSAreResolved()
DGrSurfaceContext.cpp258 fp = dContext->priv().createPMToUPMEffect(GrTextureEffect::Make( in readPixels()
267 fp = GrTextureEffect::Make(this->readSurfaceView(), this->colorInfo().alphaType()); in readPixels()
542 GrTextureEffect::Make(std::move(tempView), tempColorInfo.alphaType())); in internalWritePixels()
548 fp = GrTextureEffect::Make(std::move(tempView), tempColorInfo.alphaType()); in internalWritePixels()
972 auto yFP = GrTextureEffect::Make(srcView, this->colorInfo().alphaType(), texMatrix); in asyncRescaleAndReadPixelsYUV420()
994 auto uFP = GrTextureEffect::Make(srcView, in asyncRescaleAndReadPixelsYUV420()
1017 auto vFP = GrTextureEffect::Make(std::move(srcView), in asyncRescaleAndReadPixelsYUV420()
1220 auto fp = GrTextureEffect::Make(std::move(texView), in rescaleInto()
1291 fp = GrTextureEffect::MakeSubset(std::move(texView), in rescaleInto()
DGrPipeline.h110 void visitTextureEffects(const std::function<void(const GrTextureEffect&)>&) const;
/external/skia/src/gpu/effects/generated/
DGrConfigConversionEffect.cpp142 GrTextureEffect::Make(std::move(dataView), bitmap.alphaType()), in TestForPreservingPMConversions()
150 GrTextureEffect::Make(readSFC->readSurfaceView(), readSFC->colorInfo().alphaType()), in TestForPreservingPMConversions()
155 GrTextureEffect::Make(tempSFC->readSurfaceView(), tempSFC->colorInfo().alphaType()), in TestForPreservingPMConversions()
DGrRectBlurEffect.h54 return GrTextureEffect::Make( in MakeIntegralFP()
71 return GrTextureEffect::Make( in MakeIntegralFP()
DGrRRectBlurEffect.cpp280 return GrTextureEffect::Make(std::move(view), kPremul_SkAlphaType, m); in find_or_create_rrect_blur_mask_fp()
299 return GrTextureEffect::Make(std::move(view), kPremul_SkAlphaType, m); in find_or_create_rrect_blur_mask_fp()
312 return GrTextureEffect::Make(std::move(view), kPremul_SkAlphaType, m); in find_or_create_rrect_blur_mask_fp()
DGrCircleBlurFragmentProcessor.cpp237 return GrTextureEffect::Make(std::move(profileView), kPremul_SkAlphaType, texM); in create_profile_effect()
261 return GrTextureEffect::Make(std::move(profileView), kPremul_SkAlphaType, texM); in create_profile_effect()
/external/skia/gm/
Dsample_matrix_constant.cpp81 std::unique_ptr<GrFragmentProcessor> imgFP = GrTextureEffect::Make(view,
85 imgFP = GrTextureEffect::Make(std::move(view), bmp.alphaType(), SkMatrix());
Dswizzle.cpp32 GrTextureEffect::Make(std::move(view), bmp.alphaType(), SkMatrix());
Dgpu_blur_utils.cpp62 auto fp = GrTextureEffect::MakeSubset(src, in slow_blur()
256 auto fp = GrTextureEffect::MakeSubset(src, kPremul_SkAlphaType, SkMatrix::I(), in run()
277 auto fp = GrTextureEffect::Make(blurView, in run()
386 GrTextureEffect::Make(std::move(result), kPremul_SkAlphaType); in do_very_large_blur_gm()
Dtexelsubset.cpp147 fp1 = GrTextureEffect::MakeSubset(view, in onDraw()
176 auto fp2 = GrTextureEffect::Make(subsetView, in onDraw()
Dfpcoordinateoverride.cpp85 GrTextureEffect::Make(std::move(view), bmp.alphaType(), SkMatrix());
/external/skia/src/effects/imagefilters/
DSkAlphaThresholdImageFilter.cpp166 auto maskFP = GrTextureEffect::Make(std::move(maskView), kPremul_SkAlphaType, in onFilterImage()
169 auto textureFP = GrTextureEffect::Make( in onFilterImage()
DSkBlendImageFilter.cpp264 fp = GrTextureEffect::MakeSubset(std::move(backgroundView), background->alphaType(), in filterImageGPU()
278 auto fgFP = GrTextureEffect::MakeSubset(std::move(foregroundView), foreground->alphaType(), in filterImageGPU()

123