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