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