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

Issue 1266633003: Added registerChild; transforms, textures, glKey automatically handled. (Closed)

Created:
5 years, 4 months ago by wangyix
Modified:
5 years, 4 months ago
CC:
reviews_skia.org, tomhudson
Base URL:
https://skia.googlesource.com/skia@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Added registerChild; transforms, textures, glKey automatically handled. BUG=skia: Committed: https://skia.googlesource.com/skia/+/4b3050b410254d0cb38df9a30ae2e209124fa1a2

Patch Set 1 #

Total comments: 16

Patch Set 2 : refactored to onGetGLProcessorKey; removed emitSamplers specialized template; fixed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -156 lines) Patch
M gm/dcshader.cpp View 1 2 chunks +3 lines, -3 lines 0 comments Download
M include/gpu/GrFragmentProcessor.h View 1 5 chunks +45 lines, -4 lines 0 comments Download
M include/gpu/effects/GrConstColorProcessor.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/effects/SkAlphaThresholdFilter.cpp View 1 3 chunks +3 lines, -3 lines 0 comments Download
M src/effects/SkArithmeticMode_gpu.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/effects/SkArithmeticMode_gpu.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkBlurMaskFilter.cpp View 1 5 chunks +9 lines, -8 lines 0 comments Download
M src/effects/SkColorCubeFilter.cpp View 1 3 chunks +4 lines, -4 lines 0 comments Download
M src/effects/SkColorFilters.cpp View 1 2 chunks +5 lines, -5 lines 0 comments Download
M src/effects/SkColorMatrixFilter.cpp View 1 2 chunks +5 lines, -5 lines 0 comments Download
M src/effects/SkDisplacementMapEffect.cpp View 1 2 chunks +5 lines, -5 lines 0 comments Download
M src/effects/SkLightingImageFilter.cpp View 1 4 chunks +6 lines, -6 lines 0 comments Download
M src/effects/SkLightingShader.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkLumaColorFilter.cpp View 1 2 chunks +5 lines, -5 lines 0 comments Download
M src/effects/SkMagnifierImageFilter.cpp View 1 3 chunks +3 lines, -3 lines 0 comments Download
M src/effects/SkMorphologyImageFilter.cpp View 1 3 chunks +3 lines, -3 lines 0 comments Download
M src/effects/SkPerlinNoiseShader.cpp View 1 2 chunks +5 lines, -5 lines 0 comments Download
M src/effects/SkTableColorFilter.cpp View 1 2 chunks +3 lines, -3 lines 0 comments Download
M src/effects/gradients/SkLinearGradient.cpp View 1 2 chunks +6 lines, -5 lines 0 comments Download
M src/effects/gradients/SkRadialGradient.cpp View 1 2 chunks +5 lines, -5 lines 0 comments Download
M src/effects/gradients/SkSweepGradient.cpp View 1 2 chunks +6 lines, -5 lines 0 comments Download
M src/effects/gradients/SkTwoPointConicalGradient_gpu.cpp View 1 14 chunks +16 lines, -16 lines 0 comments Download
M src/gpu/GrProcessor.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M src/gpu/effects/GrBicubicEffect.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M src/gpu/effects/GrBicubicEffect.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/effects/GrConfigConversionEffect.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/effects/GrConfigConversionEffect.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/effects/GrConstColorProcessor.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/effects/GrConvexPolyEffect.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/effects/GrConvexPolyEffect.cpp View 1 3 chunks +3 lines, -3 lines 0 comments Download
M src/gpu/effects/GrConvolutionEffect.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/effects/GrConvolutionEffect.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/effects/GrCustomXfermode.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/effects/GrCustomXfermodePriv.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/effects/GrDitherEffect.cpp View 1 3 chunks +3 lines, -3 lines 0 comments Download
M src/gpu/effects/GrMatrixConvolutionEffect.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/effects/GrMatrixConvolutionEffect.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/effects/GrOvalEffect.cpp View 1 6 chunks +6 lines, -6 lines 0 comments Download
M src/gpu/effects/GrRRectEffect.cpp View 1 6 chunks +6 lines, -6 lines 0 comments Download
M src/gpu/effects/GrSimpleTextureEffect.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/effects/GrSimpleTextureEffect.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/effects/GrTextureDomain.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/effects/GrTextureDomain.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/effects/GrYUVtoRGBEffect.cpp View 1 2 chunks +5 lines, -5 lines 0 comments Download
M src/gpu/gl/GrGLProgramDesc.cpp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/gl/builders/GrGLProgramBuilder.cpp View 1 3 chunks +16 lines, -5 lines 0 comments Download
M tests/GLProgramsTest.cpp View 1 2 chunks +4 lines, -5 lines 0 comments Download

Messages

Total messages: 25 (10 generated)
wangyix
5 years, 4 months ago (2015-07-31 21:16:14 UTC) #2
joshualitt
https://codereview.chromium.org/1266633003/diff/1/include/gpu/GrFragmentProcessor.h File include/gpu/GrFragmentProcessor.h (right): https://codereview.chromium.org/1266633003/diff/1/include/gpu/GrFragmentProcessor.h#newcode30 include/gpu/GrFragmentProcessor.h:30: virtual void getGLProcessorKey(const GrGLSLCaps& caps, Lets rename all of ...
5 years, 4 months ago (2015-08-03 14:06:02 UTC) #3
wangyix
https://codereview.chromium.org/1266633003/diff/1/include/gpu/GrFragmentProcessor.h File include/gpu/GrFragmentProcessor.h (right): https://codereview.chromium.org/1266633003/diff/1/include/gpu/GrFragmentProcessor.h#newcode30 include/gpu/GrFragmentProcessor.h:30: virtual void getGLProcessorKey(const GrGLSLCaps& caps, On 2015/08/03 14:06:02, joshualitt ...
5 years, 4 months ago (2015-08-03 16:12:47 UTC) #5
bsalomon
I haven't looked in detail at the rest of the files, but had a style ...
5 years, 4 months ago (2015-08-03 17:07:08 UTC) #6
joshualitt
On 2015/08/03 17:07:08, bsalomon wrote: > I haven't looked in detail at the rest of ...
5 years, 4 months ago (2015-08-03 17:41:06 UTC) #7
wangyix
5 years, 4 months ago (2015-08-03 19:14:21 UTC) #10
joshualitt
On 2015/08/03 19:14:21, wangyix wrote: lgtm
5 years, 4 months ago (2015-08-03 19:23:41 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1266633003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1266633003/80001
5 years, 4 months ago (2015-08-03 19:26:32 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/1569)
5 years, 4 months ago (2015-08-03 19:27:35 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1266633003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1266633003/80001
5 years, 4 months ago (2015-08-03 19:44:35 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/1571)
5 years, 4 months ago (2015-08-03 19:45:55 UTC) #20
joshualitt
On 2015/08/03 19:45:55, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years, 4 months ago (2015-08-03 19:47:11 UTC) #21
bsalomon
lgtm, but I'd like there to be a follow up to make the names more ...
5 years, 4 months ago (2015-08-04 14:51:03 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1266633003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1266633003/80001
5 years, 4 months ago (2015-08-04 14:58:59 UTC) #24
commit-bot: I haz the power
5 years, 4 months ago (2015-08-04 14:59:40 UTC) #25
Message was sent while issue was closed.
Committed patchset #2 (id:80001) as
https://skia.googlesource.com/skia/+/4b3050b410254d0cb38df9a30ae2e209124fa1a2

Powered by Google App Engine
This is Rietveld 408576698