92
92
/**
93
93
* Device information returned by Mesa.
94
94
*/
95
- typedef struct _mesa_glinterop_device_info {
95
+ struct mesa_glinterop_device_info {
96
96
/* The caller should set this to the version of the struct they support */
97
97
/* The callee will overwrite it if it supports a lower version.
98
98
*
@@ -113,14 +113,14 @@ typedef struct _mesa_glinterop_device_info {
113
113
uint32_t device_id ;
114
114
115
115
/* Structure version 1 ends here. */
116
- } mesa_glinterop_device_info ;
116
+ };
117
117
118
118
#define MESA_GLINTEROP_EXPORT_IN_VERSION 1
119
119
120
120
/**
121
121
* Input parameters to Mesa interop export functions.
122
122
*/
123
- typedef struct _mesa_glinterop_export_in {
123
+ struct mesa_glinterop_export_in {
124
124
/* The caller should set this to the version of the struct they support */
125
125
/* The callee will overwrite it if it supports a lower version.
126
126
*
@@ -178,14 +178,14 @@ typedef struct _mesa_glinterop_export_in {
178
178
*/
179
179
void * out_driver_data ;
180
180
/* Structure version 1 ends here. */
181
- } mesa_glinterop_export_in ;
181
+ };
182
182
183
183
#define MESA_GLINTEROP_EXPORT_OUT_VERSION 1
184
184
185
185
/**
186
186
* Outputs of Mesa interop export functions.
187
187
*/
188
- typedef struct _mesa_glinterop_export_out {
188
+ struct mesa_glinterop_export_out {
189
189
/* The caller should set this to the version of the struct they support */
190
190
/* The callee will overwrite it if it supports a lower version.
191
191
*
@@ -233,7 +233,7 @@ typedef struct _mesa_glinterop_export_out {
233
233
/* The number of bytes written to out_driver_data. */
234
234
uint32_t out_driver_data_written ;
235
235
/* Structure version 1 ends here. */
236
- } mesa_glinterop_export_out ;
236
+ };
237
237
238
238
239
239
/**
@@ -247,7 +247,7 @@ typedef struct _mesa_glinterop_export_out {
247
247
*/
248
248
int
249
249
MesaGLInteropGLXQueryDeviceInfo (Display * dpy , GLXContext context ,
250
- mesa_glinterop_device_info * out );
250
+ struct mesa_glinterop_device_info * out );
251
251
252
252
253
253
/**
@@ -256,7 +256,7 @@ MesaGLInteropGLXQueryDeviceInfo(Display *dpy, GLXContext context,
256
256
*/
257
257
int
258
258
MesaGLInteropEGLQueryDeviceInfo (EGLDisplay dpy , EGLContext context ,
259
- mesa_glinterop_device_info * out );
259
+ struct mesa_glinterop_device_info * out );
260
260
261
261
262
262
/**
@@ -272,8 +272,8 @@ MesaGLInteropEGLQueryDeviceInfo(EGLDisplay dpy, EGLContext context,
272
272
*/
273
273
int
274
274
MesaGLInteropGLXExportObject (Display * dpy , GLXContext context ,
275
- mesa_glinterop_export_in * in ,
276
- mesa_glinterop_export_out * out );
275
+ struct mesa_glinterop_export_in * in ,
276
+ struct mesa_glinterop_export_out * out );
277
277
278
278
279
279
/**
@@ -282,20 +282,20 @@ MesaGLInteropGLXExportObject(Display *dpy, GLXContext context,
282
282
*/
283
283
int
284
284
MesaGLInteropEGLExportObject (EGLDisplay dpy , EGLContext context ,
285
- mesa_glinterop_export_in * in ,
286
- mesa_glinterop_export_out * out );
285
+ struct mesa_glinterop_export_in * in ,
286
+ struct mesa_glinterop_export_out * out );
287
287
288
288
289
289
typedef int (PFNMESAGLINTEROPGLXQUERYDEVICEINFOPROC )(Display * dpy , GLXContext context ,
290
- mesa_glinterop_device_info * out );
290
+ struct mesa_glinterop_device_info * out );
291
291
typedef int (PFNMESAGLINTEROPEGLQUERYDEVICEINFOPROC )(EGLDisplay dpy , EGLContext context ,
292
- mesa_glinterop_device_info * out );
292
+ struct mesa_glinterop_device_info * out );
293
293
typedef int (PFNMESAGLINTEROPGLXEXPORTOBJECTPROC )(Display * dpy , GLXContext context ,
294
- mesa_glinterop_export_in * in ,
295
- mesa_glinterop_export_out * out );
294
+ struct mesa_glinterop_export_in * in ,
295
+ struct mesa_glinterop_export_out * out );
296
296
typedef int (PFNMESAGLINTEROPEGLEXPORTOBJECTPROC )(EGLDisplay dpy , EGLContext context ,
297
- mesa_glinterop_export_in * in ,
298
- mesa_glinterop_export_out * out );
297
+ struct mesa_glinterop_export_in * in ,
298
+ struct mesa_glinterop_export_out * out );
299
299
300
300
#ifdef __cplusplus
301
301
}
0 commit comments