summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-11-15Multiple smaller changes.Phil Jones
- Remove the background image and libpng dependency - Add a prompt - Add xmalloc with out-of-memory handling - Add beginnings of a rofi-like run cache
2021-11-15Switch from subsurface setup to just one surface.Phil Jones
The subsurface was playing havoc with layer shell stuff, and I don't think any potential efficiency gain is worth the complicated code to work out how big the subsurface should be. Instead, the entry code now just draws directly onto the main surface. Damage information should be passed to glTexSubImage2D() in future, to avoid redrawing the entire window every keypress.
2021-11-14Initial experiments with layer shell.Phil Jones
2021-11-14Rename main struct to tofi.Phil Jones
2021-11-07Initial working build.Phil Jones
2021-11-06Start conversion to tofi.Phil Jones
2021-11-04Add note on speed to README.Phil Jones
2021-11-04Generate xdg-shell protocol files at build time.Phil Jones
2021-11-04Print both real and cpu time in debug logs.Phil Jones
Also various minor cleanup.
2021-11-04Correct element buffer data type.Phil Jones
OpenGL ES 2 only allows byte or short indices in the element buffer, not int.
2021-11-03Add missing -T option to manpage and usage string.Phil Jones
2021-11-03Don't use Pango by default.Phil Jones
Initialising Pango makes up a large portion of the startup time, and we can achieve neater rendering with pure Cairo if we're just drawing circles anyway. Therefore, this commit avoids loading Pango if no options which require it are specified (such as --font-name or --password-character). This reduces startup time with no background image to ~40ms on my machine (2015 MacBook Pro).
2021-11-03Fix crash when closing a debug build.Phil Jones
2021-11-02Add option to hide the cursor.Phil Jones
2021-11-02Change default build to debugoptimized.Phil Jones
It should now find the shaders when someone just clones and builds the code without installing.
2021-11-02Remove some unnecessary forward-declarations.Phil Jones
2021-11-01Change texture swizzling to work with ES 2.Phil Jones
2021-11-01Change default password character to full-stop.Phil Jones
2021-11-01Add missing include.Phil Jones
2021-11-01Switch from OpenGL ES 3 to 2.Phil Jones
2021-11-01Add extra cleanup code to debug builds.Phil Jones
Also fix some memory leaks.
2021-11-01Fix README.Phil Jones
2021-11-01Add bash completion.Phil Jones
2021-11-01Add manpage and usage help.Phil Jones
2021-11-01Update README.Phil Jones
2021-10-31Add actual greetd functionality.Phil Jones
Useable, but very barebones — not even any error message reporting.
2021-10-31Include shaders in install.Phil Jones
2021-10-31Also clear entry when Ctrl-C is pressed.Phil Jones
2021-10-31Don't log which font is being used in release.Phil Jones
This speeds up Pango initialisation, which is by far the slowest part.
2021-10-31Add HiDPI support and lots of cleanup.Phil Jones
2021-10-29Basic text entry working.Phil Jones
2021-10-28Add basic HiDPI scaling and a subsurface.Phil Jones
2021-10-26Add PNG background.Phil Jones
2021-10-26Initial functional EGL example.Phil Jones
2021-10-26Add EGL setup (unused for now).Phil Jones
2021-10-26Initial commit.Phil Jones