mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
gl/mem: provide defines for tokens not defined in GLES2/ancient platforms
This commit is contained in:
parent
7c77c31afd
commit
94371dc204
1 changed files with 17 additions and 0 deletions
|
@ -53,6 +53,23 @@ GST_DEBUG_CATEGORY_STATIC (GST_CAT_GL_MEMORY);
|
|||
|
||||
static GstAllocator *_gl_allocator;
|
||||
|
||||
/* compatability definitions... */
|
||||
#ifndef GL_RED
|
||||
#define GL_RED 0x1903
|
||||
#endif
|
||||
#ifndef GL_RG
|
||||
#define GL_RG 0x8227
|
||||
#endif
|
||||
#ifndef GL_PIXEL_PACK_BUFFER
|
||||
#define GL_PIXEL_PACK_BUFFER 0x88EB
|
||||
#endif
|
||||
#ifndef GL_PIXEL_UNPACK_BUFFER
|
||||
#define GL_PIXEL_UNPACK_BUFFER 0x88EC
|
||||
#endif
|
||||
#ifndef GL_STREAM_COPY
|
||||
#define GL_STREAM_COPY 0x88E2
|
||||
#endif
|
||||
|
||||
typedef struct
|
||||
{
|
||||
/* in */
|
||||
|
|
Loading…
Reference in a new issue