diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-03-08 16:45:29 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-03-08 16:45:29 +0100 |
commit | 9dc9c6c5ef8bba195778f7701142af602e457665 (patch) | |
tree | 2719ce460d5b4d2bb9d3e27eb54c80dc4b2c2df4 /sys/src/libframe | |
parent | bf6ba56817e6bb083d5c411b1660f696144d5ac6 (diff) |
rio, libdraw: experimental removal of redundant flushimage() calls for roundtrip latency reduction
- remove redundant flushimage() calls before readmouse()
- remove flushimage() calls for allocimage(),freeimage() and originwindow()
this is experimental. it will break allocimage() error handling unless the
caller does explicit flushimage() calls, tho the gains
in usability over high latency connections is huge. in most cases, programs
will just terminate when encountering these errors.
Diffstat (limited to 'sys/src/libframe')
-rw-r--r-- | sys/src/libframe/frselect.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/src/libframe/frselect.c b/sys/src/libframe/frselect.c index f5955e42b..0f4c66348 100644 --- a/sys/src/libframe/frselect.c +++ b/sys/src/libframe/frselect.c @@ -96,7 +96,6 @@ frselect(Frame *f, Mousectl *mc) /* when called, button 1 is down */ } if(scrled) (*f->scroll)(f, 0); - flushimage(f->display, 1); if(!scrled) readmouse(mc); mp = mc->xy; |