Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(512)

Issue 7300091: Making tileGrid and Rtree consider clipped bounds.

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 11 months ago by junov1
Modified:
12 years, 11 months ago
Reviewers:
reed1
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Making tileGrid and Rtree consider clipped bounds. Currently SkBBoxRecord::transformBounds verifies the bbox against the current clip, but stores the unclipped bounds. This CL fixes that, which improves query result quality and also reduces recording overhead.

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -20 lines) Patch
M src/core/SkBBoxHierarchyRecord.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkBBoxHierarchyRecord.cpp View 1 1 chunk +2 lines, -4 lines 0 comments Download
M src/core/SkBBoxRecord.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkBBoxRecord.cpp View 1 4 chunks +25 lines, -14 lines 0 comments Download

Messages

Total messages: 2
junov1
PTAL.
12 years, 11 months ago (2013-02-11 22:30:47 UTC) #1
junov1
12 years, 11 months ago (2013-02-12 15:41:49 UTC) #2
New patch. Complete re-write to processes the clip and bbox in device space
coordinates. This eliminates the overhead of calling getClipBounds instead of
getClipDeviceBounds.
Leads to picture record time improvement of more than 10% on ~20% of skp files.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b