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

Issue 1746253002: Progress on gamma-correctness in the GPU backend. Fixed conversion of color and profile type to pix… (Closed)

Created:
4 years, 9 months ago by Brian Osman
Modified:
4 years, 9 months ago
Reviewers:
mtklein, egdaniel, bsalomon
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Progress on gamma-correctness in the GPU backend. Fixed conversion of color and profile type to pixel config, which makes many things "just work". Added (color=8888|f16|srgb) option to gpu configurations, along with gpuf16, gpusrgb, and anglesrgb predefined configs. Runs the gpu backend in gamma-correct mode (with either FP16 linear or sRGB 8888 frambuffers). BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1746253002 Committed: https://skia.googlesource.com/skia/+/eef980270d3385fee340eb1633962fe3ba8b7132

Patch Set 1 #

Patch Set 2 : Fixed typo in --help config output. #

Total comments: 3

Patch Set 3 : Switch to RGBA rather than N32 when testing the GPU backend. #

Patch Set 4 : Rebase and switch back to kN32 color type. Fixes DM crash on some configs. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -16 lines) Patch
M dm/DM.cpp View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M dm/DMSrcSink.h View 2 chunks +4 lines, -1 line 0 comments Download
M dm/DMSrcSink.cpp View 2 chunks +6 lines, -1 line 0 comments Download
M src/gpu/SkGr.cpp View 1 chunk +6 lines, -5 lines 0 comments Download
M tests/TestConfigParsing.cpp View 3 chunks +16 lines, -1 line 0 comments Download
M tools/flags/SkCommonFlagsConfig.h View 1 chunk +6 lines, -1 line 0 comments Download
M tools/flags/SkCommonFlagsConfig.cpp View 1 3 11 chunks +48 lines, -6 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
Brian Osman
4 years, 9 months ago (2016-02-29 20:17:42 UTC) #3
mtklein
lgtm
4 years, 9 months ago (2016-02-29 20:23:15 UTC) #4
bsalomon
https://codereview.chromium.org/1746253002/diff/20001/src/gpu/SkGr.cpp File src/gpu/SkGr.cpp (right): https://codereview.chromium.org/1746253002/diff/20001/src/gpu/SkGr.cpp#newcode362 src/gpu/SkGr.cpp:362: GrPixelConfig SkImageInfo2GrPixelConfig(SkColorType ct, SkAlphaType, SkColorProfileType pt) { Not necessarily ...
4 years, 9 months ago (2016-02-29 20:27:46 UTC) #5
Brian Osman
https://codereview.chromium.org/1746253002/diff/20001/tools/flags/SkCommonFlagsConfig.cpp File tools/flags/SkCommonFlagsConfig.cpp (right): https://codereview.chromium.org/1746253002/diff/20001/tools/flags/SkCommonFlagsConfig.cpp#newcode253 tools/flags/SkCommonFlagsConfig.cpp:253: *outColorType = kN32_SkColorType; On 2016/02/29 20:27:46, bsalomon wrote: > ...
4 years, 9 months ago (2016-02-29 20:34:49 UTC) #6
bsalomon
On 2016/02/29 20:34:49, Brian Osman wrote: > https://codereview.chromium.org/1746253002/diff/20001/tools/flags/SkCommonFlagsConfig.cpp > File tools/flags/SkCommonFlagsConfig.cpp (right): > > https://codereview.chromium.org/1746253002/diff/20001/tools/flags/SkCommonFlagsConfig.cpp#newcode253 ...
4 years, 9 months ago (2016-02-29 20:50:47 UTC) #7
Brian Osman
Switched to always test RGBA rather than N32 (in both 8888 and srgb sub-configs of ...
4 years, 9 months ago (2016-02-29 21:21:39 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1746253002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1746253002/40001
4 years, 9 months ago (2016-02-29 21:26:45 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://skia.googlesource.com/skia/+/eef980270d3385fee340eb1633962fe3ba8b7132
4 years, 9 months ago (2016-02-29 21:39:12 UTC) #13
Brian Osman
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/1748823002/ by brianosman@google.com. ...
4 years, 9 months ago (2016-02-29 21:55:23 UTC) #14
Brian Osman
4 years, 9 months ago (2016-03-01 14:55:22 UTC) #15
Message was sent while issue was closed.
Trying again. Forcing kRGBA led to DM failures...

Powered by Google App Engine
This is Rietveld 408576698