OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
4 * | 3 * |
5 * 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 |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 | 7 |
9 | 8 |
10 #ifndef SkShader_DEFINED | 9 #ifndef SkShader_DEFINED |
11 #define SkShader_DEFINED | 10 #define SkShader_DEFINED |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 SkDEBUGCODE(SkBool8 fInSetContext;) | 369 SkDEBUGCODE(SkBool8 fInSetContext;) |
371 | 370 |
372 static SkShader* CreateBitmapShader(const SkBitmap& src, | 371 static SkShader* CreateBitmapShader(const SkBitmap& src, |
373 TileMode, TileMode, | 372 TileMode, TileMode, |
374 void* storage, size_t storageSize); | 373 void* storage, size_t storageSize); |
375 friend class SkAutoBitmapShaderInstall; | 374 friend class SkAutoBitmapShaderInstall; |
376 typedef SkFlattenable INHERITED; | 375 typedef SkFlattenable INHERITED; |
377 }; | 376 }; |
378 | 377 |
379 #endif | 378 #endif |
OLD | NEW |