9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: andrey mirtchovski <mirtchov@cpsc.ucalgary.ca>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] point2rgb and point2rgba
Date: Mon, 31 Jan 2005 12:33:17 -0700	[thread overview]
Message-ID: <fc4c9e73f94104f966ec48cd703b4e66@plan9.ucalgary.ca> (raw)
In-Reply-To: <11d3735baba19e7c2a9a059159f39460@vitanuova.com>

> there are applications that really do need to push lots of
> custom-generated pixels of data to the screen.  it seems a pity that
> this kind of thing is so heavily penalised in plan 9.  maybe it's just
> that so many of these kind of applications are basically frivolous
> (screensavers and games)...

anything opengl is an example of this.  it's nearly impossible to do
opengl for plan9 using libdraw primitives, since converting a ulong to
a color needs to go through allocimage.

i heard someone suggest using an rgb color triangle already
allocimage'd in rio as a source for pre-allocated colors, but try
drawing a replicated pixel sourced from a larger image without a 1x1
intermediary :)



  reply	other threads:[~2005-01-31 19:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-31 14:54 andrey mirtchovski
2005-01-31 15:01 ` andrey mirtchovski
2005-01-31 18:01 ` Russ Cox
2005-01-31 18:23   ` andrey mirtchovski
2005-01-31 18:26     ` Russ Cox
2005-01-31 18:46       ` rog
2005-01-31 18:47         ` andrey mirtchovski
2005-01-31 18:57           ` Russ Cox
2005-01-31 19:14             ` andrey mirtchovski
2005-01-31 19:19             ` rog
2005-01-31 19:33               ` andrey mirtchovski [this message]
2005-01-31 19:37               ` Joel Salomon
2005-01-31 19:48                 ` andrey mirtchovski
2005-01-31 20:27                 ` rog

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=fc4c9e73f94104f966ec48cd703b4e66@plan9.ucalgary.ca \
    --to=mirtchov@cpsc.ucalgary.ca \
    --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).