commit | 6fe843baeb1f3d94fd5109997276e2c308625f73 | [log] [tgz] |
---|---|---|
author | Pascal Massimino <pascal.massimino@gmail.com> | Thu Aug 09 11:33:29 2012 -0700 |
committer | Pascal Massimino <pascal.massimino@gmail.com> | Thu Aug 09 11:33:29 2012 -0700 |
tree | 5f388143328f0fff5bd19f2cc3aab5de79466f33 | |
parent | 528a11af35c7f68a641ea782a4dca18b3835b5b3 [diff] |
avoid rgb-premultiply if there's only trivial alpha values With this, MODE_rgbA can safely be used without speed penalty even in case of pure-lossy alpha-less input. It's also an optimization when cropping a fully-opaque region from an image with alpha: premultiply is then skipped Change-Id: Ibee28c75744f193dacdfccd5a2e7cd1e44604db6