| Index: include/gpu/GrPaint.h
|
| diff --git a/include/gpu/GrPaint.h b/include/gpu/GrPaint.h
|
| index ade2319b66781e3ba6a4275084dca2723acc8c78..19930d54f45e9aad655125e8b860c1ce3584d1e7 100644
|
| --- a/include/gpu/GrPaint.h
|
| +++ b/include/gpu/GrPaint.h
|
| @@ -20,6 +20,8 @@
|
| #include "SkRefCnt.h"
|
| #include "SkRegion.h"
|
|
|
| +class GrTextureProxy;
|
| +
|
| /**
|
| * The paint describes how color and coverage are computed at each pixel by GrContext draw
|
| * functions and the how color is blended with the destination pixel.
|
| @@ -129,6 +131,14 @@ public:
|
| const GrTextureParams&);
|
| void addCoverageTextureProcessor(GrTexture*, const SkMatrix&, const GrTextureParams&);
|
|
|
| + //--
|
| + void addColorTextureProcessor(GrTextureProxy*, sk_sp<GrColorSpaceXform>, const SkMatrix&);
|
| + void addCoverageTextureProcessor(GrTextureProxy*, const SkMatrix&);
|
| + void addColorTextureProcessor(GrTextureProxy*, sk_sp<GrColorSpaceXform>, const SkMatrix&,
|
| + const GrTextureParams&);
|
| + void addCoverageTextureProcessor(GrTextureProxy*, const SkMatrix&, const GrTextureParams&);
|
| + //--
|
| +
|
| int numColorFragmentProcessors() const { return fColorFragmentProcessors.count(); }
|
| int numCoverageFragmentProcessors() const { return fCoverageFragmentProcessors.count(); }
|
| int numTotalFragmentProcessors() const { return this->numColorFragmentProcessors() +
|
|
|