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
..
2014-08-08 12:36:29 +02:00
2014-08-14 16:11:09 -05:00
2014-05-29 20:38:50 -05:00
2014-08-07 22:07:20 +02:00