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

Issue 196133006: Colormatrix GPU fix with saturated alpha. (Closed)

Created:
6 years, 9 months ago by Stephen White
Modified:
6 years, 9 months ago
Reviewers:
bsalomon
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Fix GPU colormatrix color filter with saturated alpha. Clamp RGBA values before unpremultiplying, to match the raster path. This causes a problem when the resulting alpha is >1.0, resulting in overly saturated RGB. Covered by the setYUV2RGB() test case in the colormatrix GM. R=bsalomon@google.com Committed: https://code.google.com/p/skia/source/detail?r=13778

Patch Set 1 #

Patch Set 2 : Update codereview link #

Patch Set 3 : Fix typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M expectations/gm/ignored-tests.txt View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/effects/SkColorMatrixFilter.cpp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Stephen White
bsalomon@: PTAL. Thanks!
6 years, 9 months ago (2014-03-12 20:44:27 UTC) #1
bsalomon
lgtm
6 years, 9 months ago (2014-03-12 21:27:49 UTC) #2
Stephen White
6 years, 9 months ago (2014-03-12 21:37:46 UTC) #3
Message was sent while issue was closed.
Committed patchset #3 manually as r13778 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698