9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@plan9.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] refresh problems with drawterm on x (freebsd)?
Date: Thu,  6 Mar 2003 09:16:58 -0500	[thread overview]
Message-ID: <18aefafa4a55e60cd64469860ad0c6a2@plan9.bell-labs.com> (raw)
In-Reply-To: <714e1db4e1070444e5392174bec42571@plan9.bell-labs.com>

> what about your old drawterm binary didn't work?

never mind, i should read my mail.  still, the drawterm
code that is on sources is what i've been trying to use,
and it still has the glyph refresh problem.

it seems pretty clear that painting the background is
completing after painting the foreground characters,
but the question is why.  we have the same problem with the
accelerated hardware drivers -- drawing the background
is an accelerated op so you have to issue it and then wait
for it to complete before trying to draw the text.
i did not realize that sequential X calls can overlap
like that, but empirically, they must.

yesterday i tried inserting calls to XSync() after issuing
the XFillRectangle calls, but that didn't help.  i still need
to try XFlush.  i really wish the documentation were better.



  reply	other threads:[~2003-03-06 14:16 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-05 17:59 Russ Cox
2003-03-05 12:36 ` Philippe Anel
2003-03-05 18:46 ` andrey mirtchovski
2003-03-05 18:50   ` Dan Cross
2003-03-07  1:55     ` Kenji Arisawa
2003-03-07  6:14       ` andrey mirtchovski
2003-03-07 23:12       ` Russ Cox
2003-03-08  0:06         ` Geoff Collyer
2003-03-08  6:45       ` Kenji Arisawa
2003-03-13  9:55         ` Jeff Sickel
2003-03-13 12:11           ` Kenji Arisawa
2003-03-13 13:58             ` [9fans] Drawterm on MacOS X; weird colormap? Kenji Arisawa
2003-03-05 21:36   ` [9fans] refresh problems with drawterm on x (freebsd)? anyrhine
2003-03-05 20:18     ` Russ Cox
2003-03-05 21:55       ` anyrhine
2003-03-06 15:38         ` Philippe Anel
2003-03-06 14:08           ` Russ Cox
2003-03-06 14:16             ` Russ Cox [this message]
2003-03-07 16:19               ` Ralph Corderoy
2003-03-07 14:15                 ` Russ Cox
2003-03-10 10:18                   ` Ralph Corderoy

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=18aefafa4a55e60cd64469860ad0c6a2@plan9.bell-labs.com \
    --to=rsc@plan9.bell-labs.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).