Commit Graph

22 Commits

Author SHA1 Message Date
Ivan Molodetskikh 100d7d4b47 Keep around the pointer color buffer
Fixes pointer drawing preventing idle.
2023-08-10 14:50:51 +04:00
Ivan Molodetskikh 0ed5bad452 Add tracy profiling under a feature 2023-08-10 14:50:51 +04:00
Ivan Molodetskikh 18b9d0dfcc Replace Timer::immediate() with idle
Currently the former causes a delay due to a calloop issue.
2023-08-10 14:50:51 +04:00
Ivan Molodetskikh d9b34bb326 Bump yellow in cursor color
I guess I'm hitting the cursor plane gamma issue now that's recently
been fixed in AMDGPU.
2023-08-10 14:50:51 +04:00
Ivan Molodetskikh 21c3c5cad0 tty: Use GlesTexture instead of GlesRenderbuffer
According to cmeissi from Smithay, GlesRenderbuffer has issues, so
GlesTexture should be used instead. This fixes GL errors.
2023-08-10 14:50:51 +04:00
Ivan Molodetskikh 24d954f9fe xdg_shell: Support un/maximize 2023-08-10 14:50:51 +04:00
Ivan Molodetskikh 9b073b2350 Redraw on demand rather than continuously 2023-08-10 14:50:51 +04:00
Ivan Molodetskikh ed6132645a winit: Move backend.bind() into render() 2023-08-10 14:50:51 +04:00
Ivan Molodetskikh 746840a119 Add cursor drawing with a colored rectangle 2023-08-10 14:50:51 +04:00
Ivan Molodetskikh 9a5f891002 input: Fix crash on scrolling 2023-08-10 14:50:51 +04:00
Ivan Molodetskikh 1035f3e6cd Pass new pointer location to pointer.motion()
This is correct, it was a bug in smallvil.
2023-08-10 14:50:51 +04:00
Ivan Molodetskikh ec1a888386 input: Handle relative pointer motion 2023-08-10 14:50:51 +04:00
Ivan Molodetskikh 0047272673 Implement TTY switching
Having to pass backend around turns out to be a problem...
2023-08-10 14:50:51 +04:00
Ivan Molodetskikh 7527cad200 tty: Improve reselience to rendering errors 2023-08-10 14:50:51 +04:00
Ivan Molodetskikh c50e22d415 Add comment about crash 2023-08-10 14:50:51 +04:00
Ivan Molodetskikh 396ab93585 Restructure things and add tty backend 2023-08-10 14:50:51 +04:00
Ivan Molodetskikh b8e79e9cc8 Add LICENSE
smallvil, the base of this project, is licensed under MIT. catacomb
where I'm copypasting from is licensed under GPLv3.
2023-08-10 14:50:51 +04:00
Ivan Molodetskikh d182996c8c Use compact tracing formatting 2023-08-10 14:49:38 +04:00
Ivan Molodetskikh 7c8ea3fd70 Fix warnings 2023-08-10 14:49:38 +04:00
Ivan Molodetskikh a58e879bce Remove unneeded allow 2023-08-10 14:49:38 +04:00
Ivan Molodetskikh c6838b08e2 Add rustfmt.toml and reformat 2023-08-10 14:49:38 +04:00
Ivan Molodetskikh ad3c3f8cef Init from smallvil 2023-08-10 14:49:38 +04:00