diff options
author | humper <humper@google.com> | 2014-06-27 11:27:03 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-06-27 11:27:03 -0700 |
commit | 4f96ab36180489748f4e9bb249d773414ef0d6cb (patch) | |
tree | 5b1946f21d22e8b266a4e984d2c19d7aafeb0fa6 /src/core/SkBitmapProcState.h | |
parent | 1f8ed022226c9f960b9fc95af9297d5111a07ead (diff) |
Refactor bitmap scaler to make it easier to migrate rest of chrome to use it
Previously, the set of platform-specific function pointers to do fast convolution (e.g., neon, SSE) were passed in a structure to the scaler.
I refactored this so that the scaler fills in these function pointers after it's called, so the caller doesn't have to worry about it.
R=mtklein@google.com
TBR=mtklein
NOTRY=True
Author: humper@google.com
Review URL: https://codereview.chromium.org/354193002
Diffstat (limited to 'src/core/SkBitmapProcState.h')
-rw-r--r-- | src/core/SkBitmapProcState.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/SkBitmapProcState.h b/src/core/SkBitmapProcState.h index 663bcb8be9..73d7e904b3 100644 --- a/src/core/SkBitmapProcState.h +++ b/src/core/SkBitmapProcState.h @@ -33,7 +33,6 @@ #endif class SkPaint; -struct SkConvolutionProcs; struct SkBitmapProcState { @@ -104,12 +103,6 @@ struct SkBitmapProcState { */ void platformProcs(); - /** Platforms can also optionally overwrite the convolution functions - if we have SIMD versions of them. - */ - - void platformConvolutionProcs(SkConvolutionProcs*); - /** Given the byte size of the index buffer to be passed to the matrix proc, return the maximum number of resulting pixels that can be computed (i.e. the number of SkPMColor values to be written by the sample proc). |