Go to file
Miguel A. Vico 8eccb68687 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

(cherry picked from commit 435b3c4bdb)
2019-02-11 13:40:14 -05:00
clutter virtual-input/evdev: Translate from button codes internal to evdev 2019-02-11 13:40:06 -05:00
cogl native: Restore previous EGL state after blitting onto secondary GPU 2018-04-25 15:24:14 +00:00
data wayland: Allow Xwayland grabs on selected apps 2019-02-11 13:40:06 -05:00
doc Remove gtk-doc 2015-07-06 00:52:18 -07:00
po Updated Slovenian translation 2018-04-10 17:58:12 +02:00
src wayland: Create EGLStream-backed buffers through wl_eglstream_controller 2019-02-11 13:40:14 -05:00
tools Clean up the source tree 2014-03-18 20:37:35 -04:00
.gitignore wayland: Add support for stable xdg-shell 2018-02-23 18:57:53 +08: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 2019-02-11 13:40:14 -05: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.28.3 2018-07-18 23:12:51 +02:00