[Wayland-bugs] [Bug 772075] GTK+ uses a lot more CPU under Wayland than under X11
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Wed Oct 26 16:23:45 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=772075
--- Comment #3 from Gustavo Noronha (kov) <gns at gnome.org> ---
Created attachment 338532
--> https://bugzilla.gnome.org/attachment.cgi?id=338532&action=edit
css shadows: repeat a painted surface rather than masking
After further investigating, it seems like doing a repeat masking is much
slower than a repeat paint operation. Using an intermediate surface and
repeating it improves performance a lot - I can now resize terminal and
browser windows without hiccups, and the pixbufs demo runs much better.
I still see a lot of overhead caused by the mixing of GL and 2D cairo in some
test cases (such as
https://webkit.org/blog-files/3d-transforms/poster-circle.html), but the
overhead caused by painting shadows pretty much disappears from
my profiles (I'm testing mainly with gtk 3.20 on Fedora 24, but tried the patch
on master as well).
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20161026/cd304666/attachment.html>
More information about the wayland-bugs
mailing list