|
Refactor GrGLUniformManager::UniformHandle to initialize itself by default
Refactor GrGLUniformManager::UniformHandle to initialize itself to
"invalid" state by default. This simplifies the effect
constructors. In the future, it should also help catch potential
uninitialized uniform variable usage.
Remove unneeded explicit uniform handle validity assertions before the
handle usage. The assertion will always be made when handle is
converted to index.
BUG= skia:1492
Committed: http://code.google.com/p/skia/source/detail?r=10713
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+76 lines, -105 lines) |
Patch |
|
M |
src/effects/SkBicubicImageFilter.cpp
|
View
|
2
3
4
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/effects/SkColorMatrixFilter.cpp
|
View
|
2
3
4
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/effects/SkLightingImageFilter.cpp
|
View
|
2
3
4
|
4 chunks |
+2 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/effects/SkMagnifierImageFilter.cpp
|
View
|
2
3
4
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/effects/SkMatrixConvolutionImageFilter.cpp
|
View
|
2
3
4
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/effects/SkMorphologyImageFilter.cpp
|
View
|
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/effects/gradients/SkGradientShader.cpp
|
View
|
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/effects/gradients/SkTwoPointConicalGradient.cpp
|
View
|
2
3
4
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/effects/gradients/SkTwoPointRadialGradient.cpp
|
View
|
2
3
4
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrConvolutionEffect.cpp
|
View
|
2
3
4
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrTextureDomainEffect.cpp
|
View
|
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLEffectMatrix.h
|
View
|
2
3
4
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLEffectMatrix.cpp
|
View
|
2
3
4
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLProgram.h
|
View
|
2
3
4
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLProgram.cpp
|
View
|
1
2
3
4
|
9 chunks |
+11 lines, -20 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLShaderBuilder.h
|
View
|
1
2
3
4
|
5 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLShaderBuilder.cpp
|
View
|
1
2
3
4
|
5 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLUniformHandle.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLUniformManager.h
|
View
|
1
2
3
4
|
2 chunks |
+28 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLUniformManager.cpp
|
View
|
1
2
3
4
|
14 chunks |
+19 lines, -14 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGpuGL_program.cpp
|
View
|
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|