[wined3d] GetFrontBufferData

Stefan Dösinger stefandoesinger at gmx.at
Mon Oct 16 15:08:44 CDT 2006

Am Montag 16 Oktober 2006 18:02 schrieb Karsten Elfenbein:
> Hi,
> this is the patch that allows EVE online to capture ingame screenshots.
> (fixes the start coordinates for glReadPixels and turns the output
> upside down again)
> It works with the login screen (running as managed window) and in
> fullscreen. (when desktop is 32bit)
> Is there much more stuff needed or would cleaning up the code and
> replacing the 4 with the size of a pixel do the trick for the tree?
Well, you could reimplement GetFrontBufferData with IWineD3DSurface_BltFast. 
This would save some code, but GetFrontBufferData in the form it is at the 
moment is well-optimized for what it is doing, so it might be better to leave 
it as it is.

Just dropping the note - Not sure what the best way is.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20061016/f0e2febb/attachment.pgp

More information about the wine-devel mailing list