Mac and Linux SDL2 binary snapshots
Edward Rudd
2020-05-02 03f8528315fa46c95991a34f3325d7b33ae5538c
source/src/video/offscreen/SDL_offscreenwindow.h
copy from source/src/video/mir/SDL_mirevents.h copy to source/src/video/offscreen/SDL_offscreenwindow.h
File was copied from source/src/video/mir/SDL_mirevents.h
@@ -1,6 +1,6 @@
/*
  Simple DirectMedia Layer
  Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
  Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
  This software is provided 'as-is', without any express or implied
  warranty.  In no event will the authors be held liable for any damages
@@ -19,19 +19,28 @@
  3. This notice may not be removed or altered from any source distribution.
*/
/*
  Contributed by Brandon Schaefer, <brandon.schaefer@canonical.com>
*/
#ifndef _SDL_offscreenwindow_h
#define _SDL_offscreenwindow_h
#ifndef SDL_mirevents_h_
#define SDL_mirevents_h_
#include "../SDL_sysvideo.h"
#include "SDL_syswm.h"
#include <mir_toolkit/mir_client_library.h>
#include "SDL_offscreenvideo.h"
typedef struct {
    SDL_Window* sdl_window;
    EGLSurface egl_surface;
} OFFSCREEN_Window;
extern int
OFFSCREEN_CreateWindow(_THIS, SDL_Window* window);
extern void
MIR_HandleEvent(MirWindow*, MirEvent const* ev, void* context);
OFFSCREEN_DestroyWindow(_THIS, SDL_Window* window);
#endif /* SDL_mirevents_h_ */
#endif /* _SDL_offscreenwindow */
/* vi: set ts=4 sw=4 expandtab: */