Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: third_party/mesa/MesaLib/src/egl/main/egldisplay.h

Issue 5921002: Fixed warning on linux x64.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
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 */
OLDNEW
« no previous file with comments | « third_party/mesa/MesaLib/src/egl/main/eglapi.c ('k') | third_party/mesa/MesaLib/src/egl/main/egldisplay.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698