| 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 SkShader::BitmapType SkShader::asABitmap(SkBitmap*, SkMatrix*, TileMode*) const
{ | 203 SkShader::BitmapType SkShader::asABitmap(SkBitmap*, SkMatrix*, TileMode*) const
{ |
| 204 return kNone_BitmapType; | 204 return kNone_BitmapType; |
| 205 } | 205 } |
| 206 | 206 |
| 207 SkShader::GradientType SkShader::asAGradient(GradientInfo* info) const { | 207 SkShader::GradientType SkShader::asAGradient(GradientInfo* info) const { |
| 208 return kNone_GradientType; | 208 return kNone_GradientType; |
| 209 } | 209 } |
| 210 | 210 |
| 211 bool SkShader::asNewEffect(GrContext* context, const SkPaint& paint, | 211 bool SkShader::asNewEffect(GrContext* context, const SkPaint& paint, |
| 212 const SkMatrix* localMatrixOrNull, GrColor* grColor, | 212 const SkMatrix* localMatrixOrNull, GrColor* grColor, |
| 213 GrEffectRef** grEffect) const { | 213 GrEffect** grEffect) const { |
| 214 return false; | 214 return false; |
| 215 } | 215 } |
| 216 | 216 |
| 217 SkShader* SkShader::refAsALocalMatrixShader(SkMatrix*) const { | 217 SkShader* SkShader::refAsALocalMatrixShader(SkMatrix*) const { |
| 218 return NULL; | 218 return NULL; |
| 219 } | 219 } |
| 220 | 220 |
| 221 SkShader* SkShader::CreateEmptyShader() { | 221 SkShader* SkShader::CreateEmptyShader() { |
| 222 return SkNEW(SkEmptyShader); | 222 return SkNEW(SkEmptyShader); |
| 223 } | 223 } |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 #include "SkEmptyShader.h" | 387 #include "SkEmptyShader.h" |
| 388 | 388 |
| 389 void SkEmptyShader::toString(SkString* str) const { | 389 void SkEmptyShader::toString(SkString* str) const { |
| 390 str->append("SkEmptyShader: ("); | 390 str->append("SkEmptyShader: ("); |
| 391 | 391 |
| 392 this->INHERITED::toString(str); | 392 this->INHERITED::toString(str); |
| 393 | 393 |
| 394 str->append(")"); | 394 str->append(")"); |
| 395 } | 395 } |
| 396 #endif | 396 #endif |
| OLD | NEW |