[PATCH 4/5] wined3d: Store palettes in textures instead of in surfaces.

Stefan Dösinger stefandoesinger at gmail.com
Thu Apr 24 10:26:56 CDT 2014


Yes, it apparently works. GetDC also seems to honor individual palettes on
sublevels, although I'm not fully done with tests there yet.

I think we can handle this in ddraw, but in that case ddraw will have to
assume that SetDIBColorTable can be called on DCs returned by wined3d. The
gdi backend in wined3d will partially duplicate this work for the
frontbuffer.


2014-04-24 14:18 GMT+02:00 Henri Verbeet <hverbeet at gmail.com>:

> On 24 April 2014 13:45, Stefan Dösinger <stefandoesinger at gmail.com> wrote:
> > This might work. A possible problem is that our code uses palettes to
> set up
> > the device context when getdc is called. This needs some more tests...
> >
> Provided it's supposed to work at all, we could probably move most of
> that to ddraw.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20140424/3f78b6fa/attachment.html>


More information about the wine-devel mailing list