On Thursday 15 September 2011 20:01:50 Henri Verbeet wrote:
In principle this allows us to use more than one backbuffer in ddraw. It's also a requirement for the next patch.
I think this, and the next patch should be implemented in wined3d by handling D3DSWAPEFFECT_FLIP in essentially the same way you're handling them in ddraw in your patches.
d3d8 and d3d9 apps can request multiple backbuffers and access them explicitly just like ddraw apps can.
In patch 3 I'm not sure what happens when the app draws to the frontbuffer directly. Maybe I'm a bit too tired to see it, but doesn't that result in a blit of the surface onto itself?