| | |
| | | /* |
| | | 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 |
| | |
| | | #include "SDL_messagebox.h" |
| | | #include "SDL_shape.h" |
| | | #include "SDL_thread.h" |
| | | #include "SDL_metal.h" |
| | | |
| | | #include "SDL_vulkan_internal.h" |
| | | |
| | |
| | | |
| | | /* * * */ |
| | | /* |
| | | * Metal support |
| | | */ |
| | | SDL_MetalView (*Metal_CreateView) (_THIS, SDL_Window * window); |
| | | void (*Metal_DestroyView) (_THIS, SDL_MetalView view); |
| | | |
| | | /* * * */ |
| | | /* |
| | | * Event manager functions |
| | | */ |
| | | void (*PumpEvents) (_THIS); |
| | |
| | | /* Not all of these are available in a given build. Use #ifdefs, etc. */ |
| | | extern VideoBootStrap COCOA_bootstrap; |
| | | extern VideoBootStrap X11_bootstrap; |
| | | extern VideoBootStrap MIR_bootstrap; |
| | | extern VideoBootStrap DirectFB_bootstrap; |
| | | extern VideoBootStrap WINDOWS_bootstrap; |
| | | extern VideoBootStrap WINRT_bootstrap; |
| | |
| | | extern VideoBootStrap VIVANTE_bootstrap; |
| | | extern VideoBootStrap Emscripten_bootstrap; |
| | | extern VideoBootStrap QNX_bootstrap; |
| | | extern VideoBootStrap OFFSCREEN_bootstrap; |
| | | |
| | | extern SDL_VideoDevice *SDL_GetVideoDevice(void); |
| | | extern int SDL_AddBasicVideoDisplay(const SDL_DisplayMode * desktop_mode); |
| | |
| | | extern SDL_VideoDisplay *SDL_GetDisplay(int displayIndex); |
| | | extern SDL_VideoDisplay *SDL_GetDisplayForWindow(SDL_Window *window); |
| | | extern void *SDL_GetDisplayDriverData( int displayIndex ); |
| | | extern SDL_bool SDL_IsVideoContextExternal(void); |
| | | |
| | | extern void SDL_GL_DeduceMaxSupportedESProfile(int* major, int* minor); |
| | | |
| | |
| | | extern SDL_bool SDL_ShouldAllowTopmost(void); |
| | | |
| | | extern float SDL_ComputeDiagonalDPI(int hpix, int vpix, float hinches, float vinches); |
| | | |
| | | extern void SDL_OnApplicationWillTerminate(void); |
| | | extern void SDL_OnApplicationDidReceiveMemoryWarning(void); |
| | | extern void SDL_OnApplicationWillResignActive(void); |
| | | extern void SDL_OnApplicationDidEnterBackground(void); |
| | | extern void SDL_OnApplicationWillEnterForeground(void); |
| | | extern void SDL_OnApplicationDidBecomeActive(void); |
| | | |
| | | extern void SDL_ToggleDragAndDropSupport(void); |
| | | |