-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A few blitting changes for better BB8 performance (#816)
* Avoid a temporary copy & conversion for 8bpp fbs in mupdf.scaleBlitBuffer Now that we can tell MuPDF the exact stride and whether an alpha channel is present, this *should* behave. We still have a few BB types that needs the temporary copy, mostly because they're terrible to begin with, so we can't blame mupdf for not supporting 'em ;). (4bpp, because it's, err, fun to address...) (RGB565, because HAHAHAHAHAHAHAHAHAH). * Bump LodePNG to 20190210 * Treat PNGs paletted to 16c as grayscale There's a good chance they're properly dithered to the eInk palette. (Otherwise, paletted PNGs are expanded to RGB/RGBA).
- Loading branch information
Showing
11 changed files
with
441 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.