diff options
author | Brian Salomon <bsalomon@google.com> | 2017-02-12 09:28:54 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-02-13 15:32:00 +0000 |
commit | cb30bb2cb727e276792812c6390547dba474c831 (patch) | |
tree | 7da877f8f3dcd5faa520b0978715f8750d7498ac /src/gpu/effects/GrGaussianConvolutionFragmentProcessor.h | |
parent | d1a8bdfbb97647a2a46a5c179fc87fa3da1abd84 (diff) |
Remove GrFragmentProcessor::computeInvariantOutput
Change-Id: If475730103052c6097eb91be06808fb723b70bf8
Reviewed-on: https://skia-review.googlesource.com/8330
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/effects/GrGaussianConvolutionFragmentProcessor.h')
-rw-r--r-- | src/gpu/effects/GrGaussianConvolutionFragmentProcessor.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gpu/effects/GrGaussianConvolutionFragmentProcessor.h b/src/gpu/effects/GrGaussianConvolutionFragmentProcessor.h index 0bb9c5e1df..6d6e5b0ebd 100644 --- a/src/gpu/effects/GrGaussianConvolutionFragmentProcessor.h +++ b/src/gpu/effects/GrGaussianConvolutionFragmentProcessor.h @@ -9,7 +9,6 @@ #define GrGaussianConvolutionFragmentProcessor_DEFINED #include "Gr1DKernelEffect.h" -#include "GrInvariantOutput.h" /** * A 1D Gaussian convolution effect. The kernel is computed as an array of 2 * half-width weights. @@ -73,12 +72,6 @@ private: bool onIsEqual(const GrFragmentProcessor&) const override; - void onComputeInvariantOutput(GrInvariantOutput* inout) const override { - // If the texture was opaque we could know that the output color if we knew the sum of the - // kernel values. - inout->mulByUnknownFourComponents(); - } - GR_DECLARE_FRAGMENT_PROCESSOR_TEST; // TODO: Inline the kernel constants into the generated shader code. This may involve pulling |