|
Mark when effects and programs have vertex code
Adds a 'hasVertexCode' method to GrEffect and a 'fHasVertexCode' field
to GrGLProgramDesc::KeyHeader. Also adds a GrVertexEffect class that
effects have to inherit from in order to set the 'hasVertexCode' flag
and be able to emit vertex code, and updates the existing effects to
use it as needed.
Committed: http://code.google.com/p/skia/source/detail?r=11537
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+107 lines, -50 lines) |
Patch |
|
M |
include/gpu/GrEffect.h
|
View
|
|
4 chunks |
+20 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrAAConvexPathRenderer.cpp
|
View
|
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrAARectRenderer.cpp
|
View
|
|
7 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrEffect.cpp
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrOvalRenderer.cpp
|
View
|
|
10 chunks |
+11 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrBezierEffect.h
|
View
|
|
7 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrBezierEffect.cpp
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrCustomCoordsTextureEffect.h
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
A |
src/gpu/effects/GrVertexEffect.h
|
View
|
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLProgramDesc.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLProgramDesc.cpp
|
View
|
|
5 chunks |
+13 lines, -3 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|