diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2009-09-15 14:16:22 +0800 |
---|---|---|
committer | Chia-I Wu <olvaffe@gmail.com> | 2009-09-15 14:16:22 +0800 |
commit | e2ba90a9cc762cf00a168f0a59d31e7dc52fc42e (patch) | |
tree | fe3206d7602ad935296884742980f3c4d30bd867 /include/EGL/internal/eglimage_dri.h | |
parent | 11a4292d4eb515813b82b8d688a318adef66b3e6 (diff) | |
parent | b4b8800315637d9218a81c76f09df7d601710d29 (diff) |
Merge commit 'eee/mesa-es' into android
Diffstat (limited to 'include/EGL/internal/eglimage_dri.h')
-rw-r--r-- | include/EGL/internal/eglimage_dri.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/EGL/internal/eglimage_dri.h b/include/EGL/internal/eglimage_dri.h new file mode 100644 index 0000000000..ea13951a9f --- /dev/null +++ b/include/EGL/internal/eglimage_dri.h @@ -0,0 +1,27 @@ +#ifndef EGLIMAGE_DRI_INCLUDED +#define EGLIMAGE_DRI_INCLUDED + +#include "GL/internal/dri_interface.h" + +#define __DRI_EGL_IMAGE_MAGIC \ + (('D' << 24) | \ + ('R' << 16) | \ + ('I' << 8) | \ + ('0')) + +typedef void *__DRIEGLImageHandle; +typedef struct __DRIEGLImageRec __DRIEGLImage; + +struct __DRIEGLImageRec { + GLint magic; + + __DRIdrawable *drawable; + + GLboolean texture_format_rgba; + GLint level; + GLint __pad[4]; +}; + +extern __DRIEGLImage *_eglClientGetImageData(__DRIEGLImageHandle handle); + +#endif /* EGLIMAGE_DRI_INCLUDED */ |