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:
parent
e49157f083
commit
eaa674987f
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user