add localmatrix param to asNewEffect

BUG=skia:

Review URL: https://codereview.chromium.org/278983002

git-svn-id: http://skia.googlecode.com/svn/trunk@14688 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2014-05-09 20:52:23 +00:00
parent e49157f083
commit eaa674987f
5 changed files with 7 additions and 5 deletions

View File

@ -567,7 +567,7 @@ GrEffectRef* SkLinearGradient::asNewEffect(GrContext* context, const SkPaint&,
#else
GrEffectRef* SkLinearGradient::asNewEffect(GrContext*, const SkPaint&) const {
GrEffectRef* SkLinearGradient::asNewEffect(GrContext*, const SkPaint&, const SkMatrix*) const {
SkDEBUGFAIL("Should not call in GPU-less build");
return NULL;
}

View File

@ -580,7 +580,7 @@ GrEffectRef* SkRadialGradient::asNewEffect(GrContext* context, const SkPaint&,
#else
GrEffectRef* SkRadialGradient::asNewEffect(GrContext*, const SkPaint&) const {
GrEffectRef* SkRadialGradient::asNewEffect(GrContext*, const SkPaint&, const SkMatrix*) const {
SkDEBUGFAIL("Should not call in GPU-less build");
return NULL;
}

View File

@ -298,7 +298,7 @@ GrEffectRef* SkSweepGradient::asNewEffect(GrContext* context, const SkPaint&,
#else
GrEffectRef* SkSweepGradient::asNewEffect(GrContext*, const SkPaint&) const {
GrEffectRef* SkSweepGradient::asNewEffect(GrContext*, const SkPaint&, const SkMatrix*) const {
SkDEBUGFAIL("Should not call in GPU-less build");
return NULL;
}

View File

@ -390,7 +390,8 @@ GrEffectRef* SkTwoPointConicalGradient::asNewEffect(GrContext* context, const Sk
#else
GrEffectRef* SkTwoPointConicalGradient::asNewEffect(GrContext*, const SkPaint&) const {
GrEffectRef* SkTwoPointConicalGradient::asNewEffect(GrContext*, const SkPaint&,
const SkMatrix*) const {
SkDEBUGFAIL("Should not call in GPU-less build");
return NULL;
}

View File

@ -701,7 +701,8 @@ GrEffectRef* SkTwoPointRadialGradient::asNewEffect(GrContext* context, const SkP
#else
GrEffectRef* SkTwoPointRadialGradient::asNewEffect(GrContext*, const SkPaint&) const {
GrEffectRef* SkTwoPointRadialGradient::asNewEffect(GrContext*, const SkPaint&,
const SkMatrix*) const {
SkDEBUGFAIL("Should not call in GPU-less build");
return NULL;
}