This fixes Issue 1046 [ http://code.google.com/p/skia/issues/detail?id=1046 ](rtree and tilegrid GM tests are failing on Win7 ...
11 years, 11 months ago
(2013-01-09 23:37:05 UTC)
#1
This fixes Issue 1046 [ http://code.google.com/p/skia/issues/detail?id=1046
](rtree and tilegrid GM tests are failing on Win7 DirectWrite). quickReject
actually end up calling getClipBounds to do most of it's work, but also does
caching and handles perspective transformations correctly.
On 2013/01/09 23:37:05, bungeman wrote: > quickReject > actually end up calling getClipBounds to do ...
11 years, 11 months ago
(2013-01-10 14:59:33 UTC)
#3
On 2013/01/09 23:37:05, bungeman wrote:
> quickReject
> actually end up calling getClipBounds to do most of it's work, but also does
> caching and handles perspective transformations correctly.
Good find!
So the fact that this only failed with DirectWrite was a fluke?
On 2013/01/10 14:43:19, reed1 wrote: > lgtm > > 1. did you locally run gm ...
11 years, 11 months ago
(2013-01-10 16:35:53 UTC)
#4
On 2013/01/10 14:43:19, reed1 wrote:
> lgtm
>
> 1. did you locally run gm w/ this change?
Yes, this fixes the problem observed in Issue 1046 and everything else still
looks good (unchanged).
> 2. any idea if this change affects the perf-time for recording rtrees?
I've run
out\Release\bench_pictures.exe out\gmskp --repeat 200 --mode record --bbh rtree
--timers w
both with and without this change. 'out\gmskp' contained one .skp files from
each gm. Any change in time is less than the noise level.
On 2013/01/10 14:59:33, junov wrote: > On 2013/01/09 23:37:05, bungeman wrote: > > quickReject > ...
11 years, 11 months ago
(2013-01-10 16:40:38 UTC)
#5
On 2013/01/10 14:59:33, junov wrote:
> On 2013/01/09 23:37:05, bungeman wrote:
> > quickReject
> > actually end up calling getClipBounds to do most of it's work, but also does
> > caching and handles perspective transformations correctly.
>
> Good find!
>
> So the fact that this only failed with DirectWrite was a fluke?
Looks like it. DirectWrite probably gives the tightest bounds, so the size and
position of the text and being in perspective just happened to give a set of
numbers which caused getClipBounds to end up confused. getClipBounds doesn't
appear to handle perspective matrices well.
Committed revision 7117. Additional change needed to avoid assertion that empty rects are not passed ...
11 years, 11 months ago
(2013-01-10 17:16:11 UTC)
#6
Message was sent while issue was closed.
Committed revision 7117.
Additional change needed to avoid assertion that empty rects are not passed
(though not sure assertion is needed) committed revision 7118.
Issue 7057065: Properly reject clipped out draws in BBox pictures.
(Closed)
Created 11 years, 11 months ago by bungeman
Modified 11 years, 11 months ago
Reviewers: reed1, junov
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 0