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

Issue 785893004: Fix MatrixImageFilter computeFastBounds (Closed)

Created:
6 years ago by robertphillips
Modified:
6 years ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Fix MatrixImageFilter computeFastBounds This CL makes the bounding box returned from SkMatrixImageFilter::computeFastBounds actually contain the final result pixels. This, in turn, fixes the first two rows of the filterfastbounds GM and the SVG web page cited in the bug. BUG=418417 Committed: https://skia.googlesource.com/skia/+/8b7b9c2e804b54a8301363091f418cfeda719fe3

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -5 lines) Patch
M src/effects/SkMatrixImageFilter.cpp View 1 chunk +2 lines, -5 lines 1 comment Download

Messages

Total messages: 13 (3 generated)
robertphillips
6 years ago (2014-12-08 17:15:06 UTC) #2
Stephen White
https://codereview.chromium.org/785893004/diff/1/src/effects/SkMatrixImageFilter.cpp File src/effects/SkMatrixImageFilter.cpp (right): https://codereview.chromium.org/785893004/diff/1/src/effects/SkMatrixImageFilter.cpp#newcode102 src/effects/SkMatrixImageFilter.cpp:102: dst->join(bounds); // Work around for skia:3194 This really doesn't ...
6 years ago (2014-12-08 17:20:51 UTC) #4
robertphillips
> This really doesn't seem right to me, and we could come up with cases ...
6 years ago (2014-12-08 17:32:46 UTC) #5
Stephen White
On 2014/12/08 17:32:46, robertphillips wrote: > > This really doesn't seem right to me, and ...
6 years ago (2014-12-08 18:55:57 UTC) #6
robertphillips
In the case of the saveLayer isn't the origin of the transform the UL corner ...
6 years ago (2014-12-08 19:26:09 UTC) #7
Stephen White
On 2014/12/08 19:26:09, robertphillips wrote: > In the case of the saveLayer isn't the origin ...
6 years ago (2014-12-08 19:43:32 UTC) #8
robertphillips
All the images remain the same except for filterfastbounds (where the rotated and scaled matriximagefilter ...
6 years ago (2014-12-08 20:08:35 UTC) #9
Stephen White
On 2014/12/08 20:08:35, robertphillips wrote: > All the images remain the same except for filterfastbounds ...
6 years ago (2014-12-08 20:46:00 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/785893004/1
6 years ago (2014-12-08 20:50:22 UTC) #12
commit-bot: I haz the power
6 years ago (2014-12-09 13:28:29 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/8b7b9c2e804b54a8301363091f418cfeda719fe3

Powered by Google App Engine
This is Rietveld 408576698