mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
eglimagememory: add compatibility definitions for EGL dmabuf
e.g. the RPi doesn't have them defined
This commit is contained in:
parent
111bb7c4c2
commit
37ff267ff5
1 changed files with 20 additions and 0 deletions
|
@ -44,6 +44,26 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef EGL_LINUX_DMA_BUF_EXT
|
||||||
|
#define EGL_LINUX_DMA_BUF_EXT 0x3270
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef EGL_LINUX_DRM_FOURCC_EXT
|
||||||
|
#define EGL_LINUX_DRM_FOURCC_EXT 0x3271
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef EGL_DMA_BUF_PLANE0_FD_EXT
|
||||||
|
#define EGL_DMA_BUF_PLANE0_FD_EXT 0x3272
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef EGL_DMA_BUF_PLANE0_OFFSET_EXT
|
||||||
|
#define EGL_DMA_BUF_PLANE0_OFFSET_EXT 0x3273
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef EGL_DMA_BUF_PLANE0_PITCH_EXT
|
||||||
|
#define EGL_DMA_BUF_PLANE0_PITCH_EXT 0x3274
|
||||||
|
#endif
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_STATIC (GST_CAT_EGL_IMAGE_MEMORY);
|
GST_DEBUG_CATEGORY_STATIC (GST_CAT_EGL_IMAGE_MEMORY);
|
||||||
#define GST_CAT_DEFAULT GST_CAT_EGL_IMAGE_MEMORY
|
#define GST_CAT_DEFAULT GST_CAT_EGL_IMAGE_MEMORY
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue