diff options
author | Carlos Garnacho <[email protected]> | 2018-11-20 18:06:38 +0100 |
---|---|---|
committer | Carlos Garnacho <[email protected]> | 2019-02-20 12:04:33 +0100 |
commit | 30a01cd9232ed83a0259d184b82e050bae219ed3 (patch) | |
tree | 30e002b20d788701cec52751762642539056fad9 /src/intel/vulkan/anv_dump.c | |
parent | f5092136755854b8b9591af93fa264a1b78737a1 (diff) |
wayland/egl: Ensure EGL surface is resized on DRI update_buffers()
Fullscreening and unfullscreening a totem window while playing a video
sometimes results in the video subsurface not changing size along. This
is also reproducible with epiphany.
If a surface gets resized while we have an active back buffer for it, the
resized dimensions won't get neither immediately applied on the resize
callback, nor correctly synchronized on update_buffers(), as the
(now stale) surface size and currently attached buffer size still do match.
There's actually 2 things to synchronize here, first the surface query
size might not be updated yet to the wl_egl_window's (i.e. resize_callback
happened while there is a back buffer), and second the wayland buffers
would need dropping if new surface size differs with the currently attached
buffer. These are done in separate steps now.
https://bugzilla.redhat.com/show_bug.cgi?id=1650929
https://bugs.freedesktop.org/show_bug.cgi?id=109594
Fixes: a9fb331ea7d ("wayland/egl: update surface size on window resize")
Signed-off-by: Carlos Garnacho <[email protected]>
Reviewed-by: Juan A. Suarez <[email protected]>
Reviewed-by: Daniel Stone <[email protected]>
Tested-by: Bastien Nocera <[email protected]>
Tested-by: Denys Kostin <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_dump.c')
0 files changed, 0 insertions, 0 deletions