[PATCH 2/5] wined3d: Set palettes on the swapchain.

Stefan Dösinger stefandoesinger at gmail.com
Thu May 15 08:36:19 CDT 2014


Am 15.05.2014 um 15:27 schrieb Henri Verbeet <hverbeet at gmail.com>:

> I don't think this kind of thing should be needed. You should be able
> to make the palette texture that currently lives in the ARB program
> shader backend a property of the wined3d palette, and then presents
> can just make sure the palette texture is current. Something similar,
> if perhaps slightly more involved, should be possible for the GDI
> swapchain with GDI palettes.
We have to redraw the front buffer when the palette is changed for palette fading to work. We can’t wait for the next present, nor can we initiate a regular present since we want the front buffer redrawn, and not the back buffer.

But yes, the P8 palette should be moved into wined3d_palette. That’s a separate concern IMO.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20140515/10f8585c/attachment.sig>


More information about the wine-devel mailing list