|
Add support for reading the dst pixel value in an effect. Use in a new effect for the kDarken xfer mode.
The current implementation is to always make a copy of the entire dst before the draw.
It will only succeed if the RT is also a texture.
Obviously, there is lots of room for improvement.
Committed: https://code.google.com/p/skia/source/detail?r=8449
Total comments: 20
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+518 lines, -91 lines) |
Patch |
|
M |
include/core/SkXfermode.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+12 lines, -4 lines |
0 comments
|
Download
|
|
M |
include/gpu/GrEffect.h
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+11 lines, -2 lines |
0 comments
|
Download
|
|
M |
include/gpu/GrTexture.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+39 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/core/SkXfermode.cpp
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+105 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrDrawTarget.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+25 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrDrawTarget.cpp
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+72 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrGpu.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrGpu.cpp
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/gpu/SkGpuDevice.cpp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+14 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLProgram.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+16 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLProgram.cpp
|
View
|
1
2
3
4
5
6
7
|
11 chunks |
+58 lines, -21 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLProgramDesc.h
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+13 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLProgramDesc.cpp
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLShaderBuilder.h
|
View
|
1
2
3
4
5
6
7
|
9 chunks |
+42 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLShaderBuilder.cpp
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+85 lines, -20 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGpuGL.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGpuGL_program.cpp
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|