From 7abf42626fe8552cf898652134f3767e591614ab Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Sun, 24 Jan 2010 20:30:04 +0800 Subject: egl: Add _EGLResource and _EGLResourceType. Resources are objects managed by a display. They can be linked to or unlinked from a display. It is also possible to check if a resource is valid. --- src/egl/main/egltypedefs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/egl/main/egltypedefs.h') diff --git a/src/egl/main/egltypedefs.h b/src/egl/main/egltypedefs.h index 4461440b9b..a49ffbb0cd 100644 --- a/src/egl/main/egltypedefs.h +++ b/src/egl/main/egltypedefs.h @@ -8,6 +8,8 @@ #include "eglcompiler.h" +typedef enum _egl_resource_type _EGLResourceType; + typedef struct _egl_api _EGLAPI; typedef struct _egl_config _EGLConfig; @@ -22,6 +24,8 @@ typedef struct _egl_extensions _EGLExtensions; typedef struct _egl_mode _EGLMode; +typedef struct _egl_resource _EGLResource; + typedef struct _egl_screen _EGLScreen; typedef struct _egl_surface _EGLSurface; -- cgit v1.2.3