summaryrefslogtreecommitdiff
path: root/src/egl/main/egltypedefs.h
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-10-22 16:36:47 +0800
committerChia-I Wu <olv@lunarg.com>2010-10-22 17:15:45 +0800
commit713c8734f45b51b3758ecc95b96cf7b5aecacec8 (patch)
tree64e49e982ac448dff3992be478de3d08517ece26 /src/egl/main/egltypedefs.h
parentecca5571b6df9a35dc16280b3556f4b11a8493a2 (diff)
egl: Move attributes in _EGLImage to _EGLImageAttribs.
The opaque nature of EGLImage implies that extensions almost always define their own attributes. Move attributes in _EGLImage to _EGLImageAttribs and add a helper function to parse attribute lists.
Diffstat (limited to 'src/egl/main/egltypedefs.h')
-rw-r--r--src/egl/main/egltypedefs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/egl/main/egltypedefs.h b/src/egl/main/egltypedefs.h
index b65f3b72ae..20b67b28bc 100644
--- a/src/egl/main/egltypedefs.h
+++ b/src/egl/main/egltypedefs.h
@@ -24,6 +24,8 @@ typedef struct _egl_extensions _EGLExtensions;
typedef struct _egl_image _EGLImage;
+typedef struct _egl_image_attribs _EGLImageAttribs;
+
typedef struct _egl_mode _EGLMode;
typedef struct _egl_resource _EGLResource;