aboutsummaryrefslogtreecommitdiff
path: root/src/grid.rs
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2016-09-01 10:24:20 -0700
committerJoe Wilm <joe@jwilm.com>2016-09-01 10:27:04 -0700
commit3085b0b1376924c41184490a98eae21d884293d0 (patch)
tree6f39fbf09d13efb925c67e679af1926972cc3aca /src/grid.rs
parent0517f376be3054ab736006dcfc24b404dcd8626c (diff)
downloadr-alacritty-3085b0b1376924c41184490a98eae21d884293d0.tar.gz
r-alacritty-3085b0b1376924c41184490a98eae21d884293d0.tar.bz2
r-alacritty-3085b0b1376924c41184490a98eae21d884293d0.zip
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.
Diffstat (limited to 'src/grid.rs')
0 files changed, 0 insertions, 0 deletions