SDL/src/video
Sylvain 6be9c00970
Android: prevent error EGL_BAD_DISPLAY while getting egl version without display
There is an error "E libEGL  : validate_display:91 error 3008 (EGL_BAD_DISPLAY)"
that occurs when calling "eglQueryString(display, EGL_VERSION)", with EGL_NO_DISPLAY.

Khronos says "EGL_BAD_DISPLAY is generated if display is not an EGL display connection, unless display is EGL_NO_DISPLAY and name is EGL_EXTENSIONS."
but this was added in SDL with "EGL 1.5 allows querying for client version"
( 56363ebf61 )

In fact:
- it actually doesn't work on Android that has 1.5 egl client
- it works on desktop X11 (using SDL_VIDEO_X11_FORCE_EGL=1)

The commit moves the version call where it's used, eg inside the "if (platform) {"
and checks that "eglGetPlatformDisplay" has been correctly loaded.
2021-04-20 13:46:25 +02:00
..
android AAudio: add aaudio pause/resume function to android events loop 2021-04-15 21:16:10 +02:00
arm
cocoa Changes to macOS event handler to better interact with the running app 2021-04-12 11:25:44 -07:00
directfb Expose separate keyboard and mouse grab support 2021-02-10 10:22:17 -05:00
dummy Fix format string warnings for width-based integers 2021-02-11 19:41:41 -08:00
emscripten emscripten: Fix alt key being a nav key 2021-02-13 11:56:01 -05:00
haiku SDL: Updated patches for HAIKU 2021-03-13 18:36:01 -08:00
khronos
kmsdrm KMSDRM: Report correct window position to the application 2021-04-13 16:01:44 -07:00
nacl
offscreen
os2 Expose separate keyboard and mouse grab support 2021-02-10 10:22:17 -05:00
pandora Removed non-functional window grab implementations 2021-02-10 10:22:16 -05:00
psp Removed non-functional window grab implementations 2021-02-10 10:22:16 -05:00
qnx
raspberry Removed non-functional window grab implementations 2021-02-10 10:22:16 -05:00
uikit Fixed bug 5524 - Pass NSString to NSLog() 2021-02-10 10:22:18 -05:00
vita Fix typecasting 2021-03-09 12:10:40 +03:00
vivante
wayland wayland: Implement GetDisplayDPI 2021-04-19 00:14:15 -04:00
windows Fix race condition that can lead to ENTER/LEAVE window events never firing 2021-04-07 14:02:43 -07:00
winrt WinRT: Rename Interface ID symbols 2021-04-04 09:19:16 -04:00
x11 Fix keymap updating for X11 backend 2021-04-19 15:54:09 -04:00
yuv2rgb
SDL_blit.c
SDL_blit.h disable pixman ARM blitters for __aarch64__ | _M_ARM64 2021-02-25 11:38:14 -08:00
SDL_blit_0.c
SDL_blit_1.c
SDL_blit_A.c
SDL_blit_auto.c Update SDL_blit_auto.c 2021-03-04 14:36:33 +01:00
SDL_blit_auto.h
SDL_blit_copy.c
SDL_blit_copy.h
SDL_blit_N.c Fixed bug 3727 - Blit from RGB555 to ARGB1555 2021-03-11 20:06:09 +01:00
SDL_blit_slow.c Software nearest scaling: start at the middle of pixel 2021-03-04 14:33:56 +01:00
SDL_blit_slow.h
SDL_bmp.c Fix format string warnings for width-based integers 2021-02-11 19:41:41 -08:00
SDL_clipboard.c
SDL_egl.c Android: prevent error EGL_BAD_DISPLAY while getting egl version without display 2021-04-20 13:46:25 +02:00
SDL_egl_c.h
SDL_fillrect.c SDL_fillrect.c: updated SSE_BEGIN macro for windows clang-cl 2021-03-04 18:27:56 +03:00
SDL_pixels.c
SDL_pixels_c.h
SDL_rect.c
SDL_rect_c.h
SDL_RLEaccel.c
SDL_RLEaccel_c.h
SDL_shape.c
SDL_shape_internals.h
SDL_stretch.c Software nearest scaling: start at the middle of pixel 2021-03-04 14:33:56 +01:00
SDL_surface.c SDL_ConvertColorkeyToAlpha: remove and clarify a FIXME 2021-02-10 10:22:19 -05:00
SDL_sysvideo.h Initial rebase of xerpi's port 2021-03-08 09:07:12 -08:00
SDL_video.c Implement Wayland_ShowMessageBox using Zenity 2021-03-25 23:37:14 -04:00
SDL_vulkan_internal.h
SDL_vulkan_utils.c SDL_vulkan_utils: minor code clean-up 2021-02-10 10:22:19 -05:00
SDL_yuv.c
SDL_yuv_c.h
sdlgenblit.pl Software nearest scaling: start at the middle of pixel 2021-03-04 14:33:56 +01:00