Jente Hidskes 0d5274b3b7 cursor-renderer-native: fallback to texture cursor
In some cases the hardware cursor is invisible when Mutter is launched from the
TTY, due to drmModeSetCursor2 failing without a fallback being set.

This patch captures the return value of drmModeSetCursor2 and in case of an
error, enables the texture based fallback. It adds a `broken` state, that is
checked in should_have_hw_cursor() and
meta_cursor_renderer_native_realize_cursor_from_*() to avoid copying every
cursor into a gbm buffer when we know it will fail every single time.

https://bugzilla.gnome.org/show_bug.cgi?id=770020
2017-03-29 11:15:17 +08:00
2017-02-16 02:44:16 +01:00
2015-07-06 00:52:18 -07:00
2017-03-27 15:09:13 +00:00
2014-03-18 20:37:35 -04:00
2017-02-16 16:01:42 +01:00
2017-03-20 18:17:58 +01:00
2016-04-27 20:37:47 +02:00
2014-07-31 17:50:28 +02:00
2017-03-20 18:17:58 +01:00
Description
91 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%