Files
xserver/dix
Adam Jackson 5ac4bfca64 input: calloc minimization for xi2mask_new
There's no reason to do this as (nmasks + 2) callocs, and it's a
surprisingly hot path.  Turns out you hit this ~once per passive grab,
and you do a few bajillion passive grab changes every time you enter or
leave the overview in gnome-shell.  According to a callgrind of Xorg
with gnome-shell-perf-tool run against it:

Ir before: 721437275
Ir after:  454227086

Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-10-14 11:07:37 +10:00
..
2012-03-21 13:54:42 -07:00
2012-12-05 18:09:48 -06:00
2013-09-10 13:28:24 -04:00
2012-03-21 13:54:42 -07:00
2012-11-19 12:12:23 +10:00
2012-03-21 13:54:42 -07:00
2012-05-01 11:36:30 +10:00
2013-05-15 19:17:57 +10:00
2013-07-23 23:56:58 +01:00
2013-07-23 23:56:58 +01:00
2009-08-28 23:29:05 -04:00
2012-03-21 13:54:42 -07:00
2013-07-23 23:56:58 +01:00
2013-09-10 13:28:24 -04:00
2012-03-22 11:33:42 +10:00