aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/shaders/SkBitmapProcShader.h
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-07-20 08:59:19 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-07-20 16:45:52 +0000
commit0fddb2d7c17a953c0d3986e5f8bcfdeaf2cc401d (patch)
tree3ed6fbbb1d4aa8931233de5d4e2e9aa2ab224f8a /src/shaders/SkBitmapProcShader.h
parentedfe3dfb47bd3248a588c2eb89224f59939bd626 (diff)
Retry cleaning up SkLinearBitmapPipeline.
This is mostly dead code. In order to make it truly dead, we need to opt drawing unpremul images into SkRasterPipelineBlitter. They had been handled by SkLinearBitmapPipeline, but can't be draw by SkBitmapProcLegacyShader. Drawing unpremul images is tested by the GM all_variants_8888, which gave us trouble last time around (serialize-8888 drew right, 8888 wrong) but now draws fine. I think this was probably also the root of the revert, drawing some unpremul image in Chrome's tests somewhere. Change-Id: I453f9df44ade807316935921cbae82961e2f08aa Reviewed-on: https://skia-review.googlesource.com/24862 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/shaders/SkBitmapProcShader.h')
-rw-r--r--src/shaders/SkBitmapProcShader.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/shaders/SkBitmapProcShader.h b/src/shaders/SkBitmapProcShader.h
index 2a2599cb1d..7c5cdcfb8d 100644
--- a/src/shaders/SkBitmapProcShader.h
+++ b/src/shaders/SkBitmapProcShader.h
@@ -16,7 +16,6 @@ class SkBitmapProcLegacyShader : public SkShaderBase {
private:
friend class SkImageShader;
- static size_t ContextSize(const ContextRec&, const SkImageInfo& srcInfo);
static Context* MakeContext(const SkShaderBase&, TileMode tmx, TileMode tmy,
const SkBitmapProvider&, const ContextRec&, SkArenaAlloc* alloc);