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

Stefan Dösinger stefandoesinger at gmail.com
Sun Feb 7 11:24:17 CST 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Am 2016-02-05 um 20:31 schrieb Henri Verbeet:
> dlls/wined3d/texture.c    | 32 ++++++++++++++++++++++++++++++++
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.

Fwiw, the only non video player app that uses overlays that I know is
settlers 3, which uses them to draw the mouse pointer if certain
options are set.

(Feel free to completely ignore this concern, I don't think overlays
should be a side quest for CSMT...)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWt33BAAoJEN0/YqbEcdMwiAoP/2uQ2ieAcs6PnFDTpwFhXMxf
nYthS9pQfhmLSKPfyp69sj1QJvGLkfwtRJD4xqdu0TkJp3YMYsHIzFktT6wODcOd
hqnMcN+8S0EYLFg7CYWgbwN+b+stUUzyFxML5DkLglnU6zC2nfid5Vv0h8o27o/D
ySUKnSMqyhIzU5N1KL1qTaucnLYG9zW9Sgtw05zCpBZ86wy2X12ylyhRvofslqPj
Cm6TPT5RPcgDw7TGSDfF1nFIp4c3nO6DIl4mWMBP6VCl+Z69Q2CqvSGBqW4ZWd3U
Zs1Kae+6iF8FghwNtXx68o/gi/hcab648mA6Jc1ybnwGupv3i27/7ayQPB4Wb4R3
rx/37cJNz4FS9X5/reQJEOhoJR9wDzbBqmyctMOoMp8lOJCcpUaACdFDYvxVhvcv
C4T0nMA8nmJ+uW5fgscsduEUFqPAN9QHwHDpn9AzzGVnjrpCEvFwXYFfuLZdhU9r
NqMaxpyllA7S8GGuF4gmPPKopKl5C9+ZlNyTEadzhtksgZ9vqtXYbrxYaJryIMwG
CPakKX5VHVP48IFxbFgzi7/0iq51njkS0BmTKc65+ZCa6bO3sVAcbu29N1UOFOYU
T0XfO6PDUgljCCDLm/9+wrbpGd23yu9HQnUHcwyh41H06L1rBcun52P7PSdoC8Jh
vGSx0aSmRCCBYTM9RpWi
=XqoV
-----END PGP SIGNATURE-----



More information about the wine-devel mailing list