[PATCH] winex11: Don't create a temporary context each time X11DRV_wglBindTexImageARB is called.
Matteo Bruni
matteo.mystral at gmail.com
Wed Mar 16 11:18:21 CDT 2016
2016-03-15 18:58 GMT+01:00 Miklós Máté <mtmkls at gmail.com>:
> Theoretically wglBindTexImageARB is supposed to be a fast
> render-to-texture method, and creating a new context is anything but fast.
>
> This fixes horrible performance in Star Wars
> Knights of the Old Republic when post-process effects are enabled.
>
> v2: fix context caching, fix destructor, fix comments
> v3: better handling of context delete
> v4: fix critical section
>
> Signed-off-by: Miklós Máté <mtmkls at gmail.com>
FWIW, this looks good to me. Thanks!
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
More information about the wine-patches
mailing list