• Stefan Agner's avatar
    pixman: avoid unnecessary y-flip for screen capture · da2e574c
    Stefan Agner authored
    Commit 4fc5dd00 ("compositor: add capability CAPTURE_YFLIP")
    introduced a capability flag which indicates whether y-flipping is
    necessary. As already indicated in that commit message, it seems
    that pixman flipps the y-axis only due to historic reasons.
    
    Drop y-flipping and use the WESTON_CAP_CAPTURE_YFLIP flag to
    indicate that y-flipping is not necessary. This simplifies code
    and improves screen share performance (on my test by about 3% down
    to 18% CPU load on the sharing instance of Weston).
    Signed-off-by: Stefan Agner's avatarStefan Agner <stefan@agner.ch>
    da2e574c
Name
Last commit
Last update
.gitlab-ci Loading commit data...
clients Loading commit data...
compositor Loading commit data...
data Loading commit data...
desktop-shell Loading commit data...
doc Loading commit data...
fullscreen-shell Loading commit data...
include Loading commit data...
ivi-shell Loading commit data...
libweston Loading commit data...
libweston-desktop Loading commit data...
man Loading commit data...
pipewire Loading commit data...
protocol Loading commit data...
remoting Loading commit data...
shared Loading commit data...
tests Loading commit data...
tools/zunitc Loading commit data...
wcap Loading commit data...
xwayland Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING Loading commit data...
DCO-1.1.txt Loading commit data...
README.md Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
notes.txt Loading commit data...
releasing.txt Loading commit data...
weston.ini.in Loading commit data...