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 #ifndef SkShader_DEFINED | 8 #ifndef SkShader_DEFINED |
9 #define SkShader_DEFINED | 9 #define SkShader_DEFINED |
10 | 10 |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 return false; | 432 return false; |
433 } | 433 } |
434 | 434 |
435 private: | 435 private: |
436 // This is essentially const, but not officially so it can be modified in | 436 // This is essentially const, but not officially so it can be modified in |
437 // constructors. | 437 // constructors. |
438 SkMatrix fLocalMatrix; | 438 SkMatrix fLocalMatrix; |
439 | 439 |
440 // So the SkLocalMatrixShader can whack fLocalMatrix in its SkReadBuffer con
structor. | 440 // So the SkLocalMatrixShader can whack fLocalMatrix in its SkReadBuffer con
structor. |
441 friend class SkLocalMatrixShader; | 441 friend class SkLocalMatrixShader; |
| 442 friend class SkBitmapProcShader; // for computeTotalInverse() |
442 | 443 |
443 typedef SkFlattenable INHERITED; | 444 typedef SkFlattenable INHERITED; |
444 }; | 445 }; |
445 | 446 |
446 #endif | 447 #endif |
OLD | NEW |