David Herrmann 69bde6077e pty: improve application data read-path
The kernel tty buffer is actually too small to buffer data for 20ms, which
is the time a frame may take in kmscon so we can still get 50 fps.
However, profiling showed that we often read multiple times from the pty.
We can optimize this by increasing the buffer to match the tty internal
buffer.

The kernel internal buffering is currently the only performance slowdown
that we have. That is, the data an application writes while we do a single
rendering is more than the kernel can buffer. Therefore, the application
waits until we read from the pty again. We then wait with redrawing until
the next vblank.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
2012-08-31 20:19:55 +02:00
..
2012-08-14 16:23:03 +02:00
2012-08-14 16:23:03 +02:00
2012-08-15 09:25:55 +02:00
2012-08-10 18:01:14 +02:00
2012-08-10 18:01:14 +02:00
2012-06-24 18:53:46 +02:00
2012-06-24 17:55:26 +02:00
2012-08-28 10:41:33 +02:00
2012-08-28 10:41:33 +02:00
2012-08-31 20:19:55 +02:00
2012-03-27 13:35:41 +02:00
2012-08-08 12:26:35 +02:00
2012-08-20 20:10:29 +02:00
2012-08-08 13:02:44 +02:00
2012-08-29 17:54:16 +02:00
2012-08-29 17:54:16 +02:00
2012-08-28 10:41:33 +02:00
2012-08-15 09:24:45 +02:00
2012-08-10 11:42:00 +02:00
2012-08-10 11:48:28 +02:00
2012-08-25 17:04:51 +02:00
2012-08-15 09:24:45 +02:00
2012-08-15 08:54:02 +02:00
2012-08-31 00:00:07 +02:00
2012-05-29 10:27:46 +02:00