|
Add support for converting Colors to linear RGB; Fix relevant filters
Moves get{Linear,Device}RgbLUT out of ImageBuffer.cpp and into the (new)
ColorSpace.cpp and a (new) namespace ColorSpaceUtilities.
Implement ColorSpaceUtilities::convertColor and getConversionLUT, and use them in a
new FilterEffect::adaptColorToOperatingColorSpace method, that derived
classes can use.
With the above infrastructure in place, use it in FEDropShadow to make
sure the result of the (conceptual) flood operation is in correct color
space (== the operating colorspace of the FEDropShadow).
Also use it to transform the lighting-color of the lighting primitives.
BUG= 336440
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165767
Total comments: 3
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+245 lines, -61 lines) |
Patch |
|
M |
LayoutTests/TestExpectations
|
View
|
1
2
3
4
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/svg/filters/feDiffuseLighting-linearrgb-lighting-color.svg
|
View
|
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/svg/filters/feDiffuseLighting-linearrgb-lighting-color-expected.svg
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/svg/filters/feDropShadow-linearrgb-flood-color.svg
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/svg/filters/feDropShadow-linearrgb-flood-color-expected.svg
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/svg/filters/feSpecularLight-linearrgb-lighting-color.svg
|
View
|
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/svg/filters/feSpecularLight-linearrgb-lighting-color-expected.svg
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/platform/blink_platform.gypi
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/platform/graphics/ColorSpace.h
|
View
|
1
|
2 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
|
A |
Source/platform/graphics/ColorSpace.cpp
|
View
|
1
2
3
|
1 chunk |
+107 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/platform/graphics/ImageBuffer.cpp
|
View
|
1
|
3 chunks |
+4 lines, -52 lines |
0 comments
|
Download
|
|
M |
Source/platform/graphics/filters/FEDropShadow.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/platform/graphics/filters/FELighting.cpp
|
View
|
|
4 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
|
M |
Source/platform/graphics/filters/FilterEffect.h
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/platform/graphics/filters/FilterEffect.cpp
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
Total messages: 14 (0 generated)
|