wined3d smarter chache for the backbuffer
Oliver Stieber
oliver_stieber at yahoo.co.uk
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
backbuffer.
A good test to see the performance improvement is the dx9_2d_demo_game from
http://www.codesampler.com/dx9src.htm
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. http://uk.security.yahoo.com
-------------- 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 : http://www.winehq.org/pipermail/wine-patches/attachments/20050921/2471ac29/wined3d-chache-back-buffer-os-1.patch
More information about the wine-patches
mailing list