https://bugzilla.gnome.org/show_bug.cgi?id=772075

--- Comment #3 from Gustavo Noronha (kov) <[email protected]> ---
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.
_______________________________________________
wayland-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to