259
264
struct native_platform {
260
265
const char *name;
262
void (*set_event_handler)(struct native_event_handler *handler);
263
struct native_display *(*create_display)(void *dpy,
268
* Create the native display and usually establish a connection to the
271
* No event should be generated at this stage.
273
struct native_display *(*create_display)(void *dpy, boolean use_sw);
268
276
const struct native_platform *
269
native_get_gdi_platform(void);
271
const struct native_platform *
272
native_get_x11_platform(void);
274
const struct native_platform *
275
native_get_wayland_platform(void);
277
const struct native_platform *
278
native_get_drm_platform(void);
280
const struct native_platform *
281
native_get_fbdev_platform(void);
277
native_get_gdi_platform(const struct native_event_handler *event_handler);
279
const struct native_platform *
280
native_get_x11_platform(const struct native_event_handler *event_handler);
282
const struct native_platform *
283
native_get_wayland_platform(const struct native_event_handler *event_handler);
285
const struct native_platform *
286
native_get_drm_platform(const struct native_event_handler *event_handler);
288
const struct native_platform *
289
native_get_fbdev_platform(const struct native_event_handler *event_handler);
283
291
#ifdef __cplusplus