9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: forsyth@caldo.demon.co.uk
To: 9fans@cse.psu.edu
Subject: Re: [9fans] lucio- now: student projects
Date: Tue, 12 Mar 2002 10:13:22 +0000	[thread overview]
Message-ID: <20020312102009.D97E1199EE@mail.cse.psu.edu> (raw)

>>	I believe that most real-time video boards write directly into
>>	the video adaptor's memory - how would this best be integrated with
>>	the Plan 9 graphics system?

it's not uncommon now to find that the `video adapter's memory'
is the processor's memory; there's even a separate MMU for it.

>>	be a bottleneck? X has come up with techniques to let the application
>>	write directly into a window's memory to get reasonable performance in this
>>	situation - how would Plan 9 address this, hopefully without these
>>	extra levels of complication?

i think a write to /dev/draw of properly aligned and formatted data to
an unobscured window amounts to a memmove
from user memory directly into a linearly-mapped frame buffer.

unlike 8-1/2 where /dev/bitblt was multiplexed by 8-1/2 itself as a file server
(i'm not using the Unicode 1/2 because of some stupid mail gateways), with rio
applications us their own connection to /dev/draw directly, and application graphics operations
therefore go direct to the frame buffer (if there is one) through the
kernel without going through rio.

scheduling the frame rate precisely might or might not be a problem.
i'd know already except that the nicest free DVD playing software i can
find looks all right itself but is buried in one of those ./configure marvels.



             reply	other threads:[~2002-03-12 10:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-12 10:13 forsyth [this message]
2002-03-12 13:08 ` Martin C.Atkins
  -- strict thread matches above, loose matches on Subject: below --
2002-03-12 14:59 andrey mirtchovski
2002-03-12 12:28 forsyth
2002-03-12 12:04 Richard Miller
2002-03-05  0:10 [9fans] lucio- geoff
2002-03-11 10:05 ` Luis Fernandes
2002-03-12  7:17   ` [9fans] lucio- now: student projects Martin C.Atkins

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=20020312102009.D97E1199EE@mail.cse.psu.edu \
    --to=forsyth@caldo.demon.co.uk \
    --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).