mutter/src/backends/native
Jonas Ådahl 23a530cb09 monitor-manager/native: Get CRTC gamma from cache if available
Right now gamma is set only via the D-Bus API (from gsd-color), but the
actual gamma isn't right after SetCrtcGamma(), meaning if one would call
GetCrtcGamma() right after setting it, one would get the old result.
Avoid this by getting the "current" CRTC gamma from the cache we manage.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2159>
2022-01-25 15:47:03 +00:00
..
dbus-utils.c
dbus-utils.h
gen-default-modes.py gen_default_modes: Add more refresh rates to fallback modes 2022-01-03 10:48:29 +00:00
meta-backend-native-private.h tests: Add some basic MetaKmsUpdate unit tests 2022-01-25 15:47:03 +00:00
meta-backend-native-types.h Add rudimentary mode setting test 2022-01-14 09:16:09 +00:00
meta-backend-native.c launcher: Pass fallback session/seat ID when in test mode 2022-01-14 09:16:09 +00:00
meta-backend-native.h tests: Add some basic MetaKmsUpdate unit tests 2022-01-25 15:47:03 +00:00
meta-barrier-native.c
meta-barrier-native.h
meta-clutter-backend-native.c stage-impl: Change the backend pointer to MetaBackend 2022-01-17 09:48:51 +01:00
meta-clutter-backend-native.h clutter/backend/native: Keep a pointer to the actual backend 2021-10-18 14:36:15 +00:00
meta-cogl-utils.c native/cogl-utils: Add 10 bpc format support 2022-01-17 10:39:13 +00:00
meta-cogl-utils.h
meta-crtc-kms.c crtc/native: Add API to check whether the CRTC supports hardware cursors 2021-11-26 14:30:27 +00: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
meta-crtc-mode-virtual.h
meta-crtc-native.c crtc/native: Add API to check whether the CRTC supports hardware cursors 2021-11-26 14:30:27 +00:00
meta-crtc-native.h crtc/native: Add API to check whether the CRTC supports hardware cursors 2021-11-26 14:30:27 +00:00
meta-crtc-virtual.c crtc/native: Add API to check whether the CRTC supports hardware cursors 2021-11-26 14:30:27 +00:00
meta-crtc-virtual.h
meta-cursor-renderer-native.c cursor-renderer/native: Clear GPU state before closing device 2021-12-22 16:22:08 +00:00
meta-cursor-renderer-native.h cursor-renderer/native: Clear GPU state before closing device 2021-12-22 16:22:08 +00:00
meta-device-pool-private.h
meta-device-pool.c device-pool: Remove duplicate include macro 2022-01-03 19:24:36 +01:00
meta-device-pool.h tests: Add some basic MetaKmsUpdate unit tests 2022-01-25 15:47:03 +00:00
meta-drm-buffer-dumb.c drm-buffer: Don't always generate fb_id on construction 2021-10-18 17:33:33 +02:00
meta-drm-buffer-dumb.h tests: Add some basic MetaKmsUpdate unit tests 2022-01-25 15:47:03 +00:00
meta-drm-buffer-gbm.c drm-buffer: Don't always generate fb_id on construction 2021-10-18 17:33:33 +02:00
meta-drm-buffer-gbm.h drm-buffer: Replace 'use-modifier' boolean with flags 2021-10-18 17:33:33 +02:00
meta-drm-buffer-import.c drm-buffer: Don't always generate fb_id on construction 2021-10-18 17:33:33 +02:00
meta-drm-buffer-import.h
meta-drm-buffer-private.h drm-buffer: Don't always generate fb_id on construction 2021-10-18 17:33:33 +02:00
meta-drm-buffer.c drm-buffer: Don't always generate fb_id on construction 2021-10-18 17:33:33 +02:00
meta-drm-buffer.h tests: Add some basic MetaKmsUpdate unit tests 2022-01-25 15:47:03 +00:00
meta-gpu-kms.c
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: Stop freeing slow keys list twice 2021-12-07 09:35:26 +01:00
meta-input-device-native.h
meta-input-device-tool-native.c
meta-input-device-tool-native.h
meta-input-settings-native.c
meta-input-settings-native.h
meta-input-thread.h
meta-keymap-native.c
meta-keymap-native.h
meta-kms-connector-private.h backends/kms: Implement privacy screen handling and setting 2022-01-25 07:31:19 +00:00
meta-kms-connector.c backends/kms: Implement privacy screen handling and setting 2022-01-25 07:31:19 +00:00
meta-kms-connector.h tests: Add some basic MetaKmsUpdate unit tests 2022-01-25 15:47:03 +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/crtc: Always log whether we updated CRTC state 2021-11-18 17:55:22 +01:00
meta-kms-crtc.h tests: Add some basic MetaKmsUpdate unit tests 2022-01-25 15:47:03 +00:00
meta-kms-device-private.h kms/impl-device: Only update crtc/connector whose ID has changed 2021-09-20 15:37:59 +00:00
meta-kms-device.c kms/impl-device: Only update crtc/connector whose ID has changed 2021-09-20 15:37:59 +00:00
meta-kms-device.h tests: Add some basic MetaKmsUpdate unit tests 2022-01-25 15:47:03 +00:00
meta-kms-impl-device-atomic.c backends/kms: Implement privacy screen handling and setting 2022-01-25 07:31:19 +00:00
meta-kms-impl-device-atomic.h
meta-kms-impl-device-dummy.c
meta-kms-impl-device-dummy.h
meta-kms-impl-device-simple.c backends/kms: Implement privacy screen handling and setting 2022-01-25 07:31:19 +00:00
meta-kms-impl-device-simple.h
meta-kms-impl-device.c kms/impl-device: Clear fd source on prepare-shutdown 2022-01-25 15:47:03 +00:00
meta-kms-impl-device.h kms/impl-device: Only update crtc/connector whose ID has changed 2021-09-20 15:37:59 +00:00
meta-kms-impl.c
meta-kms-impl.h
meta-kms-mode-private.h
meta-kms-mode.c kms/mode: Add width/height getters 2022-01-25 15:47:03 +00:00
meta-kms-mode.h tests/kms: Add basic plane assignment update tests 2022-01-25 15:47:03 +00:00
meta-kms-page-flip-private.h
meta-kms-page-flip.c
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 backends/kms: Implement privacy screen handling and setting 2022-01-25 07:31:19 +00:00
meta-kms-update-private.h tests: Add some basic MetaKmsUpdate unit tests 2022-01-25 15:47:03 +00:00
meta-kms-update.c kms/update: Add getter for cursor plane assignment 2022-01-25 15:47:03 +00:00
meta-kms-update.h tests/kms-update: Add mode setting sanity tests 2022-01-25 15:47:03 +00:00
meta-kms-utils.c
meta-kms-utils.h
meta-kms.c renderer/native: Clear old KMS updates on views rebuild 2022-01-09 22:34:16 +00:00
meta-kms.h tests: Add some basic MetaKmsUpdate unit tests 2022-01-25 15:47:03 +00:00
meta-launcher.c launcher: Use $XDG_SESSION_ID if available 2022-01-24 18:09:44 +01:00
meta-launcher.h launcher: Pass fallback session/seat ID when in test mode 2022-01-14 09:16:09 +00:00
meta-monitor-manager-native.c monitor-manager/native: Get CRTC gamma from cache if available 2022-01-25 15:47:03 +00:00
meta-monitor-manager-native.h
meta-onscreen-native.c onscreen/native: Remove a goto in DisplayLink fallback 2022-01-17 10:03:17 +00:00
meta-onscreen-native.h wayland: Use new KMS update test API to try acquiring scanout 2022-01-05 20:00:36 +00:00
meta-output-kms.c backends/kms: Implement privacy screen handling and setting 2022-01-25 07:31:19 +00:00
meta-output-kms.h
meta-output-native.c
meta-output-native.h
meta-output-virtual.c
meta-output-virtual.h
meta-pointer-constraint-native.c
meta-pointer-constraint-native.h
meta-render-device-egl-stream.c Introduce MetaRenderDevice{Gbm,EglStream,Surfaceless} 2021-10-18 17:33:32 +02:00
meta-render-device-egl-stream.h Introduce MetaRenderDevice{Gbm,EglStream,Surfaceless} 2021-10-18 17:33:32 +02:00
meta-render-device-gbm.c render-device: Add API to import other buffers 2021-10-18 17:35:26 +02:00
meta-render-device-gbm.h render-device/gbm: Add getter for gbm_device 2021-10-18 17:33:33 +02:00
meta-render-device-private.h render-device: Add API to import other buffers 2021-10-18 17:35:26 +02:00
meta-render-device-surfaceless.c Introduce MetaRenderDevice{Gbm,EglStream,Surfaceless} 2021-10-18 17:33:32 +02:00
meta-render-device-surfaceless.h Introduce MetaRenderDevice{Gbm,EglStream,Surfaceless} 2021-10-18 17:33:32 +02:00
meta-render-device.c render-device: Add API to allocate dumb buffers 2021-10-18 17:36:17 +02:00
meta-render-device.h render-device: Add API to allocate dumb buffers 2021-10-18 17:36:17 +02:00
meta-renderer-native-gles3.c
meta-renderer-native-gles3.h
meta-renderer-native-private.h cursor-renderer/native: Clear GPU state before closing device 2021-12-22 16:22:08 +00:00
meta-renderer-native.c backends/kms: Implement privacy screen handling and setting 2022-01-25 07:31:19 +00:00
meta-renderer-native.h wayland: Only init EGLStream controller if we didn't end up with gbm 2021-10-20 13:08:06 +00:00
meta-seat-impl.c backends/native: Ensure pointer is onscreen in input thread 2022-01-16 18:38:20 +00:00
meta-seat-impl.h
meta-seat-native.c
meta-seat-native.h backends/native: Remove unused includes 2021-09-20 15:37:59 +00: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 Add rudimentary mode setting test 2022-01-14 09:16:09 +00:00
meta-udev.h Add rudimentary mode setting test 2022-01-14 09:16:09 +00:00
meta-virtual-input-device-native.c
meta-virtual-input-device-native.h
meta-virtual-monitor-native.c
meta-virtual-monitor-native.h
meta-xkb-utils.c
meta-xkb-utils.h