| OLD | NEW |
| 1 #ifndef EGLDISPLAY_INCLUDED | 1 #ifndef EGLDISPLAY_INCLUDED |
| 2 #define EGLDISPLAY_INCLUDED | 2 #define EGLDISPLAY_INCLUDED |
| 3 | 3 |
| 4 | 4 |
| 5 #include "egltypedefs.h" | 5 #include "egltypedefs.h" |
| 6 #include "egldefines.h" | 6 #include "egldefines.h" |
| 7 #include "eglmutex.h" | 7 #include "eglmutex.h" |
| 8 #include "eglarray.h" | 8 #include "eglarray.h" |
| 9 | 9 |
| 10 | 10 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 | 79 |
| 80 | 80 |
| 81 struct _egl_display | 81 struct _egl_display |
| 82 { | 82 { |
| 83 /* used to link displays */ | 83 /* used to link displays */ |
| 84 _EGLDisplay *Next; | 84 _EGLDisplay *Next; |
| 85 | 85 |
| 86 _EGLMutex Mutex; | 86 _EGLMutex Mutex; |
| 87 | 87 |
| 88 _EGLPlatformType Platform; | 88 _EGLPlatformType Platform; |
| 89 void *PlatformDisplay; | 89 EGLNativeDisplayType PlatformDisplay; |
| 90 | 90 |
| 91 EGLBoolean Initialized; /**< True if the display is initialized */ | 91 EGLBoolean Initialized; /**< True if the display is initialized */ |
| 92 _EGLDriver *Driver; | 92 _EGLDriver *Driver; |
| 93 void *DriverData; /* private to driver */ | 93 void *DriverData; /* private to driver */ |
| 94 | 94 |
| 95 int APImajor, APIminor; /**< as returned by eglInitialize() */ | 95 int APImajor, APIminor; /**< as returned by eglInitialize() */ |
| 96 char Version[1000]; /**< initialized from APImajor/minor, DriverName */ | 96 char Version[1000]; /**< initialized from APImajor/minor, DriverName */ |
| 97 | 97 |
| 98 /** Bitmask of supported APIs (EGL_xx_BIT) set by the driver during init */ | 98 /** Bitmask of supported APIs (EGL_xx_BIT) set by the driver during init */ |
| 99 EGLint ClientAPIsMask; | 99 EGLint ClientAPIsMask; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 111 | 111 |
| 112 extern _EGLPlatformType | 112 extern _EGLPlatformType |
| 113 _eglGetNativePlatform(void); | 113 _eglGetNativePlatform(void); |
| 114 | 114 |
| 115 | 115 |
| 116 extern void | 116 extern void |
| 117 _eglFiniDisplay(void); | 117 _eglFiniDisplay(void); |
| 118 | 118 |
| 119 | 119 |
| 120 extern _EGLDisplay * | 120 extern _EGLDisplay * |
| 121 _eglFindDisplay(_EGLPlatformType plat, void *plat_dpy); | 121 _eglFindDisplay(_EGLPlatformType plat, EGLNativeDisplayType plat_dpy); |
| 122 | 122 |
| 123 | 123 |
| 124 PUBLIC void | 124 PUBLIC void |
| 125 _eglReleaseDisplayResources(_EGLDriver *drv, _EGLDisplay *dpy); | 125 _eglReleaseDisplayResources(_EGLDriver *drv, _EGLDisplay *dpy); |
| 126 | 126 |
| 127 | 127 |
| 128 PUBLIC void | 128 PUBLIC void |
| 129 _eglCleanupDisplay(_EGLDisplay *disp); | 129 _eglCleanupDisplay(_EGLDisplay *disp); |
| 130 | 130 |
| 131 | 131 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 * Return true if the resource is linked. | 173 * Return true if the resource is linked. |
| 174 */ | 174 */ |
| 175 static INLINE EGLBoolean | 175 static INLINE EGLBoolean |
| 176 _eglIsResourceLinked(_EGLResource *res) | 176 _eglIsResourceLinked(_EGLResource *res) |
| 177 { | 177 { |
| 178 return res->IsLinked; | 178 return res->IsLinked; |
| 179 } | 179 } |
| 180 | 180 |
| 181 | 181 |
| 182 #endif /* EGLDISPLAY_INCLUDED */ | 182 #endif /* EGLDISPLAY_INCLUDED */ |
| OLD | NEW |