Lines Matching refs:GrFragmentProcessor

20 bool GrFragmentProcessor::isEqual(const GrFragmentProcessor& that) const {  in isEqual()
46 void GrFragmentProcessor::visitProxies(const GrOp::VisitProxyFunc& func) const { in visitProxies()
52 void GrFragmentProcessor::visitTextureEffects( in visitTextureEffects()
64 GrTextureEffect* GrFragmentProcessor::asTextureEffect() { in asTextureEffect()
71 const GrTextureEffect* GrFragmentProcessor::asTextureEffect() const { in asTextureEffect()
79 static void recursive_dump_tree_info(const GrFragmentProcessor& fp, in recursive_dump_tree_info()
84 if (const GrFragmentProcessor* childFP = fp.childProcessor(index)) { in recursive_dump_tree_info()
94 SkString GrFragmentProcessor::dumpTreeInfo() const { in dumpTreeInfo()
102 std::unique_ptr<GrGLSLFragmentProcessor> GrFragmentProcessor::makeProgramImpl() const { in makeProgramImpl()
113 void GrFragmentProcessor::addAndPushFlagToChildren(PrivateFlags flag) { in addAndPushFlagToChildren()
130 int GrFragmentProcessor::numNonNullChildProcessors() const { in numNonNullChildProcessors()
136 bool GrFragmentProcessor::isInstantiated() const { in isInstantiated()
147 void GrFragmentProcessor::registerChild(std::unique_ptr<GrFragmentProcessor> child, in registerChild()
195 void GrFragmentProcessor::cloneAndRegisterAllChildProcessors(const GrFragmentProcessor& src) { in cloneAndRegisterAllChildProcessors()
205 std::unique_ptr<GrFragmentProcessor> GrFragmentProcessor::MakeColor(SkPMColor4f color) { in MakeColor()
216 std::unique_ptr<GrFragmentProcessor> GrFragmentProcessor::MulChildByInputAlpha( in MulChildByInputAlpha()
217 std::unique_ptr<GrFragmentProcessor> fp) { in MulChildByInputAlpha()
224 std::unique_ptr<GrFragmentProcessor> GrFragmentProcessor::MulInputByChildAlpha( in MulInputByChildAlpha()
225 std::unique_ptr<GrFragmentProcessor> fp) { in MulInputByChildAlpha()
232 std::unique_ptr<GrFragmentProcessor> GrFragmentProcessor::ModulateAlpha( in ModulateAlpha()
233 std::unique_ptr<GrFragmentProcessor> inputFP, const SkPMColor4f& color) { in ModulateAlpha()
240 std::unique_ptr<GrFragmentProcessor> GrFragmentProcessor::ModulateRGBA( in ModulateRGBA()
241 std::unique_ptr<GrFragmentProcessor> inputFP, const SkPMColor4f& color) { in ModulateRGBA()
248 std::unique_ptr<GrFragmentProcessor> GrFragmentProcessor::ClampPremulOutput( in ClampPremulOutput()
249 std::unique_ptr<GrFragmentProcessor> fp) { in ClampPremulOutput()
256 std::unique_ptr<GrFragmentProcessor> GrFragmentProcessor::SwizzleOutput( in SwizzleOutput()
257 std::unique_ptr<GrFragmentProcessor> fp, const GrSwizzle& swizzle) { in SwizzleOutput()
258 class SwizzleFragmentProcessor : public GrFragmentProcessor { in SwizzleOutput()
260 static std::unique_ptr<GrFragmentProcessor> Make(std::unique_ptr<GrFragmentProcessor> fp, in SwizzleOutput()
262 return std::unique_ptr<GrFragmentProcessor>( in SwizzleOutput()
269 std::unique_ptr<GrFragmentProcessor> clone() const override { in SwizzleOutput()
274 SwizzleFragmentProcessor(std::unique_ptr<GrFragmentProcessor> fp, const GrSwizzle& swizzle) in SwizzleOutput()
301 bool onIsEqual(const GrFragmentProcessor& other) const override { in SwizzleOutput()
312 using INHERITED = GrFragmentProcessor; in SwizzleOutput()
324 std::unique_ptr<GrFragmentProcessor> GrFragmentProcessor::MakeInputPremulAndMulByOutput( in MakeInputPremulAndMulByOutput()
325 std::unique_ptr<GrFragmentProcessor> fp) { in MakeInputPremulAndMulByOutput()
326 class PremulFragmentProcessor : public GrFragmentProcessor { in MakeInputPremulAndMulByOutput()
328 static std::unique_ptr<GrFragmentProcessor> Make( in MakeInputPremulAndMulByOutput()
329 std::unique_ptr<GrFragmentProcessor> processor) { in MakeInputPremulAndMulByOutput()
330 return std::unique_ptr<GrFragmentProcessor>( in MakeInputPremulAndMulByOutput()
336 std::unique_ptr<GrFragmentProcessor> clone() const override { in MakeInputPremulAndMulByOutput()
341 PremulFragmentProcessor(std::unique_ptr<GrFragmentProcessor> processor) in MakeInputPremulAndMulByOutput()
362 bool onIsEqual(const GrFragmentProcessor&) const override { return true; } in MakeInputPremulAndMulByOutput()
364 static OptimizationFlags OptFlags(const GrFragmentProcessor* inner) { in MakeInputPremulAndMulByOutput()
382 using INHERITED = GrFragmentProcessor; in MakeInputPremulAndMulByOutput()
392 std::unique_ptr<GrFragmentProcessor> GrFragmentProcessor::OverrideInput( in OverrideInput()
393 std::unique_ptr<GrFragmentProcessor> fp, const SkPMColor4f& color, bool useUniform) { in OverrideInput()
402 std::unique_ptr<GrFragmentProcessor> GrFragmentProcessor::Compose( in Compose()
403 std::unique_ptr<GrFragmentProcessor> f, std::unique_ptr<GrFragmentProcessor> g) { in Compose()
404 class ComposeProcessor : public GrFragmentProcessor { in Compose()
406 static std::unique_ptr<GrFragmentProcessor> Make(std::unique_ptr<GrFragmentProcessor> f, in Compose()
407 std::unique_ptr<GrFragmentProcessor> g) { in Compose()
408 return std::unique_ptr<GrFragmentProcessor>(new ComposeProcessor(std::move(f), in Compose()
414 std::unique_ptr<GrFragmentProcessor> clone() const override { in Compose()
415 return std::unique_ptr<GrFragmentProcessor>(new ComposeProcessor(*this)); in Compose()
431 ComposeProcessor(std::unique_ptr<GrFragmentProcessor> f, in Compose()
432 std::unique_ptr<GrFragmentProcessor> g) in Compose()
446 bool onIsEqual(const GrFragmentProcessor&) const override { return true; } in Compose()
455 using INHERITED = GrFragmentProcessor; in Compose()
470 std::unique_ptr<GrFragmentProcessor> series[2] = {std::move(g), std::move(f)}; in Compose()
495 GrFragmentProcessor::CIter::CIter(const GrPaint& paint) { in CIter()
504 GrFragmentProcessor::CIter::CIter(const GrPipeline& pipeline) { in CIter()
510 GrFragmentProcessor::CIter& GrFragmentProcessor::CIter::operator++() { in operator ++()
512 const GrFragmentProcessor* back = fFPStack.back(); in operator ++()