Nicholas Nethercote 48de7651ce Apply the GRAYSCALE_1BPP optimization when needsDecode is set.
The scanned, black-and-white document at
https://bugzilla.mozilla.org/show_bug.cgi?id=835380 doesn't benefit from
the critical GRAYSCALE_1BPP optimization because the optimization is
skipped if `needsDecode` is set.

This change addresses that, and reduces both rendering time and memory
usage for that document by almost 10x.
2014-08-18 16:45:19 -07:00
..
2012-10-29 14:08:52 -04:00
2014-08-10 14:11:04 -05:00
2014-07-19 16:41:07 +02:00
2014-07-25 21:53:09 +02:00