[Webkit-unassigned] [Bug 39582] [Gtk] very slow page scrolling on big -webkit-box-shadow areas

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 18 05:48:20 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=39582





--- Comment #8 from Alejandro G. Castro <alex at igalia.com>  2010-06-18 05:48:20 PST ---
Created an attachment (id=59100)
 --> (https://bugs.webkit.org/attachment.cgi?id=59100)
Patch showing an option to avoid get and put

After talking to krit about the issues I found I've created another bug in order to fix the kernel_size calculations (bug 40793), with that patch we could check the size of the minimum rectangle using the blurRadius. Anyway I also wanted to show the idea of how to avoid the pre/put process, this patch is just a rough test I did to check if it makes sense. In that case we would have to clean the code, do this just in case the image is an alpha image and review the API of ImageBuffer for all the platforms. It used both optimizations: arrays and avoid initial put/get operations of the result buffer doing the operations directly with the result buffers data. As krit said we would have to check also the security issues, probably check carefully all the input variables.

I've tested this patch with identi.ca and it makes the difference in my computer, it is not perfect though (try it and give some feedback), oprofile graphics show we are saving almost 40% of the time (over the 20% we win with the array change).

I would say that if this patch makes sense we can use this one and create the tiling proposal over it, that way we would have a faster solution for these cases.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list