• Zhiyi Zhang's avatar
    light.msstyles: Use border fill background for progress parts. · 2960cf2e
    Zhiyi Zhang authored
    These parts only contain simple images that can be achieved with border fill backgrounds as well.
    So visually, this change is a no-op. The reason for using image file backgrounds is that I tend
    to use the same background type as the theme files for Windows. However, drawing border fill
    background is much more efficient.
    
    Pro Evolution Soccer 2008 demo is buggy and generates ~570,000 WM_PAINT messages for the progress
    control. On Windows, it's ~1,140,000 WM_PAINT messages. DrawThemeBackground() on Wine is 10x more
    expensive than that of Windows and I found little room for optimization. 60% of the time in
    DrawThemeBackground() is spend for CreateCompatibleDC() and other 30% for actually drawing. So I
    decided to change light.msstyles instead.
    
    Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54728
    2960cf2e
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
nls Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...