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

Issue 264303008: Disable filtering in draw Bitmap operation when pixels are aligned (Closed)

Created:
6 years, 7 months ago by siglesias
Modified:
6 years, 7 months ago
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Disable filtering in draw Bitmap operation when pixels are aligned The check is now performed in the callers of internalDrawBitmap() to avoid retrieve the texture with wrong filter mode when the pixels were aligned. This bug was spotted in Chrome for Android: Chrome for Androids's Canvas drawImage loses fidelity in canvases larger than 64k pixels. BUG=chromium:231916 R=bsalomon@google.com, robertphillips@google.com Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>; Committed: http://code.google.com/p/skia/source/detail?r=14665

Patch Set 1 #

Total comments: 1

Patch Set 2 : change needsTextureDomain class member to static function #

Patch Set 3 : Add ninepatch-stretch to expectations/gm/ignored-tests.txt #

Patch Set 4 : Fix merge error on expectations/gm/ignored-tests.txt #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -69 lines) Patch
M expectations/gm/ignored-tests.txt View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M include/gpu/SkGpuDevice.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 5 chunks +96 lines, -68 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
siglesias
6 years, 7 months ago (2014-05-08 08:46:55 UTC) #1
bsalomon
https://codereview.chromium.org/264303008/diff/1/src/gpu/SkGpuDevice.cpp File src/gpu/SkGpuDevice.cpp (right): https://codereview.chromium.org/264303008/diff/1/src/gpu/SkGpuDevice.cpp#newcode1192 src/gpu/SkGpuDevice.cpp:1192: const SkMatrix& matrix = fContext->getMatrix(); Is accessing the matrix ...
6 years, 7 months ago (2014-05-08 14:13:23 UTC) #2
siglesias
On 2014/05/08 14:13:23, bsalomon wrote: > https://codereview.chromium.org/264303008/diff/1/src/gpu/SkGpuDevice.cpp > File src/gpu/SkGpuDevice.cpp (right): > > https://codereview.chromium.org/264303008/diff/1/src/gpu/SkGpuDevice.cpp#newcode1192 > ...
6 years, 7 months ago (2014-05-08 14:14:59 UTC) #3
bsalomon
lgtm. I submitted some try bots.
6 years, 7 months ago (2014-05-08 15:19:49 UTC) #4
bsalomon
I was able to repro the "failure" of the ninepatch-stretch GM in msaa16. The difference ...
6 years, 7 months ago (2014-05-08 17:20:29 UTC) #5
bsalomon
Thanks for updating! BTW If you just upload a patchset and don't publish a new ...
6 years, 7 months ago (2014-05-09 13:33:18 UTC) #6
bsalomon
The CQ bit was checked by bsalomon@google.com
6 years, 7 months ago (2014-05-09 13:33:25 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/siglesias@igalia.com/264303008/40001
6 years, 7 months ago (2014-05-09 13:34:42 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-09 13:34:51 UTC) #9
commit-bot: I haz the power
Failed to apply patch for expectations/gm/ignored-tests.txt: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 7 months ago (2014-05-09 13:34:52 UTC) #10
siglesias
On 2014/05/09 13:33:18, bsalomon wrote: > Thanks for updating! BTW If you just upload a ...
6 years, 7 months ago (2014-05-09 13:41:11 UTC) #11
bsalomon
The CQ bit was checked by bsalomon@google.com
6 years, 7 months ago (2014-05-09 13:42:44 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/siglesias@igalia.com/264303008/60001
6 years, 7 months ago (2014-05-09 13:44:07 UTC) #13
bsalomon
On 2014/05/09 13:41:11, siglesias wrote: > On 2014/05/09 13:33:18, bsalomon wrote: > > Thanks for ...
6 years, 7 months ago (2014-05-09 13:44:16 UTC) #14
commit-bot: I haz the power
6 years, 7 months ago (2014-05-09 13:53:42 UTC) #15
Message was sent while issue was closed.
Change committed as 14665

Powered by Google App Engine
This is Rietveld 408576698