On 7 February 2016 at 18:24, Stefan Dösinger stefandoesinger@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.