-
Notifications
You must be signed in to change notification settings - Fork 424
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
userland: bumped version and backport khronos typedef for EGL_EXT_ima…
…ge_dma_buf_import The `gstreamer1.0-plugins-base` package version `1.14` uses `EGL_EXT_image_dma_buf_import`, which expects the `EGLuint64KHR` typedef that is present in recent versions of Khronos. However, the older version included in userland does not provide it. This patch backports the missing typedef from recent Khronos into userland. See: <https://www.khronos.org/registry/EGL/api/EGL/eglext.h> Submitted to userland in <raspberrypi/userland#467> Signed-off-by: Hugo Hromic <hhromic@gmail.com>
- Loading branch information
Showing
2 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
...raphics/userland/userland/0017-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
From 8403fb3869f56ea7492fa6265bd6cd1dd5146e6e Mon Sep 17 00:00:00 2001 | ||
From: Hugo Hromic <hhromic@gmail.com> | ||
Date: Sun, 13 May 2018 10:49:04 +0100 | ||
Subject: [PATCH] khronos: backport typedef for EGL_EXT_image_dma_buf_import | ||
|
||
The `gstreamer1.0-plugins-base` package version `1.14` uses `EGL_EXT_image_dma_buf_import`, which | ||
expects the `EGLuint64KHR` typedef that is present in recent versions of Khronos. | ||
However, the older version included in userland does not provide it. | ||
|
||
This patch backports the missing typedef from recent Khronos into userland. | ||
See: <https://www.khronos.org/registry/EGL/api/EGL/eglext.h> | ||
|
||
Submitted to userland in <https://github.com/raspberrypi/userland/pull/467> | ||
|
||
Upstream-Status: Submitted | ||
|
||
--- | ||
interface/khronos/include/EGL/eglext.h | 4 ++++ | ||
1 file changed, 4 insertions(+) | ||
|
||
diff --git a/interface/khronos/include/EGL/eglext.h b/interface/khronos/include/EGL/eglext.h | ||
index d7e5ba7..4ce762d 100755 | ||
--- a/interface/khronos/include/EGL/eglext.h | ||
+++ b/interface/khronos/include/EGL/eglext.h | ||
@@ -190,6 +190,10 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCKHRPROC) (EGLDisplay dpy, EGLSy | ||
typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value); | ||
#endif | ||
|
||
+#ifndef EGL_KHR_stream | ||
+#define EGL_KHR_stream 1 | ||
+typedef khronos_uint64_t EGLuint64KHR; | ||
+#endif /* EGL_KHR_stream */ | ||
|
||
#ifndef EGL_WL_bind_wayland_display | ||
#define EGL_WL_bind_wayland_display 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
237e0c7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, I use qt with userland and with the patch 0017-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch, I'm not able to build qtbase anymore, attached build log.
You can see "'EGLStreamKHR' has not been declared" error.
log.do_compile.zip
237e0c7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@myke-80: Please raise an issue if you're having a problem, comments like this get lost too easily.
237e0c7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, I do that, thanks.