1
0
Fork 0
mutter-performance-source/src
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
..
backends renderer-native: Resize legacy onscreen before panting 2016-07-20 14:23:48 +08:00
compositor Use signals instead of onscreen framebuffer frame callbacks 2016-07-20 14:23:48 +08:00
core Introduce regional stage rendering 2016-07-20 14:23:48 +08:00
meta core: Remove META_LAYER_FULLSCREEN 2016-07-06 19:11:30 +02:00
tests unit-tests: Fix const compiler warning 2016-03-11 12:26:38 +01:00
ui ui/frames: Drop the current grab info on button release 2016-06-23 18:45:53 +02:00
wayland configure.ac: Add AC_GNU_SOURCE 2016-07-20 14:23:48 +08:00
x11 configure.ac: Add AC_GNU_SOURCE 2016-07-20 14:23:48 +08:00
.cvsignore Install desktop files in both .../share/applications and 2008-09-12 04:05:17 +00:00
libmutter.pc.in Fix the merged build 2016-04-27 20:37:47 +02:00
Makefile-tests.am tests: Add unit tests framework runner 2016-02-26 17:52:01 +08:00
Makefile.am Introduce regional stage rendering 2016-07-20 14:23:48 +08:00
meta-enum-types.c.in Install enum types 2015-07-05 22:01:59 -07:00
meta-enum-types.h.in Install enum types 2015-07-05 22:01:59 -07:00
org.freedesktop.login1.xml MetaLauncher: Don't g_error() on failure 2015-11-06 17:03:59 -05:00
org.gnome.Mutter.DisplayConfig.xml backends: Add flags to MetaMonitorMode 2016-05-13 18:44:45 +02:00
org.gnome.Mutter.IdleMonitor.xml Rename the DBus interface files 2014-03-31 23:44:46 -04:00
stamp-mutter-enum-types.h Install enum types 2015-07-05 22:01:59 -07:00