[PATCH 4/5] wined3d: Introduce wined3d_texture_get_overlay_position().

Henri Verbeet hverbeet at gmail.com
Sun Feb 7 12:47:48 CST 2016


On 7 February 2016 at 18:24, Stefan Dösinger <stefandoesinger at gmail.com> wrote:
> I think the overlay API would be much nicer in swapchains, either
> textures overlaying swapchains or swapchains overlaying swapchains.
> Unfortunately the fact that you can assign an overlay to an
> offscreenplain surface makes that very difficult. A solution similar
> to palettes where we do most tracking in ddraw and only forward
> "useful" setups to wined3d might be feasible.
>
Yeah, it probably belongs in the swapchain in some form. I originally
considered moving it entirely into ddraw, which shouldn't be too hard,
but DXGI 1.3 seems to support some form of overlays, and there's also
a small chance we'll want to use OpenGL overlays, so in the end I
decided to just stick with what we currently have until we need
something better.



More information about the wine-devel mailing list