[2/2] WineD3D: Re-download dirty GL surfaces

Phil Costin philcostin at hotmail.com
Wed Jan 3 14:14:04 CST 2007

Stefan Dösinger wrote:

> Am 03.01.2007 um 02:48 schrieb Phil Costin:
>> This patch enables the forced re-downloading of dirty GL surfaces.
>> It requires [1/2] WineD3D: Mark GL Surface Clean after Fresh Surface
>> Download and is the first step toward supporting gamma-corrected
>> (sRGB)
>> texture sampling support.
>> Thanks to Stefan Dösinger for his advice in IRC during the
>> implementation of
>> these 2 patches.
>> <surfacedownload.diff>
> You will have to bind the surface's texture to gl to be able to
> download the surface. If the texture name in glDescription is 0 you
> don't have to download. Select a proper texture unit(e.g. 0) before
> binding and mark that sampler dirty to force drawprim to restore it
> later.

Thanks Stefan. I'll take this into account when I re-check everything.


More information about the wine-devel mailing list