Daniel van Vugt
0e0574a0b4
iconGrid: Eliminate JavaScript for painting/picking
...
The only reason for `vfunc_paint` and `vfunc_pick` existing was to
implement a culling optimization. Although that optimization actually
made performance worse than none at all because it forced the painting
and picking cycles to spend more time calling into JavaScript.
Turns out we don't have to choose between native code and culling though.
Just reimplement the culling using native ClutterActor functions and we
get the benefits of both.
Performance on an i7-7700:
Moving the cursor over the icon grid:
Before: 70% CPU, 5.5ms per frame
After : 60% CPU, 4.5ms per frame
Scrolling the icon grid:
Before: 60% CPU, 4.4ms per frame
After : 50% CPU, 3.3ms per frame
Helps with https://gitlab.gnome.org/GNOME/gnome-shell/issues/174
2018-11-27 13:25:37 +00:00
..
2018-10-24 00:13:10 +02:00
2018-11-17 12:18:23 +00:00
2018-09-17 07:34:49 +00:00
2018-10-08 22:42:24 -03:00
2018-02-21 13:55:02 +00:00
2018-11-17 12:08:33 +00:00
2018-10-08 16:22:04 +00:00
2018-09-17 07:34:49 +00:00
2018-07-06 19:56:19 +02:00
2018-02-21 13:55:00 +00:00
2018-07-31 18:14:14 +00:00
2018-10-08 22:43:01 -03:00
2018-11-26 15:34:08 +00:00
2018-02-21 13:54:58 +00:00
2018-10-08 16:03:53 +00:00
2018-10-08 22:42:24 -03:00
2018-11-19 15:51:32 +00:00
2018-10-25 13:05:47 +02:00
2018-08-27 14:16:59 +00:00
2018-09-03 22:43:21 +00:00
2018-07-06 19:56:19 +02:00
2018-09-25 21:28:35 +01:00
2018-02-21 13:55:00 +00:00
2018-02-21 13:55:02 +00:00
2018-09-03 23:29:01 +00:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:55:00 +00:00
2018-10-08 22:43:01 -03:00
2018-11-27 13:25:37 +00:00
2018-02-21 13:54:58 +00:00
2018-02-21 13:55:02 +00:00
2018-10-08 22:43:01 -03:00
2018-10-08 22:42:26 -03:00
2018-02-21 13:55:02 +00:00
2018-10-08 22:43:01 -03:00
2018-07-06 19:56:19 +02:00
2018-09-17 07:34:49 +00:00
2018-09-03 23:29:01 +00:00
2018-09-03 22:43:21 +00:00
2018-11-10 10:56:49 +00:00
2018-07-06 19:56:19 +02:00
2018-09-17 07:34:49 +00:00
2018-11-13 15:39:56 +01:00
2018-07-06 19:56:19 +02:00
2018-10-22 14:58:50 +00:00
2018-10-08 22:42:23 -03:00
2018-10-08 22:42:25 -03:00
2018-09-17 07:34:49 +00:00
2018-10-23 16:24:22 +02:00
2018-10-08 22:43:13 -03:00
2018-02-21 13:55:02 +00:00
2018-10-11 07:45:44 +00:00
2018-04-14 09:02:20 +00:00
2018-08-27 19:23:00 +02:00
2018-08-17 18:37:32 +00:00
2018-09-17 07:34:49 +00:00
2018-10-08 22:42:26 -03:00
2018-09-17 07:34:49 +00:00
2018-09-17 07:34:49 +00:00
2018-10-08 22:42:25 -03:00
2018-07-31 16:28:53 +00:00
2018-09-17 07:34:49 +00:00
2018-03-14 13:30:47 +00:00
2018-09-17 07:34:49 +00:00
2018-07-31 18:14:10 +00:00
2018-10-25 12:33:10 -03:00
2018-09-13 16:11:16 +00:00
2018-02-21 13:55:00 +00:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:55:02 +00:00
2018-10-04 16:40:46 +00:00
2018-11-14 19:38:33 +01:00
2018-11-13 14:56:11 +00:00
2018-09-11 12:59:07 +02:00
2018-11-22 23:50:24 +01:00
2018-11-08 10:50:32 +01:00
2018-10-08 22:42:26 -03:00
2018-11-08 10:50:32 +01:00
2018-02-21 13:55:02 +00:00