Nicolas Dufresne aba6bd7822 glwindow: wayland: Skip redoing surfaces if window haven't changed
The problem is that EGLNativeWindowSurface and wl_egl_surface are the
same object underneath, so we must recreate both together. As an
optimization, the EGLNativeWindowSurface wrapper is only re-created
if the window_handle changed.

On Mesa, this would cause crash, which will be fixed by:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11979

And will lead to proper errors in the future or on other GL stack. This
issue was encounter using a permanent GstGLDisplay after cycling one of
multiple independent pipelines through NULL state.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1230>
2021-07-21 20:56:23 +00:00
..
2019-10-13 14:15:43 +01:00
2021-07-03 11:40:25 +00:00
2021-04-04 21:18:59 +07:00
2021-05-21 21:16:24 -04:00
2021-05-21 21:16:24 -04:00
2019-05-21 01:49:48 +00:00
2020-05-19 10:37:59 +02:00
2020-05-19 10:37:59 +02:00
2021-05-21 21:16:24 -04:00
2021-05-21 21:16:24 -04:00
2019-05-21 01:49:48 +00:00
2019-08-30 13:05:36 +00:00
2019-05-21 01:49:48 +00:00
2020-05-29 13:35:56 +02:00