On Mon, 2002-12-16 at 14:21, Keith Whitwell wrote:
> Michel Dänzer wrote:
> > On Mon, 2002-12-16 at 14:04, Keith Whitwell wrote:
> > 
> >>I think maybe I decided copying was ok as long as:
> >>    - you rig XAA (or whatever) to always draw into the current front buffer.
> >>    - you use cliprects to exclude the 3d window so that the backbuffer never 
> >>gets scribbled.
> > 
> > 
> > Right, I keep forgetting about the issues involved with mixing X11 and
> > OpenGL. If we exclude the 3D window, it doesn't matter which buffer is
> > drawn to though, or am I missing something again?
> 
> It matters because then you'd only see the results when X and GL agree on 
> which one is the front buffer...

That's what I've been missing. So indeed it looks like the X rendering
code would have to be extended to handle this correctly. Or might there
already be code for this in related to the double buffering extension?

Meanwhile, using shadowfb instead of the mi shadow module seems to keep
the X display outside of the 3D window from getting corrupted at least.


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to