mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
eglimage: Add some more defines
This allow building on advertised version of libdrm drm_fourcc.h files. Fixes #549
This commit is contained in:
parent
837173c0f0
commit
77d7cfea10
1 changed files with 28 additions and 0 deletions
|
@ -86,6 +86,34 @@
|
||||||
#define EGL_DMA_BUF_PLANE0_PITCH_EXT 0x3274
|
#define EGL_DMA_BUF_PLANE0_PITCH_EXT 0x3274
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef DRM_FORMAT_MOD_LINEAR
|
||||||
|
#define DRM_FORMAT_MOD_LINEAR 0ULL
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef EGL_DMA_BUF_PLANE0_MODIFIER_LO_EXT
|
||||||
|
#define EGL_DMA_BUF_PLANE0_MODIFIER_LO_EXT 0x3443
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef EGL_DMA_BUF_PLANE0_MODIFIER_HI_EXT
|
||||||
|
#define EGL_DMA_BUF_PLANE0_MODIFIER_HI_EXT 0x3444
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef EGL_DMA_BUF_PLANE1_MODIFIER_LO_EXT
|
||||||
|
#define EGL_DMA_BUF_PLANE1_MODIFIER_LO_EXT 0x3445
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef EGL_DMA_BUF_PLANE1_MODIFIER_HI_EXT
|
||||||
|
#define EGL_DMA_BUF_PLANE1_MODIFIER_HI_EXT 0x3446
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef EGL_DMA_BUF_PLANE2_MODIFIER_LO_EXT
|
||||||
|
#define EGL_DMA_BUF_PLANE2_MODIFIER_LO_EXT 0x3447
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef EGL_DMA_BUF_PLANE2_MODIFIER_HI_EXT
|
||||||
|
#define EGL_DMA_BUF_PLANE2_MODIFIER_HI_EXT 0x3448
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !GST_GL_HAVE_EGLUINT64KHR
|
#if !GST_GL_HAVE_EGLUINT64KHR
|
||||||
typedef khronos_uint64_t EGLuint64KHR;
|
typedef khronos_uint64_t EGLuint64KHR;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue