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

Issue 1752473002: SampleApp now displays gamma-correct content in "S32" and "F16" modes. The default framebuffer is a… (Closed)

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

Description

SampleApp now displays gamma-correct content in "S32" and "F16" modes. The default framebuffer is always (?) sRGB, but querying it to determine that is difficult or impossible. In addition, when running in "L32" mode, we stil want to exhibit the old behavior, where we pretended that it was not sRGB. Thus, set the pixel config of the render target based on the window's color and profile types. That triggers our code to turn on linear->sRGB conversion-on-write in flushRenderTarget. NOte: Angle does not display correctly, due to limitations in the set of ES2 extensions it exposes. However, it can still be used to generate gamma-correct images (via DM, etc...). BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1752473002 Committed: https://skia.googlesource.com/skia/+/856cc17db434be717a29e1fa893a2108d1f9db36

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M src/views/SkWindow.cpp View 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 9 (4 generated)
Brian Osman
4 years, 9 months ago (2016-02-29 21:39:41 UTC) #3
reed1
very excited, but defers to brian
4 years, 9 months ago (2016-02-29 22:03:55 UTC) #4
bsalomon
On 2016/02/29 22:03:55, reed1 wrote: > very excited, but defers to brian lgtm, (I suppose ...
4 years, 9 months ago (2016-03-01 14:10:42 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1752473002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1752473002/1
4 years, 9 months ago (2016-03-01 15:05:06 UTC) #7
commit-bot: I haz the power
4 years, 9 months ago (2016-03-01 15:19:14 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/856cc17db434be717a29e1fa893a2108d1f9db36

Powered by Google App Engine
This is Rietveld 408576698