diff options
author | Robert Phillips <robertphillips@google.com> | 2017-03-15 10:42:12 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-03-15 15:20:40 +0000 |
commit | 296b1ccf9b8e9c8b945645efcbaa9c71c7135f58 (patch) | |
tree | e8085e48ed8cd2a3b66316e95215f5b06f39bf50 /src/gpu/GrPaint.h | |
parent | e0d4fbac00f240603e725b50d58d89048fd8b21f (diff) |
Retract GrContext from src/gpu/effects
Change-Id: Iceb7263098286bafb2605ef17d1fe6bb25d71e97
Reviewed-on: https://skia-review.googlesource.com/9693
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrPaint.h')
-rw-r--r-- | src/gpu/GrPaint.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/gpu/GrPaint.h b/src/gpu/GrPaint.h index dbf75c1815..7f53d4a03b 100644 --- a/src/gpu/GrPaint.h +++ b/src/gpu/GrPaint.h @@ -118,13 +118,14 @@ public: void addCoverageTextureProcessor(GrTexture*, const SkMatrix&, const GrSamplerParams&); - void addColorTextureProcessor(GrContext*, sk_sp<GrTextureProxy>, sk_sp<GrColorSpaceXform>, - const SkMatrix&); - void addColorTextureProcessor(GrContext*, sk_sp<GrTextureProxy>, sk_sp<GrColorSpaceXform>, - const SkMatrix&, const GrSamplerParams&); + void addColorTextureProcessor(GrResourceProvider*, sk_sp<GrTextureProxy>, + sk_sp<GrColorSpaceXform>, const SkMatrix&); + void addColorTextureProcessor(GrResourceProvider*, sk_sp<GrTextureProxy>, + sk_sp<GrColorSpaceXform>, const SkMatrix&, + const GrSamplerParams&); - void addCoverageTextureProcessor(GrContext*, sk_sp<GrTextureProxy>, const SkMatrix&); - void addCoverageTextureProcessor(GrContext*, sk_sp<GrTextureProxy>, + void addCoverageTextureProcessor(GrResourceProvider*, sk_sp<GrTextureProxy>, const SkMatrix&); + void addCoverageTextureProcessor(GrResourceProvider*, sk_sp<GrTextureProxy>, const SkMatrix&, const GrSamplerParams&); int numColorFragmentProcessors() const { return fColorFragmentProcessors.count(); } |