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

Issue 2249163004: Fix tile bitmap code in SkGpuDevice to compute correct local coords (Closed)

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

Description

Fix tile bitmap code in SkGpuDevice to compute correct local coords. This fixes a bug when using an alpha bitmap/image with a SkShader where the SkShader's GrFragmentProcessor would receive incorrect coordinates. BUG=skia:5643 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2249163004 Committed: https://skia.googlesource.com/skia/+/e553b64bca57723db2b8da1c015a5ebf467eade9

Patch Set 1 #

Patch Set 2 : working #

Patch Set 3 : more #

Patch Set 4 : more #

Patch Set 5 : rm commented out code #

Total comments: 10

Patch Set 6 : Address comments #

Patch Set 7 : fix int->scalar warning on windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -129 lines) Patch
M src/gpu/SkGpuDevice.h View 1 2 3 4 5 3 chunks +15 lines, -17 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 4 5 6 17 chunks +72 lines, -112 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
bsalomon
https://codereview.chromium.org/2249163004/diff/80001/src/gpu/SkGpuDevice.cpp File src/gpu/SkGpuDevice.cpp (left): https://codereview.chromium.org/2249163004/diff/80001/src/gpu/SkGpuDevice.cpp#oldcode943 src/gpu/SkGpuDevice.cpp:943: SkMatrix viewM = viewMatrix; See note below. This modification ...
4 years, 4 months ago (2016-08-17 03:11:57 UTC) #4
robertphillips
It looks good to me but I would like to take another pass. Is there ...
4 years, 4 months ago (2016-08-17 13:55:08 UTC) #5
bsalomon
The bleed_alpha_[image|bitmap]_shader GMs show the bug. https://codereview.chromium.org/2249163004/diff/80001/src/gpu/SkGpuDevice.cpp File src/gpu/SkGpuDevice.cpp (right): https://codereview.chromium.org/2249163004/diff/80001/src/gpu/SkGpuDevice.cpp#newcode675 src/gpu/SkGpuDevice.cpp:675: const SkMatrix& viewMatrix, ...
4 years, 4 months ago (2016-08-17 14:06:45 UTC) #6
robertphillips
lgtm
4 years, 4 months ago (2016-08-17 15:27:52 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2249163004/120001
4 years, 4 months ago (2016-08-17 15:41:11 UTC) #14
commit-bot: I haz the power
4 years, 4 months ago (2016-08-17 16:02:12 UTC) #16
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://skia.googlesource.com/skia/+/e553b64bca57723db2b8da1c015a5ebf467eade9

Powered by Google App Engine
This is Rietveld 408576698