On Fri, 9 Nov 2001, Chris Nuernberger wrote:
> Hey, I would like to mix xdga 2.0 (so I can write directly to the frame
> buffer myself) and openGL. Is this possible, if you say yes, please send
> code that does exactly this.
> I switch modes to whatever I want with XDGASetMode(...).
> Then I set up some glxcontext and all that crap with a window, then make the
> window MapRaised and also glxMakeCurrent. None of those give any errors.
> Then I try to draw to that window as if it was a normal window, and here I
> get odd behavior, as in nothing happens. Nothing at all happens, but the
> drawing code and the glxSwapBuffers code works just fine (as in no errors,
> but nothing appears on the screen).
In DGA the X-server is essentially switched away (like to another
VT). There are no windows, they are all clipped away. The DGA
drawable is a pixmap and you can probably get OpenGL to render
to it by making a GLXPixmap out of it. But I doubt any implementation
would be accelerating it. I think with both the DRI and NVIDIA's
implementation you'd end up with indirect software rendering.
Mark.
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert