diff options
author | reed <reed@chromium.org> | 2016-01-05 05:10:33 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-05 05:10:33 -0800 |
commit | 4e5a758f3832594cf1828d367496b5a80bcab8ee (patch) | |
tree | 90e8560257aca97a65f6b8266906d78090e055e9 /src/core/SkBitmapProcState_shaderproc.h | |
parent | 2c2d8ab08c39fad2706895e69dcc9ed1aeb9bb2a (diff) |
remove shadeSpan16 from shader
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1556003003
CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot
Review URL: https://codereview.chromium.org/1556003003
Diffstat (limited to 'src/core/SkBitmapProcState_shaderproc.h')
-rw-r--r-- | src/core/SkBitmapProcState_shaderproc.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/core/SkBitmapProcState_shaderproc.h b/src/core/SkBitmapProcState_shaderproc.h index b1fdc5f056..d41ff063e4 100644 --- a/src/core/SkBitmapProcState_shaderproc.h +++ b/src/core/SkBitmapProcState_shaderproc.h @@ -1,4 +1,3 @@ - /* * Copyright 2011 Google Inc. * @@ -12,11 +11,9 @@ // Can't be static in the general case because some of these implementations // will be defined and referenced in different object files. -void SCALE_FILTER_NAME(const void* sIn, int x, int y, - DSTTYPE* SK_RESTRICT colors, int count); +void SCALE_FILTER_NAME(const void* sIn, int x, int y, SkPMColor* SK_RESTRICT colors, int count); -void SCALE_FILTER_NAME(const void* sIn, int x, int y, - DSTTYPE* SK_RESTRICT colors, int count) { +void SCALE_FILTER_NAME(const void* sIn, int x, int y, SkPMColor* SK_RESTRICT colors, int count) { const SkBitmapProcState& s = *static_cast<const SkBitmapProcState*>(sIn); SkASSERT((s.fInvType & ~(SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)) == 0); @@ -85,7 +82,6 @@ void SCALE_FILTER_NAME(const void* sIn, int x, int y, #undef TILEY_LOW_BITS #undef MAKENAME #undef SRCTYPE -#undef DSTTYPE #undef CHECKSTATE #undef SRC_TO_FILTER #undef FILTER_TO_DST |