[cairo] [patch] pixman_fill_rect implementations for specific bpp modes

Aivars Kalvans aivars.kalvans at inbox.lv
Wed Jul 26 07:27:36 PDT 2006


pixman_fill_rect_general() is implicitly called from
gdk_window_clear_backing_rect() and takes about 20% of gnome-terminal's
time when doing `ls -laR /` or `cat large-file` (not counting X). Adding
specific implementation for 16bpp mode reduces that to less than 10%.

I can send sysprof profile if anyone wants to look at it.

-- 
Aivars

-------------- next part --------------
A non-text attachment was scrubbed...
Name: icrect.diff
Type: text/x-patch
Size: 2433 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20060726/00e8c39d/icrect.bin


More information about the cairo mailing list