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

Issue 1734983003: New GM that exercises gamma-correctness in various parts of the pipeline. (Closed)

Created:
4 years, 10 months ago by Brian Osman
Modified:
4 years, 10 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

New GM that exercises gamma-correctness in various parts of the pipeline. Attempts to render 50% grey through many different techniques. Only the first one (black/white dither) is guaranteed to be correct. This serves as ground-truth for all the others (independent of whatever your display may or may not be doing when viewing the output of the GM). Current tests: - Texture bilerp - Texture scale (ie mipmaps) - Simple paint color - Gradient - A handful of Xfer modes - 50% grey bitmaps, both linear and sRGB Also includes a bug-fix for sRGB -> Linear bitmap case BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1734983003 Committed: https://skia.googlesource.com/skia/+/9f73a71eec0eb54783f2dcad009aae6aafbe38d5

Patch Set 1 #

Total comments: 2

Patch Set 2 : Coding standards fixes #

Patch Set 3 : eraseRGB -> eraseARGB (Deprecated) #

Patch Set 4 : Switched to SkString. Better labels for several tests. Added "bitmap wrapped in shader" to demonstr… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -12 lines) Patch
A gm/gamma.cpp View 1 2 3 1 chunk +166 lines, -0 lines 0 comments Download
M src/core/SkBlitter_Sprite.cpp View 1 1 chunk +4 lines, -3 lines 0 comments Download
M src/core/SkSpriteBlitter.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/core/SkSpriteBlitter4f.cpp View 1 3 chunks +10 lines, -5 lines 0 comments Download
M src/core/SkSpriteBlitter_ARGB32.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
Brian Osman
https://codereview.chromium.org/1734983003/diff/1/gm/gamma.cpp File gm/gamma.cpp (right): https://codereview.chromium.org/1734983003/diff/1/gm/gamma.cpp#newcode120 gm/gamma.cpp:120: /* p.setShader(SkShader::CreateBitmapShader( This is another test I want to ...
4 years, 10 months ago (2016-02-25 22:39:00 UTC) #3
reed1
lgtm https://codereview.chromium.org/1734983003/diff/1/src/core/SkBlitter_Sprite.cpp File src/core/SkBlitter_Sprite.cpp (right): https://codereview.chromium.org/1734983003/diff/1/src/core/SkBlitter_Sprite.cpp#newcode64 src/core/SkBlitter_Sprite.cpp:64: blitter = SkSpriteBlitter::ChooseNew32(source, paint, allocator, dst.info().profileType()); nit: breaks ...
4 years, 10 months ago (2016-02-25 23:49:33 UTC) #4
Brian Osman
Double checked all the line lengths, and some column alignment on a few things.
4 years, 10 months ago (2016-02-26 15:06:34 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1734983003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1734983003/20001
4 years, 10 months ago (2016-02-26 15:06:46 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot/builds/4872) Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, ...
4 years, 10 months ago (2016-02-26 15:08:11 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1734983003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1734983003/40001
4 years, 10 months ago (2016-02-26 15:15:14 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu-GCC-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-x86_64-Release-Trybot/builds/6577)
4 years, 10 months ago (2016-02-26 15:16:14 UTC) #15
Brian Osman
Appeasing trybots...
4 years, 10 months ago (2016-02-26 15:42:49 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1734983003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1734983003/60001
4 years, 10 months ago (2016-02-26 15:42:57 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://skia.googlesource.com/skia/+/9f73a71eec0eb54783f2dcad009aae6aafbe38d5
4 years, 10 months ago (2016-02-26 15:59:36 UTC) #21
Brian Osman
4 years, 10 months ago (2016-02-26 17:18:48 UTC) #22
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/1744533002/ by brianosman@google.com.

The reason for reverting is: Testing revert to fix MacMini?.

Powered by Google App Engine
This is Rietveld 408576698