new scanconversion technique
authorreed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 18 Nov 2009 16:09:51 +0000 (16:09 +0000)
committerreed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 18 Nov 2009 16:09:51 +0000 (16:09 +0000)
commit909994fbae0ffb532f42feac8859f8d86bbf64de
tree8fa0989863618109ed9f17c25b949d68f63bf541
parentbb13586591bd412a0372aeb85d44159d2fa3f947
new scanconversion technique

This technique geometrically clips all segments against the clip bounds,
ensuring that we never send a value to the edgelist that might overflow in
fixedpoint.

Current disabled in SkScan_Path.cpp by a #define. There are a few minor pixel
differences between this and the old technique, as found by the gm tool, so
at the moment this new code is off by default.

git-svn-id: http://skia.googlecode.com/svn/trunk@432 2bbb7eff-a529-9590-31e7-b0007b416f81
include/core/SkEdgeClipper.h [new file with mode: 0644]
include/core/SkGeometry.h
samplecode/SampleLineClipper.cpp
src/core/SkEdgeBuilder.cpp [new file with mode: 0644]
src/core/SkEdgeBuilder.h [new file with mode: 0644]
src/core/SkEdgeClipper.cpp [new file with mode: 0644]
src/core/SkQuadClipper.cpp
src/core/SkScan_Path.cpp
src/core/core_files.mk
xcode/core/core.xcodeproj/project.pbxproj