commit | 1116fb25e582a18db0f87890364fac72ccfe09ce | [log] [tgz] |
---|---|---|
author | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Mar 03 20:31:12 2009 +0000 |
committer | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Mar 03 20:31:12 2009 +0000 |
tree | 5fa6abc571cccd1116d9d19d9fbd884dfb70b82f | |
parent | d66efc273e4996fb18f343bd30dcd506a1698b5b [diff] |
change srcover (and dstover) to use the faster thought slightly less accurate computation of the scale factor (+1 instead of SkAlpha255To256). This has the upside of guaranteeing that if the dst is opaque (alpha==255), it will always stay opaque. git-svn-id: http://skia.googlecode.com/svn/trunk@104 2bbb7eff-a529-9590-31e7-b0007b416f81