Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Issue 2525453002: Raster: Allow a RasterSource to specify its color space (Closed)

Created:
4 years, 1 month ago by ccameron
Modified:
4 years ago
Reviewers:
pdr., enne (OOO)
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-api_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, dglazkov+blink, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Raster: Allow a RasterSource to specify its color space The pictures recorded by GraphicsLayers in Blink have a particular implied color space in the recorded content. This is the color space that the decoded images are in (and soon to be the color space that CSS colors are converted into from sRGB). We need to communicate that information from Blink to cc, so that the resulting cc::Resources can be tagged with the appropriate color space. Plumb this through the same channel in WebDisplayItemList that is used for "IsSuitableForGpuRasterization". Of note is that "true color mode" content (content that does linear blending) has the luxury of being able to decide the target color space at raster time -- it does not have an implied color space. BUG=667411 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Committed: https://crrev.com/b7210d35c666575a48ed600d7758c451220b09b8 Cr-Commit-Position: refs/heads/master@{#435212}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : No default value #

Patch Set 4 : Move to Input #

Patch Set 5 : Rebase #

Patch Set 6 : Only set implied space when color correct rendering is disabled #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -8 lines) Patch
M cc/blink/web_display_item_list_impl.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cc/blink/web_display_item_list_impl.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M cc/playback/display_item_list.h View 1 2 3 3 chunks +15 lines, -0 lines 0 comments Download
M cc/playback/raster_source.h View 2 chunks +12 lines, -0 lines 0 comments Download
M cc/playback/raster_source.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M cc/raster/bitmap_raster_buffer_provider.cc View 1 chunk +5 lines, -1 line 0 comments Download
M cc/raster/gpu_raster_buffer_provider.cc View 1 3 chunks +5 lines, -2 lines 0 comments Download
M cc/raster/one_copy_raster_buffer_provider.cc View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M cc/raster/zero_copy_raster_buffer_provider.cc View 1 chunk +5 lines, -1 line 0 comments Download
M cc/resources/resource_provider.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/resources/resource_provider.cc View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M cc/tiles/tile_manager.cc View 1 2 3 4 2 chunks +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp View 1 2 3 4 5 2 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebDisplayItemList.h View 1 2 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 46 (32 generated)
ccameron
PTAL
4 years ago (2016-11-23 07:03:25 UTC) #14
pdr.
On 2016/11/23 at 07:03:25, ccameron wrote: > PTAL WebKit LGTM
4 years ago (2016-11-23 19:21:45 UTC) #18
ccameron
Thanks! enne, does the cc/ scheme look reasonable to you (following the path of the ...
4 years ago (2016-11-23 19:30:11 UTC) #20
ccameron
ping for the cc/ bits If we end up using Victor's scheme for hijacking display ...
4 years ago (2016-11-29 17:39:28 UTC) #21
enne (OOO)
lgtm
4 years ago (2016-11-29 19:10:12 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2525453002/80001
4 years ago (2016-11-29 19:44:07 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/340437)
4 years ago (2016-11-29 21:15:35 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2525453002/100001
4 years ago (2016-11-30 04:27:25 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: blimp_linux_dbg on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromium_presubmit on ...
4 years ago (2016-11-30 06:28:32 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2525453002/100001
4 years ago (2016-11-30 06:32:10 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/340929)
4 years ago (2016-11-30 08:53:05 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2525453002/100001
4 years ago (2016-11-30 09:13:23 UTC) #42
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-11-30 11:03:15 UTC) #44
commit-bot: I haz the power
4 years ago (2016-11-30 11:05:59 UTC) #46
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/b7210d35c666575a48ed600d7758c451220b09b8
Cr-Commit-Position: refs/heads/master@{#435212}

Powered by Google App Engine
This is Rietveld 408576698