diff options
author | Daniel Stone <daniels@collabora.com> | 2021-07-20 13:54:16 +0100 |
---|---|---|
committer | Dylan Baker <dylan.c.baker@intel.com> | 2021-07-21 11:53:49 -0700 |
commit | 83d94cfe718e29d242862990ad93082efa7e4775 (patch) | |
tree | 61358cb0fcff2c335ad4b9f150315eb50078cfff /.pick_status.json | |
parent | 8447b1d52b73febefcd1fcecee1669dfc20a4369 (diff) |
egl/wayland: Allow EGLSurface to outlive wl_egl_window
According to the EGL spec, it is entirely valid for an EGLSurface to
outlive the native_window it was created from, provided that SwapBuffers
and MakeCurrent return EGL_BAD_NATIVE_WINDOW.
We don't have any facility to error on MakeCurrent, so just make sure we
can bundle on safely through rendering for now, then return
EGL_BAD_NATIVE_WINDOW from SwapBuffers.
Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2251
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4902
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11979>
(cherry picked from commit 6455ab6e5ac5b1ad815d3e67e72d9adef7ffd21c)
Diffstat (limited to '.pick_status.json')
-rw-r--r-- | .pick_status.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.pick_status.json b/.pick_status.json index cabc6b71c20..e478d76c59f 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -112,7 +112,7 @@ "description": "egl/wayland: Allow EGLSurface to outlive wl_egl_window", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null }, |