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

Issue 1970293002: Support allowSRGBInputs on Vulkan (via secondary texture views) (Closed)

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

Description

Support allowSRGBInputs on Vulkan (via secondary texture views) All textures still have a "correct" image view that matches their actual format. For sRGB textures, we can ask for a non-sRGB view that is created on demand (and cached), in legacy mode. Finally, turn on sRGB support in Vulkan. The gamma GM now looks correct in both L32 and S32. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1970293002 Committed: https://skia.googlesource.com/skia/+/f05ab1b820b482fa633544579ab4d4c6bfcdb433

Patch Set 1 #

Total comments: 1

Patch Set 2 : default case for switch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -9 lines) Patch
M src/gpu/vk/GrVkCaps.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/vk/GrVkPipelineState.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/vk/GrVkPipelineState.cpp View 4 chunks +5 lines, -4 lines 0 comments Download
M src/gpu/vk/GrVkTexture.h View 2 chunks +2 lines, -1 line 0 comments Download
M src/gpu/vk/GrVkTexture.cpp View 8 chunks +37 lines, -3 lines 0 comments Download
M src/gpu/vk/GrVkUtil.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/gpu/vk/GrVkUtil.cpp View 1 1 chunk +99 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1970293002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1970293002/1
4 years, 7 months ago (2016-05-12 17:04:16 UTC) #3
Brian Osman
4 years, 7 months ago (2016-05-12 17:05:26 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-12 17:21:45 UTC) #7
jvanverth1
lgtm + comment https://codereview.chromium.org/1970293002/diff/1/src/gpu/vk/GrVkUtil.cpp File src/gpu/vk/GrVkUtil.cpp (right): https://codereview.chromium.org/1970293002/diff/1/src/gpu/vk/GrVkUtil.cpp#newcode210 src/gpu/vk/GrVkUtil.cpp:210: break; Probably want a default case ...
4 years, 7 months ago (2016-05-12 17:27:36 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1970293002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1970293002/20001
4 years, 7 months ago (2016-05-12 17:39:25 UTC) #11
egdaniel
On 2016/05/12 17:39:25, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
4 years, 7 months ago (2016-05-12 17:50:51 UTC) #12
Brian Osman
On 2016/05/12 17:50:51, egdaniel wrote: > On 2016/05/12 17:39:25, commit-bot: I haz the power wrote: ...
4 years, 7 months ago (2016-05-12 17:54:11 UTC) #13
commit-bot: I haz the power
4 years, 7 months ago (2016-05-12 18:01:13 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/f05ab1b820b482fa633544579ab4d4c6bfcdb433

Powered by Google App Engine
This is Rietveld 408576698