On Sat, 6 Jul 2002, Nick Name wrote: > Sorry to bother you all, but this is not the kind of question you can > ask google: have you ever heard of an X server implementation *for* > opengl? IE: an X server which runs on top of Opengl. > > I would like such a thing, because it could allow me to experiment > something like a 3d world with, say, an X server on a texture... sort of > backward-compatibility :))
I don't think an X server on a texture would be hard to implement in XFree86. It would just be another driver for a new sort of hardware. My guess would be to start by looking at the shadowfb driver, which implements an X server framebuffer in system memory, and efficiently copies the bits which change into the real framebuffer. This does mean that your X server would not be hardware accelerated. I've lost touch with OpenGL - it may not be easy to say that only part of the texture has changed, so it may not be very efficient. Perhaps you can make the X framebuffer appear as a live video texture, which might be optimized for changes. If you are prepared to optimize for a particular OpenGL implementation, you might well be able to point the X server at a piece of offscreen video memory and have the hardware accelerate the X server. -- Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge [EMAIL PROTECTED] http://www.dpmms.cam.ac.uk/~werdna _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
