summaryrefslogtreecommitdiff
path: root/SharedGraphics/PNGLoader.cpp
AgeCommit message (Collapse)Author
2019-04-30PNGLoader: Tag the decoded bitmap with the source PNG path.Andreas Kling
2019-04-23Do a pass of compiler warning fixes.Andreas Kling
This is really making me question not using 64-bit integers more.
2019-04-15PNGLoader: Disable debug spam.Andreas Kling
2019-04-03PNGLoader: Use MappedFile.Andreas Kling
2019-04-02Move NetworkOrdered.h to AK/ since it's used in both kernel and userspace.Andreas Kling
2019-03-23Kernel: Introduce threads, and refactor everything in support of it.Andreas Kling
The scheduler now operates on threads, rather than on processes. Each process has a main thread, and can have any number of additional threads. The process exits when the main thread exits. This patch doesn't actually spawn any additional threads, it merely does all the plumbing needed to make it possible. :^)
2019-03-22Use the PNG loader for all images, and get rid of the .rgb files.Andreas Kling
2019-03-21PNGLoader: Reduce unfiltering branchiness even more.Andreas Kling
Use a dummy scanline for y=0 filled with all zeroes to avoid having to check y on every iteration before grabbing color data from scanline[y - 1].
2019-03-21PNGLoader: Templatize the unfiltering functions to reduce branchiness.Andreas Kling
This also allows us to dodge processing alpha values in non-alpha PNGs without a branch.
2019-03-21PNGLoader: Reorganize the unfiltering code to make it easier to work with.Andreas Kling
2019-03-21PNGLoader: Allocate enough space for the compressed data buffer up front.Andreas Kling
This is a 2x speedup on wallpaper loading.
2019-03-21PNGLoader: Remove a bunch of unnecessary data copying.Andreas Kling
Use ByteBuffer::wrap() to avoid copying buffers around a bit. This is about a 10% speedup on loading a wallpaper-type PNG.
2019-03-21PNGLoader: Support for color type 2 (RGB triplets) and multiple IDAT chunks.Andreas Kling
2019-03-21SharedGraphics: Implement a simple PNG decoder.Andreas Kling
This is extremely unoptimized, but it does successfully load "folder32.png" so it must be at least somewhat correct. :^)