| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #include "SkBitmapProcShader.h" | 8 #include "SkBitmapProcShader.h" |
| 9 #include "SkEmptyShader.h" | 9 #include "SkEmptyShader.h" |
| 10 #include "SkReadBuffer.h" | 10 #include "SkReadBuffer.h" |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 ////////////////////////////////////////////////////////////////////////////// | 204 ////////////////////////////////////////////////////////////////////////////// |
| 205 | 205 |
| 206 SkShader::BitmapType SkShader::asABitmap(SkBitmap*, SkMatrix*, TileMode*) const
{ | 206 SkShader::BitmapType SkShader::asABitmap(SkBitmap*, SkMatrix*, TileMode*) const
{ |
| 207 return kNone_BitmapType; | 207 return kNone_BitmapType; |
| 208 } | 208 } |
| 209 | 209 |
| 210 SkShader::GradientType SkShader::asAGradient(GradientInfo* info) const { | 210 SkShader::GradientType SkShader::asAGradient(GradientInfo* info) const { |
| 211 return kNone_GradientType; | 211 return kNone_GradientType; |
| 212 } | 212 } |
| 213 | 213 |
| 214 GrEffectRef* SkShader::asNewEffect(GrContext*, const SkPaint&) const { | 214 GrEffectRef* SkShader::asNewEffect(GrContext*, const SkPaint&, const SkMatrix*)
const { |
| 215 return NULL; | 215 return NULL; |
| 216 } | 216 } |
| 217 | 217 |
| 218 SkShader* SkShader::refAsALocalMatrixShader(SkMatrix*) const { | 218 SkShader* SkShader::refAsALocalMatrixShader(SkMatrix*) const { |
| 219 return NULL; | 219 return NULL; |
| 220 } | 220 } |
| 221 | 221 |
| 222 SkShader* SkShader::CreateEmptyShader() { | 222 SkShader* SkShader::CreateEmptyShader() { |
| 223 return SkNEW(SkEmptyShader); | 223 return SkNEW(SkEmptyShader); |
| 224 } | 224 } |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 #include "SkEmptyShader.h" | 363 #include "SkEmptyShader.h" |
| 364 | 364 |
| 365 void SkEmptyShader::toString(SkString* str) const { | 365 void SkEmptyShader::toString(SkString* str) const { |
| 366 str->append("SkEmptyShader: ("); | 366 str->append("SkEmptyShader: ("); |
| 367 | 367 |
| 368 this->INHERITED::toString(str); | 368 this->INHERITED::toString(str); |
| 369 | 369 |
| 370 str->append(")"); | 370 str->append(")"); |
| 371 } | 371 } |
| 372 #endif | 372 #endif |
| OLD | NEW |