|
When getGLInstance is called on a frag proc, the resulting GrGLFragmentProcessor will be the root of a tree of GrGLFragmentProcessors that mirrors the GrFragmentProcessor's tree. This allows setData() to be called recursively (removing the responsibility from compose shader) and allows gl instances direct access to their children gl instances so they can emit their code.
BUG= skia:4182
Committed: https://skia.googlesource.com/skia/+/b1daa86732fe70aa4630c89d75ff0fd619d77c77
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+320 lines, -235 lines) |
Patch |
|
M |
gm/dcshader.cpp
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
gyp/gpu.gypi
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/gpu/GrFragmentProcessor.h
|
View
|
1
2
3
4
5
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
include/gpu/effects/GrConstColorProcessor.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/effects/SkAlphaThresholdFilter.cpp
|
View
|
1
2
3
4
5
|
5 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/effects/SkArithmeticMode_gpu.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/effects/SkArithmeticMode_gpu.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/effects/SkBlurMaskFilter.cpp
|
View
|
1
2
3
4
5
|
9 chunks |
+12 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/effects/SkColorCubeFilter.cpp
|
View
|
1
2
3
4
5
|
5 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/effects/SkColorFilters.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/effects/SkColorMatrixFilter.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/effects/SkDisplacementMapEffect.cpp
|
View
|
1
2
3
4
5
|
4 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/effects/SkLightingImageFilter.cpp
|
View
|
1
2
3
4
5
|
10 chunks |
+19 lines, -15 lines |
0 comments
|
Download
|
|
M |
src/effects/SkLightingShader.cpp
|
View
|
1
2
3
4
5
|
4 chunks |
+11 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/effects/SkLumaColorFilter.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/effects/SkMagnifierImageFilter.cpp
|
View
|
1
2
3
4
5
|
5 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/effects/SkMorphologyImageFilter.cpp
|
View
|
1
2
3
4
5
|
5 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/effects/SkPerlinNoiseShader.cpp
|
View
|
1
2
3
4
5
|
4 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/effects/SkTableColorFilter.cpp
|
View
|
1
2
3
4
5
|
4 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/effects/gradients/SkGradientShader.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/effects/gradients/SkGradientShaderPriv.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/effects/gradients/SkLinearGradient.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/effects/gradients/SkRadialGradient.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/effects/gradients/SkSweepGradient.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/effects/gradients/SkTwoPointConicalGradient_gpu.cpp
|
View
|
1
2
3
4
5
|
22 chunks |
+35 lines, -30 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrProcessor.cpp
|
View
|
1
2
3
4
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrBicubicEffect.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrBicubicEffect.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrConfigConversionEffect.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrConfigConversionEffect.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrConstColorProcessor.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrConvexPolyEffect.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrConvexPolyEffect.cpp
|
View
|
1
2
3
4
5
|
8 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrConvolutionEffect.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrConvolutionEffect.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrCustomXfermode.cpp
|
View
|
1
2
3
4
5
|
4 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrCustomXfermodePriv.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrDitherEffect.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrMatrixConvolutionEffect.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrMatrixConvolutionEffect.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrOvalEffect.cpp
|
View
|
1
2
3
4
5
|
10 chunks |
+12 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrRRectEffect.cpp
|
View
|
1
2
3
4
5
|
10 chunks |
+12 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrSimpleTextureEffect.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrSimpleTextureEffect.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrTextureDomain.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrTextureDomain.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrYUVtoRGBEffect.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLFragmentProcessor.h
|
View
|
1
2
3
4
|
2 chunks |
+24 lines, -8 lines |
0 comments
|
Download
|
|
A |
src/gpu/gl/GrGLFragmentProcessor.cpp
|
View
|
1
2
3
4
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLProgram.cpp
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tests/GLProgramsTest.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Depends on Patchset:
Dependent Patchsets:
Total messages: 10 (3 generated)
|