diff options
author | Florin Malita <fmalita@chromium.org> | 2017-05-26 11:09:01 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-05-26 18:31:18 +0000 |
commit | eb9f278e8c5af0fe4c39df3d5647b7ea1441d861 (patch) | |
tree | c2a7021f42a360c58441ac62f53275b33e500eef /src/core/SkBitmapProcShader.cpp | |
parent | a1fab3cec2b4a1de4caf115520b8e5c63f6e32db (diff) |
Delete onChooseBlitProcs() and related code
All dead code now.
Change-Id: I3d88103fef90d9e2ceee8b13db143ac9704689f5
Reviewed-on: https://skia-review.googlesource.com/18034
Reviewed-by: Herb Derby <herb@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'src/core/SkBitmapProcShader.cpp')
-rw-r--r-- | src/core/SkBitmapProcShader.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/core/SkBitmapProcShader.cpp b/src/core/SkBitmapProcShader.cpp index e52982354d..5410447d6d 100644 --- a/src/core/SkBitmapProcShader.cpp +++ b/src/core/SkBitmapProcShader.cpp @@ -145,33 +145,10 @@ public: } } - bool onChooseBlitProcs(const SkImageInfo& dstInfo, BlitState* state) override { - if ((fBlitterPipeline = SkLinearBitmapPipeline::ClonePipelineForBlitting( - *fShaderPipeline, - fMatrixTypeMask, - fFilterQuality, fSrcPixmap, - fAlpha, state->fMode, dstInfo, fAllocator))) - { - state->fStorage[0] = fBlitterPipeline; - state->fBlitBW = &LinearPipelineContext::ForwardToPipeline; - - return true; - } - - return false; - } - - static void ForwardToPipeline(BlitState* state, int x, int y, const SkPixmap& dst, int count) { - SkLinearBitmapPipeline* pipeline = static_cast<SkLinearBitmapPipeline*>(state->fStorage[0]); - void* addr = dst.writable_addr32(x, y); - pipeline->blitSpan(x, y, addr, count); - } - private: // Store the allocator from the context creation incase we are asked to build a blitter. SkArenaAlloc* fAllocator; SkLinearBitmapPipeline* fShaderPipeline; - SkLinearBitmapPipeline* fBlitterPipeline; SkXfermode::D32Proc fSrcModeProc; SkPixmap fSrcPixmap; float fAlpha; |