diff options
Diffstat (limited to 'recipes-graphics/xorg-xserver/xserver-xorg/0001-MGS-5186-Per-Specification-EGL_NATIVE_PIXMAP_KHR-req.patch')
-rw-r--r-- | recipes-graphics/xorg-xserver/xserver-xorg/0001-MGS-5186-Per-Specification-EGL_NATIVE_PIXMAP_KHR-req.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-graphics/xorg-xserver/xserver-xorg/0001-MGS-5186-Per-Specification-EGL_NATIVE_PIXMAP_KHR-req.patch b/recipes-graphics/xorg-xserver/xserver-xorg/0001-MGS-5186-Per-Specification-EGL_NATIVE_PIXMAP_KHR-req.patch new file mode 100644 index 00000000..6f232589 --- /dev/null +++ b/recipes-graphics/xorg-xserver/xserver-xorg/0001-MGS-5186-Per-Specification-EGL_NATIVE_PIXMAP_KHR-req.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From ed3c55fa6260ad125a32f9ac67f9e44a9bce7cf1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Prabhu Sundararaj <prabhu.sundararaj@nxp.com> | ||
3 | Date: Mon, 11 May 2020 19:12:51 -0500 | ||
4 | Subject: [PATCH] MGS-5186 Per Specification EGL_NATIVE_PIXMAP_KHR requires | ||
5 | EGL_NO_CONTEXT | ||
6 | |||
7 | https://www.khronos.org/registry/EGL/extensions/KHR/EGL_KHR_image_pixmap.txt | ||
8 | |||
9 | Per Specification EGL_NATIVE_PIXMAP_KHR requires EGL_NO_CONTEXT. | ||
10 | So passing context will result in error. | ||
11 | |||
12 | Upstream-Status: Pending | ||
13 | Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@nxp.com> | ||
14 | --- | ||
15 | hw/xwayland/xwayland-glamor-gbm.c | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
18 | Index: xorg-server-1.20.8/hw/xwayland/xwayland-glamor-gbm.c | ||
19 | =================================================================== | ||
20 | --- xorg-server-1.20.8.orig/hw/xwayland/xwayland-glamor-gbm.c | ||
21 | +++ xorg-server-1.20.8/hw/xwayland/xwayland-glamor-gbm.c | ||
22 | @@ -167,7 +167,7 @@ xwl_glamor_gbm_create_pixmap_for_bo(Scre | ||
23 | xwl_pixmap->bo = bo; | ||
24 | xwl_pixmap->buffer = NULL; | ||
25 | xwl_pixmap->image = eglCreateImageKHR(xwl_screen->egl_display, | ||
26 | - xwl_screen->egl_context, | ||
27 | + EGL_NO_CONTEXT, | ||
28 | EGL_NATIVE_PIXMAP_KHR, | ||
29 | xwl_pixmap->bo, NULL); | ||
30 | if (xwl_pixmap->image == EGL_NO_IMAGE_KHR) | ||