From: Brian Paul <brianp@va...> - 2001-08-28 14:47:26
I'm cc'ing the DRI-devel list since this topic is more relevant there.
"Mike A. Harris" wrote:
> Just a question that come to my mind.. I've seen a few people in
> the last 6 months or so ask about this and I'm curious..
> DRI uses GLX locally where the client and the X server are on the
> same machine, however why does this not also work when the client
> is remote, ie: indirect GLX rendering with DRI?
> Is this something that is not implemented due to technical
> complexity, or is it something that just hasn't happened yet due
> to more interesting projects, improving Mesa, etc..?
There were always other projects with higher priority.
It's always been on our list of things to do.
> What all would it take in order to get this going? It would be
> at least a semi-useful feature to play with, and I'm sure many
> out there would probably get great usage out of it for some
> interesting projects.
> What would need to be done to get this going, perhaps as a
> 'copious spare time' project? Something simple, or something
> fairly difficult involving deep OpenGL/DRI knowledge?
> What approximate timeframe (guestimate) do you think it would
> take to implement this to play with?
> Any info appreciated, thanks.
I haven't thought about this in a long time. It's certainly a
do-able project. My gut feeling is that the client-side DRI
driver code should work within the server just fine. The work
will be in the "glue" code between the server-side GLX decoder/
dispatcher and the server-side h/w driver. Things like window
size changes, which are communicated via the DRI X extension
code, would no longer require a protocol message, but would
require some other mechanism instead.
In general, the functions seen in xc/lib/GL/dri/xf86dri.h define
the interface between the current client-side drivers and the X
server. Once the driver is in the X server this interface may
need to be reimplemented with ordinary function calls.
I'm sure there are other issues, but that's what comes to mind first.
Get latest updates about Open Source Projects, Conferences and News.