Jens Owen wrote:
Keith wrote:

Jens wrote:

Michel wrote:

 >>> This doesn't help mixed OpenGL and X11 rendering in the same
 >>> window, but that supposedly doesn't work with the traditional
 >>> method of drawing to the back buffer and then copying it over
 >>> the front buffer either, so enable page flipping by default.
 >>

What "clobbering" is allowed can be inferred from the GLX specification. If you overlook DBE for a second, I believe we are meeting the requirements of the spec, so I wouldn't say we're "broken".

This isn't true.

I'll clarify my statement...the traditional non-page flipping code is not broken.

Consider when a diagonal line is drawn by Xlib across the active GL window, with pages flipped.

--> Xlib draws in the "back buffer"

It's my interpretation that this step alone doesn't comply with the GLX spec for the page flipping case, but it does work with the traditional code.
True. The solution I like is

-- The 2d parts of the server know to draw to the current front buffer only. Need some way to deal with XAA's addressing of the pixcache.

-- Shadow copies dirty regions to the backbuffer, *except* for those intersecting the visible part of the 3d window.

Only the first bit is tricky.

Keith



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to