[Bf-taskforce25] Fix for partial buffer swaps

Domino Marama mark at identityserver.net
Fri Dec 26 23:21:06 CET 2008


I've attached a patch which fixes a problem with IBM cards on Windows
and ATI on Linux (maybe more too) where the complete back buffer is
copied rather than just the changed portion. The problem comes because
the GLX spec does not state whether glXSwapBuffers() takes the scissor
rectangle into account, so it can't be trusted to specify the update
area.

I removed the previous IBM workaround as this method should work for all
affected opengl implementations (as long as the GL_WIN_swap_hint
extension is available).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bufferswap.patch
Type: text/x-patch
Size: 1198 bytes
Desc: not available
Url : http://lists.blender.org/pipermail/bf-taskforce25/attachments/20081226/db34d815/attachment.bin 


More information about the Bf-taskforce25 mailing list