mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
glmemory: more compatibility defines for gles2 systems
This commit is contained in:
parent
03135a2238
commit
3f52b33c7a
1 changed files with 12 additions and 0 deletions
|
@ -85,12 +85,24 @@ static GstAllocator *_gl_allocator;
|
||||||
#ifndef GL_PIXEL_UNPACK_BUFFER
|
#ifndef GL_PIXEL_UNPACK_BUFFER
|
||||||
#define GL_PIXEL_UNPACK_BUFFER 0x88EC
|
#define GL_PIXEL_UNPACK_BUFFER 0x88EC
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef GL_STREAM_READ
|
||||||
|
#define GL_STREAM_READ 0x88E1
|
||||||
|
#endif
|
||||||
|
#ifndef GL_STREAM_DRAW
|
||||||
|
#define GL_STREAM_DRAW 0x88E0
|
||||||
|
#endif
|
||||||
#ifndef GL_STREAM_COPY
|
#ifndef GL_STREAM_COPY
|
||||||
#define GL_STREAM_COPY 0x88E2
|
#define GL_STREAM_COPY 0x88E2
|
||||||
#endif
|
#endif
|
||||||
#ifndef GL_UNPACK_ROW_LENGTH
|
#ifndef GL_UNPACK_ROW_LENGTH
|
||||||
#define GL_UNPACK_ROW_LENGTH 0x0CF2
|
#define GL_UNPACK_ROW_LENGTH 0x0CF2
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef GL_MAP_READ_BIT
|
||||||
|
#define GL_MAP_READ_BIT 0x0001
|
||||||
|
#endif
|
||||||
|
#ifndef GL_MAP_WRITE_BIT
|
||||||
|
#define GL_MAP_WRITE_BIT 0x0002
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue