wined3d smarter chache for the backbuffer

Oliver Stieber oliver_stieber at
Tue Sep 20 19:43:48 CDT 2005

This patch tracks clearing and writing to the back buffer so that when it is
locked we can use cache (or memset) to take the place of glReadPixels giving
at least 10 times the performance for movies and other tasks that write to the

A good test to see the performance improvement is the dx9_2d_demo_game from

TODO: Ideally clearBuffer and bufferValid should be encapsulated in IWineD3DSurface. (I'll send a
patch for that through soon)

To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wined3d-chache-back-buffer-os-1.patch
Type: text/x-diff
Size: 19268 bytes
Desc: 3282573574-wined3d-chache-back-buffer-os-1.patch
Url :

More information about the wine-patches mailing list