diff options
author | 2015-07-08 06:51:43 -0700 | |
---|---|---|
committer | 2015-07-08 06:51:43 -0700 | |
commit | 8ca93e7c733ab064c8a9e03715ac405ae739cf51 (patch) | |
tree | 5423fe8631957bf363453c8c5f7ce3e19a6e51e4 /src/core/SkShader.cpp | |
parent | 2f19b551ac10b96a1a35a147063cd4300d6fe07a (diff) |
Initial CL to create dummy GrShaderDataManager and thread it through
TBR=bsalomon@google.com
BUG=skia:
Review URL: https://codereview.chromium.org/1225673007
Diffstat (limited to 'src/core/SkShader.cpp')
-rw-r--r-- | src/core/SkShader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/SkShader.cpp b/src/core/SkShader.cpp index 32984960ab..d1f6611727 100644 --- a/src/core/SkShader.cpp +++ b/src/core/SkShader.cpp @@ -215,7 +215,7 @@ SkShader::GradientType SkShader::asAGradient(GradientInfo* info) const { } bool SkShader::asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix&, const SkMatrix*, - GrColor*, GrFragmentProcessor**) const { + GrColor*, GrShaderDataManager*, GrFragmentProcessor**) const { return false; } @@ -346,7 +346,7 @@ SkShader::GradientType SkColorShader::asAGradient(GradientInfo* info) const { #include "SkGr.h" bool SkColorShader::asFragmentProcessor(GrContext*, const SkPaint& paint, const SkMatrix&, - const SkMatrix*, GrColor* paintColor, + const SkMatrix*, GrColor* paintColor, GrShaderDataManager*, GrFragmentProcessor** fp) const { *fp = NULL; SkColor skColor = fColor; @@ -358,7 +358,7 @@ bool SkColorShader::asFragmentProcessor(GrContext*, const SkPaint& paint, const #else bool SkColorShader::asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix&, - const SkMatrix*, GrColor*, + const SkMatrix*, GrColor*, GrShaderDataManager*, GrFragmentProcessor**) const { SkDEBUGFAIL("Should not call in GPU-less build"); return false; |