Commit Graph

3 Commits

Author SHA1 Message Date
Joe Wilm be09467d48 Fix some compiler warnings
Also enables debug symbols in release profile by default. Until
Alacritty ships, there's going to be lots of perf analysis which needs
debug symbols.

The PriorityMutex low priority method was never used. Now it's just a
fair mutex.
2016-09-23 10:12:11 -07:00
Joe Wilm 6c9989819b Fix resize not redrawing immediately 2016-09-06 07:43:03 -07:00
Joe Wilm 3085b0b137 Move rendering back to main thread
This is only like the third time I've made this change. The issue of
having a blank screen at startup is due to x11 event loop + glX
interactions. Not sure what the problem is specifically, but
glXMakecurrent was blocking until the x11 event loop advanced.

The input and rendering are able to live on the same thread while still
removing unnecessary renders due to the
glutin::WindowProxy::wakeup_event_loop() method. The PtyReader just
kicks the event loop when there's something to do; otherwise, the event
loop just waits for something to happen and _doesn't_ draw in free run
mode.
2016-09-01 10:27:04 -07:00