Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-06-10 | Avoid an unnecessary copy of the image buffer. | Phil Jones | |
By pointing Cairo at the mmap-ed file used to create wl_shm buffers, we can eliminate a memcpy() on every draw, providing a decent speedup (especially for large window sizes). This comes at the expense of having to keep track of two Cairo contexts, one for each of our two buffers used for double buffering. Additionally, a single memcpy() is still required for initialisation of the second buffer, so the startup latency isn't affected much. | |||
2022-06-09 | Minor cleanup. | Phil Jones | |
2022-06-07 | Switch from using (E)GL to wl_shm. | Phil Jones | |
eglInitialize() is slow (~50-100ms), and uses a fair amount of memory (~100 MB). For such a small, simple program that just wants to launch as quickly as possible, wl_shm performs better. | |||
2021-11-01 | Add extra cleanup code to debug builds. | Phil Jones | |
Also fix some memory leaks. | |||
2021-10-31 | Add HiDPI support and lots of cleanup. | Phil Jones | |
2021-10-29 | Basic text entry working. | Phil Jones | |