GNOME Bugzilla – Bug 634752
Skip drawing transparent borders and backgrounds
Last modified: 2010-11-13 15:24:47 UTC
We were always drawing the border and background of each StThemeNode, even if they were transparent. The simple optimization of checking the alpha provides a significant performance boost (in a quick test, it increased the overviewFpsSubsequent metric in the core performance test from 28fps to 35fps).
Created attachment 174388 [details] [review] Skip drawing transparent borders and backgrounds
Created attachment 174389 [details] [review] Same patch with -w for ease of review
Review of attachment 174388 [details] [review]: Looks good.
Attachment 174388 [details] pushed as 3138b20 - Skip drawing transparent borders and backgrounds