/third_party/flutter/skia/src/gpu/ |
D | GrFragmentProcessor.cpp | 21 bool GrFragmentProcessor::isEqual(const GrFragmentProcessor& that) const { in isEqual() 50 void GrFragmentProcessor::visitProxies(const GrOp::VisitProxyFunc& func) { in visitProxies() 51 GrFragmentProcessor::TextureAccessIter iter(this); in visitProxies() 58 GrGLSLFragmentProcessor* GrFragmentProcessor::createGLSLInstance() const { in createGLSLInstance() 67 const GrFragmentProcessor::TextureSampler& GrFragmentProcessor::textureSampler(int i) const { in textureSampler() 72 void GrFragmentProcessor::addCoordTransform(const GrCoordTransform* transform) { in addCoordTransform() 79 bool GrFragmentProcessor::isInstantiated() const { in isInstantiated() 96 int GrFragmentProcessor::registerChildProcessor(std::unique_ptr<GrFragmentProcessor> child) { in registerChildProcessor() 108 bool GrFragmentProcessor::hasSameTransforms(const GrFragmentProcessor& that) const { in hasSameTransforms() 121 std::unique_ptr<GrFragmentProcessor> GrFragmentProcessor::MulChildByInputAlpha( in MulChildByInputAlpha() [all …]
|
D | GrFragmentProcessor.h | 27 class GrFragmentProcessor : public GrProcessor { 39 static std::unique_ptr<GrFragmentProcessor> MulChildByInputAlpha( 40 std::unique_ptr<GrFragmentProcessor> child); 48 static std::unique_ptr<GrFragmentProcessor> MulInputByChildAlpha( 49 std::unique_ptr<GrFragmentProcessor> child); 57 static std::unique_ptr<GrFragmentProcessor> MakeInputPremulAndMulByOutput( 58 std::unique_ptr<GrFragmentProcessor>); 65 static std::unique_ptr<GrFragmentProcessor> OverrideInput(std::unique_ptr<GrFragmentProcessor>, 73 static std::unique_ptr<GrFragmentProcessor> PremulInput(std::unique_ptr<GrFragmentProcessor>); 79 static std::unique_ptr<GrFragmentProcessor> SwizzleOutput(std::unique_ptr<GrFragmentProcessor>, [all …]
|
D | GrColorSpaceXform.h | 48 class GrColorSpaceXformEffect : public GrFragmentProcessor { 53 static std::unique_ptr<GrFragmentProcessor> Make(SkColorSpace* src, SkAlphaType srcAT, 60 static std::unique_ptr<GrFragmentProcessor> Make(std::unique_ptr<GrFragmentProcessor> child, 68 static std::unique_ptr<GrFragmentProcessor> Make(std::unique_ptr<GrFragmentProcessor> child, 72 std::unique_ptr<GrFragmentProcessor> clone() const override; 77 GrColorSpaceXformEffect(std::unique_ptr<GrFragmentProcessor> child, 80 static OptimizationFlags OptFlags(const GrFragmentProcessor* child); 84 bool onIsEqual(const GrFragmentProcessor&) const override; 88 typedef GrFragmentProcessor INHERITED;
|
D | GrColorSpaceXform.cpp | 84 const GrFragmentProcessor& processor) override { in onSetData() 96 GrColorSpaceXformEffect::GrColorSpaceXformEffect(std::unique_ptr<GrFragmentProcessor> child, in GrColorSpaceXformEffect() 105 std::unique_ptr<GrFragmentProcessor> GrColorSpaceXformEffect::clone() const { in clone() 106 std::unique_ptr<GrFragmentProcessor> child = in clone() 108 return std::unique_ptr<GrFragmentProcessor>( in clone() 112 bool GrColorSpaceXformEffect::onIsEqual(const GrFragmentProcessor& s) const { in onIsEqual() 126 GrFragmentProcessor::OptimizationFlags GrColorSpaceXformEffect::OptFlags( in OptFlags() 127 const GrFragmentProcessor* child) { in OptFlags() 144 std::unique_ptr<GrFragmentProcessor> GrColorSpaceXformEffect::Make(SkColorSpace* src, in Make() 154 return std::unique_ptr<GrFragmentProcessor>(new GrColorSpaceXformEffect(nullptr, in Make() [all …]
|
/third_party/skia/src/gpu/ |
D | GrFragmentProcessor.h | 34 class GrFragmentProcessor; variable 35 using GrFPResult = std::tuple<bool /*success*/, std::unique_ptr<GrFragmentProcessor>>; 41 class GrFragmentProcessor : public GrProcessor { 52 static std::unique_ptr<GrFragmentProcessor> MakeColor(SkPMColor4f color); 59 static std::unique_ptr<GrFragmentProcessor> MulInputByChildAlpha( 60 std::unique_ptr<GrFragmentProcessor> child); 66 static std::unique_ptr<GrFragmentProcessor> ApplyPaintAlpha( 67 std::unique_ptr<GrFragmentProcessor> child); 74 static std::unique_ptr<GrFragmentProcessor> ModulateRGBA( 75 std::unique_ptr<GrFragmentProcessor> child, const SkPMColor4f& color); [all …]
|
D | GrFragmentProcessor.cpp | 22 bool GrFragmentProcessor::isEqual(const GrFragmentProcessor& that) const { in isEqual() 48 void GrFragmentProcessor::visitProxies(const GrVisitProxyFunc& func) const { in visitProxies() 54 void GrFragmentProcessor::visitTextureEffects( in visitTextureEffects() 66 void GrFragmentProcessor::visitWithImpls( in visitWithImpls() 67 const std::function<void(const GrFragmentProcessor&, ProgramImpl&)>& f, in visitWithImpls() argument 78 GrTextureEffect* GrFragmentProcessor::asTextureEffect() { in asTextureEffect() 85 const GrTextureEffect* GrFragmentProcessor::asTextureEffect() const { in asTextureEffect() 93 static void recursive_dump_tree_info(const GrFragmentProcessor& fp, in recursive_dump_tree_info() 98 if (const GrFragmentProcessor* childFP = fp.childProcessor(index)) { in recursive_dump_tree_info() 108 SkString GrFragmentProcessor::dumpTreeInfo() const { in dumpTreeInfo() [all …]
|
D | GrColorSpaceXform.h | 63 class GrColorSpaceXformEffect : public GrFragmentProcessor { 69 static std::unique_ptr<GrFragmentProcessor> Make(std::unique_ptr<GrFragmentProcessor> child, 72 static std::unique_ptr<GrFragmentProcessor> Make(std::unique_ptr<GrFragmentProcessor> child, 81 static std::unique_ptr<GrFragmentProcessor> Make(std::unique_ptr<GrFragmentProcessor> child, 85 std::unique_ptr<GrFragmentProcessor> clone() const override; 90 GrColorSpaceXformEffect(std::unique_ptr<GrFragmentProcessor> child, 95 static OptimizationFlags OptFlags(const GrFragmentProcessor* child); 100 bool onIsEqual(const GrFragmentProcessor&) const override; 104 using INHERITED = GrFragmentProcessor;
|
D | GrColorSpaceXform.cpp | 65 GrColorSpaceXformEffect::GrColorSpaceXformEffect(std::unique_ptr<GrFragmentProcessor> child, in GrColorSpaceXformEffect() 76 std::unique_ptr<GrFragmentProcessor> GrColorSpaceXformEffect::clone() const { in clone() 77 return std::unique_ptr<GrFragmentProcessor>(new GrColorSpaceXformEffect(*this)); in clone() 80 bool GrColorSpaceXformEffect::onIsEqual(const GrFragmentProcessor& s) const { in onIsEqual() 89 std::unique_ptr<GrFragmentProcessor::ProgramImpl> 110 const GrFragmentProcessor& fp) override { in onMakeProgramImpl() 121 GrFragmentProcessor::OptimizationFlags GrColorSpaceXformEffect::OptFlags( in OptFlags() 122 const GrFragmentProcessor* child) { in OptFlags() 134 std::unique_ptr<GrFragmentProcessor> GrColorSpaceXformEffect::Make( in Make() 135 std::unique_ptr<GrFragmentProcessor> child, in Make() [all …]
|
/third_party/skia/src/gpu/effects/ |
D | GrBlendFragmentProcessor.cpp | 27 class BlendFragmentProcessor : public GrFragmentProcessor { 29 static std::unique_ptr<GrFragmentProcessor> Make(std::unique_ptr<GrFragmentProcessor> src, in Make() 30 std::unique_ptr<GrFragmentProcessor> dst, in Make() 32 return std::unique_ptr<GrFragmentProcessor>( in Make() 38 std::unique_ptr<GrFragmentProcessor> clone() const override; 41 BlendFragmentProcessor(std::unique_ptr<GrFragmentProcessor> src, in BlendFragmentProcessor() 42 std::unique_ptr<GrFragmentProcessor> dst, in BlendFragmentProcessor() 61 static OptimizationFlags OptFlags(const GrFragmentProcessor* src, in OptFlags() 62 const GrFragmentProcessor* dst, SkBlendMode mode) { in OptFlags() 145 bool onIsEqual(const GrFragmentProcessor& other) const override { in onIsEqual() [all …]
|
D | GrBicubicEffect.h | 15 class GrBicubicEffect : public GrFragmentProcessor { 36 std::unique_ptr<GrFragmentProcessor> clone() const override { in clone() 37 return std::unique_ptr<GrFragmentProcessor>(new GrBicubicEffect(*this)); in clone() 43 static std::unique_ptr<GrFragmentProcessor> Make(GrSurfaceProxyView view, 52 static std::unique_ptr<GrFragmentProcessor> Make(GrSurfaceProxyView view, 65 static std::unique_ptr<GrFragmentProcessor> MakeSubset(GrSurfaceProxyView view, 79 static std::unique_ptr<GrFragmentProcessor> MakeSubset(GrSurfaceProxyView view, 94 static std::unique_ptr<GrFragmentProcessor> Make(std::unique_ptr<GrFragmentProcessor>, 108 GrBicubicEffect(std::unique_ptr<GrFragmentProcessor>, 119 bool onIsEqual(const GrFragmentProcessor&) const override; [all …]
|
D | GrConvexPolyEffect.h | 24 class GrConvexPolyEffect : public GrFragmentProcessor { 39 static GrFPResult Make(std::unique_ptr<GrFragmentProcessor> inputFP, in Make() 47 return GrFPSuccess(std::unique_ptr<GrFragmentProcessor>( in Make() 55 static GrFPResult Make(std::unique_ptr<GrFragmentProcessor>, GrClipEdgeType, const SkPath&); 60 std::unique_ptr<GrFragmentProcessor> clone() const override; 63 GrConvexPolyEffect(std::unique_ptr<GrFragmentProcessor> inputFP, 72 bool onIsEqual(const GrFragmentProcessor& other) const override; 80 using INHERITED = GrFragmentProcessor;
|
/third_party/flutter/skia/src/gpu/effects/generated/ |
D | GrComposeLerpRedEffect.h | 17 class GrComposeLerpRedEffect : public GrFragmentProcessor { 19 static std::unique_ptr<GrFragmentProcessor> Make(std::unique_ptr<GrFragmentProcessor> child1, in Make() 20 std::unique_ptr<GrFragmentProcessor> child2, in Make() 21 std::unique_ptr<GrFragmentProcessor> lerp) { in Make() 22 return std::unique_ptr<GrFragmentProcessor>( in Make() 26 std::unique_ptr<GrFragmentProcessor> clone() const override; 33 GrComposeLerpRedEffect(std::unique_ptr<GrFragmentProcessor> child1, in GrComposeLerpRedEffect() 34 std::unique_ptr<GrFragmentProcessor> child2, in GrComposeLerpRedEffect() 35 std::unique_ptr<GrFragmentProcessor> lerp) in GrComposeLerpRedEffect() 51 bool onIsEqual(const GrFragmentProcessor&) const override; [all …]
|
D | GrMixerEffect.h | 17 class GrMixerEffect : public GrFragmentProcessor { 19 static OptimizationFlags OptFlags(const std::unique_ptr<GrFragmentProcessor>& fp0, in OptFlags() 20 const std::unique_ptr<GrFragmentProcessor>& fp1) { in OptFlags() 36 static std::unique_ptr<GrFragmentProcessor> Make(std::unique_ptr<GrFragmentProcessor> fp0, in Make() 37 std::unique_ptr<GrFragmentProcessor> in Make() 40 return std::unique_ptr<GrFragmentProcessor>( in Make() 44 std::unique_ptr<GrFragmentProcessor> clone() const override; 51 GrMixerEffect(std::unique_ptr<GrFragmentProcessor> fp0, in GrMixerEffect() 52 std::unique_ptr<GrFragmentProcessor> in GrMixerEffect() 67 bool onIsEqual(const GrFragmentProcessor&) const override; [all …]
|
D | GrComposeLerpEffect.h | 17 class GrComposeLerpEffect : public GrFragmentProcessor { 19 static std::unique_ptr<GrFragmentProcessor> Make(std::unique_ptr<GrFragmentProcessor> child1, in Make() 20 std::unique_ptr<GrFragmentProcessor> child2, in Make() 22 return std::unique_ptr<GrFragmentProcessor>( in Make() 26 std::unique_ptr<GrFragmentProcessor> clone() const override; 33 GrComposeLerpEffect(std::unique_ptr<GrFragmentProcessor> child1, in GrComposeLerpEffect() 34 std::unique_ptr<GrFragmentProcessor> child2, float weight) in GrComposeLerpEffect() 47 bool onIsEqual(const GrFragmentProcessor&) const override; 49 typedef GrFragmentProcessor INHERITED;
|
D | GrSimpleTextureEffect.h | 17 class GrSimpleTextureEffect : public GrFragmentProcessor { 19 static std::unique_ptr<GrFragmentProcessor> Make(sk_sp<GrTextureProxy> proxy, in Make() 21 return std::unique_ptr<GrFragmentProcessor>( in Make() 28 static std::unique_ptr<GrFragmentProcessor> Make(sk_sp<GrTextureProxy> proxy, in Make() 31 return std::unique_ptr<GrFragmentProcessor>(new GrSimpleTextureEffect( in Make() 36 static std::unique_ptr<GrFragmentProcessor> Make(sk_sp<GrTextureProxy> proxy, in Make() 39 return std::unique_ptr<GrFragmentProcessor>( in Make() 43 std::unique_ptr<GrFragmentProcessor> clone() const override; 67 bool onIsEqual(const GrFragmentProcessor&) const override; 70 typedef GrFragmentProcessor INHERITED;
|
D | GrOverrideInputFragmentProcessor.h | 17 class GrOverrideInputFragmentProcessor : public GrFragmentProcessor { 19 static OptimizationFlags OptFlags(const std::unique_ptr<GrFragmentProcessor>& fp, in OptFlags() 36 static std::unique_ptr<GrFragmentProcessor> Make(std::unique_ptr<GrFragmentProcessor> fp, 39 return std::unique_ptr<GrFragmentProcessor>( 43 std::unique_ptr<GrFragmentProcessor> clone() const override; 51 GrOverrideInputFragmentProcessor(std::unique_ptr<GrFragmentProcessor> fp, in GrOverrideInputFragmentProcessor() 66 bool onIsEqual(const GrFragmentProcessor&) const override; 68 typedef GrFragmentProcessor INHERITED;
|
/third_party/flutter/skia/src/gpu/effects/ |
D | GrXfermodeFragmentProcessor.cpp | 30 class ComposeTwoFragmentProcessor : public GrFragmentProcessor { 32 static std::unique_ptr<GrFragmentProcessor> Make(std::unique_ptr<GrFragmentProcessor> src, in Make() 33 std::unique_ptr<GrFragmentProcessor> dst, in Make() 35 return std::unique_ptr<GrFragmentProcessor>( in Make() 55 std::unique_ptr<GrFragmentProcessor> clone() const override; 60 ComposeTwoFragmentProcessor(std::unique_ptr<GrFragmentProcessor> src, in ComposeTwoFragmentProcessor() 61 std::unique_ptr<GrFragmentProcessor> dst, in ComposeTwoFragmentProcessor() 71 static OptimizationFlags OptFlags(const GrFragmentProcessor* src, in OptFlags() 72 const GrFragmentProcessor* dst, SkBlendMode mode) { in OptFlags() 146 bool onIsEqual(const GrFragmentProcessor& other) const override { in onIsEqual() [all …]
|
D | GrXfermodeFragmentProcessor.h | 14 class GrFragmentProcessor; variable 20 std::unique_ptr<GrFragmentProcessor> MakeFromDstProcessor(std::unique_ptr<GrFragmentProcessor> dst, 25 std::unique_ptr<GrFragmentProcessor> MakeFromSrcProcessor(std::unique_ptr<GrFragmentProcessor> src, 31 std::unique_ptr<GrFragmentProcessor> MakeFromTwoProcessors(std::unique_ptr<GrFragmentProcessor> src, 32 std::unique_ptr<GrFragmentProcessor> dst,
|
D | GrConvexPolyEffect.h | 24 class GrConvexPolyEffect : public GrFragmentProcessor { 41 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType edgeType, int n, in Make() 46 return std::unique_ptr<GrFragmentProcessor>(new GrConvexPolyEffect(edgeType, n, edges)); in Make() 53 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType, const SkPath&); 58 static std::unique_ptr<GrFragmentProcessor> Make(GrClipEdgeType, const SkRect&); 64 std::unique_ptr<GrFragmentProcessor> clone() const override; 80 bool onIsEqual(const GrFragmentProcessor& other) const override; 88 typedef GrFragmentProcessor INHERITED;
|
/third_party/skia/gm/ |
D | fp_sample_chaining.cpp | 25 class UniformMatrixEffect : public GrFragmentProcessor { 29 UniformMatrixEffect(std::unique_ptr<GrFragmentProcessor> child) in UniformMatrixEffect() 30 : GrFragmentProcessor(CLASS_ID, kNone_OptimizationFlags) { in UniformMatrixEffect() 37 bool onIsEqual(const GrFragmentProcessor& that) const override { return this == &that; } in onIsEqual() 38 std::unique_ptr<GrFragmentProcessor> clone() const override { return nullptr; } in clone() 55 const GrFragmentProcessor& proc) override { in onMakeProgramImpl() 66 class ExplicitCoordEffect : public GrFragmentProcessor { 70 ExplicitCoordEffect(std::unique_ptr<GrFragmentProcessor> child) in ExplicitCoordEffect() 71 : GrFragmentProcessor(CLASS_ID, kNone_OptimizationFlags) { in ExplicitCoordEffect() 78 bool onIsEqual(const GrFragmentProcessor& that) const override { return this == &that; } in onIsEqual() [all …]
|
D | destcolor.cpp | 27 class DestColorTestFP : public GrFragmentProcessor { 29 static std::unique_ptr<GrFragmentProcessor> Make(std::unique_ptr<GrFragmentProcessor> child) { in Make() 30 return std::unique_ptr<GrFragmentProcessor>(new DestColorTestFP(std::move(child))); in Make() 33 std::unique_ptr<GrFragmentProcessor> clone() const override { in clone() 34 return std::unique_ptr<GrFragmentProcessor>(new DestColorTestFP(*this)); in clone() 38 DestColorTestFP(std::unique_ptr<GrFragmentProcessor> child) in DestColorTestFP() 48 bool onIsEqual(const GrFragmentProcessor&) const override { return true; } in onIsEqual() 62 using INHERITED = GrFragmentProcessor; 89 DestColorTestFP::Make(GrFragmentProcessor::SurfaceColor()));
|
/third_party/flutter/skia/src/gpu/gradients/generated/ |
D | GrTiledGradientEffect.h | 17 class GrTiledGradientEffect : public GrFragmentProcessor { 19 static std::unique_ptr<GrFragmentProcessor> Make( in Make() 20 std::unique_ptr<GrFragmentProcessor> colorizer, in Make() 21 std::unique_ptr<GrFragmentProcessor> gradLayout, bool mirror, bool makePremul, in Make() 23 return std::unique_ptr<GrFragmentProcessor>(new GrTiledGradientEffect( in Make() 27 std::unique_ptr<GrFragmentProcessor> clone() const override; 36 GrTiledGradientEffect(std::unique_ptr<GrFragmentProcessor> colorizer, in GrTiledGradientEffect() 37 std::unique_ptr<GrFragmentProcessor> gradLayout, bool mirror, in GrTiledGradientEffect() 56 bool onIsEqual(const GrFragmentProcessor&) const override; 58 typedef GrFragmentProcessor INHERITED;
|
D | GrClampedGradientEffect.h | 17 class GrClampedGradientEffect : public GrFragmentProcessor { 19 static std::unique_ptr<GrFragmentProcessor> Make( in Make() 20 std::unique_ptr<GrFragmentProcessor> colorizer, in Make() 21 std::unique_ptr<GrFragmentProcessor> gradLayout, SkPMColor4f leftBorderColor, in Make() 23 return std::unique_ptr<GrFragmentProcessor>(new GrClampedGradientEffect( in Make() 28 std::unique_ptr<GrFragmentProcessor> clone() const override; 38 GrClampedGradientEffect(std::unique_ptr<GrFragmentProcessor> colorizer, in GrClampedGradientEffect() 39 std::unique_ptr<GrFragmentProcessor> gradLayout, in GrClampedGradientEffect() 60 bool onIsEqual(const GrFragmentProcessor&) const override; 62 typedef GrFragmentProcessor INHERITED;
|
/third_party/flutter/skia/src/gpu/glsl/ |
D | GrGLSLFragmentProcessor.h | 41 template <typename T, int (GrFragmentProcessor::*COUNT)() const> 44 BuilderInputProvider(const GrFragmentProcessor* fp, const T* ts) : fFP(fp) , fTs(ts) {} in BuilderInputProvider() 54 const GrFragmentProcessor* child = &fFP->childProcessor(childIdx); in childInputs() 55 GrFragmentProcessor::Iter iter(fFP); in childInputs() 58 const GrFragmentProcessor* fp = iter.next(); in childInputs() 67 const GrFragmentProcessor* fFP; 73 BuilderInputProvider<GrShaderVar, &GrFragmentProcessor::numCoordTransforms>; 75 BuilderInputProvider<SamplerHandle, &GrFragmentProcessor::numTextureSamplers>; 104 const GrFragmentProcessor& fp, in EmitArgs() 120 const GrFragmentProcessor& fFp; [all …]
|
/third_party/skia/tests/ |
D | ProgramsTest.cpp | 43 class BigKeyProcessor : public GrFragmentProcessor { 45 static std::unique_ptr<GrFragmentProcessor> Make() { in Make() 46 return std::unique_ptr<GrFragmentProcessor>(new BigKeyProcessor); in Make() 62 std::unique_ptr<GrFragmentProcessor> clone() const override { return Make(); } in clone() 71 bool onIsEqual(const GrFragmentProcessor&) const override { return true; } in onIsEqual() 75 using INHERITED = GrFragmentProcessor; 82 std::unique_ptr<GrFragmentProcessor> BigKeyProcessor::TestCreate(GrProcessorTestData*) { in TestCreate() 89 class BlockInputFragmentProcessor : public GrFragmentProcessor { 91 static std::unique_ptr<GrFragmentProcessor> Make(std::unique_ptr<GrFragmentProcessor> fp) { in Make() 92 return std::unique_ptr<GrFragmentProcessor>(new BlockInputFragmentProcessor(std::move(fp))); in Make() [all …]
|