9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Enrico Weigelt <weigelt@metux.de>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] A newbie question...
Date: Mon,  4 Feb 2008 03:57:18 +0100	[thread overview]
Message-ID: <20080204025717.GH15093@nibiru.local> (raw)
In-Reply-To: <b11249e00802030756k6d11a110g76c2be92fc88d058@mail.gmail.com>

* Filipp Andronov <filipp.andronov@gmail.com> wrote:

> Some graphics chip, actually i want port OpenGL to Plan9,
> but DRI hasugly architecture and Mesa with X11 are overload
> by unnecessary code,as far as i know it is because of historical
> reasons.

ACK. 3D stuff on *nix is very fat.

I wouldn't suggest porting the whole thing, but just leaving
the client API. Maybe you could start with specifying an
synthetic filesystem which provides the client side
functionality, so it's easy to develop an libGL replacement
upon that.

Feel free to use the OSS-QM resources (eg. the wiki) for that :)

BTW: I'm currently doing similar things on the audio front.
Maybe you've already seen my posting on the mixer-fs. I'm also
working on an Audio-IO-FS. This one should provide an platform
and device agnostic interface to audio io devices, so all these
APIs out there (alsa userland, esound, ...) can become small
and simple adapters to it.

> I have experience with X11 and OpenGL specifications and device
> driver development, so my plan was port general parts of mesa
> (not all of course), but with out DRI on Intel graphics chip
> (i have that card) with hardware acceleration.

DRI is something which should be far hidden behind clients
not even exist within within an client process. AFAIK it's
far from being portable (but maybe I'm wrong).

> When i start dig problem i have found DRI replacement known as
> Gallium3D, it is completely new project (from Mesa community as
> far asi know) and it small enough for try to port it.

I don't have any experience with this. But from a quick look
it might be worth thinking of.

Maybe you could start modeling the API's functionality into an
filesystem. As an intermediate step you could develop an server
for this (maybe using libmixp) on *nix/GNU platforms and connect
it from an Plan9 environment (either remotely or from plan9port).
So you can develop the Plan9 userland side w/o having the actual
drivers ported to Plan9. Once this works and the interface specs
are fixed, you could move to native Plan9.

At least that's the way *I* would go.


cu
--
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
 	http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
	http://patches.metux.de/
---------------------------------------------------------------------


  parent reply	other threads:[~2008-02-04  2:57 UTC|newest]

Thread overview: 87+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-01  0:22 Michael Andronov
2008-02-01  0:25 ` erik quanstrom
2008-02-01  0:31   ` john
2008-02-01  0:30 ` Pietro Gagliardi
2008-02-04  0:59   ` Enrico Weigelt
2008-02-01  2:16 ` Pietro Gagliardi
2008-02-01  8:50 ` John Stalker
2008-02-01 17:15   ` Michael Andronov
2008-02-02  4:43     ` Michael Andronov
2008-02-02  4:57       ` Pietro Gagliardi
2008-02-02 13:02         ` Steve Simon
2008-02-04 10:21           ` Greg Comeau
2008-02-04 10:52             ` mattmobile
2008-02-04 11:12               ` Uriel
2008-02-04 11:47                 ` Filipp Andronov
2008-02-04 15:42                   ` Alf
2008-02-04 16:06                     ` Filipp Andronov
2008-02-04 16:53                       ` Steve Simon
2008-02-04 19:51                       ` Pietro Gagliardi
2008-02-06  9:53                   ` Greg Comeau
2008-02-06 19:11                     ` Joel C. Salomon
2008-02-07  1:32                       ` Uriel
2008-02-07  1:44                         ` Pietro Gagliardi
2008-02-07  9:54                       ` Greg Comeau
2008-02-06  9:45               ` Greg Comeau
2008-02-04 11:09             ` Uriel
2008-02-06  9:53               ` Greg Comeau
2008-02-04 14:32             ` [9fans] cross-compilation Charles Forsyth
2008-02-02  4:57       ` [9fans] A newbie question Pietro Gagliardi
2008-02-02  7:12         ` Filipp Andronov
2008-02-02 14:57           ` Pietro Gagliardi
2008-02-02 15:30             ` Filipp Andronov
2008-02-02 15:33               ` Pietro Gagliardi
2008-02-02 15:48                 ` Filipp Andronov
2008-02-02 16:04                   ` Pietro Gagliardi
2008-02-02 16:34                     ` Filipp Andronov
2008-02-02 16:10                   ` Charles Forsyth
2008-02-02 17:41                     ` Uriel
2008-02-02 18:27                       ` Martin Neubauer
2008-02-02 19:22                         ` Juan M. Mendez
2008-02-02 19:42                           ` Anthony Sorace
2008-02-02 20:10                           ` erik quanstrom
2008-02-04  1:49                             ` Enrico Weigelt
2008-02-02 22:25                           ` ron minnich
2008-02-03  0:17                           ` Robert William Fuller
2008-02-03  0:30                             ` Rob Pike
2008-02-03  7:51                               ` Eris Discordia
2008-02-03  8:44                                 ` Filipp Andronov
2008-02-03  9:30                                   ` lucio
2008-02-03 11:39                                     ` Filipp Andronov
2008-02-03 12:49                                       ` lucio
2008-02-03 13:25                                         ` Filipp Andronov
2008-02-03 14:10                                         ` Pietro Gagliardi
2008-02-04  2:05                                     ` Enrico Weigelt
2008-02-08 16:40                                     ` plan9
2008-02-03 14:07                                   ` Pietro Gagliardi
2008-02-03  0:33                             ` Uriel
2008-02-03  1:42                             ` erik quanstrom
2008-02-03  1:55                               ` Pietro Gagliardi
2008-02-03 14:47                                 ` Paweł Lasek
     [not found]                                   ` <b11249e00802030713x2e08a3d4g4d395c53e1bf658c@mail.gmail.com>
     [not found]                                     ` <F9E7B91B-B3DD-4F5F-92F2-9556311B559D@mac.com>
     [not found]                                       ` <b11249e00802030728p6475625kd19bdf54666272df@mail.gmail.com>
     [not found]                                         ` <6018296E-43A8-43D5-94C1-6EE4B7CE36B6@mac.com>
     [not found]                                           ` <b11249e00802030756k6d11a110g76c2be92fc88d058@mail.gmail.com>
2008-02-03 16:12                                             ` erik quanstrom
2008-02-04  2:57                                             ` Enrico Weigelt [this message]
2008-02-04  8:00                                               ` Filipp Andronov
2008-02-04  2:03                                   ` Enrico Weigelt
2008-02-03  7:31                               ` john
2008-02-03 15:01                             ` dave.l
2008-02-03 15:10                               ` Pietro Gagliardi
2008-02-02 21:16                         ` Pietro Gagliardi
2008-02-02 22:01                           ` Martin Neubauer
2008-02-04  1:02                       ` Enrico Weigelt
2008-02-04  1:11                         ` Pietro Gagliardi
2008-02-04  1:19           ` Enrico Weigelt
2008-02-04  1:29             ` Lyndon Nerenberg
2008-02-05  2:23               ` David Arnold
2008-02-05  2:26                 ` Pietro Gagliardi
2008-02-05  2:38                   ` erik quanstrom
2008-02-05  2:51                     ` Pietro Gagliardi
2008-02-05  3:00                       ` Roman V. Shaposhnik
2008-02-06  9:53                         ` Greg Comeau
2008-02-05  3:35                   ` Federico G. Benavento
2008-02-05  2:31                 ` erik quanstrom
2008-02-02  4:57 kokamoto
2008-02-04 12:12 gdiaz
2008-02-04 12:47 ` Filipp Andronov
2008-02-04 13:01   ` Uriel
2008-02-04 13:41     ` Eris Discordia
2008-02-04 13:59       ` Anant Narayanan
2008-02-04 14:36         ` Eris Discordia
2008-02-04 14:43         ` Martin Neubauer
2008-02-06  9:53         ` Greg Comeau
2008-02-06 10:02           ` erik quanstrom

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=20080204025717.GH15093@nibiru.local \
    --to=weigelt@metux.de \
    --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).