diff options
Diffstat (limited to 'recipes-graphics/userland/files/0018-Add-EGL_IMG_context_priority-related-defines.patch')
-rw-r--r-- | recipes-graphics/userland/files/0018-Add-EGL_IMG_context_priority-related-defines.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes-graphics/userland/files/0018-Add-EGL_IMG_context_priority-related-defines.patch b/recipes-graphics/userland/files/0018-Add-EGL_IMG_context_priority-related-defines.patch new file mode 100644 index 0000000..330fb3e --- /dev/null +++ b/recipes-graphics/userland/files/0018-Add-EGL_IMG_context_priority-related-defines.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From ca43aae3e1879d2595cfee80032322f5fdfdea11 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 15 Jul 2018 00:48:38 -0700 | ||
4 | Subject: [PATCH] Add EGL_IMG_context_priority related defines | ||
5 | |||
6 | These defines are needed for compiling weston 4.x | ||
7 | taken from Khronos headers | ||
8 | |||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | interface/khronos/include/EGL/eglext.h | 8 ++++++++ | ||
12 | 1 file changed, 8 insertions(+) | ||
13 | |||
14 | diff --git a/interface/khronos/include/EGL/eglext.h b/interface/khronos/include/EGL/eglext.h | ||
15 | index dcc90ce..6842bf9 100755 | ||
16 | --- a/interface/khronos/include/EGL/eglext.h | ||
17 | +++ b/interface/khronos/include/EGL/eglext.h | ||
18 | @@ -93,6 +93,14 @@ typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGL | ||
19 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay dpy, EGLImageKHR image); | ||
20 | #endif | ||
21 | |||
22 | +#ifndef EGL_IMG_context_priority | ||
23 | +#define EGL_IMG_context_priority 1 | ||
24 | +#define EGL_CONTEXT_PRIORITY_LEVEL_IMG 0x3102 | ||
25 | +#define EGL_CONTEXT_PRIORITY_HIGH_IMG 0x3101 | ||
26 | +#define EGL_CONTEXT_PRIORITY_MEDIUM_IMG 0x3102 | ||
27 | +#define EGL_CONTEXT_PRIORITY_LOW_IMG 0x3103 | ||
28 | +#endif /* EGL_IMG_context_priority */ | ||
29 | + | ||
30 | #ifndef EGL_KHR_vg_parent_image | ||
31 | #define EGL_KHR_vg_parent_image 1 | ||
32 | #define EGL_VG_PARENT_IMAGE_KHR 0x30BA /* eglCreateImageKHR target */ | ||
33 | -- | ||
34 | 2.18.0 | ||
35 | |||