|
Adds local coords to GrEffect system.
Effects can ask the builder for local coords which may or may not be distinct from positions.
GrEffectStage tracks changes to relationship between pos and local coords.
GrGLEffectMatrix and GrSingleTextureEffect can use either pos or textures as intput coords
GrSimpleTextureEffect now allows for an explicit texture coords attribute.
Committed: https://code.google.com/p/skia/source/detail?r=8264
Total comments: 15
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+991 lines, -853 lines) |
Patch |
|
M |
include/core/SkTLazy.h
|
View
|
1
2
3
|
3 chunks |
+21 lines, -1 line |
0 comments
|
Download
|
|
M |
include/gpu/GrBackendEffectFactory.h
|
View
|
1
2
3
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
include/gpu/GrContext.h
|
View
|
1
2
3
|
3 chunks |
+13 lines, -15 lines |
0 comments
|
Download
|
|
A |
include/gpu/GrDrawEffect.h
|
View
|
|
1 chunk |
+51 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/gpu/GrEffect.h
|
View
|
1
2
3
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/gpu/GrEffectStage.h
|
View
|
1
2
3
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
include/gpu/GrPaint.h
|
View
|
1
2
3
|
2 chunks |
+45 lines, -48 lines |
0 comments
|
Download
|
|
M |
include/gpu/GrTBackendEffectFactory.h
|
View
|
1
2
3
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/effects/SkBicubicImageFilter.cpp
|
View
|
1
2
3
|
4 chunks |
+18 lines, -18 lines |
0 comments
|
Download
|
|
M |
src/effects/SkBlendImageFilter.cpp
|
View
|
1
2
3
|
4 chunks |
+28 lines, -25 lines |
0 comments
|
Download
|
|
M |
src/effects/SkColorMatrixFilter.cpp
|
View
|
1
2
3
|
2 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/effects/SkDisplacementMapEffect.cpp
|
View
|
1
2
3
|
6 chunks |
+33 lines, -26 lines |
0 comments
|
Download
|
|
M |
src/effects/SkLightingImageFilter.cpp
|
View
|
1
2
3
|
13 chunks |
+47 lines, -48 lines |
0 comments
|
Download
|
|
M |
src/effects/SkMagnifierImageFilter.cpp
|
View
|
1
2
3
|
3 chunks |
+18 lines, -17 lines |
0 comments
|
Download
|
|
M |
src/effects/SkMatrixConvolutionImageFilter.cpp
|
View
|
1
2
3
|
5 chunks |
+27 lines, -28 lines |
0 comments
|
Download
|
|
M |
src/effects/SkMorphologyImageFilter.cpp
|
View
|
1
2
3
|
4 chunks |
+19 lines, -17 lines |
0 comments
|
Download
|
|
M |
src/effects/SkTableColorFilter.cpp
|
View
|
1
2
3
|
2 chunks |
+7 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/effects/gradients/SkGradientShader.cpp
|
View
|
1
2
3
|
3 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/effects/gradients/SkGradientShaderPriv.h
|
View
|
1
2
3
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/effects/gradients/SkLinearGradient.cpp
|
View
|
1
2
3
|
2 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/effects/gradients/SkRadialGradient.cpp
|
View
|
1
2
3
|
2 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/effects/gradients/SkSweepGradient.cpp
|
View
|
1
2
3
|
2 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/effects/gradients/SkTwoPointConicalGradient.cpp
|
View
|
1
2
3
|
5 chunks |
+16 lines, -17 lines |
0 comments
|
Download
|
|
M |
src/effects/gradients/SkTwoPointRadialGradient.cpp
|
View
|
1
2
3
|
6 chunks |
+16 lines, -16 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrClipMaskManager.cpp
|
View
|
1
2
3
|
3 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrContext.cpp
|
View
|
1
2
3
|
5 chunks |
+23 lines, -28 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrDrawState.h
|
View
|
1
2
3
|
10 chunks |
+24 lines, -79 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrDrawState.cpp
|
View
|
1
2
3
|
9 chunks |
+7 lines, -59 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrDrawTarget.h
|
View
|
1
2
3
|
2 chunks |
+12 lines, -17 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrDrawTarget.cpp
|
View
|
1
2
3
|
3 chunks |
+12 lines, -15 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrInOrderDrawBuffer.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrInOrderDrawBuffer.cpp
|
View
|
1
2
3
|
5 chunks |
+14 lines, -19 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrSWMaskHelper.cpp
|
View
|
1
2
3
|
1 chunk |
+18 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrTextContext.cpp
|
View
|
1
2
3
|
4 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrConfigConversionEffect.cpp
|
View
|
1
2
3
|
2 chunks |
+16 lines, -19 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrConvolutionEffect.cpp
|
View
|
1
2
3
|
4 chunks |
+19 lines, -17 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrEllipseEdgeEffect.cpp
|
View
|
1
2
3
|
3 chunks |
+10 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrSimpleTextureEffect.h
|
View
|
1
2
3
|
2 chunks |
+52 lines, -15 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrSimpleTextureEffect.cpp
|
View
|
1
2
3
|
2 chunks |
+69 lines, -19 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrSingleTextureEffect.h
|
View
|
1
2
3
|
3 chunks |
+17 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrSingleTextureEffect.cpp
|
View
|
1
2
3
|
1 chunk |
+15 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrTextureDomainEffect.h
|
View
|
1
2
3
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrTextureDomainEffect.cpp
|
View
|
1
2
3
|
11 chunks |
+45 lines, -32 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLEffect.h
|
View
|
1
2
3
|
5 chunks |
+16 lines, -34 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLEffect.cpp
|
View
|
1
2
3
|
3 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLEffectMatrix.h
|
View
|
1
2
3
|
3 chunks |
+45 lines, -20 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLEffectMatrix.cpp
|
View
|
1
2
3
|
6 chunks |
+55 lines, -31 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLProgram.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLProgram.cpp
|
View
|
1
2
3
|
12 chunks |
+23 lines, -38 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLShaderBuilder.h
|
View
|
1
2
3
|
4 chunks |
+13 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLShaderBuilder.cpp
|
View
|
1
2
3
|
6 chunks |
+15 lines, -5 lines |
0 comments
|
Download
|
|
M |
tests/GLProgramsTest.cpp
|
View
|
1
2
3
|
3 chunks |
+12 lines, -9 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|