Xgl question

Matthias Hopf mhopf at suse.de
Fri May 13 10:20:14 PDT 2005


On May 10, 05 15:10:02 -0600, Matthew` wrote:
> I've been playing with an sdl/opengl 3d engine lately, and have got it to  
> the point where adding a new renderer is as simple as creating a new  
> object that overloads the existing object, and overloading renderthis().  
> So my question is, can I use Xgl just like any other object inside my  
> application, or am I just dreaming??

What exactly are you refering to with Xgl? The Xserver built on top of
OpenGL (from David Reveman)? Then on the one hand you won't notice that
you will run on OpenGL, as this is abstracted by the X layer, on the
other hand there is no special interface to run your own OpenGL commands
on the same context in your program. Just create an OpenGL context as
usual - and hope that we get accelerated direct OpenGL rendering inside
Xgl done soon |-) Right now only indirect rendering is implemented.

Hope this helps at all

Matthias

-- 
Matthias Hopf <mhopf at suse.de>       __        __   __
Maxfeldstr. 5 / 90409 Nuernberg    (_   | |  (_   |__         mat at mshopf.de
Phone +49-911-74053-715            __)  |_|  __)  |__  labs   www.mshopf.de



More information about the xorg mailing list