WineD3D surface management cleanup

Stefan Dösinger stefandoesinger at gmx.at
Sat Sep 22 17:22:58 CDT 2007


Am Sonntag, 23. September 2007 00:14:06 schrieb Stefan Dösinger:
> Hi,
>
> This mail is mainly addressed at Henri and Roderick, but I'll send it here
> to allow others to read it too.
>
> These patches contain some cleanups of the d3d surface loading code. It's
> main aim is to put the code that copies the surface between system memory,
> texture and drawable into a centralized place, make LockRect simpler and
> pbo creation and surface memory allocation in one place(surface allocation
> is not completely there yet). It also makes other parts of the code
> simpler, avoids playing with the surface flags in other places, and it will
> allow us to centralize the logic that in the case of fbo offscreen
> rendering the drawable is the same as the texture(This is also not
> implemented yet).
>
> The patches don't aim at fixing any bugs themselves, and I hardly tested
> them, so there may be a truckload of regressions. I'm mainly showing them
> to show the general direction I'm heading into.
Ah, and the cleanup needs a cleanup itself too, e.g. RequestLocation should 
move most code into subfunctions.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20070923/4cb46777/attachment-0001.pgp 


More information about the wine-devel mailing list