Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(429)

Issue 643743003: Create helper functions to use in computeInvariantOutput calls (Closed)

Created:
6 years, 2 months ago by egdaniel
Modified:
6 years, 2 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Create helper functions to use in computeInvariantOutput calls BUG=skia: Committed: https://skia.googlesource.com/skia/+/ccb2e384a036f29d989d3c1468f879324e81a678

Patch Set 1 #

Patch Set 2 : Updates #

Patch Set 3 : Fixes #

Total comments: 16

Patch Set 4 : Update helper functions and make members private #

Patch Set 5 : Update blurMaskFilter #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -135 lines) Patch
M include/gpu/GrProcessor.h View 1 2 3 3 chunks +68 lines, -5 lines 0 comments Download
M src/core/SkXfermode.cpp View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M src/effects/SkAlphaThresholdFilter.cpp View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
M src/effects/SkArithmeticMode.cpp View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M src/effects/SkBlurMaskFilter.cpp View 1 2 3 4 3 chunks +3 lines, -5 lines 0 comments Download
M src/effects/SkColorCubeFilter.cpp View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M src/effects/SkColorFilters.cpp View 1 2 3 1 chunk +3 lines, -5 lines 0 comments Download
M src/effects/SkColorMatrixFilter.cpp View 1 2 3 1 chunk +5 lines, -6 lines 0 comments Download
M src/effects/SkDisplacementMapEffect.cpp View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M src/effects/SkLightingImageFilter.cpp View 1 1 chunk +1 line, -2 lines 0 comments Download
M src/effects/SkLumaColorFilter.cpp View 1 2 3 1 chunk +2 lines, -4 lines 0 comments Download
M src/effects/SkMagnifierImageFilter.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M src/effects/SkMorphologyImageFilter.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M src/effects/SkPerlinNoiseShader.cpp View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M src/effects/SkTableColorFilter.cpp View 1 2 3 1 chunk +6 lines, -5 lines 0 comments Download
M src/effects/gradients/SkGradientShader.cpp View 1 1 chunk +3 lines, -4 lines 0 comments Download
M src/gpu/GrAAConvexPathRenderer.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M src/gpu/GrAARectRenderer.cpp View 2 chunks +2 lines, -4 lines 0 comments Download
M src/gpu/GrOvalRenderer.cpp View 3 chunks +3 lines, -6 lines 0 comments Download
M src/gpu/effects/GrBezierEffect.h View 3 chunks +3 lines, -6 lines 0 comments Download
M src/gpu/effects/GrBicubicEffect.cpp View 1 chunk +1 line, -3 lines 0 comments Download
M src/gpu/effects/GrConfigConversionEffect.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/effects/GrConvexPolyEffect.cpp View 1 2 3 2 chunks +3 lines, -6 lines 0 comments Download
M src/gpu/effects/GrConvolutionEffect.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M src/gpu/effects/GrCustomCoordsTextureEffect.cpp View 1 1 chunk +3 lines, -4 lines 0 comments Download
M src/gpu/effects/GrDashingEffect.cpp View 2 chunks +2 lines, -4 lines 0 comments Download
M src/gpu/effects/GrDistanceFieldTextureEffect.cpp View 1 3 chunks +3 lines, -18 lines 0 comments Download
M src/gpu/effects/GrDitherEffect.cpp View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M src/gpu/effects/GrMatrixConvolutionEffect.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M src/gpu/effects/GrMatrixConvolutionEffect.cpp View 1 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/effects/GrOvalEffect.cpp View 2 chunks +2 lines, -4 lines 0 comments Download
M src/gpu/effects/GrRRectEffect.cpp View 2 chunks +2 lines, -4 lines 0 comments Download
M src/gpu/effects/GrSimpleTextureEffect.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/effects/GrSingleTextureEffect.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M src/gpu/effects/GrTextureDomain.cpp View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M src/gpu/effects/GrYUVtoRGBEffect.cpp View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M tests/GpuColorFilterTest.cpp View 1 2 3 1 chunk +3 lines, -5 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
egdaniel
So this change cleans up a lot of the calls to onComputeInvariantOutput in each effect. ...
6 years, 2 months ago (2014-10-10 17:51:08 UTC) #3
bsalomon
https://codereview.chromium.org/643743003/diff/320001/include/gpu/GrProcessor.h File include/gpu/GrProcessor.h (right): https://codereview.chromium.org/643743003/diff/320001/include/gpu/GrProcessor.h#newcode75 include/gpu/GrProcessor.h:75: void transparentBlackOutput() { setToTransparentBlack() ? https://codereview.chromium.org/643743003/diff/320001/include/gpu/GrProcessor.h#newcode81 include/gpu/GrProcessor.h:81: void unknownOutput() ...
6 years, 2 months ago (2014-10-10 19:48:17 UTC) #4
egdaniel
https://codereview.chromium.org/643743003/diff/320001/include/gpu/GrProcessor.h File include/gpu/GrProcessor.h (right): https://codereview.chromium.org/643743003/diff/320001/include/gpu/GrProcessor.h#newcode75 include/gpu/GrProcessor.h:75: void transparentBlackOutput() { On 2014/10/10 19:48:16, bsalomon wrote: > ...
6 years, 2 months ago (2014-10-13 16:44:58 UTC) #5
bsalomon
lgtm
6 years, 2 months ago (2014-10-13 17:56:54 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/643743003/510001
6 years, 2 months ago (2014-10-13 19:36:25 UTC) #8
commit-bot: I haz the power
6 years, 2 months ago (2014-10-13 19:53:52 UTC) #9
Message was sent while issue was closed.
Committed patchset #5 (id:510001) as ccb2e384a036f29d989d3c1468f879324e81a678

Powered by Google App Engine
This is Rietveld 408576698