9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: rog@vitanuova.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] rio bug
Date: Tue, 23 Mar 2004 19:50:51 +0000	[thread overview]
Message-ID: <786097446c3f68f435e166932333b2d7@vitanuova.com> (raw)
In-Reply-To: <67c9a432fcc5efbb15356107e3a5b658@plan9.ucalgary.ca>

sorry, i was talking rubbish.

the bug is nothing to do with unbuffered windows, and is documented in
the rio code:

/*
 * BUG: should interlock so applications don't change screen
 * while tmp[] holds backing store
 */

it's not a problem deep in the drawing code at all - it's just that
rio (well drawgetrect()) is trying to be efficient and drawing the red
borders directly on the screen.

to be honest, it should be quite fast enough if it just allocates new
windows every time it moves the border - that's what i did in the
inferno wm and it works fine, as smooth as you like.



  parent reply	other threads:[~2004-03-23 19:50 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-23 18:53 andrey mirtchovski
2004-03-23 19:04 ` Russ Cox
2004-03-23 19:15   ` rog
2004-03-23 19:19   ` andrey mirtchovski
2004-03-23 19:30     ` rog
2004-03-23 19:45       ` rob pike, esq.
2004-03-23 23:49         ` Geoff Collyer
2004-03-24  4:35           ` rob pike, esq.
2004-03-24  7:54         ` Fco.J.Ballesteros
2004-03-23 19:50     ` rog [this message]
2004-03-23 19:51       ` rob pike, esq.
2004-03-23 19:47 ` rob pike, esq.
2004-03-23 20:09   ` boyd, rounin
2004-03-23 19:30 matt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=786097446c3f68f435e166932333b2d7@vitanuova.com \
    --to=rog@vitanuova.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).