diff options
author | Mike Klein <mtklein@chromium.org> | 2017-08-29 13:38:09 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-08-29 18:58:01 +0000 |
commit | 856b3c3a8c37deac5aa6f5db0e743036e8c56b95 (patch) | |
tree | 3ef911d5d1c54121da57bda0a4458ba04fc29a5d /src/jumper/SkJumper.h | |
parent | cd48524767c62f4ee1b18cd96fbc32cf93133b23 (diff) |
no more need for a constants pointer
The only reason we were keeping SkJumper_constants around is that it was
hard to get float/integer iota vectors on arm64 without relocations.
Now that we're compiling arm64 normally as part of Skia, we don't have
to worry about relocations.
This means we can kill the struct and stop passing around that pointer.
Change-Id: I013c6a735947f3db2bc87f2bfa38b7520d2e2fce
Reviewed-on: https://skia-review.googlesource.com/40200
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Herb Derby <herb@google.com>
Diffstat (limited to 'src/jumper/SkJumper.h')
-rw-r--r-- | src/jumper/SkJumper.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/jumper/SkJumper.h b/src/jumper/SkJumper.h index 4bb851f939..32b56450ff 100644 --- a/src/jumper/SkJumper.h +++ b/src/jumper/SkJumper.h @@ -61,11 +61,6 @@ static const int SkJumper_kMaxStride = 8; -struct SkJumper_constants { - float iota_F [SkJumper_kMaxStride]; // 0,1,2,3,4,... - uint32_t iota_U32[SkJumper_kMaxStride]; // 0,1,2,3,4,... -}; - struct SkJumper_MemoryCtx { void* pixels; int stride; |