epoger@google.com | ec3ed6a | 2011-07-28 14:26:00 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2011 Google Inc. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
| 6 | */ |
humper | 4f96ab3 | 2014-06-27 11:27:03 -0700 | [diff] [blame] | 7 | |
| 8 | #include "SkBitmapScaler.h" |
reed@android.com | c9a1d4b | 2009-08-03 15:05:55 +0000 | [diff] [blame] | 9 | #include "SkBitmapProcState.h" |
| 10 | |
| 11 | /* A platform may optionally overwrite any of these with accelerated |
| 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 |
| 14 | current state (e.g. fBitmap, fInvMatrix, etc.) |
| 15 | |
| 16 | fShaderProc32 |
| 17 | fShaderProc16 |
| 18 | fMatrixProc |
| 19 | fSampleProc32 |
| 20 | fSampleProc32 |
| 21 | */ |
| 22 | |
| 23 | // empty implementation just uses default supplied function pointers |
| 24 | void SkBitmapProcState::platformProcs() {} |
humper@google.com | 138ebc3 | 2013-07-19 20:20:04 +0000 | [diff] [blame] | 25 | |
| 26 | // empty implementation just uses default supplied function pointers |
humper | 4f96ab3 | 2014-06-27 11:27:03 -0700 | [diff] [blame] | 27 | void SkBitmapScaler::PlatformConvolutionProcs(SkConvolutionProcs*) {} |