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

Issue 6449125: If we do a "fast transform" and just map the src-bounds into dst-bounds

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

Description

If we do a "fast transform" and just map the src-bounds into dst-bounds (to avoid re-computing the bounds of the dst from scratch), we must also mimic ComputeBounds' handling of infinities: if the computed rect is non-finite, we must empty it and mark the dst path as non-finite. Fixes http://code.google.com/p/chromium/issues/detail?id=141651

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -6 lines) Patch
M src/core/SkPath.cpp View 1 2 3 2 chunks +26 lines, -6 lines 1 comment Download
M tests/PathTest.cpp View 1 2 3 4 2 chunks +29 lines, -0 lines 0 comments Download

Messages

Total messages: 4
reed1
check-point: unittest on its way...
12 years, 1 month ago (2012-08-09 21:41:08 UTC) #1
reed1
patch #5 ready -- fixes repro case on the chromium bug.
12 years, 1 month ago (2012-08-10 02:40:04 UTC) #2
robertphillips
LGTM https://codereview.appspot.com/6449125/diff/1004/src/core/SkPath.cpp File src/core/SkPath.cpp (right): https://codereview.appspot.com/6449125/diff/1004/src/core/SkPath.cpp#newcode1818 src/core/SkPath.cpp:1818: Should there be a test here saying "if ...
12 years, 1 month ago (2012-08-10 10:50:00 UTC) #3
TomH
12 years, 1 month ago (2012-08-10 14:11:14 UTC) #4
Landed as r5042.
Sign in to reply to this message.

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