src/video/wayland/SDL_waylandvideo.h
changeset 8082 5b83ad3f01ac
parent 8062 4fc5f66d63cc
child 8104 2e4f1bd21196
equal deleted inserted replaced
8081:402b8c313246 8082:5b83ad3f01ac
    31 #include <EGL/egl.h>
    31 #include <EGL/egl.h>
    32 
    32 
    33 struct xkb_context;
    33 struct xkb_context;
    34 struct SDL_WaylandInput;
    34 struct SDL_WaylandInput;
    35 
    35 
       
    36 #ifdef SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH
       
    37 struct SDL_WaylandTouch;
       
    38 struct qt_surface_extension;
       
    39 struct qt_windowmanager;
       
    40 #endif /* SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH */
       
    41 
    36 typedef struct {
    42 typedef struct {
    37     struct wl_display *display;
    43     struct wl_display *display;
    38     struct wl_registry *registry;
    44     struct wl_registry *registry;
    39     struct wl_compositor *compositor;
    45     struct wl_compositor *compositor;
    40     struct wl_output *output;
    46     struct wl_output *output;
    54     EGLContext context;
    60     EGLContext context;
    55     EGLConfig econf;
    61     EGLConfig econf;
    56 
    62 
    57     struct xkb_context *xkb_context;
    63     struct xkb_context *xkb_context;
    58     struct SDL_WaylandInput *input;
    64     struct SDL_WaylandInput *input;
       
    65     
       
    66 #ifdef SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH    
       
    67     struct SDL_WaylandTouch *touch;
       
    68     struct qt_surface_extension *surface_extension;
       
    69     struct qt_windowmanager *windowmanager;
       
    70 #endif /* SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH */
    59 
    71 
    60     uint32_t shm_formats;
    72     uint32_t shm_formats;
    61 } SDL_VideoData;
    73 } SDL_VideoData;
    62 
    74 
    63 static inline void
    75 static inline void