|
|
color: Always use parametric color spaces for raster
Rasterization must always be done to a parametric color space.
Display may be done to any color space.
Make ICCProfile::GetParametricColorSpace always return a parametric
color space (approximated if need be), and pass this to functions
specifying the space for rasterization.
Make ICCProfile::GetColorSpace return a space that references the
ICCProfile directly, and use the profile for color transforms
if the parametric version is not accurate.
Pass the ICCProfile to ui::Compositor, so that it can send
GetColorSpace to the GLRenderer and GetParametricColorSpace
to the LayerTreeHost.
R=hubbe
TBR=esprehn
BUG= 697675
Review-Url: https://codereview.chromium.org/2742613002
Cr-Commit-Position: refs/heads/master@{#456849}
Committed: https://chromium.googlesource.com/chromium/src/+/24c87c3f418983673089663bb69045451d54f52d
Total comments: 11
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+588 lines, -84 lines) |
Patch |
 |
M |
content/browser/renderer_host/browser_compositor_view_mac.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/browser_compositor_view_mac.mm
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_mac.mm
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_widget.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/window_tree_host.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/compositor.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/compositor/compositor.cc
|
View
|
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/color_space.h
|
View
|
1
2
3
|
2 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/color_space.cc
|
View
|
1
2
3
|
4 chunks |
+8 lines, -12 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/color_space_win.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/color_transform.cc
|
View
|
1
2
3
4
|
2 chunks |
+15 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/icc_profile.h
|
View
|
1
|
4 chunks |
+16 lines, -10 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/icc_profile.cc
|
View
|
1
2
3
4
|
7 chunks |
+68 lines, -42 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/icc_profile_unittest.cc
|
View
|
1
|
1 chunk |
+55 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/skia_color_space_util.h
|
View
|
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/skia_color_space_util.cc
|
View
|
|
3 chunks |
+41 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/test/icc_profiles.h
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/test/icc_profiles.cc
|
View
|
1
|
2 chunks |
+346 lines, -0 lines |
0 comments
|
Download
|
Depends on Patchset:
Total messages: 25 (15 generated)
|