diff options
Diffstat (limited to 'recipes-graphics/userland/files/0017-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch')
-rw-r--r-- | recipes-graphics/userland/files/0017-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes-graphics/userland/files/0017-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch b/recipes-graphics/userland/files/0017-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch new file mode 100644 index 0000000..fbfdb86 --- /dev/null +++ b/recipes-graphics/userland/files/0017-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From 8403fb3869f56ea7492fa6265bd6cd1dd5146e6e Mon Sep 17 00:00:00 2001 | ||
2 | From: Hugo Hromic <hhromic@gmail.com> | ||
3 | Date: Sun, 13 May 2018 10:49:04 +0100 | ||
4 | Subject: [PATCH] khronos: backport typedef for EGL_EXT_image_dma_buf_import | ||
5 | |||
6 | The `gstreamer1.0-plugins-base` package version `1.14` uses `EGL_EXT_image_dma_buf_import`, which | ||
7 | expects the `EGLuint64KHR` typedef that is present in recent versions of Khronos. | ||
8 | However, the older version included in userland does not provide it. | ||
9 | |||
10 | This patch backports the missing typedef from recent Khronos into userland. | ||
11 | See: <https://www.khronos.org/registry/EGL/api/EGL/eglext.h> | ||
12 | |||
13 | Submitted to userland in <https://github.com/raspberrypi/userland/pull/467> | ||
14 | |||
15 | Upstream-Status: Submitted | ||
16 | |||
17 | --- | ||
18 | interface/khronos/include/EGL/eglext.h | 4 ++++ | ||
19 | 1 file changed, 4 insertions(+) | ||
20 | |||
21 | diff --git a/interface/khronos/include/EGL/eglext.h b/interface/khronos/include/EGL/eglext.h | ||
22 | index d7e5ba7..4ce762d 100755 | ||
23 | --- a/interface/khronos/include/EGL/eglext.h | ||
24 | +++ b/interface/khronos/include/EGL/eglext.h | ||
25 | @@ -190,6 +190,10 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCKHRPROC) (EGLDisplay dpy, EGLSy | ||
26 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value); | ||
27 | #endif | ||
28 | |||
29 | +#ifndef EGL_KHR_uint64_typedef | ||
30 | +#define EGL_KHR_uint64_typedef 1 | ||
31 | +typedef khronos_uint64_t EGLuint64KHR; | ||
32 | +#endif /* EGL_KHR_uint64_typedef */ | ||
33 | |||
34 | #ifndef EGL_WL_bind_wayland_display | ||
35 | #define EGL_WL_bind_wayland_display 1 | ||