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

Issue 2944733002: Force sRGB color profile on Mac for pixel tests (Closed)

Created:
3 years, 6 months ago by ccameron
Modified:
3 years, 6 months ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, piman+watch_chromium.org, jbauman
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Force sRGB color profile on Mac for pixel tests This is following the behavior that was used for layout tests up until its remove in crrev.com/416170 The pixel tests take screenshots using CGWindowListCreateImage, which is always in the output device's color space. To get deterministic results, force the output device's color space to be sRGB for the duration of these tests. Mark video-based tests on Mac as failing, since their output will change with this patch (because CoreAnimation will be doing different color conversion). BUG=734255 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2944733002 Cr-Commit-Position: refs/heads/master@{#481358} Committed: https://chromium.googlesource.com/chromium/src/+/b80ffde89677d5d2b83ca25c221a768fa0029a9b

Patch Set 1 #

Patch Set 2 : Add force profiles #

Total comments: 2

Patch Set 3 : Fix presubmit #

Patch Set 4 : Fix Linux pylint errors #

Patch Set 5 : Include maps, dont enable color correction #

Total comments: 6

Patch Set 6 : Review feedback #

Patch Set 7 : Mark video tests as failing #

Patch Set 8 : Mark video as chagned on all platforms #

Patch Set 9 : Set all platforms without wildcard... #

Patch Set 10 : All platforms 3rd try #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -3 lines) Patch
A content/test/gpu/gpu_tests/color_profile_manager.py View 1 2 3 4 5 1 chunk +32 lines, -0 lines 0 comments Download
A content/test/gpu/gpu_tests/color_profile_manager_mac.py View 1 2 3 4 5 1 chunk +88 lines, -0 lines 0 comments Download
M content/test/gpu/gpu_tests/maps_integration_test.py View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M content/test/gpu/gpu_tests/pixel_expectations.py View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M content/test/gpu/gpu_tests/pixel_integration_test.py View 1 2 3 4 5 3 chunks +3 lines, -0 lines 0 comments Download
M content/test/gpu/gpu_tests/pixel_test_pages.py View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 53 (43 generated)
ccameron
kbr, does this general scheme of forcing color profile sgty? If so, I'll go ahead ...
3 years, 6 months ago (2017-06-20 18:48:07 UTC) #12
Ken Russell (switch to Gerrit)
Thanks for putting this together. The overall approach does seem OK to me. The layout ...
3 years, 6 months ago (2017-06-20 22:55:02 UTC) #22
Dirk Pranke
On 2017/06/20 22:55:02, Ken Russell wrote: > Thanks for putting this together. The overall approach ...
3 years, 6 months ago (2017-06-21 01:59:38 UTC) #28
dnj
On 2017/06/21 01:59:38, Dirk Pranke wrote: > On 2017/06/20 22:55:02, Ken Russell wrote: > > ...
3 years, 6 months ago (2017-06-21 02:21:59 UTC) #29
ccameron
Thanks for the comments -- I've updated the patch to be force-until-exit. The LayoutTest behavior ...
3 years, 6 months ago (2017-06-21 06:45:42 UTC) #35
Dirk Pranke
On 2017/06/21 06:45:42, ccameron wrote: > Thanks for the comments -- I've updated the patch ...
3 years, 6 months ago (2017-06-21 17:44:01 UTC) #38
dnj
I've confirmed that within a VirtualEnv: $ pip install pyobjc Is sufficient to install the ...
3 years, 6 months ago (2017-06-21 18:29:19 UTC) #41
Ken Russell (switch to Gerrit)
Great. LGTM once this is passing the trybots. CC'ing jbauman as FYI about the video ...
3 years, 6 months ago (2017-06-21 19:17:59 UTC) #44
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/2944733002/180001
3 years, 6 months ago (2017-06-21 21:35:37 UTC) #50
commit-bot: I haz the power
3 years, 6 months ago (2017-06-21 23:43:30 UTC) #53
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/b80ffde89677d5d2b83ca25c221a...

Powered by Google App Engine
This is Rietveld 408576698