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 | |
213 SkShader::GradientType SkShader::asAGradient(GradientInfo* info) const { | 209 SkShader::GradientType SkShader::asAGradient(GradientInfo* info) const { |
214 return kNone_GradientType; | 210 return kNone_GradientType; |
215 } | 211 } |
216 | 212 |
217 const GrFragmentProcessor* SkShader::asFragmentProcessor(GrContext*, const SkMat
rix&, | 213 const GrFragmentProcessor* SkShader::asFragmentProcessor(GrContext*, const SkMat
rix&, |
218 const SkMatrix*, SkFilt
erQuality, | 214 const SkMatrix*, SkFilt
erQuality, |
219 GrProcessorDataManager*
) const { | 215 GrProcessorDataManager*
) const { |
220 return nullptr; | 216 return nullptr; |
221 } | 217 } |
222 | 218 |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 #include "SkEmptyShader.h" | 364 #include "SkEmptyShader.h" |
369 | 365 |
370 void SkEmptyShader::toString(SkString* str) const { | 366 void SkEmptyShader::toString(SkString* str) const { |
371 str->append("SkEmptyShader: ("); | 367 str->append("SkEmptyShader: ("); |
372 | 368 |
373 this->INHERITED::toString(str); | 369 this->INHERITED::toString(str); |
374 | 370 |
375 str->append(")"); | 371 str->append(")"); |
376 } | 372 } |
377 #endif | 373 #endif |
OLD | NEW |