| 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 "SkAtomics.h" | 8 #include "SkAtomics.h" |
| 9 #include "SkBitmapProcShader.h" | 9 #include "SkBitmapProcShader.h" |
| 10 #include "SkColorShader.h" | 10 #include "SkColorShader.h" |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 mc = kFixedStepInX_MatrixClass; | 199 mc = kFixedStepInX_MatrixClass; |
| 200 } else { | 200 } else { |
| 201 mc = kPerspective_MatrixClass; | 201 mc = kPerspective_MatrixClass; |
| 202 } | 202 } |
| 203 } | 203 } |
| 204 return mc; | 204 return mc; |
| 205 } | 205 } |
| 206 | 206 |
| 207 ////////////////////////////////////////////////////////////////////////////// | 207 ////////////////////////////////////////////////////////////////////////////// |
| 208 | 208 |
| 209 SkShader::BitmapType SkShader::asABitmap(SkBitmap*, SkMatrix*, TileMode*) const
{ |
| 210 return kNone_BitmapType; |
| 211 } |
| 212 |
| 209 SkShader::GradientType SkShader::asAGradient(GradientInfo* info) const { | 213 SkShader::GradientType SkShader::asAGradient(GradientInfo* info) const { |
| 210 return kNone_GradientType; | 214 return kNone_GradientType; |
| 211 } | 215 } |
| 212 | 216 |
| 213 const GrFragmentProcessor* SkShader::asFragmentProcessor(GrContext*, const SkMat
rix&, | 217 const GrFragmentProcessor* SkShader::asFragmentProcessor(GrContext*, const SkMat
rix&, |
| 214 const SkMatrix*, SkFilt
erQuality, | 218 const SkMatrix*, SkFilt
erQuality, |
| 215 GrProcessorDataManager*
) const { | 219 GrProcessorDataManager*
) const { |
| 216 return nullptr; | 220 return nullptr; |
| 217 } | 221 } |
| 218 | 222 |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 #include "SkEmptyShader.h" | 368 #include "SkEmptyShader.h" |
| 365 | 369 |
| 366 void SkEmptyShader::toString(SkString* str) const { | 370 void SkEmptyShader::toString(SkString* str) const { |
| 367 str->append("SkEmptyShader: ("); | 371 str->append("SkEmptyShader: ("); |
| 368 | 372 |
| 369 this->INHERITED::toString(str); | 373 this->INHERITED::toString(str); |
| 370 | 374 |
| 371 str->append(")"); | 375 str->append(")"); |
| 372 } | 376 } |
| 373 #endif | 377 #endif |
| OLD | NEW |