SDL/src/video
M Stoeckl 8669a87f05 Reuse X11 connection from availability check
Instead of creating an X11 connection to test that X11 is available,
closing the connection, and then reconnecting for real, use the same
connection to handle both cases.

The X11 connection retry delay mechanism in the case where X11 is
dynamically loaded has been removed. It was only necessary to avoid
authetnication token reuse from the XOpenDisplay call that used to
exist in X11_Available. Now that this call is only made once, it
is no longer needed.

Also drop unused and inapplicable code from a comment.
***
2020-07-14 21:13:27 -04:00
..
android Merge VideoBootStrap::available into VideoBootStrap::create 2020-07-12 19:11:15 -04:00
arm ARM: NEON assembly optimization for SDL_FillRect 2019-10-24 21:17:52 -04:00
cocoa Merge VideoBootStrap::available into VideoBootStrap::create 2020-07-12 19:11:15 -04:00
directfb Merge VideoBootStrap::available into VideoBootStrap::create 2020-07-12 19:11:15 -04:00
dummy Merge VideoBootStrap::available into VideoBootStrap::create 2020-07-12 19:11:15 -04:00
emscripten Merge VideoBootStrap::available into VideoBootStrap::create 2020-07-12 19:11:15 -04:00
haiku Merge VideoBootStrap::available into VideoBootStrap::create 2020-07-12 19:11:15 -04:00
khronos Added Vulkan headers version 1.1.91 2018-11-06 16:57:07 -08:00
kmsdrm Merge VideoBootStrap::available into VideoBootStrap::create 2020-07-12 19:11:15 -04:00
nacl Merge VideoBootStrap::available into VideoBootStrap::create 2020-07-12 19:11:15 -04:00
offscreen Merge VideoBootStrap::available into VideoBootStrap::create 2020-07-12 19:11:15 -04:00
pandora Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
psp Merge VideoBootStrap::available into VideoBootStrap::create 2020-07-12 19:11:15 -04:00
qnx Merge VideoBootStrap::available into VideoBootStrap::create 2020-07-12 19:11:15 -04:00
raspberry Merge VideoBootStrap::available into VideoBootStrap::create 2020-07-12 19:11:15 -04:00
uikit Merge VideoBootStrap::available into VideoBootStrap::create 2020-07-12 19:11:15 -04:00
vivante Merge VideoBootStrap::available into VideoBootStrap::create 2020-07-12 19:11:15 -04:00
wayland Merge VideoBootStrap::available into VideoBootStrap::create 2020-07-12 19:11:15 -04:00
windows Merge VideoBootStrap::available into VideoBootStrap::create 2020-07-12 19:11:15 -04:00
winrt Merge VideoBootStrap::available into VideoBootStrap::create 2020-07-12 19:11:15 -04:00
x11 Reuse X11 connection from availability check 2020-07-14 21:13:27 -04:00
yuv2rgb Added a single SDL_LEAN_AND_MEAN define to turn on minimal SDL builds 2020-01-23 01:00:52 -08:00
SDL_blit.c Added a single SDL_LEAN_AND_MEAN define to turn on minimal SDL builds 2020-01-23 01:00:52 -08:00
SDL_blit.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_blit_0.c Added a single SDL_LEAN_AND_MEAN define to turn on minimal SDL builds 2020-01-23 01:00:52 -08:00
SDL_blit_1.c Added a single SDL_LEAN_AND_MEAN define to turn on minimal SDL builds 2020-01-23 01:00:52 -08:00
SDL_blit_A.c Added a single SDL_LEAN_AND_MEAN define to turn on minimal SDL builds 2020-01-23 01:00:52 -08:00
SDL_blit_auto.c Added a single SDL_LEAN_AND_MEAN define to turn on minimal SDL builds 2020-01-23 01:00:52 -08:00
SDL_blit_auto.h Added a single SDL_LEAN_AND_MEAN define to turn on minimal SDL builds 2020-01-23 01:00:52 -08:00
SDL_blit_copy.c Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_blit_copy.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_blit_N.c SDL_blit: Fix undefined bitshift operations 2020-05-29 13:05:37 +01:00
SDL_blit_slow.c Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_blit_slow.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_bmp.c Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_clipboard.c Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_egl.c opengl: Don't try to do Desktop OpenGL stuff if support isn't available. 2020-04-13 22:06:12 -04:00
SDL_egl_c.h opengl: Allow SDL_GL_MakeCurrent() to accept a NULL window (thanks, Martin!). 2020-04-13 14:44:21 -04:00
SDL_fillrect.c Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_pixels.c Fixed bug 5037 - Regression 2.0.12 Alpha value of 0 on palette may become opaque 2020-03-17 09:35:42 +01:00
SDL_pixels_c.h Fixed bug 5037 - Regression 2.0.12 Alpha value of 0 on palette may become opaque 2020-03-17 09:35:42 +01:00
SDL_rect.c Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_rect_c.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_RLEaccel.c Added a single SDL_LEAN_AND_MEAN define to turn on minimal SDL builds 2020-01-23 01:00:52 -08:00
SDL_RLEaccel_c.h A few #defines to reduce SDL2 footprint. 2020-01-21 21:33:40 +01:00
SDL_shape.c Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_shape_internals.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_stretch.c Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_surface.c Reverted comment change in previous commit 2020-06-17 08:47:27 -07:00
SDL_sysvideo.h Merge VideoBootStrap::available into VideoBootStrap::create 2020-07-12 19:11:15 -04:00
SDL_video.c Merge VideoBootStrap::available into VideoBootStrap::create 2020-07-12 19:11:15 -04:00
SDL_vulkan_internal.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_vulkan_utils.c Added SDL_log.h to SDL_internal.h so logging is available everywhere 2020-04-07 09:38:57 -07:00
SDL_yuv.c Added a single SDL_LEAN_AND_MEAN define to turn on minimal SDL builds 2020-01-23 01:00:52 -08:00
SDL_yuv_c.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
sdlgenblit.pl Added a single SDL_LEAN_AND_MEAN define to turn on minimal SDL builds 2020-01-23 01:00:52 -08:00