|
Add a GrCustomCoordsTextureEffect class
Extracts a GrCustomCoordsTextureEffect class from
GrSimpleTextureEffect. This way there are no effects that can
conditionally require a vertex shader. They either always need one or
never do. Also removes kCustom_CoordsType from the CoordsType enum in
GrEffect (that enum is really only meant for coords provided by the
framework), and updates GrSimpleTextureEffect::TestCreate to make the
effect with position as well, instead of just local coords.
Committed: http://code.google.com/p/skia/source/detail?r=11531
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+179 lines, -74 lines) |
Patch |
|
M |
gyp/gpu.gypi
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/gpu/GrEffect.h
|
View
|
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrTextContext.cpp
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
A |
src/gpu/effects/GrCustomCoordsTextureEffect.h
|
View
|
|
1 chunk |
+49 lines, -0 lines |
0 comments
|
Download
|
|
A |
src/gpu/effects/GrCustomCoordsTextureEffect.cpp
|
View
|
1
|
1 chunk |
+111 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrSimpleTextureEffect.h
|
View
|
|
5 chunks |
+0 lines, -18 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrSimpleTextureEffect.cpp
|
View
|
|
4 chunks |
+13 lines, -45 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrSingleTextureEffect.h
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLEffectMatrix.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|