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

Issue 1416023002: Fix custom cursor transparency compositing on MacOS (Closed)

Created:
5 years, 2 months ago by Justin Novosad
Modified:
5 years, 2 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix custom cursor transparency compositing on MacOS Custom cursor images that were not premultiplied by alpha were being treated as if they were premultiplied, which was causing overflows in the compositing arithmetic, producing artifacts on MacOS. BUG=543310 TEST=content_unittests WebCursorTest.AlphaConversion R=avi@chromium.org Committed: https://crrev.com/579c26f9110c5e275cfc404f96d51e49a6da426f Cr-Commit-Position: refs/heads/master@{#355329}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Style fixes #

Total comments: 1

Patch Set 3 : fix indent #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -4 lines) Patch
M content/common/cursors/webcursor_mac.mm View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M content/common/cursors/webcursor_unittest.cc View 1 3 chunks +16 lines, -3 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 14 (4 generated)
Justin Novosad
PTAL
5 years, 2 months ago (2015-10-21 04:23:53 UTC) #1
Avi (use Gerrit)
Hey, it's my web cursor code! ('Tho it's been awhile since I've played with it.) ...
5 years, 2 months ago (2015-10-21 04:30:55 UTC) #3
Justin Novosad
New patch
5 years, 2 months ago (2015-10-21 04:42:30 UTC) #4
Avi (use Gerrit)
https://codereview.chromium.org/1416023002/diff/20001/content/common/cursors/webcursor_mac.mm File content/common/cursors/webcursor_mac.mm (right): https://codereview.chromium.org/1416023002/diff/20001/content/common/cursors/webcursor_mac.mm#newcode155 content/common/cursors/webcursor_mac.mm:155: kUnpremul_SkAlphaType); Align this parameter with the first, and if ...
5 years, 2 months ago (2015-10-21 05:13:50 UTC) #5
jochen (gone - plz use gerrit)
deferring to avi
5 years, 2 months ago (2015-10-21 13:25:40 UTC) #7
Justin Novosad
On 2015/10/21 13:25:40, jochen wrote: > deferring to avi new patch
5 years, 2 months ago (2015-10-21 13:35:09 UTC) #8
Avi (use Gerrit)
lgtm Nice! Thanks for the fix.
5 years, 2 months ago (2015-10-21 16:27:08 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1416023002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1416023002/40001
5 years, 2 months ago (2015-10-21 17:26:49 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 2 months ago (2015-10-21 17:44:36 UTC) #13
commit-bot: I haz the power
5 years, 2 months ago (2015-10-21 17:45:15 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/579c26f9110c5e275cfc404f96d51e49a6da426f
Cr-Commit-Position: refs/heads/master@{#355329}

Powered by Google App Engine
This is Rietveld 408576698