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

Issue 1245183002: Misc cleanup (Closed)

Created:
5 years, 5 months ago by robertphillips
Modified:
5 years, 5 months ago
Reviewers:
bsalomon, brucedawson
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Misc cleanup This is split off of https://codereview.chromium.org/1225923010/ (Start tightening correspondence betweeen GrDrawContext and GrRenderTarget). It: fixes some style nits replaces some passing of GrContext with GrTextureProvider & GrDrawContext does a bit of the finer grained creation of GrDrawContexts Committed: https://skia.googlesource.com/skia/+/ff0ca5ed825d9106edc2df6ab3865e1c17c326bf

Patch Set 1 #

Patch Set 2 : cleanup #

Patch Set 3 : clean up #

Patch Set 4 : update #

Patch Set 5 : update #

Patch Set 6 : update #

Total comments: 1

Patch Set 7 : Address gcc complaint #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -162 lines) Patch
M include/core/SkMaskFilter.h View 1 2 3 3 chunks +6 lines, -3 lines 0 comments Download
M src/core/SkMaskFilter.cpp View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M src/effects/SkBlurImageFilter.cpp View 1 2 3 4 5 4 chunks +7 lines, -5 lines 0 comments Download
M src/effects/SkBlurMaskFilter.cpp View 1 2 3 4 5 6 12 chunks +60 lines, -65 lines 0 comments Download
M src/effects/SkDisplacementMapEffect.cpp View 1 2 3 4 5 6 4 chunks +11 lines, -11 lines 0 comments Download
M src/effects/SkGpuBlurUtils.cpp View 1 2 3 4 5 6 chunks +70 lines, -19 lines 0 comments Download
M src/effects/SkMorphologyImageFilter.cpp View 1 2 3 4 5 6 7 chunks +31 lines, -22 lines 3 comments Download
M src/effects/SkXfermodeImageFilter.cpp View 1 2 3 4 3 chunks +9 lines, -9 lines 0 comments Download
M src/gpu/GrBlurUtils.cpp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/effects/GrConfigConversionEffect.cpp View 1 2 3 4 5 6 2 chunks +39 lines, -23 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
robertphillips
5 years, 5 months ago (2015-07-21 20:08:44 UTC) #2
robertphillips
ping
5 years, 5 months ago (2015-07-22 16:20:37 UTC) #3
bsalomon
pong https://codereview.chromium.org/1245183002/diff/100001/include/core/SkMaskFilter.h File include/core/SkMaskFilter.h (right): https://codereview.chromium.org/1245183002/diff/100001/include/core/SkMaskFilter.h#newcode100 include/core/SkMaskFilter.h:100: virtual bool directFilterMaskGPU(GrTextureProvider* texProvider, What do you think ...
5 years, 5 months ago (2015-07-22 16:29:17 UTC) #4
bsalomon
lgtm
5 years, 5 months ago (2015-07-22 16:46:50 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1245183002/100001
5 years, 5 months ago (2015-07-22 16:47:11 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot/builds/475) Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot on ...
5 years, 5 months ago (2015-07-22 16:48:03 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1245183002/120001
5 years, 5 months ago (2015-07-22 18:30:47 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-07-22 18:38:08 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1245183002/120001
5 years, 5 months ago (2015-07-22 18:54:18 UTC) #16
commit-bot: I haz the power
Committed patchset #7 (id:120001) as https://skia.googlesource.com/skia/+/ff0ca5ed825d9106edc2df6ab3865e1c17c326bf
5 years, 5 months ago (2015-07-22 18:54:47 UTC) #17
brucedawson
Note that /analyze pointed out some (benign) variable shadowing. https://codereview.chromium.org/1245183002/diff/120001/src/effects/SkMorphologyImageFilter.cpp File src/effects/SkMorphologyImageFilter.cpp (right): https://codereview.chromium.org/1245183002/diff/120001/src/effects/SkMorphologyImageFilter.cpp#newcode675 src/effects/SkMorphologyImageFilter.cpp:675: ...
5 years, 5 months ago (2015-07-23 17:52:12 UTC) #19
robertphillips
5 years, 5 months ago (2015-07-23 18:35:29 UTC) #20
Message was sent while issue was closed.
On 2015/07/23 17:52:12, brucedawson wrote:
> Note that /analyze pointed out some (benign) variable shadowing.
> 
>
https://codereview.chromium.org/1245183002/diff/120001/src/effects/SkMorpholo...
> File src/effects/SkMorphologyImageFilter.cpp (right):
> 
>
https://codereview.chromium.org/1245183002/diff/120001/src/effects/SkMorpholo...
> src/effects/SkMorphologyImageFilter.cpp:675: GrTexture* dst =
> context->textureProvider()->refScratchTexture(
> 'dst' is a confusing variable name to use here because it shadows the function
> parameter of the same name. This appears to be harmless but it is confusing.
> 
>
https://codereview.chromium.org/1245183002/diff/120001/src/effects/SkMorpholo...
> src/effects/SkMorphologyImageFilter.cpp:699: GrTexture* dst =
> context->textureProvider()->refScratchTexture(desc,
> Ditto. FWIW.
> 
>
https://codereview.chromium.org/1245183002/diff/120001/src/effects/SkMorpholo...
> src/effects/SkMorphologyImageFilter.cpp:715:
> SkImageFilter::WrapTexture(srcTexture, rect.width(), rect.height(), dst);
> This appears to be the only one of the seven references to 'dst' which refers
to
> the function parameter.
 
Should be taken care of in: https://codereview.chromium.org/1245883005/ (Fix
variable shadowing in SkMorphologyImageFilter)

Powered by Google App Engine
This is Rietveld 408576698