[PATCH 2/2] d3dx9: Add FIXME for unlockable source surface in D3DXLoadSurfaceFromSurface().

Henri Verbeet hverbeet at gmail.com
Fri Nov 16 12:25:47 CST 2018


On Fri, 16 Nov 2018 at 21:37, Matteo Bruni <matteo.mystral at gmail.com> wrote:
> > It concerns some other D3DX surface manipulating functions which I did
> > not test yet for ability to workaround this case. So I would suggest the
> > following steps:
> >
> > 1. Add a code path for StrecthBlt (which would be a priority over
> > locking the texture). I guess this should cover the majority of
> > practical cases.
> >
> > 2. Use a staging texture if texture is not lockable;
> >
> > 3. Fix output to unlockable texture through staging texture (with some
> > tests for the other functions touching this).
>
> Sounds good. I'd probably wait for Henri's patches before venturing
> too far along the plan.
>
My patches are largely along those lines.



More information about the wine-devel mailing list