mirror of
https://github.com/brl/mutter.git
synced 2024-12-22 19:12:04 +00:00
435b3c4bdb
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
132 lines
2.8 KiB
Plaintext
132 lines
2.8 KiB
Plaintext
Makefile
|
|
Makefile.in
|
|
Makefile.in.in
|
|
aclocal.m4
|
|
autom4te.cache
|
|
build-aux
|
|
compile
|
|
config.guess
|
|
config.h
|
|
config.h.in
|
|
config.log
|
|
config.status
|
|
config.sub
|
|
configure
|
|
depcomp
|
|
install-sh
|
|
intltool-extract.in
|
|
intltool-merge.in
|
|
libtool
|
|
ltmain.sh
|
|
missing
|
|
.deps
|
|
50-mutter-navigation.xml
|
|
50-mutter-system.xml
|
|
50-mutter-windows.xml
|
|
mutter.desktop
|
|
mutter-wayland.desktop
|
|
*.o
|
|
*.a
|
|
*.lo
|
|
*.la
|
|
.libs
|
|
*.swp
|
|
*.gir
|
|
*.typelib
|
|
stamp-h1
|
|
*.gmo
|
|
*.make
|
|
*.log
|
|
*.trs
|
|
*~
|
|
stamp-it
|
|
.intltool-merge-cache
|
|
ABOUT-NLS
|
|
POTFILES
|
|
Makevars.template
|
|
po/*.header
|
|
po/*.pot
|
|
po/*.sed
|
|
po/*.sin
|
|
Rules-quot
|
|
libmutter.pc
|
|
mutter
|
|
mutter-restart-helper
|
|
mutter-test-client
|
|
mutter-test-runner
|
|
mutter-test-unit-tests
|
|
mutter-test-headless-start-test
|
|
mutter-all.test
|
|
org.gnome.mutter.gschema.valid
|
|
org.gnome.mutter.gschema.xml
|
|
org.gnome.mutter.wayland.gschema.valid
|
|
org.gnome.mutter.wayland.gschema.xml
|
|
testasyncgetprop
|
|
testboxes
|
|
testgradient
|
|
m4/*
|
|
INSTALL
|
|
mkinstalldirs
|
|
meta-enum-types.[ch]
|
|
src/stamp-meta-enum-types.h
|
|
src/meta-dbus-display-config.[ch]
|
|
src/meta-dbus-idle-monitor.[ch]
|
|
src/meta-dbus-login1.[ch]
|
|
src/meta-dbus-remote-desktop.[ch]
|
|
src/meta-dbus-screen-cast.[ch]
|
|
src/gtk-primary-selection-protocol.c
|
|
src/gtk-primary-selection-server-protocol.h
|
|
src/gtk-shell-protocol.c
|
|
src/gtk-shell-server-protocol.h
|
|
src/xdg-shell-unstable-v*-protocol.c
|
|
src/xdg-shell-unstable-v*-server-protocol.h
|
|
src/pointer-gestures-unstable-v*-protocol.c
|
|
src/pointer-gestures-unstable-v*-server-protocol.h
|
|
src/relative-pointer-unstable-v*-protocol.c
|
|
src/relative-pointer-unstable-v*-server-protocol.h
|
|
src/pointer-constraints-unstable-v*-protocol.c
|
|
src/pointer-constraints-unstable-v*-server-protocol.h
|
|
src/xdg-foreign-unstable-v*-protocol.c
|
|
src/xdg-foreign-unstable-v*-server-protocol.h
|
|
src/xdg-output-unstable-v1-protocol.c
|
|
src/xdg-output-unstable-v1-server-protocol.h
|
|
src/xwayland-keyboard-grab-unstable-v1-protocol.c
|
|
src/xwayland-keyboard-grab-unstable-v1-server-protocol.h
|
|
src/tablet-unstable-v*-protocol.c
|
|
src/tablet-unstable-v*-server-protocol.h
|
|
src/keyboard-shortcuts-inhibit-unstable-v*-protocol.c
|
|
src/keyboard-shortcuts-inhibit-unstable-v*-server-protocol.h
|
|
src/linux-dmabuf-unstable-v*-protocol.c
|
|
src/linux-dmabuf-unstable-v*-server-protocol.h
|
|
src/xdg-shell-protocol.c
|
|
src/xdg-shell-server-protocol.h
|
|
src/wayland-eglstream-controller-server-protocol.h
|
|
src/meta/meta-version.h
|
|
src/libmutter-*.pc
|
|
doc/reference/*.args
|
|
doc/reference/*.bak
|
|
doc/reference/*.hierarchy
|
|
doc/reference/*.interfaces
|
|
doc/reference/*.prerequisites
|
|
doc/reference/*.signals
|
|
doc/reference/*.stamp
|
|
doc/reference/html/
|
|
doc/reference/xml/
|
|
doc/reference/meta-decl-list.txt
|
|
doc/reference/meta-decl.txt
|
|
doc/reference/meta-overrides.txt
|
|
doc/reference/meta-undeclared.txt
|
|
doc/reference/meta-undocumented.txt
|
|
doc/reference/meta-unused.txt
|
|
doc/reference/meta-docs.sgml
|
|
doc/reference/meta.types
|
|
gtk-doc.m4
|
|
intltool.m4
|
|
libtool.m4
|
|
ltoptions.m4
|
|
ltsugar.m4
|
|
ltversion.m4
|
|
lt~obsolete.m4
|
|
.dirstamp
|
|
**/tags.*
|