1
0
Fork 0
A repository that has original sources for patches used in the Arch User Repository package called "mutter-performance". https://aur.archlinux.org/packages/mutter-performance
Find a file
Miguel A. Vico 435b3c4bdb wayland: Create EGLStream-backed buffers through wl_eglstream_controller
One of the current limitations of EGLStreams is that there's no way to
resize a surface consumer without re-creating the entire stream.

Therefore, while resizing, clients will send wl_surface::attach requests
so the compositor can re-create its endpoint of the stream, but no
buffer will be available actually. If we proceed with the rest of the
attach operation we'll be presenting an empty buffer.

In order to fix this, a separate wl_eglstream_controller protocol has
been introduced that clients can use to request a stream re-creation
without overloading wl_surface::attach for that purpose.

This change adds the required logic to create the corresponding
wl_eglstream_controller global interface that clients can bind to.

Whenever a client requests a stream to be created, we just need to
create and realize the new EGLStream buffer. The same buffer resource
will be given at a later time to wl_surface::attach, whenever new
content is made available by the application, so we can proceed to
acquire the stream buffer and update the surface state.

https://bugzilla.gnome.org/show_bug.cgi?id=782575
2018-06-15 13:45:29 -07:00
clutter clutter-input-device-xi2: Check for null group_modes before unref 2018-06-07 12:54:56 +01:00
cogl native: Restore previous EGL state after blitting onto secondary GPU 2018-04-25 17:22:24 +02:00
data Make screen cast and remote desktop non-experimental 2018-06-07 12:57:51 +00:00
doc Remove gtk-doc 2015-07-06 00:52:18 -07:00
po Update Chinese (Taiwan) translation 2018-06-13 08:36:21 +00:00
src wayland: Create EGLStream-backed buffers through wl_eglstream_controller 2018-06-15 13:45:29 -07:00
tools Clean up the source tree 2014-03-18 20:37:35 -04:00
.gitignore wayland: Create EGLStream-backed buffers through wl_eglstream_controller 2018-06-15 13:45:29 -07:00
autogen.sh Fix bashism in autogen.sh 2017-05-11 13:45:44 +02:00
configure.ac wayland: Create EGLStream-backed buffers through wl_eglstream_controller 2018-06-15 13:45:29 -07:00
COPYING Updated obsolete FSF postal address in COPYING 2014-01-13 11:35:48 -05:00
Makefile.am Fix the merged build 2016-04-27 20:37:47 +02:00
mutter.doap doap: add <programming-language> 2014-07-31 17:50:28 +02:00
NEWS Bump version to 3.29.2 2018-05-24 17:12:55 +02:00