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

Issue 491673002: Initial refactor of shaderbuilder (Closed)

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

Description

Initial refactor of shaderbuilder to prepare for geometry shaders gitignore for eclipse BUG=skia: Committed: https://skia.googlesource.com/skia/+/30ba436f04e61d4505fb854d5fc56079636e0788

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Patch Set 6 : Rebase #

Total comments: 4

Patch Set 7 : rebase #

Total comments: 3

Patch Set 8 : rebase, feedback inc #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3007 lines, -3172 lines) Patch
M .gitignore View 1 chunk +3 lines, -0 lines 0 comments Download
M gyp/gpu.gypi View 1 2 3 4 5 6 7 3 chunks +15 lines, -3 lines 0 comments Download
M include/core/SkString.h View 1 chunk +1 line, -0 lines 0 comments Download
M include/gpu/GrEffect.h View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkString.cpp View 1 chunk +8 lines, -0 lines 0 comments Download
M src/core/SkXfermode.cpp View 1 2 3 4 5 6 9 chunks +95 lines, -94 lines 0 comments Download
M src/effects/SkAlphaThresholdFilter.cpp View 1 2 3 4 5 6 4 chunks +23 lines, -21 lines 0 comments Download
M src/effects/SkArithmeticMode.cpp View 1 2 3 4 5 6 4 chunks +18 lines, -17 lines 0 comments Download
M src/effects/SkBlurMaskFilter.cpp View 1 2 3 4 5 6 7 chunks +58 lines, -55 lines 0 comments Download
M src/effects/SkColorFilters.cpp View 1 2 3 4 5 6 4 chunks +5 lines, -4 lines 0 comments Download
M src/effects/SkColorMatrixFilter.cpp View 1 2 3 4 5 6 3 chunks +9 lines, -8 lines 0 comments Download
M src/effects/SkDisplacementMapEffect.cpp View 1 2 3 4 5 6 6 chunks +23 lines, -22 lines 0 comments Download
M src/effects/SkLightingImageFilter.cpp View 1 2 3 4 5 6 25 chunks +76 lines, -69 lines 0 comments Download
M src/effects/SkLumaColorFilter.cpp View 1 2 3 4 5 6 3 chunks +5 lines, -4 lines 0 comments Download
M src/effects/SkMagnifierImageFilter.cpp View 1 2 3 4 5 6 3 chunks +31 lines, -30 lines 0 comments Download
M src/effects/SkMorphologyImageFilter.cpp View 1 2 3 4 5 6 4 chunks +16 lines, -15 lines 0 comments Download
M src/effects/SkPerlinNoiseShader.cpp View 1 2 3 4 5 6 13 chunks +35 lines, -34 lines 0 comments Download
M src/effects/SkTableColorFilter.cpp View 1 2 3 4 5 6 4 chunks +21 lines, -20 lines 0 comments Download
M src/effects/gradients/SkGradientShader.cpp View 1 2 3 4 5 6 7 4 chunks +26 lines, -25 lines 0 comments Download
M src/effects/gradients/SkGradientShaderPriv.h View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M src/effects/gradients/SkLinearGradient.cpp View 1 2 3 4 5 6 4 chunks +4 lines, -4 lines 0 comments Download
M src/effects/gradients/SkRadialGradient.cpp View 1 2 3 4 5 6 4 chunks +4 lines, -4 lines 0 comments Download
M src/effects/gradients/SkSweepGradient.cpp View 1 2 3 4 5 6 4 chunks +4 lines, -4 lines 0 comments Download
M src/effects/gradients/SkTwoPointConicalGradient_gpu.cpp View 24 chunks +56 lines, -51 lines 0 comments Download
M src/effects/gradients/SkTwoPointRadialGradient.cpp View 1 2 3 4 5 6 7 chunks +9 lines, -8 lines 0 comments Download
M src/gpu/GrAAConvexPathRenderer.cpp View 1 2 3 4 5 5 chunks +22 lines, -19 lines 0 comments Download
M src/gpu/GrAARectRenderer.cpp View 5 chunks +39 lines, -33 lines 0 comments Download
M src/gpu/GrOvalRenderer.cpp View 1 2 3 4 5 7 chunks +62 lines, -55 lines 0 comments Download
M src/gpu/effects/GrBezierEffect.cpp View 1 2 3 4 5 10 chunks +102 lines, -96 lines 0 comments Download
M src/gpu/effects/GrBicubicEffect.cpp View 6 chunks +16 lines, -15 lines 0 comments Download
M src/gpu/effects/GrConfigConversionEffect.cpp View 1 2 3 5 chunks +16 lines, -13 lines 0 comments Download
M src/gpu/effects/GrConvexPolyEffect.cpp View 7 chunks +34 lines, -31 lines 0 comments Download
M src/gpu/effects/GrConvolutionEffect.cpp View 4 chunks +17 lines, -15 lines 0 comments Download
M src/gpu/effects/GrCustomCoordsTextureEffect.cpp View 3 chunks +10 lines, -8 lines 0 comments Download
M src/gpu/effects/GrDashingEffect.cpp View 8 chunks +39 lines, -34 lines 0 comments Download
M src/gpu/effects/GrDistanceFieldTextureEffect.h View 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/effects/GrDistanceFieldTextureEffect.cpp View 1 2 3 4 5 8 chunks +107 lines, -99 lines 0 comments Download
M src/gpu/effects/GrDitherEffect.cpp View 4 chunks +7 lines, -6 lines 0 comments Download
M src/gpu/effects/GrMatrixConvolutionEffect.cpp View 5 chunks +27 lines, -25 lines 0 comments Download
M src/gpu/effects/GrOvalEffect.cpp View 7 chunks +29 lines, -25 lines 0 comments Download
M src/gpu/effects/GrRRectEffect.cpp View 10 chunks +71 lines, -67 lines 0 comments Download
M src/gpu/effects/GrSimpleTextureEffect.cpp View 2 chunks +6 lines, -5 lines 0 comments Download
M src/gpu/effects/GrTextureDomain.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/effects/GrTextureDomain.cpp View 7 chunks +37 lines, -34 lines 0 comments Download
M src/gpu/effects/GrYUVtoRGBEffect.cpp View 2 chunks +11 lines, -10 lines 0 comments Download
M src/gpu/gl/GrGLEffect.h View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/gl/GrGLProgram.h View 4 chunks +4 lines, -4 lines 0 comments Download
M src/gpu/gl/GrGLProgram.cpp View 1 2 3 2 chunks +4 lines, -5 lines 0 comments Download
M src/gpu/gl/GrGLProgramDataManager.h View 2 chunks +3 lines, -3 lines 0 comments Download
M src/gpu/gl/GrGLProgramDataManager.cpp View 3 chunks +5 lines, -5 lines 0 comments Download
M src/gpu/gl/GrGLProgramDesc.h View 1 chunk +6 lines, -3 lines 0 comments Download
M src/gpu/gl/GrGLProgramDesc.cpp View 2 chunks +5 lines, -4 lines 0 comments Download
M src/gpu/gl/GrGLProgramEffects.h View 16 chunks +25 lines, -29 lines 0 comments Download
M src/gpu/gl/GrGLProgramEffects.cpp View 1 2 3 4 14 chunks +28 lines, -38 lines 0 comments Download
D src/gpu/gl/GrGLSLPrettyPrint.cpp View 1 chunk +0 lines, -173 lines 0 comments Download
D src/gpu/gl/GrGLShaderBuilder.h View 1 chunk +0 lines, -517 lines 0 comments Download
D src/gpu/gl/GrGLShaderBuilder.cpp View 1 chunk +0 lines, -1071 lines 0 comments Download
M src/gpu/gl/GrGLVertexEffect.h View 1 chunk +4 lines, -4 lines 0 comments Download
M src/gpu/gl/GrGpuGL.cpp View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
A src/gpu/gl/builders/GrGLFragmentShaderBuilder.h View 1 2 3 4 5 1 chunk +118 lines, -0 lines 0 comments Download
A src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp View 1 2 3 4 5 6 7 1 chunk +351 lines, -0 lines 0 comments Download
A src/gpu/gl/builders/GrGLGeometryShaderBuilder.h View 1 2 3 4 5 1 chunk +32 lines, -0 lines 0 comments Download
A src/gpu/gl/builders/GrGLGeometryShaderBuilder.cpp View 1 2 3 4 5 6 7 8 1 chunk +70 lines, -0 lines 0 comments Download
A + src/gpu/gl/builders/GrGLProgramBuilder.h View 1 2 9 chunks +27 lines, -226 lines 0 comments Download
A src/gpu/gl/builders/GrGLProgramBuilder.cpp View 1 2 3 4 5 6 1 chunk +409 lines, -0 lines 0 comments Download
A + src/gpu/gl/builders/GrGLSLPrettyPrint.cpp View 0 chunks +-1 lines, --1 lines 0 comments Download
A src/gpu/gl/builders/GrGLShaderBuilder.h View 1 2 3 4 5 6 7 1 chunk +170 lines, -0 lines 0 comments Download
A src/gpu/gl/builders/GrGLShaderBuilder.cpp View 1 2 3 4 5 6 7 1 chunk +155 lines, -0 lines 0 comments Download
A src/gpu/gl/builders/GrGLShaderStringBuilder.h View 1 2 3 4 5 6 1 chunk +20 lines, -0 lines 0 comments Download
A src/gpu/gl/builders/GrGLShaderStringBuilder.cpp View 1 2 3 4 5 6 1 chunk +85 lines, -0 lines 0 comments Download
A src/gpu/gl/builders/GrGLVertexShaderBuilder.h View 1 2 3 4 5 1 chunk +81 lines, -0 lines 0 comments Download
A src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp View 1 2 3 4 5 6 7 1 chunk +200 lines, -0 lines 0 comments Download
M tests/GLProgramsTest.cpp View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
joshua.litt
Hey Brian, This is still really messy and preliminary, but if you could take a ...
6 years, 4 months ago (2014-08-20 00:15:47 UTC) #1
bsalomon
On 2014/08/20 at 00:15:47, joshualitt wrote: > Hey Brian, > > This is still really ...
6 years, 4 months ago (2014-08-21 14:09:40 UTC) #2
joshua.litt
On 2014/08/21 14:09:40, bsalomon wrote: > On 2014/08/20 at 00:15:47, joshualitt wrote: > > Hey ...
6 years, 4 months ago (2014-08-21 16:02:06 UTC) #3
joshua.litt
On 2014/08/21 16:02:06, joshua.litt wrote: > On 2014/08/21 14:09:40, bsalomon wrote: > > On 2014/08/20 ...
6 years, 4 months ago (2014-08-21 16:14:11 UTC) #4
bsalomon
Thanks for the explanation! It helped a lot. I've just looked through the builders dir. ...
6 years, 4 months ago (2014-08-21 17:18:00 UTC) #5
joshua.litt
Rebase + feedback incorporated
6 years, 4 months ago (2014-08-21 19:43:55 UTC) #6
bsalomon
lgtm with a couple nits https://codereview.chromium.org/491673002/diff/120001/gyp/gpu.gypi File gyp/gpu.gypi (right): https://codereview.chromium.org/491673002/diff/120001/gyp/gpu.gypi#newcode253 gyp/gpu.gypi:253: # Sk files Did ...
6 years, 4 months ago (2014-08-21 20:21:01 UTC) #7
joshua.litt
The CQ bit was checked by joshualitt@chromium.org
6 years, 4 months ago (2014-08-22 03:10:29 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/joshualitt@chromium.org/491673002/160001
6 years, 4 months ago (2014-08-22 03:10:52 UTC) #9
commit-bot: I haz the power
6 years, 4 months ago (2014-08-22 03:18:52 UTC) #10
Message was sent while issue was closed.
Committed patchset #9 (160001) as 30ba436f04e61d4505fb854d5fc56079636e0788

Powered by Google App Engine
This is Rietveld 408576698