|
Blend alpha correctly for ARGB32, ARGB16 (4444), and A8 modes.
I have the changes that affect layout tests behind SK_BLEND_CORRECTLY, which can be enabled with the skia_blend_correctly=1 gyp define.
BUG=420 (crbug.com/113309)
TEST=Blend8888Test, Blend4444Test, BlendA8Test
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1278 lines, -42 lines) |
Patch |
|
M |
gyp/common.gypi
|
View
|
|
1 chunk |
+10 lines, -0 lines |
1 comment
|
Download
|
|
M |
gyp/tests.gyp
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/core/SkBlitRow.h
|
View
|
1
|
1 chunk |
+7 lines, -0 lines |
1 comment
|
Download
|
|
M |
include/core/SkColorPriv.h
|
View
|
1
2
3
4
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/core/SkBlitRow_D32.cpp
|
View
|
1
|
5 chunks |
+18 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/core/SkBlitRow_D4444.cpp
|
View
|
1
|
2 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/core/SkBlitter_4444.cpp
|
View
|
1
|
9 chunks |
+19 lines, -24 lines |
0 comments
|
Download
|
|
M |
src/core/SkBlitter_A8.cpp
|
View
|
1
2
|
8 chunks |
+14 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/core/SkBlitter_ARGB32.cpp
|
View
|
1
|
2 chunks |
+10 lines, -0 lines |
2 comments
|
Download
|
|
M |
src/core/SkCoreBlitters.h
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/opts/SkBlitRow_opts_SSE2.cpp
|
View
|
1
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
A |
tests/Blend4444Test.cpp
|
View
|
1
|
1 chunk |
+398 lines, -0 lines |
0 comments
|
Download
|
|
A |
tests/Blend8888Test.cpp
|
View
|
1
|
1 chunk |
+400 lines, -0 lines |
0 comments
|
Download
|
|
A |
tests/BlendA8Test.cpp
|
View
|
1
2
|
1 chunk |
+372 lines, -0 lines |
0 comments
|
Download
|
Total messages: 6
|