-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tessellator: input validation and guard bit removal
This patch removes the guard bits from the tessellator internal coordinates and reworks the input validation to make sure that the tessellator code should never die on an assert. When the extent of a polygon exceeds a width or height of 2^31-1, then the rightmost (resp. bottommost) points are clamped to within 2^31-1 of the leftmost (resp. topmost) point of the polygon. The clamping produces bad rendering for really large polygons, and needs to be fixed in a saner manner. Cleaned up as per http://lists.freedesktop.org/archives/cairo/2006-December/008806.html
- Loading branch information
M Joonas Pihlaja
committed
Dec 6, 2006
1 parent
f8ba749
commit d0eff39
Showing
1 changed file
with
78 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters