9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Bakul Shah <bakul@bitblocks.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] nix at lsub
Date: Thu, 19 Apr 2012 09:36:08 -0700	[thread overview]
Message-ID: <20120419163608.2A62B1CC5A@mail.bitblocks.com> (raw)
In-Reply-To: Your message of "Thu, 19 Apr 2012 11:32:03 BST." <CAOw7k5ieeiP8U79e+4QX-R83-SoydZJQ6ijA65S4uvYmZ0BjVA@mail.gmail.com>

On Thu, 19 Apr 2012 11:32:03 BST Charles Forsyth <charles.forsyth@gmail.com>  wrote:
> I wasn't too worried about getting a file system interface to it.
> I'd supposed that would be tedious (from the size of the language) but
> straightforward, similar in principle to draw(2).

A filesystem interface seems to simplify things quite a bit.

> Draw's programming interface can, however, present Images, Screens,
> Points, Rectangles, Screens, Fonts, and so on as values that can be
> created and manipulated like any other.

This can be built on top of the above. A /dev/draw shim
wouldn't be too hard either. In a sense openGL is at the
machine assembly language level while screens, rectangles,
fonts etc are at a higher language level.

> Obviously there's still an underlying state in the image currently
> drawn in an Image, or on a Display.
> By contrast, OpenGL has things like this:
>
> "None of the matrix manipulation commands have an explicit parameter
> to control which matrix they affect. Instead, OpenGL maintains a
> current matrix mode that determines which matrix type the previously
> mentioned matrix manipulation commands actually affects" and "each
> matrix type has its own a stack of matrices". (That's followed in a
> document I'm looking at by all the ways you can get into trouble with
> this,
> but how much faster it all is!) And, that state is program global.
>
> Still, that's what there is!

Indeed but GL ES 2 is simpler by virtue of leaving out fixed
pipeline functions etc. We may as well make the best use of it
when a $35 computer can provide a high performance openGL
implementation!



  reply	other threads:[~2012-04-19 16:36 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-18 18:05 arnold
2012-04-19  1:37 ` hiro
2012-04-19  4:15   ` Jeff Sickel
2012-04-19  8:10     ` Charles Forsyth
2012-04-19  8:16       ` Joseph Stewart
2012-04-19  8:46         ` Charles Forsyth
2012-04-19 10:03           ` Bakul Shah
2012-04-19 10:32             ` Charles Forsyth
2012-04-19 16:36               ` Bakul Shah [this message]
2012-04-19 15:50 ` ComeauAt9Fans@gmail.com
2012-04-19 16:11   ` Lucio De Re
2012-04-19 17:09     ` ComeauAt9Fans@gmail.com
2012-04-19 17:56       ` Lucio De Re
2012-04-19 18:05         ` Comeau At9Fans
2012-04-19 18:23           ` Lucio De Re
2012-04-19 18:27           ` Lucio De Re
  -- strict thread matches above, loose matches on Subject: below --
2012-04-18 16:09 arnold
2012-04-18 16:18 ` Nemo
2012-04-18 16:28   ` Charles Forsyth
2012-04-18 16:35     ` Francisco J Ballesteros
2012-04-18 17:43 ` Lucio De Re
2012-04-18 15:45 arnold
2012-04-18 15:49 ` Francisco J Ballesteros
2012-04-14 21:02 Nemo
2012-04-15 13:45 ` David Leimbach
2012-04-16 10:47 ` Francisco J Ballesteros
2012-04-16 11:02   ` Noah Evans
2012-04-16 17:23     ` Aram Hăvărneanu
2012-04-16 17:32       ` Noah Evans
2012-04-16 17:42         ` Noah Evans
2012-04-16 17:44         ` ron minnich
2012-04-16 20:53         ` Andrés Domínguez
     [not found]     ` <CAEAzY380ECzLQJCbNaK=QiYE6vzQpqTW3ZoakzW7EJ-WajptHg@mail.gmail.c>
2012-04-16 17:54       ` sl
2012-04-16 13:22   ` Christoph Lohmann
2012-04-16 18:04     ` Lucio De Re
2012-04-17  2:16 ` kokamoto
2012-04-17  5:53   ` andy zerger
2012-04-17  5:54     ` andy zerger
2012-04-17  7:17   ` Nemo
2012-04-17  8:41     ` kokamoto
2012-04-17  8:51       ` Francisco J Ballesteros
2012-04-17 12:22       ` Tristan
2012-04-17 18:56       ` Charles Forsyth
2012-04-17 19:13         ` Nemo
     [not found]         ` <charles.forsyth@gmail.com>
2012-04-18  0:26           ` kokamoto
2012-04-18  4:07             ` John Floren
2012-04-18  4:12               ` John Floren
2012-04-18  7:54             ` Francisco J Ballesteros
2012-04-18 12:27               ` Charles Forsyth
2012-04-18 12:35                 ` Francisco J Ballesteros

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=20120419163608.2A62B1CC5A@mail.bitblocks.com \
    --to=bakul@bitblocks.com \
    --cc=9fans@9fans.net \
    /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).