Zhiyi Zhang : user32: Cache monitor information.

Alexandre Julliard julliard at winehq.org
Mon Jul 1 15:15:16 CDT 2019


Module: wine
Branch: master
Commit: 95be042be3f116db38eb4a255c2667a6b46fcc1e
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=95be042be3f116db38eb4a255c2667a6b46fcc1e

Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date:   Mon Jul  1 20:13:38 2019 +0800

user32: Cache monitor information.

Multiple applications call EnumDisplayMonitors very frequently.
Reduce most of the overhead by caching.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47431
Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/user32/sysparams.c | 181 +++++++++++++++++++++++++++++++-----------------
 1 file changed, 116 insertions(+), 65 deletions(-)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=95be042be3f116db38eb4a255c2667a6b46fcc1e



More information about the wine-cvs mailing list