Jamey Sharp
bf78e11839
midispcur: Construct Picture objects lazily in case Render is disabled.
...
Reverts part of the effects of 518f3b189b ,
"mi: don't thrash resources when displaying the software cursor across
screens". The per-screen cache is preserved, and the GCs are still
allocated eagerly, but now it doesn't construct pRootPicture until
somebody attempts to draw an ARGB cursor.
I noticed crashes in Xnest, which doesn't support the RENDER extension,
but I suspect other DDXes that support disabling that extension would
have had issues as well.
Signed-off-by: Jamey Sharp <jamey@minilop.net >
Reviewed-by: Pierre-Loup A. Griffais <pgriffais@nvidia.com >
2010-05-25 09:05:37 -07:00
..
2010-04-27 11:14:03 -07:00
2009-09-20 20:45:24 +10:00
2010-05-13 17:14:07 -07:00
2010-05-13 17:14:07 -07:00
2009-05-14 07:02:44 -04:00
2008-12-03 05:43:34 -02:00
2006-07-21 17:56:00 -04:00
2010-05-13 00:22:37 +07:00
2010-04-23 15:49:23 +03:00
2008-07-23 13:37:42 -04:00
2010-05-13 00:22:37 +07:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2010-05-25 09:05:37 -07:00
2010-05-13 00:22:37 +07:00
2010-05-19 12:32:34 -07:00
2010-05-13 00:22:37 +07:00
2008-12-03 05:43:34 -02:00
2010-05-13 00:22:37 +07:00
2008-12-03 05:43:34 -02:00
2010-05-13 00:22:37 +07:00
2010-05-13 00:22:37 +07:00
2008-12-03 05:43:34 -02:00
2010-05-13 17:14:07 -07:00
2010-04-26 19:18:41 -07:00
2009-02-07 21:58:17 +01:00
2010-05-13 00:22:37 +07:00
2008-12-03 05:43:34 -02:00
2010-05-14 07:50:49 +03:00
2009-05-16 12:20:58 +10:00
2008-06-11 17:24:19 +09:30
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2010-05-13 00:22:37 +07:00
2010-05-13 00:22:37 +07:00
2010-05-13 17:14:07 -07:00
2010-05-13 00:22:37 +07:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2010-05-13 00:22:37 +07:00
2010-05-13 00:22:37 +07:00
2010-05-13 00:22:37 +07:00
2006-07-21 17:56:00 -04:00
2010-05-14 07:50:49 +03:00
2010-05-13 00:22:37 +07:00
2008-12-07 02:22:19 -02:00
2010-05-19 10:00:51 -07:00
2010-05-19 10:00:49 -07:00
2007-06-29 14:06:52 -04:00
2007-06-29 14:06:52 -04:00
2009-01-22 02:11:16 -05:00
2010-05-13 17:14:07 -07:00
2010-05-13 17:14:07 -07:00
2010-05-13 00:22:37 +07:00
2010-05-13 17:14:07 -07:00
2008-12-03 05:43:34 -02:00
2008-12-03 05:43:34 -02:00
2010-05-13 00:22:37 +07:00