OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
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 #include "SkBitmapScaler.h" | 8 #include "SkBitmapScaler.h" |
10 #include "SkBitmapProcState.h" | 9 #include "SkBitmapProcState.h" |
11 | 10 |
12 /* A platform may optionally overwrite any of these with accelerated | 11 /* A platform may optionally overwrite any of these with accelerated |
13 versions. On input, these will already have valid function pointers, | 12 versions. On input, these will already have valid function pointers, |
14 so a platform need only overwrite the ones it chooses, based on the | 13 so a platform need only overwrite the ones it chooses, based on the |
15 current state (e.g. fBitmap, fInvMatrix, etc.) | 14 current state (e.g. fBitmap, fInvMatrix, etc.) |
16 | 15 |
17 fShaderProc32 | 16 fShaderProc32 |
18 fShaderProc16 | 17 fShaderProc16 |
19 fMatrixProc | 18 fMatrixProc |
20 fSampleProc32 | 19 fSampleProc32 |
21 fSampleProc32 | 20 fSampleProc32 |
22 */ | 21 */ |
23 | 22 |
24 // empty implementation just uses default supplied function pointers | 23 // empty implementation just uses default supplied function pointers |
25 void SkBitmapProcState::platformProcs() {} | 24 void SkBitmapProcState::platformProcs() {} |
26 | 25 |
27 // empty implementation just uses default supplied function pointers | 26 // empty implementation just uses default supplied function pointers |
28 void SkBitmapScaler::PlatformConvolutionProcs(SkConvolutionProcs*) {} | 27 void SkBitmapScaler::PlatformConvolutionProcs(SkConvolutionProcs*) {} |
OLD | NEW |