mutter/src/backends
Jonas Ådahl e891a8b628 renderer-native: Resize legacy onscreen before panting
By creating a pending gbm/EGL surface pair, only setting it on
swap-buffers, we would draw onto a buffer on the old surface, then swap
the buffer from the new surface, causing the first frame after a
hot-plug always having no content.

This was in the past not very noticable since some non-deterministic but
frequent side effect in gnome-shell caused hot-plugging to always render
two new frames, but after "Introduce regional stage rendering", this
side effect did not occur as often, thus making it more visible.

This commit updates the current gbm/EGL surface pair before painting a
frame, so that when the frame is painted, the surface with the correct
size is used and the buffer from correct surface is swapped.

https://bugzilla.gnome.org/show_bug.cgi?id=768976
2016-07-20 14:23:48 +08:00
..
native renderer-native: Resize legacy onscreen before panting 2016-07-20 14:23:48 +08:00
x11 Introduce regional stage rendering 2016-07-20 14:23:48 +08:00
edid-parse.c Remove trailing whitespace 2014-05-02 09:34:48 -04:00
edid.h edid: Remove unused declarations 2014-09-12 11:55:08 -06:00
meta-backend-private.h backends/native: Support drawing onto multiple onscreen framebuffers 2016-07-20 14:23:48 +08:00
meta-backend.c backends/native: Support drawing onto multiple onscreen framebuffers 2016-07-20 14:23:48 +08:00
meta-barrier-private.h Move out generic math parts out of the native barrier implementation 2016-02-16 19:02:48 +08:00
meta-barrier.c Move out generic math parts out of the native barrier implementation 2016-02-16 19:02:48 +08:00
meta-cursor-renderer.c backends: Allow multiple "SW" cursor overlays on the stage 2016-05-03 18:17:01 +02:00
meta-cursor-renderer.h Don't duplicate declarations from G_DEFINE_TYPE 2015-09-24 03:01:51 +02:00
meta-cursor-tracker-private.h Rename MetaCursorReference to MetaCursorSprite 2015-08-28 09:52:30 +08:00
meta-cursor-tracker.c Use correct cogl object types 2016-07-20 14:23:48 +08:00
meta-cursor.c Use correct cogl object types 2016-07-20 14:23:48 +08:00
meta-cursor.h Support scaling of cursor sprites given what output they are on 2015-09-13 21:26:22 +08:00
meta-display-config-shared.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
meta-idle-monitor-dbus.c MetaIdleMonitorDBus: unref the objects after exporting them 2014-05-07 19:04:54 +02:00
meta-idle-monitor-dbus.h Start molding out a new src/backends/ dir 2014-03-31 22:11:00 -04:00
meta-idle-monitor-private.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
meta-idle-monitor.c backends: Make MetaBackend available to introspection 2014-08-07 11:31:59 +02:00
meta-input-settings-private.h backends: Force 2-finger scroll by default if available 2015-12-15 14:38:23 +01:00
meta-input-settings.c backends: Fix cut'n'paste error in click method setting 2015-12-15 14:41:51 +01:00
meta-monitor-config.c monitor-manager: Add get_is_builtin_display_on() 2016-04-21 21:16:16 +02:00
meta-monitor-config.h monitor-manager: Add get_is_builtin_display_on() 2016-04-21 21:16:16 +02:00
meta-monitor-manager-dummy.c Avoid shadowing existing variables 2015-09-24 03:08:22 +02:00
meta-monitor-manager-dummy.h monitor-manager: Expose MetaMonitorManager to introspection 2015-01-30 13:13:49 -05:00
meta-monitor-manager-private.h backends: Add flags to MetaMonitorMode 2016-05-13 18:44:45 +02:00
meta-monitor-manager.c backend: Ensure the backend gets notified of monitor state having changed 2016-07-20 14:23:48 +08:00
meta-pointer-constraint.c Implement support for the wp_pointer_constraints protocol 2016-02-16 19:02:48 +08:00
meta-pointer-constraint.h Implement support for the wp_pointer_constraints protocol 2016-02-16 19:02:48 +08:00
meta-renderer-view.c backends/native: Support drawing onto multiple onscreen framebuffers 2016-07-20 14:23:48 +08:00
meta-renderer-view.h backends/native: Support drawing onto multiple onscreen framebuffers 2016-07-20 14:23:48 +08:00
meta-renderer.c Introduce regional stage rendering 2016-07-20 14:23:48 +08:00
meta-renderer.h Introduce regional stage rendering 2016-07-20 14:23:48 +08:00
meta-stage.c Introduce regional stage rendering 2016-07-20 14:23:48 +08:00
meta-stage.h Introduce regional stage rendering 2016-07-20 14:23:48 +08:00