diff options
Diffstat (limited to 'recipes-graphics/imx-gpu-viv/files/egl-Add-EGL_PLATFORM_X11_KHR-alias-to-EGL_PLATFORM_X.patch')
-rw-r--r-- | recipes-graphics/imx-gpu-viv/files/egl-Add-EGL_PLATFORM_X11_KHR-alias-to-EGL_PLATFORM_X.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes-graphics/imx-gpu-viv/files/egl-Add-EGL_PLATFORM_X11_KHR-alias-to-EGL_PLATFORM_X.patch b/recipes-graphics/imx-gpu-viv/files/egl-Add-EGL_PLATFORM_X11_KHR-alias-to-EGL_PLATFORM_X.patch new file mode 100644 index 00000000..0d76bf4d --- /dev/null +++ b/recipes-graphics/imx-gpu-viv/files/egl-Add-EGL_PLATFORM_X11_KHR-alias-to-EGL_PLATFORM_X.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 2b17f76f1495ee7eda50a754f8149e5ff3d04312 Mon Sep 17 00:00:00 2001 | ||
2 | From: Otavio Salvador <otavio@ossystems.com.br> | ||
3 | Date: Wed, 13 Dec 2017 11:00:04 -0200 | ||
4 | Subject: [PATCH] egl: Add EGL_PLATFORM_X11_KHR alias to EGL_PLATFORM_X11_EXT | ||
5 | Organization: O.S. Systems Software LTDA. | ||
6 | |||
7 | New EGL code uses EGL_PLATFORM_X11_KHR (for example glmark2) and the | ||
8 | value is the same, so we can provide an alias for it instead of | ||
9 | patching every code using it. | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | |||
13 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
14 | --- | ||
15 | gpu-core/usr/include/EGL/eglext.h | 1 + | ||
16 | 1 file changed, 1 insertion(+) | ||
17 | |||
18 | diff --git a/gpu-core/usr/include/EGL/eglext.h b/gpu-core/usr/include/EGL/eglext.h | ||
19 | index d3c5f56..5f8d906 100644 | ||
20 | --- a/gpu-core/usr/include/EGL/eglext.h | ||
21 | +++ b/gpu-core/usr/include/EGL/eglext.h | ||
22 | @@ -450,6 +450,7 @@ EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformPixmapSurfaceEXT (EGLDisplay dpy, | ||
23 | #ifndef EGL_EXT_platform_x11 | ||
24 | #define EGL_EXT_platform_x11 1 | ||
25 | #define EGL_PLATFORM_X11_EXT 0x31D5 | ||
26 | +#define EGL_PLATFORM_X11_KHR EGL_PLATFORM_X11_EXT | ||
27 | #define EGL_PLATFORM_X11_SCREEN_EXT 0x31D6 | ||
28 | #endif /* EGL_EXT_platform_x11 */ | ||
29 | |||
30 | -- | ||
31 | 2.15.1 | ||
32 | |||