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

Issue 1490283004: Create GLSLUniformHandler class for gpu backend (Closed)

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

Description

Create GLSLUniformHandler class for gpu backend BUG=skia: Committed: https://skia.googlesource.com/skia/+/7ea439b2203855db97330b25945b87dd4b170b8b

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : clean up public api of uniformhandler #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1002 lines, -847 lines) Patch
M experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.cpp View 3 chunks +23 lines, -21 lines 0 comments Download
M gyp/gpu.gypi View 2 chunks +3 lines, -0 lines 0 comments Download
M src/core/SkLightingShader.cpp View 2 chunks +15 lines, -13 lines 0 comments Download
M src/effects/GrCircleBlurFragmentProcessor.cpp View 2 chunks +7 lines, -6 lines 0 comments Download
M src/effects/SkAlphaThresholdFilter.cpp View 3 chunks +10 lines, -9 lines 0 comments Download
M src/effects/SkArithmeticMode_gpu.cpp View 3 chunks +11 lines, -11 lines 0 comments Download
M src/effects/SkBlurMaskFilter.cpp View 3 chunks +27 lines, -25 lines 0 comments Download
M src/effects/SkColorCubeFilter.cpp View 2 chunks +10 lines, -9 lines 0 comments Download
M src/effects/SkColorMatrixFilter.cpp View 3 chunks +10 lines, -9 lines 0 comments Download
M src/effects/SkDisplacementMapEffect.cpp View 3 chunks +5 lines, -4 lines 0 comments Download
M src/effects/SkLightingImageFilter.cpp View 1 18 chunks +72 lines, -67 lines 0 comments Download
M src/effects/SkLumaColorFilter.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M src/effects/SkMagnifierImageFilter.cpp View 2 chunks +18 lines, -17 lines 0 comments Download
M src/effects/SkMorphologyImageFilter.cpp View 2 chunks +10 lines, -9 lines 0 comments Download
M src/effects/SkPerlinNoiseShader.cpp View 2 chunks +10 lines, -9 lines 0 comments Download
M src/effects/SkTableColorFilter.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M src/effects/gradients/SkGradientShader.cpp View 6 chunks +30 lines, -29 lines 0 comments Download
M src/effects/gradients/SkGradientShaderPriv.h View 1 chunk +3 lines, -3 lines 0 comments Download
M src/effects/gradients/SkLinearGradient.cpp View 2 chunks +5 lines, -4 lines 0 comments Download
M src/effects/gradients/SkRadialGradient.cpp View 2 chunks +5 lines, -4 lines 0 comments Download
M src/effects/gradients/SkSweepGradient.cpp View 3 chunks +5 lines, -4 lines 0 comments Download
M src/effects/gradients/SkTwoPointConicalGradient_gpu.cpp View 1 12 chunks +57 lines, -49 lines 0 comments Download
M src/gpu/GrDefaultGeoProcFactory.cpp View 6 chunks +17 lines, -16 lines 0 comments Download
M src/gpu/GrFragmentProcessor.cpp View 2 chunks +7 lines, -4 lines 0 comments Download
M src/gpu/GrOvalRenderer.cpp View 7 chunks +20 lines, -17 lines 0 comments Download
M src/gpu/GrPathProcessor.cpp View 3 chunks +7 lines, -7 lines 0 comments Download
M src/gpu/batches/GrAAConvexPathRenderer.cpp View 1 3 chunks +9 lines, -6 lines 0 comments Download
M src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/effects/GrBezierEffect.cpp View 9 chunks +33 lines, -28 lines 0 comments Download
M src/gpu/effects/GrBicubicEffect.cpp View 3 chunks +11 lines, -9 lines 0 comments Download
M src/gpu/effects/GrBitmapTextGeoProc.cpp View 3 chunks +7 lines, -6 lines 0 comments Download
M src/gpu/effects/GrConfigConversionEffect.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/effects/GrConstColorProcessor.cpp View 2 chunks +6 lines, -4 lines 0 comments Download
M src/gpu/effects/GrConvexPolyEffect.cpp View 3 chunks +12 lines, -12 lines 0 comments Download
M src/gpu/effects/GrConvolutionEffect.cpp View 4 chunks +14 lines, -13 lines 0 comments Download
M src/gpu/effects/GrCoverageSetOpXP.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M src/gpu/effects/GrCustomXfermode.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M src/gpu/effects/GrDashingEffect.cpp View 5 chunks +11 lines, -11 lines 0 comments Download
M src/gpu/effects/GrDisableColorXP.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/effects/GrDistanceFieldGeoProc.cpp View 9 chunks +30 lines, -28 lines 0 comments Download
M src/gpu/effects/GrDitherEffect.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/effects/GrMatrixConvolutionEffect.cpp View 4 chunks +24 lines, -19 lines 0 comments Download
M src/gpu/effects/GrOvalEffect.cpp View 3 chunks +9 lines, -9 lines 0 comments Download
M src/gpu/effects/GrPorterDuffXferProcessor.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M src/gpu/effects/GrRRectEffect.cpp View 5 chunks +20 lines, -17 lines 0 comments Download
M src/gpu/effects/GrSimpleTextureEffect.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/effects/GrTextureDomain.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/gpu/effects/GrTextureDomain.cpp View 4 chunks +8 lines, -6 lines 0 comments Download
M src/gpu/effects/GrXfermodeFragmentProcessor.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/effects/GrYUVtoRGBEffect.cpp View 2 chunks +6 lines, -4 lines 0 comments Download
M src/gpu/gl/GrGLProgram.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M src/gpu/gl/GrGLProgramDataManager.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/gl/GrGLProgramDataManager.cpp View 2 chunks +3 lines, -2 lines 0 comments Download
A src/gpu/gl/GrGLUniformHandler.h View 1 2 1 chunk +61 lines, -0 lines 0 comments Download
A src/gpu/gl/GrGLUniformHandler.cpp View 1 chunk +90 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLVaryingHandler.h View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/gl/builders/GrGLProgramBuilder.h View 4 chunks +5 lines, -24 lines 0 comments Download
M src/gpu/gl/builders/GrGLProgramBuilder.cpp View 1 2 10 chunks +24 lines, -77 lines 0 comments Download
M src/gpu/glsl/GrGLSLFragmentProcessor.h View 2 chunks +7 lines, -6 lines 0 comments Download
M src/gpu/glsl/GrGLSLFragmentProcessor.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp View 1 2 2 chunks +2 lines, -7 lines 0 comments Download
M src/gpu/glsl/GrGLSLGeometryProcessor.h View 3 chunks +10 lines, -10 lines 0 comments Download
M src/gpu/glsl/GrGLSLGeometryProcessor.cpp View 1 2 6 chunks +16 lines, -17 lines 0 comments Download
M src/gpu/glsl/GrGLSLPrimitiveProcessor.h View 5 chunks +8 lines, -7 lines 0 comments Download
M src/gpu/glsl/GrGLSLPrimitiveProcessor.cpp View 2 chunks +10 lines, -8 lines 0 comments Download
M src/gpu/glsl/GrGLSLProgramBuilder.h View 1 2 3 chunks +23 lines, -116 lines 0 comments Download
M src/gpu/glsl/GrGLSLProgramBuilder.cpp View 1 2 1 chunk +22 lines, -1 line 0 comments Download
M src/gpu/glsl/GrGLSLShaderBuilder.cpp View 1 2 chunks +3 lines, -2 lines 0 comments Download
A src/gpu/glsl/GrGLSLUniformHandler.h View 1 2 1 chunk +79 lines, -0 lines 0 comments Download
M src/gpu/glsl/GrGLSLVertexShaderBuilder.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/gpu/glsl/GrGLSLVertexShaderBuilder.cpp View 1 2 2 chunks +4 lines, -5 lines 0 comments Download
M src/gpu/glsl/GrGLSLXferProcessor.h View 5 chunks +9 lines, -8 lines 0 comments Download
M src/gpu/glsl/GrGLSLXferProcessor.cpp View 4 chunks +14 lines, -13 lines 0 comments Download

Messages

Total messages: 16 (3 generated)
egdaniel
5 years ago (2015-12-02 21:17:28 UTC) #2
joshualitt
On 2015/12/02 21:17:28, egdaniel wrote: I did look at every file, was there any actual ...
5 years ago (2015-12-02 21:41:08 UTC) #3
egdaniel
On 2015/12/02 21:41:08, joshualitt wrote: > On 2015/12/02 21:17:28, egdaniel wrote: > > I did ...
5 years ago (2015-12-02 22:29:37 UTC) #4
bsalomon
https://codereview.chromium.org/1490283004/diff/20001/src/effects/SkArithmeticMode_gpu.cpp File src/effects/SkArithmeticMode_gpu.cpp (right): https://codereview.chromium.org/1490283004/diff/20001/src/effects/SkArithmeticMode_gpu.cpp#newcode68 src/effects/SkArithmeticMode_gpu.cpp:68: fKUni = args.fUniformHandler->addUniform(GrGLSLUniformHandler::kFragment_Visibility, Just wondering if it'd make sense ...
5 years ago (2015-12-02 23:07:25 UTC) #5
egdaniel
https://codereview.chromium.org/1490283004/diff/20001/src/effects/SkArithmeticMode_gpu.cpp File src/effects/SkArithmeticMode_gpu.cpp (right): https://codereview.chromium.org/1490283004/diff/20001/src/effects/SkArithmeticMode_gpu.cpp#newcode68 src/effects/SkArithmeticMode_gpu.cpp:68: fKUni = args.fUniformHandler->addUniform(GrGLSLUniformHandler::kFragment_Visibility, On 2015/12/02 23:07:25, bsalomon wrote: > ...
5 years ago (2015-12-02 23:56:40 UTC) #6
bsalomon
On 2015/12/02 23:56:40, egdaniel wrote: > https://codereview.chromium.org/1490283004/diff/20001/src/effects/SkArithmeticMode_gpu.cpp > File src/effects/SkArithmeticMode_gpu.cpp (right): > > https://codereview.chromium.org/1490283004/diff/20001/src/effects/SkArithmeticMode_gpu.cpp#newcode68 > ...
5 years ago (2015-12-03 00:15:55 UTC) #7
egdaniel
On 2015/12/03 00:15:55, bsalomon wrote: > On 2015/12/02 23:56:40, egdaniel wrote: > > > https://codereview.chromium.org/1490283004/diff/20001/src/effects/SkArithmeticMode_gpu.cpp ...
5 years ago (2015-12-03 00:41:01 UTC) #8
bsalomon
https://codereview.chromium.org/1490283004/diff/20001/src/gpu/glsl/GrGLSLUniformHandler.h File src/gpu/glsl/GrGLSLUniformHandler.h (right): https://codereview.chromium.org/1490283004/diff/20001/src/gpu/glsl/GrGLSLUniformHandler.h#newcode62 src/gpu/glsl/GrGLSLUniformHandler.h:62: void addRTAdjustmentUniform(GrSLPrecision precision, const char* name, const char** outName) ...
5 years ago (2015-12-03 14:23:19 UTC) #9
egdaniel
ptal. I believe this new update should address your worries about the public functions on ...
5 years ago (2015-12-03 15:14:57 UTC) #10
egdaniel
besides moving a couple things to private, the main change is that the ProgramBuilder now ...
5 years ago (2015-12-03 15:16:23 UTC) #11
bsalomon
On 2015/12/03 15:16:23, egdaniel wrote: > besides moving a couple things to private, the main ...
5 years ago (2015-12-03 16:05:23 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1490283004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1490283004/40001
5 years ago (2015-12-03 16:07:42 UTC) #14
commit-bot: I haz the power
5 years ago (2015-12-03 17:20:48 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/7ea439b2203855db97330b25945b87dd4b170b8b

Powered by Google App Engine
This is Rietveld 408576698