diff options
author | 2014-09-23 09:50:21 -0700 | |
---|---|---|
committer | 2014-09-23 09:50:21 -0700 | |
commit | b0a8a377f832c59cee939ad721e1f87d378b7142 (patch) | |
tree | 7edeac33c817af28d73f3fbe1b31776ac34e8773 /include/core/SkColorShader.h | |
parent | e51ac563de24ed4b25fde97c225580a30a55e9ca (diff) |
Patch to create a distinct geometry processor. The vast majority of this patch
is just a rename. The meat is in GrGeometryProcessor, GrProcessor,
GrGL*Processor, GrProcessorStage, Gr*BackendProcessorFactory,
GrProcessUnitTestFactory, and the builders
BUG=skia:
R=bsalomon@google.com
Author: joshualitt@chromium.org
Review URL: https://codereview.chromium.org/582963002
Diffstat (limited to 'include/core/SkColorShader.h')
-rw-r--r-- | include/core/SkColorShader.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/core/SkColorShader.h b/include/core/SkColorShader.h index 55d980b64e..dc45f2d6cb 100644 --- a/include/core/SkColorShader.h +++ b/include/core/SkColorShader.h @@ -54,9 +54,8 @@ public: virtual GradientType asAGradient(GradientInfo* info) const SK_OVERRIDE; - virtual bool asNewEffect(GrContext* context, const SkPaint& paint, - const SkMatrix* localMatrix, GrColor* paintColor, - GrEffect** effect) const SK_OVERRIDE; + virtual bool asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix*, GrColor*, + GrFragmentProcessor**) const SK_OVERRIDE; SK_TO_STRING_OVERRIDE() SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkColorShader) |