New 'blitAntiRect' entry point for blitters, specialized in supersampling
authortomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 27 Dec 2011 13:59:20 +0000 (13:59 +0000)
committertomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 27 Dec 2011 13:59:20 +0000 (13:59 +0000)
commit49eac192faa35159752525b23345563252721c64
treeba72e18e640c1e344ec584934e99bd562a9164ea
parentb0af6dad94f3c51ea0d5d6426a9509354338c6b2
New 'blitAntiRect' entry point for blitters, specialized in supersampling
code to avoid quarter-scanline-at-a-time building of large rectangular
clips.

Speeds up aa_clip_build_path_AA benchmark 2x, aa_clip_build_rect_AA benchmark
10x or more. This is a sufficient performance gain to let Chromium reenable
WebKit's soft clipping code. Rolling into Chromium will require ~18
rebaselines.

git-svn-id: http://skia.googlecode.com/svn/trunk@2924 2bbb7eff-a529-9590-31e7-b0007b416f81
include/core/SkBlitter.h
src/core/SkAAClip.cpp
src/core/SkBlitter.cpp
src/core/SkScan_AntiPath.cpp