mutter/src/backends/native
Marco Trevisan (Treviño) a8d11161b6 kms: Only emit resources-changed signal if we recorded a change
Since we cache already all the KMS parameters we care about let's check at
each device update if anything has really changed and only in such case
emit a resources-changed signal.

In this way we can also filter out the DRM parameters that when changed
don't require a full monitors rebuild.

Examples are the gamma settings or the privacy screen parameters, that
emits an udev "hotplug" event when changed, but we want to register those
only when we handle the changed property.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1964>
2021-09-20 15:37:59 +00:00
..
dbus-utils.c
dbus-utils.h
gen-default-modes.py
meta-backend-native-private.h native: Add device pool for tracking device file descriptors 2021-07-07 21:03:25 +02:00
meta-backend-native-types.h renderer/native: Decouple device file from MetaKmsDevice 2021-07-07 21:03:26 +02:00
meta-backend-native.c context: Make the context own MetaWaylandCompositor 2021-07-15 11:34:37 +02:00
meta-backend-native.h tests: Add headless native backend test 2021-03-12 15:09:45 +00:00
meta-barrier-native.c src: Stop using GSlice 2021-02-22 13:52:27 +01:00
meta-barrier-native.h
meta-clutter-backend-native.c backend: Take over seat ownership from the clutter backend 2021-03-13 18:56:21 +00:00
meta-clutter-backend-native.h clutter/backend/native: Don't double manage stage implementation 2021-03-13 18:56:21 +00:00
meta-cogl-utils.c native/cogl-utils: Fix license header 2021-01-28 20:33:01 +00:00
meta-cogl-utils.h native/cogl-utils: Minor macro cleanup 2021-01-28 20:33:01 +00:00
meta-crtc-kms.c onscreen/native: Pass damage rectangles when page flipping 2021-09-03 21:37:56 +01:00
meta-crtc-kms.h onscreen/native: Pass damage rectangles when page flipping 2021-09-03 21:37:56 +01:00
meta-crtc-mode-kms.c crtc-mode-info: Add vblank duration field 2021-07-13 08:09:42 +00:00
meta-crtc-mode-kms.h
meta-crtc-mode-virtual.c Introduce virtual monitors 2021-03-12 15:09:45 +00:00
meta-crtc-mode-virtual.h Introduce virtual monitors 2021-03-12 15:09:45 +00:00
meta-crtc-native.c crtc/kms: Make the 'transform-handled' API pass through MetaCrtcNative 2021-03-12 15:09:45 +00:00
meta-crtc-native.h crtc/kms: Make the 'transform-handled' API pass through MetaCrtcNative 2021-03-12 15:09:45 +00:00
meta-crtc-virtual.c Introduce virtual monitors 2021-03-12 15:09:45 +00:00
meta-crtc-virtual.h Introduce virtual monitors 2021-03-12 15:09:45 +00:00
meta-cursor-renderer-native.c drm-buffer: Create from MetaDeviceFile instead of MetaKmsDevice 2021-07-07 21:03:26 +02:00
meta-cursor-renderer-native.h
meta-device-pool-private.h native: Add device pool for tracking device file descriptors 2021-07-07 21:03:25 +02:00
meta-device-pool.c device-pool: Add debug logging 2021-07-16 18:17:04 +02:00
meta-device-pool.h native: Release output device files that are unused 2021-07-07 21:10:30 +02:00
meta-drm-buffer-dumb.c drm-buffer/dumb: Return TRUE when init succeeded 2021-07-16 17:18:55 +02:00
meta-drm-buffer-dumb.h drm-buffer: Create from MetaDeviceFile instead of MetaKmsDevice 2021-07-07 21:03:26 +02:00
meta-drm-buffer-gbm.c backends/native: Get rendering and swap timings during scanout 2021-07-13 08:09:42 +00:00
meta-drm-buffer-gbm.h drm-buffer: Create from MetaDeviceFile instead of MetaKmsDevice 2021-07-07 21:03:26 +02:00
meta-drm-buffer-import.c drm-buffer: Create from MetaDeviceFile instead of MetaKmsDevice 2021-07-07 21:03:26 +02:00
meta-drm-buffer-import.h drm-buffer: Create from MetaDeviceFile instead of MetaKmsDevice 2021-07-07 21:03:26 +02:00
meta-drm-buffer-private.h backends/native: Get rendering and swap timings during scanout 2021-07-13 08:09:42 +00:00
meta-drm-buffer.c backends/native: Get rendering and swap timings during scanout 2021-07-13 08:09:42 +00:00
meta-drm-buffer.h backends/native: Get rendering and swap timings during scanout 2021-07-13 08:09:42 +00:00
meta-gpu-kms.c kms: Remove now unused API to get file descriptor 2021-07-07 21:03:26 +02:00
meta-gpu-kms.h kms: Only emit resources-changed signal if we recorded a change 2021-09-20 15:37:59 +00:00
meta-input-device-native.c backends/native: Fix logic error 2021-07-07 18:37:54 +02:00
meta-input-device-native.h
meta-input-device-tool-native.c
meta-input-device-tool-native.h
meta-input-settings-native.c backends: Drop MetaInputSettings::seat property 2021-05-05 19:07:26 +00:00
meta-input-settings-native.h
meta-input-thread.h backends/native: Add distinct meta-input-thread.h header 2020-11-27 15:14:34 +00:00
meta-keymap-native.c clutter/keymap: Make caps and num lock state properties 2021-03-04 17:39:08 +00:00
meta-keymap-native.h clutter/keymap: Make caps and num lock state properties 2021-03-04 17:39:08 +00:00
meta-kms-connector-private.h kms: Only emit resources-changed signal if we recorded a change 2021-09-20 15:37:59 +00:00
meta-kms-connector.c kms: Only emit resources-changed signal if we recorded a change 2021-09-20 15:37:59 +00:00
meta-kms-connector.h kms/connector: Don't use MetaConnectorType for connector type 2021-03-12 15:09:45 +00:00
meta-kms-crtc-private.h kms: Only emit resources-changed signal if we recorded a change 2021-09-20 15:37:59 +00:00
meta-kms-crtc.c kms: Only emit resources-changed signal if we recorded a change 2021-09-20 15:37:59 +00:00
meta-kms-crtc.h
meta-kms-device-private.h kms: Only emit resources-changed signal if we recorded a change 2021-09-20 15:37:59 +00:00
meta-kms-device.c kms: Only emit resources-changed signal if we recorded a change 2021-09-20 15:37:59 +00:00
meta-kms-device.h kms: Remove now unused API to get file descriptor 2021-07-07 21:03:26 +02:00
meta-kms-impl-device-atomic.c kms: Allow passing framebuffer damage metadata 2021-09-03 21:10:35 +01:00
meta-kms-impl-device-atomic.h kms: Add atomic MetaKmsImplDevice backend 2021-01-22 16:47:08 +00:00
meta-kms-impl-device-dummy.c kms: Have the device impl open device files themself 2021-07-07 21:03:25 +02:00
meta-kms-impl-device-dummy.h kms: Add way to run without mode setting 2021-03-12 15:09:45 +00:00
meta-kms-impl-device-simple.c native: Release output device files that are unused 2021-07-07 21:10:30 +02:00
meta-kms-impl-device-simple.h
meta-kms-impl-device.c kms: Only emit resources-changed signal if we recorded a change 2021-09-20 15:37:59 +00:00
meta-kms-impl-device.h kms: Only emit resources-changed signal if we recorded a change 2021-09-20 15:37:59 +00:00
meta-kms-impl.c native: Release output device files that are unused 2021-07-07 21:10:30 +02:00
meta-kms-impl.h native: Release output device files that are unused 2021-07-07 21:10:30 +02:00
meta-kms-mode-private.h kms/mode: Recreate blob id each mode set 2021-07-07 21:03:25 +02:00
meta-kms-mode.c kms: Only emit resources-changed signal if we recorded a change 2021-09-20 15:37:59 +00:00
meta-kms-mode.h kms: Only emit resources-changed signal if we recorded a change 2021-09-20 15:37:59 +00:00
meta-kms-page-flip-private.h kms/page-flip: Pass ownership of listener user data along with closure 2021-01-22 16:47:08 +00:00
meta-kms-page-flip.c kms: Gracefully handle page flipping direct scanouts failing 2021-07-02 13:29:54 +00:00
meta-kms-plane-private.h kms: Allow passing framebuffer damage metadata 2021-09-03 21:10:35 +01:00
meta-kms-plane.c kms: Allow passing framebuffer damage metadata 2021-09-03 21:10:35 +01:00
meta-kms-plane.h
meta-kms-private.h
meta-kms-types.h kms: Only emit resources-changed signal if we recorded a change 2021-09-20 15:37:59 +00:00
meta-kms-update-private.h kms: Allow passing framebuffer damage metadata 2021-09-03 21:10:35 +01:00
meta-kms-update.c kms: Allow passing framebuffer damage metadata 2021-09-03 21:10:35 +01:00
meta-kms-update.h kms: Allow passing framebuffer damage metadata 2021-09-03 21:10:35 +01:00
meta-kms-utils.c backends/native: Add meta_calculate_drm_mode_vblank_duration_us() 2021-07-13 08:09:42 +00:00
meta-kms-utils.h backends/native: Add meta_calculate_drm_mode_vblank_duration_us() 2021-07-13 08:09:42 +00:00
meta-kms.c kms: Only emit resources-changed signal if we recorded a change 2021-09-20 15:37:59 +00:00
meta-kms.h native: Release output device files that are unused 2021-07-07 21:10:30 +02:00
meta-launcher.c launcher: Remove open/close restricted file API 2021-07-13 12:19:14 +00:00
meta-launcher.h launcher: Remove open/close restricted file API 2021-07-13 12:19:14 +00:00
meta-monitor-manager-native.c kms: Only emit resources-changed signal if we recorded a change 2021-09-20 15:37:59 +00:00
meta-monitor-manager-native.h native: Rename MetaMonitorManagerKms to MetaMonitorManagerNative 2021-03-12 15:09:45 +00:00
meta-onscreen-native.c onscreen/native: Pass damage rectangles when page flipping 2021-09-03 21:37:56 +01:00
meta-onscreen-native.h onscreen/native: Move function declaration to the correct header file 2021-02-09 08:27:11 +00:00
meta-output-kms.c output/kms: Add back common modes on non-single mode outputs 2021-04-27 16:12:18 +00:00
meta-output-kms.h output/kms: Make EDID be read via MetaOutputNative object 2021-03-12 15:09:45 +00:00
meta-output-native.c output/kms: Make EDID be read via MetaOutputNative object 2021-03-12 15:09:45 +00:00
meta-output-native.h output/kms: Make EDID be read via MetaOutputNative object 2021-03-12 15:09:45 +00:00
meta-output-virtual.c Introduce virtual monitors 2021-03-12 15:09:45 +00:00
meta-output-virtual.h Introduce virtual monitors 2021-03-12 15:09:45 +00:00
meta-pointer-constraint-native.c
meta-pointer-constraint-native.h
meta-renderer-native-gles3.c
meta-renderer-native-gles3.h
meta-renderer-native-private.h renderer/native: Decouple device file from MetaKmsDevice 2021-07-07 21:03:26 +02:00
meta-renderer-native.c renderer/native: Include error message in log entries 2021-07-16 18:10:56 +02:00
meta-renderer-native.h drm-buffer: Create from MetaDeviceFile instead of MetaKmsDevice 2021-07-07 21:03:26 +02:00
meta-seat-impl.c backends/native: Remove unused array definition 2021-07-16 19:08:06 +02:00
meta-seat-impl.h launcher: Remove now unused file management API 2021-07-07 21:03:25 +02:00
meta-seat-native.c seat-impl: Open/close files via device pool 2021-07-07 21:03:25 +02:00
meta-seat-native.h seat-impl: Open/close files via device pool 2021-07-07 21:03:25 +02:00
meta-stage-native.c backends: Rename ClutterStage[View]Cogl API and types 2021-07-16 19:08:06 +02:00
meta-stage-native.h backends: Rename ClutterStage[View]Cogl API and types 2021-07-16 19:08:06 +02:00
meta-udev.c backend/native: Add udev rule to ignore vkms devices 2021-04-30 15:10:28 +02:00
meta-udev.h backend/native: Add udev rule to ignore vkms devices 2021-04-30 15:10:28 +02:00
meta-virtual-input-device-native.c virtual-input-device/native: Verify device cleanup in impl_state_free() 2021-02-23 10:05:32 +00:00
meta-virtual-input-device-native.h
meta-virtual-monitor-native.c Introduce virtual monitors 2021-03-12 15:09:45 +00:00
meta-virtual-monitor-native.h Introduce virtual monitors 2021-03-12 15:09:45 +00:00
meta-xkb-utils.c
meta-xkb-utils.h