mutter/src/backends/native
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
..
dbus-utils.c launcher: Replace mutter-launch with logind integration 2014-05-19 15:09:23 -04:00
dbus-utils.h launcher: Replace mutter-launch with logind integration 2014-05-19 15:09:23 -04:00
gen-default-modes.py monitor-manager-kms: Add common modes 2016-09-12 20:02:03 +02:00
meta-backend-native-private.h backends/native: Implement support for pointer barriers 2015-01-19 02:27:59 -08:00
meta-backend-native.c backends/native: Apply per-output scales when moving across outputs 2017-03-27 12:57:56 +02:00
meta-backend-native.h backends/native: Move pause/resume handling to backend 2017-03-10 17:19:33 +08:00
meta-barrier-native.c Move out generic math parts out of the native barrier implementation 2016-02-16 19:02:48 +08:00
meta-barrier-native.h backends/native: Implement support for pointer barriers 2015-01-19 02:27:59 -08:00
meta-clutter-backend-native.c Introduce regional stage rendering 2016-07-20 14:23:48 +08:00
meta-clutter-backend-native.h Introduce regional stage rendering 2016-07-20 14:23:48 +08:00
meta-cursor-renderer-native.c cursor-renderer-native: fallback to texture cursor 2017-03-29 11:15:17 +08:00
meta-cursor-renderer-native.h Support for hardware cursor sizes other than 64x64 on wayland 2014-09-24 15:42:17 -06:00
meta-default-modes.h monitor-manager-kms: Add common modes 2016-09-12 20:02:03 +02:00
meta-idle-monitor-native.c MetaIdleMonitorNative: initialize last event timestamp 2016-10-17 13:47:20 +02:00
meta-idle-monitor-native.h Start creating different subdirectories for each backend 2014-03-31 23:44:47 -04:00
meta-input-settings-native.c input-settings: Use logical monitors instead of outputs 2017-03-09 10:17:30 +08:00
meta-input-settings-native.h backends/native: Add libinput-based MetaInputSettings implementation 2015-01-18 13:32:28 -08:00
meta-launcher.c backends/native: Move pause/resume handling to backend 2017-03-10 17:19:33 +08:00
meta-launcher.h MetaLauncher: Remember the KMS file path 2016-11-18 00:00:10 +08:00
meta-monitor-manager-kms.c backends: Calculate output scale correctly on vertical transforms 2017-03-24 18:11:01 +01:00
meta-monitor-manager-kms.h monitor-manager-kms: Don't listen on hotplugs when paused 2017-03-11 09:16:33 +08:00
meta-renderer-native.c x11: Use EGL instead of GLX when drawing using GLES 2017-03-25 00:17:18 +08:00
meta-renderer-native.h MetaRendererNative: Add EGLDevice based rendering support 2016-11-18 00:00:10 +08:00
meta-stage-native.c clutter: Add infrastructure to render ClutterStageViews to offscreen 2016-08-24 02:36:45 +02:00
meta-stage-native.h backends/native: Support drawing onto multiple onscreen framebuffers 2016-07-20 14:23:48 +08:00